Professional Documents
Culture Documents
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.
Log into Mercury Tours.
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..
Image Checkpoint Go to Tree View
Right Click
Click Here
Did my test succeed?
Filter the graph so that you see only the time slice when all
the Vusers ran simultaneously.
Did my server perform well?
Contd..
Correlate the Running Vusers and Average Transaction Response
Time graphs to compare their data.
Right-click the Running Vusers graph and choose Merge Graphs.
From the Select graph to merge with list, choose Average
Transaction
Response Time.
In the Select type of merge area, select Correlate, and click OK.
In the Measurement column you can see that the Private Bytes and Pool
Nonpaged Bytes, both of which are memory-related measurements, have
a Correlation Match of over 70% with the check_itinerary transaction.
How can I publish my findings?
HTML Reports
1. From the Reports menu, choose
HTML Report...
2. Select a file name for your report,
and the path where you want to
save it. Click Save.