AMQP Declare Exchange
About AMQP Declare Exchange test step
Use this test step to create an exchange on an AMQP broker.
Note
To use the test step, you must have the AMQP Support Plugin installed. You can install it on the Integrations tab.
Requirements
To use this test step, you need ReadyAPI Test Licenses. If you do not have it, you can request it on our website or start a trial.
Editing AMQP Declare Exchange test step
You can modify test step settings in its editor:
![]() |
Create/Edit AMQP Connection dialog
Use the Create AMQP Connection and Edit AMQP Connection dialogs to configure connections used by the test step. Both dialogs have the same set of options.
Note
ReadyAPI stores AMQP connections at the project level. This means that a connection defined for one test step can be used for all the test steps in other test cases and test suites of the project.
Property list
You can also change the test step behavior by using the step properties on the AMQPDeclareExchangeTestStep Properties and Custom AMQP Declare Exchange Test Step Properties tabs.
AMQPDeclareExchangeTestStep Properties
Name | Description |
---|---|
Name | The test step’s name. |
Description | Text that describes the test step. |
Custom AMQP Declare Exchange Test Step Properties
The values on the Custom AMQP Declare Exchange Test Step Properties tab are available to other test steps in your project. For instance, you can verify these property values with the Assertion test step, or check them and change the execution flow with the Conditional GoTo test step.
You can load the values of custom properties from a file or save them to a file. To learn more, see About Properties.
This tab contains the following properties that provide access to the request and response data:
Name | Description |
---|---|
exchangeName | Specifies the name of the exchange. NoteCorresponds to the Exchange option specified in the test step editor. |
exchangeType | Specifies the type of the exchange. Possible values: , , , .NoteCorresponds to the Exchange type option specified in the test step editor. |
exchangeDurable | Specifies whether the exchange will survive broker restart. Possible values: , .NoteCorresponds to the durable option specified in the test step editor. |
Logging
If the test step is run as part of a test case, you can see the test log in the Transaction Log panel.