> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/aqua-intelligence/generate-test-data-with-aqua-intelligence-1.md).

# Generate test data with aqua Intelligence

Automatically generating test data saves QA engineers significant time compared to manual data creation and ensures uniformity in test data, reducing errors and increasing the reliability of test case

To generate the first set, open a test case item and navigate to the ‘Data’ tab. Select the option ‘Generate test data with AI’.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FQAws1UNnstKM2RaEJ1sT%2Fimage.png?alt=media&amp;token=d6d6b35d-a919-4063-9ae8-baac18b44104" alt=""><figcaption></figcaption></figure>

Once the modal appears, select the number of sets you’d like to generate and choose the context type for the data generation:

* **Custom**: Provide a custom instruction.
* **Requirement**: Select a requirement which this test case covers.
* **Test Case**: Use the completed test case as a basis for data generation.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FkkfcbVD9zrWuUJSsyTuM%2Fimage.png?alt=media&amp;token=0f9b710e-eba7-41aa-9f47-9567b24c09f4" alt=""><figcaption></figcaption></figure>

After selecting your preferred option and entering the necessary details, click on the "Generate" button. aqua Intelligence will process your request and generate the specified test data sets.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FzMmeV4ppZg3it8k1Y6ha%2Fimage.png?alt=media&amp;token=30912ea9-4e01-4f5c-8f9a-2f40a048ffdb" alt=""><figcaption></figcaption></figure>

Once the data is generated, review it to ensure it meets your requirements and ajust it if needed.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2F8PutwGJMdLNU3mv4YbCP%2Fimage.png?alt=media&amp;token=d1c4f39f-f423-4e90-ad24-fe04f653a300" alt=""><figcaption></figcaption></figure>

Then, go back to the test case steps and add the variables to validate your application's functionality during testing.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FHGNUH4A32u5g1l4ydH0H%2Fimage.png?alt=media&amp;token=d3180aa1-5ef8-4583-a2ba-5c1f9ed88f25" alt=""><figcaption></figcaption></figure>

By following these steps, you can efficiently generate high-quality test data tailored to your specific testing needs, enhancing your QA processes and ensuring comprehensive coverage of different cases.

{% hint style="info" %}
**Important Reminder:**

Please be aware that aqua Intelligence can occasionally make mistakes or provide inaccurate output. We strongly recommend verifying any crucial information for accuracy.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aqua-cloud.io/documentation/aqua-intelligence/generate-test-data-with-aqua-intelligence-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
