Applies to LoadNinja 1.0, last modified on August 15, 2019

Use the Load Configuration settings to specify how LoadNinja will simulate virtual users (VUs) in your scenario.

How LoadNinja simulates VUs

LoadNinja simulates each virtual user multiple times. If a virtual user completes its script, LoadNinja starts another instance of that virtual user running the same script. In LoadNinja, we use the term iteration to define a separate script within the whole load test.

Settings

Duration Based and Iteration Based

These settings specify how LoadNinja determines the test duration.

Duration-based tests run for some period of time. The Duration of test value sets the duration of the maximum load in minutes.

The duration-based load test

Click the image to enlarge it.

During this period, LoadNinja simulates the number of concurrent virtual users requested by the Load Distribution setting. If some user completes its script, LoadNinja starts the next iteration of that virtual user.

The number of iterations is not limited. If some virtual user is running when the Duration of Test period elapses, LoadNinja will not stop that user and will allow it to work to the end.

Notes:

  • The maximum allowed duration of your load test depends on your subscription plan.

  • The duration of a load test should be longer than the duration of each of its scripts.

  • The Ramp-up Time is not included in Duration of Test. The total run time of a test is a sum of the Ramp-up Time and Duration of Test values.

In iteration-based load tests, LoadNinja will simulate each virtual user the number of times that is set in Total Iterations:

The iteration-based load test

Click the image to enlarge it.

In the image above, we have a load test that will simulate 15 concurrent virtual users. Each of these users will be simulated 10 times.

If you use the ramp-up load, then virtual users simulated during the ramp-up period are counted against their Total Iterations value.

Ramp-up Time (min)

Specifies the “warm-up” period for the load test. During this time, LoadNinja changes the load gradually from 0 VUs to the number that the Virtual Users setting specifies.

In duration-based load tests, the ramp-up time is not included into the time set by the Duration of Test value (see above).

In iteration-based, virtual user iterations that “occurred” during the ramp-up period decrease the iteration counter.

Ramp-up Steps

Specifies how many ramp-up steps the load test should perform before reaching the maximum number of virtual users.

How it works

By default, the number of ramp-up steps is 1. You can use up to 20 ramp-up steps in LoadNinja tests.

In the right part of the Load Configuration panel, LoadNinja shows the currently specified ramp-up settings in a visual form. The visualization is based on the gradually increasing number of virtual users over the duration of the load test:

The ramp-up chart

Click the image to enlarge it.

Delay Between Iterations (sec)

The pause (in seconds) after a virtual user instance finishes running its script and before LoadNinja starts another instance of that virtual user.

Display load generator IPs before starting the test

If selected, then, before starting the test, LoadNinja will show IP addresses of cloud machines on which LoadNinja will simulate virtual users.

Select this check box if the tested website works behind a firewall or proxy. For example, if it is available in your local network only. Having the list of IP addresses, you can configure your firewall to pass external requests to the tested server. See Test Web Apps in Local Network With Endpoint for more information.

The wait time is counted against the load testing time purchased under your plan.

See Also

Load Distribution Settings
Error Handling Settings
Playback Settings
Scenarios

Highlight search results