Messages publication

Publishing MongoDB messages use Producer operations put on to an Exchange by using a routing key and by using the Publish action in HCL OneTest API tests.

Create a publish action

The first step in publishing RabbitMQ messages is to create a test in HCL OneTest API Test Factory perspective and add a Publish action to it.

Note: A test can be created only within an existing operation. For information about creating operations and tests, and adding actions to tests, refer to API Tester Reference.