3. Add the Data Source

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

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

Publication date: