Using the Load Distribution scenario settings, you specify the number of virtual users to be simulated and scripts they will run.
The maximum number of concurrent virtual users (VUs) to be simulated during the run.
During the ramp-up period (if you use it), the number of concurrent virtual users will be less than this number. LoadNinja starts running the load test with 0 virtual users and adds them gradually during the ramp-up period until their amount reaches the value specified by the Virtual Users setting.
For information on how LoadNinja simulates virtual users, see Virtual users and load types.
Select the web tests to run during the load test
A web test (or script) is a sequence of user actions to be simulated on the tested web pages.
In this setting, you select scripts that virtual users in your load test will run.
To add a script to the scenario, click Add Web Tests, and then pick a web test from your project to append to the scenario and click Submit:
|Tip:||Use the search box to filter the script list. It allows searching for a specific character in a script’s name.|
If you don’t have web tests in your project, you need to record them first.
To delete a script from the scenario, simply click for this test:
Lists load generator locations for this scenario.
|If the scripts assigned to the scenario use the endpoint, this option will be unavailable. For these scripts, LoadNinja uses the default location: US East (North Virginia).|
To switch between available locations, use the drop-down lists in the Server Location column.
The following locations are available:
To add a new location, click Add Location.
To distribute the load between locations, specify the desired percentage in the Load Percentage column. The total load percentage must add up to 100.
LoadNinja will automatically assign the number of users for each location according to values specified in Load Percentage. The resulting distribution of virtual users will appear in the Total VUs column.
Note: The total number of users will be always equal to the number specified in Number of concurrent virtual users, that is, the redundant or deficient number of users will be rounded to match the requested amount.
To delete a location, click to the right of that location.