Use the Load Configuration settings to specify how LoadNinja will simulate virtual users (VUs) in your scenario.
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.
Duration Based and Iteration Based
These settings specify how LoadNinja determines the test duration.
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.
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 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.
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.
Specifies how many ramp-up steps the load test should perform before reaching the maximum number of virtual users.
If you command LoadNinja to use 3 ramp-up steps, the number of virtual users will increase in the following way:
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 pause (in seconds) after a virtual user instance finishes running its script and before LoadNinja starts another instance of that virtual user.
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.