16-08-2012, 03:50 PM
Advanced Load Runner Training
advanced_load_runner.ppt (Size: 3.31 MB / Downloads: 126)
Introduction to Load Runner
Load Runner is a Mercury Interactive Tool that predicts performance and behavior of the system
By creating lots of load, you can see how the system reacts at peak levels or with simultaneous Users
To test the application, LoadRunner emulates an environment where multiple users work concurrently. While the application is under load, LoadRunner accurately measures and analyzes the system performance, and its functionality
LoadRunner Terminology
Scenarios
Using LoadRunner, you divide your application performance testing requirements into scenarios.
A scenario defines the events that occur during each testing sessions.
For example, a scenario defines and controls the number of users to emulate, the actions that they perform, and the machines on which they run their emulations.
Vusers
In a scenario, LoadRunner replaces human users with virtual users or Vusers.
When you run a scenario, Vusers emulate the actions of human users—submitting input to the server.
A scenario can contain tens, hundreds, or even thousands of Vusers.
Vuser Scripts
The actions that a Vuser performs during the scenario are described in a Vuser script.
When you run a scenario, each Vuser executes a Vuser script. Vuser scripts include functions that measure and record the performance of the server during the scenario.
Transactions
To measure the performance of the server, you define transactions.
Transactions measure the time that it takes for the server to respond to tasks submitted by Vusers.
Process of Recording Script
Record a basic script
Enhance the basic script by adding the control-flow statements and other Mercury API functions into the Script
Configure the Run-time settings
Verify that the script runs correctly, run it in stand-alone mode
Integrate into your test : a LoadRunner scenario, Performance Center load test, Tuning module session, Business process monitor profile