JMS Timeout Assertion

Applies to ReadyAPI 3.56, last modified on November 21, 2024

The JMS Timeout assertion verifies that the JMS statement of the target test step does not take longer than the duration you have specified.

Availability

In functional tests: Use this assertion for request test steps with a JMS endpoint. For details, see JMS Request Test Step.

Create an assertion

Follow these steps:

Functional test: The Assertions panel

Click the image to enlarge it.

  1. Open a test step.

  2. Click Add assertion.

In the New Assertions dialog, search for the JMS Timeout assertion or select it manually in the JMS category.

Setting up properties

Specify the maximum JMS timeout duration in milliseconds. ReadyAPI will wait this time before failing the response.

ReadyAPI: Configuring the JMS Timeout assertion
The JMS timeout duration value is separated from the request timeout. That means you can set the JMS timeout to a different value, and have the assertion fail the test even if it receives the response.

Add other assertions to validate the JMS requests:

See Also

JMS Assertions
JMS Status Assertion
JMS Request Test Step

Highlight search results