The following section provides a general overview of the LoadRunner testing process.
1. Planning the Test
Successful load testing requires that you develop a thorough test plan. A clearly defined test plan will ensure that the LoadRunner scenarios that you develop will accomplish your load testing objectives. For more information, see Planning Load Test Scenarios.Back to top
2. Creating the Vuser Scripts
Vusers emulate human users interacting with your Web-based application. A Vuser script contains the actions that each Vuser performs during scenario execution.
In each Vuser script, you determine the tasks that will be:
Performed by each Vuser
Performed simultaneously by multiple Vusers
Measured as transactions
For more information on creating Vuser scripts, see Enhancing a Script for Load Testing - Overview.Back to top
3. Designing the Scenario
A scenario describes the events that occur during a testing session. A scenario includes a list of machines on which Vusers run, a list of scripts that the Vusers run, and a specified number of Vusers or Vuser groups that run during the scenario. When designing the scenario, you set the scenario configuration and scheduling which determines how all the load generators and Vusers behave while the scenario runs.
You design scenarios using Controller. For information about LoadRunner scenarios, see Designing Scenarios.Back to top
4. Running the Scenario
You emulate user load on the server by instructing multiple Vusers to perform tasks simultaneously. While the scenario runs, LoadRunner measures and records the transactions that you defined in each Vuser script. You can set the level of load by increasing and decreasing the number of Vusers that perform tasks at the same time and you can also monitor your system's performance online. For more information, see Running Scenarios.Back to top
5. Monitoring the Scenario
You configure the LoadRunner monitoring components to identify bottlenecks on the system and determine which element is causing performance degradation, for example, file locking, resource contention, and network overload. Use LoadRunner in conjunction with the new network and machine monitoring tools to create load and measure performance at different points in the system. For more information on monitoring, see Monitoring Load Test Scenarios.Back to top
6. Analyzing Test Results
During scenario execution, LoadRunner records the performance of the application under different loads. You use LoadRunner's graphs and reports to analyze the application's performance. For more information about LoadRunner's reports and graphs, see Introducing Analysis.Back to top