Now you can run your test.
By default, the test case run stops if an assertion fails in one of the test steps. For this tutorial, you need to switch that setting off.
1. Configure the test case
-
Switch to the test case editor and click
.
-
You need the test case to keep running when an assertion fails, but fail the test case if it happens.
Disable Abort On Error.
-
Enable Fail Test Case on Error.
-
Click OK.
You have a test case with a data source, a test step that uses the data source, and a data source loop executed during the test run.
2. Run the test and view the results
To run the test case, click on the test case toolbar.
After the test run is over, you can open the Transaction Log to see the details. To do that, click Transaction Log on the test case toolbar.
Here, you can see the details of the test case run:
ReadyAPI looped the request test step sending it with different parameter values. Some of the executions failed, so the test case failed as well.