Messages publication

Publishing MongoDB messages use Producer operations and specific header files that you set by using the Publish action in HCL OneTest API tests.

Creating a publishing task

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

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