Edit JMS connections

This feature is only available in the Test Automation for SAP API Scan and not in Tricentis Test Automation for SAP Commander. Tricentis Test Automation for SAP does not support the execution of TestCases using this feature.

To learn about upgrade options, check out SAP Enterprise Continuous Testing by Tricentis.

An Active MQ, IBM MQ, Oracle WebLogic, Rabbit MQ, or Tibco EMS connection allows you to work with Java Message Service (JMS) messages in the API Engine. You can configure JMS connections in the API Connection Manager as described in chapter "Configure the connection type".

If you use a JMS connection on an API Module in Test Automation for SAP Commander, you can edit the connection details in the Technical View tab.

Select the message direction

You can select whether your JMS message is incoming or outgoing, i.e. if you want to push a message to the queue/topic or pull a message from the queue/topic.

To do so, select Pull or Push from the Action dropdown menu.

Select message action

Specify a selector

You can use a selector to filter the headers and properties of incoming JMS messages. This enables you to receive only JMS messages that match your filter criteria. This JMS-specific selector is a string that contains an expression based on a subset of the SQL92 conditional expression syntax.

For instance, you can use the selector JMSMessageID = 'ID:123:1:2:1:1' to filter the message headers for this message ID.

To use a selector, specify it as desired in the Selector field.

Use a selector to filter for a message ID

If you don't specify a selector, you receive the first message from the queue. If more than one message matches your selector, you receive the first matching message from the queue.