JDBC Timeout Assertion

Applies to ReadyAPI 3.56, last modified on October 29, 2024

The JDBC Timeout assertion verifies that the JDBC statement of the target test step has not taken longer than you specified.

Availability

In functional tests: Use this assertion for JDBC Request test steps.

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 JDBC Timeout assertion or select it manually in the JDBC category.

Setting up properties

Specify the JDBC timeout duration in milliseconds in the JDBC timeout duration field. ReadyAPI will wait this time before failing the response.

ReadyAPI: Configuring the JDBC Timeout assertion
The JDBC timeout duration value is separated from the request timeout. Set the JDBC timeout to a different value, so the assertion will fail the test even if the response is received.

Add other assertions to validate the JDBC requests:

See Also

JDBC Assertions
JDBC Status Assertion

Highlight search results