Controller
Controller
§ Used for defining Scenarios (Manual or Goal Oriented) to perform the
different test executions
§ Used to manage and maintain the scenarios
§ Controls all Vusers in a scenario from a single workstation
§ While executing a scenario, it distributes each Vuser to a Load
Generator
Scenario
Loadrunner scenario is combination of elements that defines a load
test. Please look at below diagram for more clarity.
There
are 2 types of scenarios
1)
Manual Scenario
2) Goal
oriented scenario
There
are below goals in Goal oriented scenario
1)
Hits per second
2) Transaction
response time
3) Number of
VUsers
4) Transactions
per second (TPS)
5) Pages
downloaded per minute
Manual Vs Goal oriented scenario
Manual
Scenario
|
Goal oriented
scenario
|
Manual control over how many VUser runs and
at what time
|
Goal may be response time or number of
concurrent VUsers Loadrunner manages VUsers automatically
|
Add, start and stop VUsers interactively
during scenario run
|
Cannot add, start and stop VUsers
interactively during scenario run
|
Different tabs in controller looks
something like this
Agent
§ The LoadRunner Agent enables the Controller and the load generator to
communicate with each other when a Scenario is run from the Controller
§ Agent receives instructions from the Controller to initialize, run,
pause and stop VUsers
§
Agent also relays data on the status
of the VUsers back to the Controller simultaneously
Ramp
up
§ Loading of all VUsers in the scenario
§
Timed increments pinpoint the exact
point at which a system/software fails or degrades
§ Only applicable for scenarios where in the Duration tab Run
for option is selected
§ Specify how many Vusers to stop and how often
§
Can be used to detect memory leak
and system recovery after heavy load
Schedule
by Group and Schedule by scenario
In schedule by scenario, same schedule
is applied across all the groups. You can only run all scripts together.
In schedule by group, individual
schedule settings can be set for each group. You can run each script one after
other based on your need.
Run Mode
There are 2 types of run modes
1)
Real world schedule
2)
Basic schedule
In real world schedule, you can specify
the ramp up details, ramp down details and duration to run the test.
In Basic schedule you need to specify
the number iterations. The script in the test will run for those many
iterations.
Something to remember
- Results are stored
locally on each load generator
- After execution,
results from all load generators are transferred to the Controller’s results
directory for analysis
Comments
Post a Comment