JMS Request Properties

Applies to ReadyAPI 3.7, last modified on April 19, 2021

To view or change properties of incoming messages (requests), select a request in the Incoming column of the Setup page of the virtual service editor. You will see the properties on the right of the ReadyAPI window:

Manual Connection

JMS service virtualization and API testing: Properties of incoming JMS messages (requests)

Click the image to enlarge it.

Properties

Parameter Description
JMS Provider A list of preconfigured JMS providers.
Initial Context Class The class that will be used to create an InitialContext object. You can find its name in the JMS provider documentation.
Provider URL The URL of the JMS server you use.
Connection Factory JNDI Name The name of the ConnectionFactory object you use to connect to the JMS broker.
Receive Destination JNDI Name The JNDI name of the topic or queue that ReadyAPI emulates. Requests to it will be redirected to the virtual service.
Send Destination JNDI Name The JNDI name of the topic or queue ReadyAPI sends the response to by default. It can also be configured in the response editor.
User Name The name of the user who connects to JMS.
Password The user's password.
Additional JNDI Properties Additional connection properties for the JNDI server. Specific usage depends on the JMS provider.

Assertions

A list of assertions that the virtual service applies to incoming requests to verify their contents. The virtual service applies these assertions to incoming requests that correspond to the virtual operation you are editing.For more information on this, see Assertions in Virtual Services.

To add assertions, click and select the desired assertion in the subsequent dialog. To remove an assertion, select it on the list and click . To modify assertion parameters, select the assertion on the list and click .

The virtual service applies assertions in their order on the list. If needed, select an assertion and change its position with the and buttons.

Connection via HermesJMS

JMS service virtualization and API testing: Properties of incoming JMS messages (requests)

Click the image to enlarge it.

JMS Destination

Properties of this section provide information on the message sender:

Property Description
Session

The name of the session of the incoming message.

Destination

The name of the queue or topic of the incoming message.

Assertions

A list of assertions that the virtual service applies to incoming requests to verify their contents. The virtual service applies these assertions to incoming requests that correspond to the virtual operation you are editing.For more information on this, see Assertions in Virtual Services.

To add assertions, click and select the desired assertion in the subsequent dialog. To remove an assertion, select it on the list and click . To modify assertion parameters, select the assertion on the list and click .

The virtual service applies assertions in their order on the list. If needed, select an assertion and change its position with the and buttons.

See Also

Reference

Highlight search results