Loadrunner
Loadrunner
Loadrunner
Mercury Performance
Test Tool
Topics to be Covered
Why Performance ?
Definitions: Performance Testing
Benchmark Design
Performance Testing Tools
LoadRunner Components
What is load testing process?
Getting Familiar with Mercury
Tours
Application Requirements
Why Performance…?
Does the application respond quickly
enough for the intended users?
Will the application handle the expected
user load and beyond?
Will the application handle the number of
transactions required by the business?
Is the application stable under expected
and unexpected user loads?
Are you sure that users will have a
positive experience on go-live day?
Define Stress/Load/Performance
Testing
Stress Testing: Stress Testing is done in order to check
when the application fails by reducing the system resources
such as RAM, HDD etc. and keeping the number of users as
constant.
Load Testing: Load Testing is done in order to check when
the application fails by increasing the number of users and
keeping the system resources as constant.
Performance Testing: The term Performance can mean
measuring response time, throughput, resource utilization,
or some other system characteristic( or group of them), by
varying the number of users.
Benchmark Design
The Benchmark is the representative workload
used during the performance test run. It should
be representative of the likely real-world
operating conditions.
Benchmark is provided by the client.
In Industry scenario the benchmark is as follows:
No. of transactions passed per second >= 8
Response time <= 5 sec.
Performance Testing
Tools
Segue Silk Performer
Rational Team Test
Mercury Load Runner
Empirix e-Load/RSW)
Soft Light Site Tools Loader
LoadRunner Components
The Virtual User Generator captures end-user
business processes and creates an automated
performance testing script, also known as a virtual
user script.
The Controller organizes, drives, manages, and
monitors the load test.
The Load Generators create the load by running
virtual users.
The Analysis helps you view, dissect, and
compare the performance results.
The Launcher provides a single point of access
for all of the LoadRunner components.
What is the load testing
process?
Getting Familiar with
Mercury Tours
Opening Mercury Tours
Make sure that the sample Web server is
running.
Open the Mercury Tours application.
Reserve a flight.
Recording Levels
How do I record a business
process to create a script?
Contd …
Tree View
Script View
Playing Back
Your Script
Topics to be Covered
How do I set the run-time behavior?
How do I watch my script running in real
time?
Where can I view a summary of the
playback?
How do I set the run-time
behavior?
Choose VUser > Runtime-Settings – Run Logic
How do I set the run-time
behavior?
Contd..
Parameterization – Step1
Type the
parameter
name
Create File
How do I emulate multiple users?
Contd..
Right Click
Click Here
How do I verify Web page
content? Contd..
Right Click
Click Here
Did my test succeed?
Playback the Script
1. Enable image checks.
2. Run the script.
3. Locate the text check.
4. Locate the image check.