You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TT-14446] Add an integration test for Input (http_server) → Output(amqp_1) scenario (#7026)
### **User description**
<details open>
<summary><a href="https://tyktech.atlassian.net/browse/TT-14446"
title="TT-14446" target="_blank">TT-14446</a></summary>
<br />
<table>
<tr>
<th>Summary</th>
<td>Investigate flaky amqp integration tests</td>
</tr>
<tr>
<th>Type</th>
<td>
<img alt="Task"
src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium"
/>
Task
</td>
</tr>
<tr>
<th>Status</th>
<td>In Code Review</td>
</tr>
<tr>
<th>Points</th>
<td>N/A</td>
</tr>
<tr>
<th>Labels</th>
<td>-</td>
</tr>
</table>
</details>
<!--
do not remove this marker as it will break jira-lint's functionality.
added_by_jira_lint
-->
---
This PR adds an integration test for `Input (http_server) →
Output(amqp_1)` scenario. See
warpstreamlabs/bento#302 for details.
___
### **PR Type**
Tests, Enhancement
___
### **Description**
- Add integration test for HTTP input to AMQP 1.0 output scenario
- Implement AMQP 1.0 output test logic in test context
- Extend test runner to support AMQP 1.0 output validation
- Ensure message mapping and pipeline processor are included for AMQP
1.0
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>mw_streaming_amqp_test.go</strong><dd><code>Add and
integrate AMQP 1.0 output test in streaming integration
tests</code></dd></summary>
<hr>
gateway/mw_streaming_amqp_test.go
<li>Added <code>testAMQP1Output</code> method for AMQP 1.0 message
validation<br> <li> Extended <code>testTykStreamAMQPIntegration</code>
to handle AMQP 1.0 output<br> <li> Introduced a new integration test for
HTTP input to AMQP 1.0 output<br> <li> Ensured proper session, receiver,
and message handling for AMQP 1.0
</details>
</td>
<td><a
href="https://github.com/TykTechnologies/tyk/pull/7026/files#diff-3599fefd35a5eddd4f464208edce54054fc3e5045d1694473367e834c331f9dc">+81/-0</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
0 commit comments