Run load test scripts to perform load tests on web applications. During playback, the application runs under a simulated load of users to determine how it behaves.
Note: Load tests must run on the computer that hosts the virtual users. You can use a maximum of 250 virtual users on each computer per load test. To run tests with more virtual users, add additional QA Wizard Pro licenses to other remote computers and distribute virtual users between them when setting up the test.
1. Choose Script > Run Load Test.
The Run Load Test dialog box opens. The settings from the most recent load test are displayed.
2. Enter the Total number of virtual users to simulate for the load test. This number cannot exceed the number of virtual users available on the computer running the test.
3. Select the Scripts to run.
You can include multiple scripts in a load test and divide the total number of virtual users between the scripts. For example, you can test how an application handles 500 users: 200 who use search functionality at the same time and the other 300 who use shopping cart and check out functionality.
4. Select the Computers to host virtual users. You can use a maximum of 250 virtual users on each computer per load test.
5. Select the Browsers to use.
6. Optionally enter the number of seconds for the load test to spend loading users in the Scale startup to reach 100% load field.
Use this option if you want to gradually apply load to the application, which provides a more realistic testing scenario than loading all virtual users instantly.
7. Select a test Duration.
8. Click Run.
You may be prompted to name the playback session before the test starts. Enter a session name and click Set Name and Run or click Run Without Name to run the session without a name. If you do not want to be prompted to enter a session name, disable it in the server options. See Setting server connection options.
A progress indicator opens and displays the run time, current load, and the number of errors and warnings returned during the test. When the test is complete, a load test report is generated.
If email notifications are configured, the results may be sent to specified recipients.
Note: Load tests do not stop when scripts return errors or warnings. The load test run report includes details about the errors and warnings.
If errors are reported after posting data from a file during a load test, you may need to modify the postdata file. Select the file in the workspace and choose File > Open. Only modify these files if you are familiar with the content type and data.