---
title: "Auto-Create Assertions for QuickStart API Automation"
slug: "auto-create-assertions-for-quickstart-api-automation"
description: "By simply clicking a button, Test Modeller can execute a sample request and generate assertions on-the-fly based on the characteristics of the API response. "
tags: ["API Testing", "QuickStart", "Test Modeller"]
updated: 2024-09-27T14:14:11Z
published: 2024-09-27T14:14:11Z
canonical: "knowledge.curiositysoftware.ie/auto-create-assertions-for-quickstart-api-automation"
---

> ## 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.

# Auto-Create Assertions for QuickStart API Automation

Creating assertions for API tests has become extremely easy with Quality Modeller. By simply clicking a button, Quality Modeller can execute a sample request and generate assertions on-the-fly based on the characteristics of the API response. These assertions can then be used in test automation to ensure the proper functioning of the API.

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

To utilise the new **API Assertions,**open an existing **API Module collection** and edit the **API Function**you want to add the assertions to. ![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-18%20150432.png)

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-18%20150413.png)

In the **Edit Function window**, open the**API Requests tab** and then the **Assertions SubTab.**In the **Assertions SubTab**, you can now use the **AutoBuild button** to automatically create a range of assertions for your API Request.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-18%20150420.png)Once you click the **AutoBuild button**you will be asked to enter your**Execution Parameters** and then to execute the API Request.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-18%20152856.png)

Once done, you will see a range of automatically generated API Assertions:

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-09-18%20152850.png)

## Related

- [QuickStart API Automation](/quickstart-api-automation.md)
