Response SLA Assertion

The Response SLA assertion checks whether the response arrives within the specific time limit.

A response SLA is not the same as a connection timeout. It works in the following way:

  • First, ReadyAPI downloads the response.

  • Then, after the download finishes, it compares the response time against the SLA.

Tip

The connection timeout is used to terminate test step execution when the server doesn't respond in a certain time frame. If the connection times out, the test step is considered failed. You can set the connection timeout in the Timeout property of a test step, or globally in preferences.png Preferences > HTTP > Socket timeout (ms).

Availability

This assertion is available in multiple ReadyAPI applications. Depending on the application, it validates the following data:

In application

Checks

To learn more

Functional tests

The response.

See Working With Assertions in Functional Tests.

Security tests

The response.

See Security Assertions.

Create an assertion

Setting up properties

To set up the Response SLA assertion, specify the maximum expected response time:

ReadyAPI: Configuring the Response SLA assertion
Publication date: