After you have made sure that the scenario works as expected, you can create a load test that will use it. You can create a new test or modify the single-user test by adding more virtual users to it. We will modify the single-user test as it is easier and does not require adding new items to the project.
To create a load test from a single-user test:
The editor shows a table of virtual users in the load test. Each row in this table corresponds to one virtual user or to a group of virtual users. Defining multiple virtual user groups can be useful if you want to specify different properties for different user groups, such as web browser, connection speed and so on.
To specify the number of virtual users in a group, enter this value in the User Count column:
In the User Name column, enter the name for the virtual user group. This name will be used to identify users in load test results:
Add other virtual user groups if needed.
|Note:||The total number of virtual users in all the groups in a test can be no more than 2000. If you need to simulate more virtual users, you need to use additional machines. Using load stations is beyond this tutorial’s scope though. For information on using load stations, see Distributed Testing.|
At the bottom of the editor there are several tabbed pages that specify additional load testing parameters:
Load Profile – Sets the workload profile for virtual users: steady, stepwise ramp-up or custom.
Continuous Load – Sets the overall duration for the load test and this way runs multiple test iterations if needed.
Think Time – Sets the think time (the wait time between web pages) of virtual users.
Quality of Service – Sets the Quality of Service criteria for the given load test.
Stop on Error – Sets the number of errors, on which LoadComplete will stop the load test run.
Combining these settings properly, you can make your load tests more realistic and closer to real-life situations. See Emulating Real-Life Conditions.
For information on using these settings, see Creating and Configuring Load Tests.
Once you have configured the load test, select File | Save from LoadComplete main menu to save it.