Professional Documents
Culture Documents
Company Confidential
WHAT IS PERFORMANCE TESTING
Company Confidential
Load and Stress Testing
2. Stress
Testing :Stress testing is testing the system
performance where some complicated activities like
DB queries or repeated actions are applied on the
system.
Company Confidential
CAN U PERFORM MANUALLY
???…..
Company Confidential
Manual Testing Is Problematic
Do you have the testing resources?
• Testing personnel
All of you,
• Client machines
click the
GO button How do you coordinate and synchronize users?
again
How do you collect and analyze results?
How do you achieve test repeatability?
Coordinator
Testers
Company Confidential
The LoadRunner Solution
Solves the resource limitations
• Replaces testers with virtual users
• Runs many Vusers on a few machines
• Controller manages the virtual users
Controller
Analysis
• Analyzes results with graph & report tools
• Repeats tests with scripted actions
Company Confidential
Vuser Scripts:
Virtual User Generator
Company Confidential
Virtual User Generator Script
• Vuser_end( ) ----logoff
Company Confidential
Virtual User Script Model
Logon Logoff
(recording
User Actions (recording
optional) (Business Processes) optional)
Company Confidential
Virtual Users
•GUI vusers
•WEB vusers
•RTE vusers
•TUXEDO vusers
•DB vusers
……………..
Company Confidential
Scenario
CONTROLLER
Company Confidential
Managing Scenario Execution
(Performance Under Gradual Load)
The Controller:
• Gradually build up load on the server
– load all Vusers
– release Vusers in defined time intervals
– disable Rendezvous
– manually kill Vusers when all have been running and
you’ve obtained enough transactions to measure
The Vuser:
• Run time settings
– set number of iterations to be very high (i.e. 9000)
– ignore think times
Company Confidential
Analysis Tools
Graphs and Reports
Company Confidential
Running Vusers
Company Confidential
Rendezvous
See how rendezvous influenced transaction performance
Company Confidential
Transaction Performance
Company Confidential
Performance vs. Load
View Multiple Graphs
Company Confidential
Transaction Performance Summary
Company Confidential
Percentile
Company Confidential
Cross Scenario Graphing
Company Confidential
Monitor Network Delay
Which network segment is causing the delay?
Company Confidential
Monitor Resources
Company Confidential
Performance Tunings
Company Confidential