PERFORMANCE TESTING
Shivaram 07-AUG-2014
AGENDA
Major outages of web applications
Why load test your application?
Performance testing workflow
LoadRunner: Analysis overview
Major tool vendors/Providers
Q&A
1 PHONE, 1-WEEK, 1-LAKH CUSTOMER
WHY LOAD TEST YOUR APPLICATION?
Business Architects & Dev End-Users
Prevent failures on “Go-live” Validating design goals Verifying Consistent end-user
experience.
Baseline against competitors
Establishing scalability patterns
and verifying capacity
requirements
Validating functional integrity
under load
Reduce cost of hardware &
software
Optimising software & hardware
configuration settings
for maximum throughput
Ensuring increased confidence in
application
Prevents costly failures of mission-critical applications.
Assures performance under real-world conditions.
Locates potential problems prior deploying application in production.
Sizing your IT components.
Reduces infrastructure costs
HOW DO WE TEST FOR PERFORMANCE?
Application User
InternetWeb Server App Server
Database
Firewall
Load Tool Recorder
Virtual User Generated by Load
Tool
LOAD TESTING PROCESS
LOADRUNNER COMPONENTS
Load Generator
Injects load (vusers)
Recording Engine
Record business process.
Enhance scripts.
Administrative console
Design & execute scenario
Define Monitors
Result repository
Analyze results
Create reports
VuGen
SCENARIO: CONTROLLER
MONITORS: CONTROLLER
ANALYSIS
IDENTIFYING THE BOTTLENECK
DEMO: LOADRUNNER ANALYSIS
Application: Flight reservation system (Web based)
Business process: Logon, Search flight, book, check itinerary, Logoff
Load testing was done for 70 users; 2-users @ every 3 seconds
Background
SLA specific goal based on ‘Avg transaction response’ times
Analysis: Inputs
Load Criteria User Load Response times
Light Load Between 0 & 20 5-seconds or less
Average Load Between 20 & 49 10-seconds or less
Heavy Load More than 50 15-seconds or less
USING VISUAL STUDIO
LOAD TESTING: TOOLS