Performance testing - QUEST Software Testing Conference

Download Report

Transcript Performance testing - QUEST Software Testing Conference

Agenda
 Functional and Performance testing
 Why Performance
 Definitions
 Performance Testing Tools
 HP LoadRunner
 Features and Advantages
 Components
 Testing process
 Function Testing
 Client Side
 Records each user action
 Only one User
 Tool :QTP
 Performance Testing
 Server Side
 Records only client –side interaction
 Multiple User
 Tool : LoadRunner
User.text (“UN”)
Pass.text(“Pass”)
Button.click(SI)
User Name
Password
Sign in
http:// (User.text =“UN”,Pass.text=“Pass”,Button.click(SI))
User Name
Password
Sign in
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?
Performance failure = Lost revenue
 Yahoo News : Fri Jun 6, 2008 4:50 PM ET
 Amazon Inc US website was down for about 2 hours
 Impact : Amazon Shares fell 4.59 percent
 Internet Business News: July 27,2006
 Australia's JetStar airline website crashed as too many users
went online to take advantage of holiday promotions.
Good Performance…?
Define Stress/Load/Performance
Testing
 Stress Testing: Stress Testing is done in order to check when
the application fails by varying 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, number of hits , resource utilization,
or some other system characteristic( or group of them), by
varying the number of users.
Without tool ??
Performance Testing Tools
 HP-LoadRunner
 Compuware-QA Load
 IBM-Rational Performance Tester
 Borland-Silk Performer
Key Benefits
 Obtain an accurate picture of end-to-end system
performance
 Verify that new or upgraded applications meet your
specified performance requirements
 Identify and eliminate performance bottlenecks during the
development lifecycle
 Reduce production downtime and poor application
performance
LoadRunner Components
Controller
VuGen
LoadRunner
Analysis
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
LoadRunner Components
The Controller organizes, drives, manages, and monitors the load
test.
LoadRunner Components
The Analysis helps you view, dissect, and compare the
performance results.
LoadRunner Components
The Analysis helps you view, dissect, and compare the
performance results.
Any Questions