To perform data-driven testing, you need to use the DataSource test step. Let’s add it to the test case.
-
Open the created test case.
-
Click
to add the DataSource test step.
-
ReadyAPI offers you to generate parameter values automatically and create the DataSource Loop test step. Click Yes.
-
Leave the default settings in the Create Data-Driven Loop dialog and click OK.
ReadyAPI creates the DataSource test step with a property obtained from the request.
ReadyAPI also adds a property expansion as the value of the request parameter. The property expansion refers to the property in the data source:
The next step will show how to configure the data source.