Assert Response Time in API Modules
In this Quality Modeller feature video, learn how to assert response time in API Modules.
Navigate to Explorer, and choose an Endpoint you have set up for querying jobs within an API.
Click the Function to view the API Request Window. In this window, you can see API requests for a specific Quality Modeller instance.
Underneath the Assertions tab, there is a new assertion for Response Time.
In this example, we are stating that this request needs to come back with a status code of 200 under 1000 milliseconds.
When this request is executed within tests, these status codes and response time assertions will be applied.