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 > HTTP > Socket timeout (ms).
This assertion is available in multiple ReadyAPI applications. Depending on the application, it validates the following data:
In application | Checks | To learn more |
---|---|---|
The response. | ||
The response. | See Security Assertions. |
To set up the Response SLA assertion, specify the maximum expected response time:
