3. Run the Created Load Test

Applies to ReadyAPI 3.51, last modified on March 21, 2024

By default, a newly created load test uses the template configuration you selected.

API load testing with ReadyAPI: Default Load Profile Parameters

Click the image to enlarge it.

  • To change the test duration, enter 1 in the load time field:

    API load testing with ReadyAPI: Test Duration Limit

    Click the image to enlarge it.

  • The results of the first seconds do not properly reflect how the server responds to requests, since it takes some time to start the required processes. To avoid recording these results, we will specify the test warm-up time.

    Click somewhere within the Scenarios panel to open the Load Test editor. In the Warm-up Time field, enter 5 seconds.

    API load testing with ReadyAPI: Warm-up Time

    Click the image to enlarge it.

  • A project containing Load Agents will be saved and passed to the configured Load Agents before running.

    Click to run the test.

Note: Whenever you save a project, the corresponding project files gets updated. If and when you connect to Git, Git will detect that change and ask you to commit and push it.

The test run goes without user interaction. ReadyAPI simulates test steps of the underlying functional test case (you can see its name in the Targets section in the Editor). It sends requests to the target web service and gets responses. After starting the test, you see the test results. ReadyAPI displays the results both during the test run and when the test run is over.

API load testing with ReadyAPI: Targets

Click the image to enlarge it.

When the test run is over, ReadyAPI displays the Confirmation dialog suggesting that you check errors, create a report, or examine statistics. In this tutorial, we will do it manually, so close the dialog.

API load testing with ReadyAPI: Confirmation dialog

Click the image to enlarge it.

Prev     Next

See Also

2. Load Test Editor Interface Overview
Load Type

Highlight search results