Download - Introduction to performance testing
Introduction to Performance TestingBy
Anushka Wickramaratne
Agenda
• What is Performance Testing?• What is Performance Tuning?• What is Performance Engineering?• Why PT?• Attributes of PT• Performance Test Types• Optimization mechanisms• Myths• PT cycle• PT Tools• Tools Architecture• PT in a Nutshell?
Once upon a time in Sri Lanka…..
Discipline concerned with detecting and reporting the current behavior of the software system.
What is Performance testing?
Process by which software is tested and tuned to improve the system performance.
What is Performance Tuning?
Process that applied at every phase of the SDLC.
What is Performance Engineering?
Why Performance testing?
• To confirm and validate SLA
• To compare two systems to find which performs better or to check the current product capacity.
• To measure what parts of the system or workload causes the system to perform badly.
Attributes of Performance Testing
Back to Ravana’s Story
• Speed
• Scalability
• Stability
• Confidence
Performance Test Types
• Performance Testing
• Load Testing
• Stress Testing
• Capacity Testing
• Endurance Testing
• Spike Testing
Performance Optimization Mechanisms
• Front End Optimization (FEO)
• Back End Optimization (BEO)Web Performance Optimization (WPO)
Performance Testing Myths
• PT is done to break the code.
• PT is all about learning and using a load testing tool & vice-versa
• Results that are true for the testing server can be simply scaled up or down.
• PT can ONLY be done towards the end of the testing life cycle.
Performance Test Cycle
Performance Test Tools
• Free/Open source– Jmeter– Open STA
• Commercial– Load Runner– Webload
• Create Own
• Supporting tools- Httpwatch- Yslow- Bad Boy
Common PT Tool Architecture
Performance Testing in a Nutshell