Configuring the MEP settings for the Camel transport
The Camel components that have endpoints that send and receive messages by using Camel as a transport or a messaging broker. You can configure the Camel transport for the message exchange pattern (MEP) in HCL OneTest™ API and create tests for the application based on the MEP settings.
Before you begin
You must have defined a service component and an operation under a service component in the Logical View. See Creating a service component and Creating an operation.
About this task
When you create a test by using MEP in HCL OneTest™ API, the test can contain any or all of the following messaging
actions:
- Publish
- Subscribe
- Publish/Subscribe
You can configure the MEP settings on the operation that you created for the logical resource or connection from the Logical View.
Procedure
- Double-click the operation to open the Operation dialog.
-
Click the Message Exchange Pattern tab, if it is not already open.
The following options for the MEP are displayed in the Pattern field:
- Publish/Subscribe
- Publish
- Subscribe
-
Select the Publish/Subscribe pattern.
You can also select only the Publish or Subscribe pattern.
- Click the Publish tab, if it is not already open.
-
Complete the following steps in the Publish tab:
- Click the Subscribe tab.
-
Complete the following steps in the Subscribe tab:
- Click OK to save the MEP settings and exit from the operation settings window.