4. Run the Test

Applies to ReadyAPI 3.7, last modified on April 08, 2021

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

  1. Switch to the test case editor and click .

    ReadyAPI: Opening the test case options

    Click the image to enlarge it.

  2. You need the test case to keep running when an assertion fails, but fail the test case if it happens.

    ReadyAPI: The test case options

    Click the image to enlarge it.

    Disable Abort On Error.

  3. Enable Fail Test Case on Error.

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

ReadyAPI: Starting the test case run

Click the image to enlarge it.

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.

ReadyAPI: Opening the transaction log

Click the image to enlarge it.

Here, you can see the details of the test case run:

ReadyAPI: The transaction log

Click the image to enlarge it.

ReadyAPI looped the request test step sending it with different parameter values. Some of the executions failed, so the test case failed as well.

Prev

See Also

Data-Driven Functional Tests

Highlight search results