Applies to ReadyAPI 2.7, last modified on May 14, 2019

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.

Set the connection timeout in the Timeout property of a test step, or globally in 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
SoapUI functional tests The response. See Working With Assertions in SoapUI.
SoapUI security tests The response. See Security Assertions.

Create an assertion

Follow these steps:

SoapUI: 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 Response SLA assertion or select it manually in the SLA category.

Follow these steps:

Secure: The Assertions panel

Click the image to enlarge it.

  1. Open a security test.

  2. Select Response Assertion.

  3. Click in the Assertions panel

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

Setting up properties

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

ReadyAPI: Configuring the Response SLA assertion
Highlight search results