3. Add the Data Source

Applies to ReadyAPI 3.10, last modified on October 07, 2021

To perform data-driven testing, you need to use the Data Source test step. Let’s add it to the test case.

  1. In the request editor, click the Generate Values button:

    ReadyAPI: Generating values

    Click the image to enlarge it.

  2. In the Create Data-Driven Loop dialog, select the request parameters that will be configured automatically:

    ReadyAPI: Create Data-Driven Loop dialog

    ReadyAPI will automatically create a data source loop and add a property expansion that will refer to the email property in the Data Source test step:

    ReadyAPI: The project with the data source loop

    Click the image to enlarge it.

  3. Open the Data Source test step. As you see, ReadyAPI has automatically configured the data source to generate random email addresses as values of the email property:

    ReadyAPI: The data source step

    Click the image to enlarge it.

The next step will show how to configure the Data Source test step to use a text file as a data source.

Prev          Next

See Also

Text Files as Data Sources

Highlight search results