---
title: "Assert Response Time in API Modules"
slug: "assert-response-time-in-api-modules"
description: "In this Test Modeller feature video, learn how to assert response time in API Modules."
tags: ["Test Modeller", "Feature Overviews"]
updated: 2024-09-27T14:10:15Z
published: 2024-09-27T14:10:15Z
canonical: "knowledge.curiositysoftware.ie/assert-response-time-in-api-modules"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt
> Use this file to discover all available pages before exploring further.

# Assert Response Time in API Modules

In this Quality Modeller feature video, learn how to assert response time in API Modules.

[Embedded content](https://www.youtube.com/embed/9VK4zhW04zM?&amp;wmode=opaque&amp;rel=0)

Navigate to **Explorer**, and choose an **Endpoint** you have set up for querying jobs within an API.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680701403341.png)

Click the**Function** to view the **API Request Window**. In this window, you can see API requests for a specific Quality Modeller instance.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680701398348.png)

Underneath the **Assertions** tab, there is a new assertion for **Response Time**.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680701390877.png)

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.

## Related

- [Quality Modeller 101](/test-modeller-101.md)
- [Automating Tests](/automating-and-executing-tests-in-test-modeller.md)
