Data Sets

Overview

The Data Sets module allows you to manage your test data, including viewing available datasets, creating new ones from templates or queries, and cloning existing datasets.

To access the Data Sets module, navigate to Test Suites > Data Sets.

Create a data set

To create a new dataset, click Test Suites > Data Sets > Create. The following are the different ways to define your new dataset:

From a template

This creates a dataset using the compiled templates of all steps associated with the selected scenario. To create a dataset from a template, follow these steps:

  1. Select a scenario from the dropdown list of all available scenarios. \

  2. Download a template and enter test data. If you have a template with test data, skip to the next ste p.\

    The following fields are only displayed after selecting a scenario. \

    FieldDescription
    Download JSON TemplateDownloads the template in JSON format.
    Download CSV TemplateDownloads the template in CSV format.
  3. Upload the edited template. Verify if the test data is correct for all parameters configured with test data. \

    You can view the request body in JSON or CSV format. \

    If your step is of SFTP type, see SFTP step.


    If your step is of Upload type, see Upload file step.

  4. Input valid data in the Data Setup Name and Data Setup Description fields.\

  5. If a validation service is added to the steps associated with the selected scenario in Step 1, toggle to Expected Data.

  6. Configure the parameters in the Expected Data section of all the listed validation services. \

  7. Click Save.

SFTP step

If your step is of SFTP type, you will see a File Download section instead of the Request Body. The File Download section includes the following fields:

FieldDescription
Add file pathAllows you to add more file paths.
File PathLocation of the file using SFTP.
File NameName of the file using SFTP.

Upload file step

If your step is of Upload type, you will see a File Download section instead of the Request Body. The File Download section includes the following fields:\

FieldDescription
Replace FileReplaces an existing file in the system with a new version of the same file.

When the box is checked, the specified file will only replace the file with the same name in the same location.
Add file pathAllows you to add more file paths.
File PathLocation of the file using SFTP.
Select FilesAllows you to select multiple files in the specified location.
File NameName of the file using SFTP.

From a query

This creates a dataset using the compiled templates of all steps associated with the selected scenario. To create a dataset from a database, follow these steps:

  1. Tick the Generate Dataset From Query checkbox.
  2. Select the scenario from the Select Scenario dropdown list.
  3. Select the environment from the Select Environment dropdown list.
  4. Select the database from the Select Database dropdown list.
  5. Validate if the details in the Query field are the same as what you defined in the Scenarios configuration.
  6. Specify the values for the filters.
  7. Click Generate Dataset.

Views

Card view

The card view presents all datasets in the form of cards.

Card ElementDescription
Data Setup NameName of the dataset.

When clicked, the dataset details are displayed.
Scenario NameName of the scenario that uses the dataset.

When clicked, the scenario details are displayed.
Clones the selected dataset.

When clicked, a popup window is displayed asking you to provide a new DataSet Name. All other configurations of the selected dataset are copied.
Delete icon that allows you to delete the selected dataset.

List view

The list view displays all datasets in a tabular format.

Column NameDescription
Data Set NameName of the dataset.

When clicked, the dataset details are displayed.
DescriptionDescription of the dataset.

When clicked, the dataset details are displayed.
Scenario NameName of the scenario that uses the dataset.

When clicked, the dataset details are displayed.
Actions

Displays the following icons:

  • — Clone icon that allows you to clone the selected dataset. When clicked, a popup window is displayed asking you to provide a new DataSet Name. All other configurations of the selected dataset are copied.
  • — Delete icon that allows you to delete the selected dataset.

Filter

The following filters are available on both card and list views:

  • Filter by Data Name — allows you to filter the list of datasets by providing a keyword or the full name of the dataset. Only the datasets that match the provided keyword or name will be displayed in the view.
  • Filter By Scenario Name — allows you to filter the list of datasets with the associated scenario by providing a keyword or the full name of the scenario. Click on the to open the Filter Criteria for Scenario Name. Only the datasets with a configured scenario that matches the provided keyword or name will be displayed in the view.