Applies to ReadyAPI 2.8, last modified on September 11, 2019

In LoadUI, you can limit the test duration by using two properties: test duration and the number of executed SoapUI tests. Limiting test duration is more common, but if you need to run a specific number of requests, LoadUI can do this as well.

Limiting Load by Test Duration

If you use this approach, you specify the time for which the test will run. If Duration equals 0, the test will run infinitely. To set load duration:

  • Select a time unit (seconds, minutes, or hours) from the drop-down list.

  • Enter the test duration in the text box.

    API load testing with ReadyAPI: Setting the Test Duration

    Click the image to enlarge it.

Limiting Load by the Number of Executed Targets

If you use this approach, you specify the number of SoapUI tests that will be executed during the test run. If Max Target Runs equals -1, the test will run infinitely. To set the maximum number of executed SoapUI tests:

  • Select the load test. The Load Test inspector will appear.

  • Enter the number of SoapUI tests that will be run during the execution.

See Also

User Think Time

Highlight search results