# GenRocket

GenRocket is a test data generation platform that creates synthetic data for software testing. It helps cover different test scenarios without using sensitive real-world data. &#x20;

By integrating GenRocket with Avo Assure, the synthetic test data can be directly used for automated test execution. This ensures better test coverage, improved data security, and reduced manual effort in preparing test data.&#x20;

### This Document includes:&#x20;

[Prerequisites ](#prerequisites)\
Prerequisites for GenRocket instance&#x20;

[Integrate GenRocket with Avo Assure ](#integrate-genrocket-with-avo-assure)\
Steps to integrate GenRocket with Avo Assure&#x20;

## Prerequisites&#x20;

The following prerequisites must be configured in the GenRocket instance before integrating it with Avo Assure:&#x20;

* **Test Data Template**: Ensure a test data template is already created in GenRocket Instance.&#x20;
* **Scenario Configuration**: In GenRocket, ensure that the scenario domain receiver is configured as JSONFileReceiver, since Avo Assure supports only JSON format for Integration.&#x20;
* **Server Configuration**: In GenRocket, ensure that a new server is created from My Organization and named as AvoAssure. This server name is mandatory for integration with Avo Assure.&#x20;

#### Provide the following resource values in the Resources section of GenRocket (under Project Dashboard):

| Resources Name            | Resources Value        |
| ------------------------- | ---------------------- |
| resource.home.directory   | /root                  |
| resource.jdbc.directory   | NA                     |
| resource.output.directory | /opt/Genrocket/outputs |
| resource.AvoAssure        | NA                     |

## Integrate GenRocket with Avo Assure&#x20;

**GenRocket Integration with Avo Assure** allows you to access test data from your GenRocket projects and scenarios directly within Avo Assure. This Integration provides synthetic test data that can be used seamlessly in automated Test cases.&#x20;

#### Steps to Integrate GenRocket with Avo Assure&#x20;

1. On the **Home page**, under **Projects**, select the required project.&#x20;
2. From the **Settings** tile, select **Manage Integrations**.&#x20;

<figure><img src="/files/16OIJStMBlH0nJsmzE9W" alt=""><figcaption></figcaption></figure>

3. Select **Test Data Management** tab and select Plus icon **(+)** to create a folder.&#x20;
4. Select Ellipses icon **(⋯)** and select **Create Table through GenRocket** to create a GenRocket data table.&#x20;

<figure><img src="/files/ONFWRqn4O2jqGhiBW7N8" alt=""><figcaption></figcaption></figure>

5. Select **GenRocket** icon in the top-right pane of the screen. Enter your **GenRocket Username**, **Password**, and **Organization External ID** in their respective fields.

<figure><img src="/files/j5vKPYbo1tIfXVwd1qfD" alt=""><figcaption></figcaption></figure>

6. Select **Get GenRocket Projects** from the dropdowns, select the **GenRocket Project**, **Project Version**, and **Scenario**.&#x20;
7. Select **Generate Test Data** to generate the table with synthetic test data.&#x20;

<figure><img src="/files/Ahf32uS2exXwMbdMI1mT" alt=""><figcaption></figcaption></figure>

8. Use the generated test data in your automated test scripts as needed.&#x20;

<figure><img src="/files/LddwHUNPTXkE49Hd8Hjq" alt=""><figcaption></figcaption></figure>

9. On the **Execution** tab, navigate to the **Configuration** window.&#x20;
10. Expand the **Test data from GenRocket** section, enable the **Refresh test data generation from GenRocket** toggle to refresh the test data for every execution. &#x20;
11. Enter the count in **Number of Records** to specify how many rows of test data to use during the execution.

{% hint style="info" %}
**Note:**&#x20;

* By default, the **Number of records** is set to **1**.
* Always use the Testcase in the Execution List that contains GenRocket test data.
  {% endhint %}

<figure><img src="/files/JggzSzfrJFACcY6Cwu9c" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/integrations-in-avo-assure/test-data-management/genrocket.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
