Load Runner in A Nutshell
Load Runner in A Nutshell
…in a nutshell
Understand
terminology
Define:
Scenario
Number of users
Events
Load scaling
Define:
Vusers
is short for…
Virtual user
emulate actions
Defn:
Vuser Scripts
actions
a collections of
actions…
business process
can be recorded or…
manually generated
In ANSI C
+ custom LR API
Define:
Transactions:
not what you think
Standard Definition:
Request Response
Request
Response
Trxns Request
Response
Request
Response
A defined set of
actions
You determine
transaction start
end of transaction
…Based on your
process
Defn: Controller
controls the
scenarios
provides real-time
monitoring
logging
Defn: Load
Generator:
executes the scenario
Define:
Performance
Analysis
view results
raw form
create custom
reports
make graphs & charts
Define:
Rendezvous Points:
prepare vusers
wait for a certain
event…
…then load
simultaneously
The Load Runner
Suite:
5 key components:
1.vGen Editor
2. Controller
3. Remote Agent
Dispatcher
4. Agent
4. Analyzer
View @ 40,000 Ft.
Run & Create a
LoadRunner test…
8 Simple Steps
1. Plan the business
action
2. Record or write
script
3. Setup a scenario
4. Run test scenario
5. Monitor progress
6. Load results in
Analyzer
7. Draw relationships
8. Complete report
About VGen
A detailed view:
Script View
Tree view
VUser 3 key script
customization
features:
1. Parameterization:
Allows dynamic input
data
So submit a unique
value @
…every iteration or…
distribute values
across scripts
Example of
parameterizing
Read data from table
Read input data
from data pool
capitalize on custom
formats
2. Correlation:
Anticipate and handle
dynamic data
The problem with
recording:
…it records server
responses
…but on replay…
…it expects the exact