Introduction to performance testing
-
Upload
tharinda-liyanage -
Category
Documents
-
view
4.551 -
download
0
description
Transcript of Introduction to performance testing
![Page 1: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/1.jpg)
Introduction to Performance TestingBy
Anushka Wickramaratne
![Page 2: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/2.jpg)
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?
![Page 3: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/3.jpg)
Once upon a time in Sri Lanka…..
![Page 4: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/4.jpg)
Discipline concerned with detecting and reporting the current behavior of the software system.
What is Performance testing?
![Page 5: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/5.jpg)
Process by which software is tested and tuned to improve the system performance.
What is Performance Tuning?
![Page 6: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/6.jpg)
Process that applied at every phase of the SDLC.
What is Performance Engineering?
![Page 7: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/7.jpg)
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.
![Page 8: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/8.jpg)
Attributes of Performance Testing
Back to Ravana’s Story
• Speed
• Scalability
• Stability
• Confidence
![Page 9: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/9.jpg)
Performance Test Types
• Performance Testing
• Load Testing
• Stress Testing
• Capacity Testing
• Endurance Testing
• Spike Testing
![Page 10: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/10.jpg)
Performance Optimization Mechanisms
• Front End Optimization (FEO)
• Back End Optimization (BEO)Web Performance Optimization (WPO)
![Page 11: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/11.jpg)
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.
![Page 12: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/12.jpg)
Performance Test Cycle
![Page 13: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/13.jpg)
Performance Test Tools
• Free/Open source– Jmeter– Open STA
• Commercial– Load Runner– Webload
• Create Own
• Supporting tools- Httpwatch- Yslow- Bad Boy
![Page 14: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/14.jpg)
Common PT Tool Architecture
![Page 15: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/15.jpg)
Performance Testing in a Nutshell
![Page 16: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/16.jpg)
![Page 17: Introduction to performance testing](https://reader035.fdocuments.in/reader035/viewer/2022081505/5564ed3cd8b42ab34e8b4c68/html5/thumbnails/17.jpg)