To make the test case repeat the test step, you need to create a loop.
Now you have a test case with a data source and the REST Request test step.
To make the test case iterate through all the table rows in the data source:
-
Click
.
-
Enter a name for the data source loop.
-
Click OK.
-
The new loop will appear in the test case.
The Data Source Loop test step will not work if placed before the request within the test case, so make sure to place it after the request. Open the data source loop.
-
The Configure DataSourceLoop dialog will appear.
Select DataSource.
-
Select Target Step.
-
Click OK.
You have configured the data source loop.
Now you can run the test.