SlideShare a Scribd company logo
1 of 26
AGENDA OF THE DISCUSSION
•
•
•
•
•
•
•
•
•
•
•
•
•

What is Performance Testing
Goals of Performance Testing
Importance of Performance Testing
Types of Performance Testing
Pre-requisites of Performance Testing
Performance Management
Performance Testing Cycle
Performance Testing Activities
Performance Symptoms and Issus
Typical Order of Fixes
Challenges with Performance Testing
Performance Testing Best Practices
Difference Between Performance Testing and Performance
Engineering
WHAT IS PERFORMANCE
TESTING??
• Non-Functional testing to determine the
system responsiveness, stability, reliability
and scalability
PERFORMANCE TESTING GOALS
• Access production readiness
• Compare two platform to compare which performs
better
• Compare performance characteristics of system
configurations
• Evaluate system against performance criteria
• Discover what parts of the application perform
poorly and under what conditions
• Finding the source of performance problems
• Support system tuning
IMPORTANCE OF
PERFORMANCE TESTING
• Most users click away after 8 seconds of delay
• $4.4 billion business revenue loss due to poor web
applications performance
• Failure of US Based Airlines computerized system to
maintain flight plans in Nov 2009
• Aberdeen found that inadequate performance could
impact revenue by up to 9%
• Business performance begins to suffer at 5.1
seconds of delay in response times of web
applications and 3.9 for critical applications
IMPORTANCE OF
PERFORMANCE TESTING
• An additional second of waiting on a website
significantly impact customer satisfaction and visitor
conversions
• Page viewers, conversions rate and customer
satisfaction drops 11%, 7% and 16% respectively
IMPORTANCE OF
PERFORMANCE TESTING
TYPES OF
PERFORMANCE
TESTING

• Load Testing
• Stress Testing
• Soak/Endurance Testing
• Volume/Spike Testing
• Scalability Testing
• Configuration Testing
TYPES OF PERFORMANCE
TESTING (COND..)
PRE-REQUISITES OF
PERFORMANCE TESTING
• Stable build free from all major functional defects
• Performance testing environment similar to
production environment
• No other testing should be performed while
Performance testing
• Conduct Performance testing before going live
• Complete understanding and knowledge of the
application
CALL CENTER APPLICATION
INFRASTRUCTURE EXAMPLE
TYPES OF PERFORMANCE
MANAGEMENT
PERFORMANCE
MANAGEMENT

Proactive
Approach

Reactive
Approach
REACTIVE APPROACH
• Performance Testing after the System Testing
• Advantages
• Cost effective

• Disadvantages
• Difficult to resolve the performance bottlenecks after the
complete development
• Defect removal cost will exponentially increase
• Whole system can be useless
PERFORMANCE TESTING
CYCLE
CORE PERFORMANCE TESTING
ACTIVITIES
Identify Test Environment
Identify Performance Acceptance Criteria
Plan and Design Tests
Configure Test Environment
Implement Test Design
Execute Tests
Analyze, Report and Retest
PERFORMANCE TESTING
ACTIVITIES
• Identify Test Environment: Performance test environment should be exact
replica of production environment

• Identify Performance Acceptance Criteria: Identification of performance
testing matrices and acceptable value of each matrix
• Plan and Design Test: Identification of user test scenarios based on their
importance, frequency and performance impact
• Configure Test Environment: Test environment setup as identified at first
step
• Implement Test Design: Scripting of user scenarios with the help of a
performance testing tool
• Execute Tests: Execution of scripted user scenarios against different user
sets with different configurations
• Analyze, Report and Retest: Analyze the executed tests results with
identified matrices, report results to stake holders and Retest if tests were not
passed in previous iteration
PERFORMANCE
SYMPTOMS AND ISSUES
Symptoms of Web Application
Performance Problems
Database Problems

Web Server Problems

Application Server problems

Network Problems
WEB APPLICATIONS
PERFORMANCE
PROBLEMS

•
•
•
•
•
•
•
•
•
•

Long user response time
Memory leaks
High CPU usage
Too many open connections
Length queues for requests
Too many table scans of
database
Database deadlocks
Erroneous data returned
HTTP errors
Pages not available
DATABASE
PERFORMANCE
PROBLEMS

•
•
•
•

Insufficient Indexing
Fragmented Database
Out-of-date Statistics
Faulty Application Design
WEB SERVER
PERFORMANCE
PROBLEMS
• High CPU Usage
• Poor Server Design
• Memory Problems
APPLICATION SERVER
PERFORMANCE PROBLEMS
• Poor Database Tuning
• Poor Cache Management
• Poor Session Management
• Poor Security Design
NETWORK PERFORMANCE
PROBLEMS
TYPICAL ORDER OF FIXES
Improve current application
design (Algorithms, caching, DB
calls, memory use)

Upgrade hardware (RAM, CPU,
network bandwidth)

Upgrade software infrastructure
(OS, web server, database)

Upgrade system architecture (Client-server
to basic n-tier, software and hardware
changes, Use hardware load balancing /SSL
CHALLENGES WITH
PERFORMANCE TESTING
•
•
•
•
•
•
•
•
•
•

Infrastructure Setup
Collection and Analysis of Huge Data
Identifying the Problem Root cause
Team effort required (Product vendors, Architects, Developers,
Testers, Database administrators, Network administrators)
Accuracy of results
Client involvement
Testing inside the firewall
Multidimensional applications (web, SAAS, mobile etc.)
Testing on Live Server
Expensive
PERFORMANCE TESTING
BEST PRACTICES
• Use Ramp up approach
• Repeat the tests 2-3 times to confirm the results
• Run tests at different times
• Run individual tests before combining them in a
single test
info@swaam.com
+92-42-35782346

www.Twitter.com/SwaamTech
www.FaceBook.com/SwaamTech

More Related Content

What's hot

Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeterBhojan Rajan
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingTharinda Liyanage
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load TestingAlex Galkin
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
Testing your APIs Performance.pptx
Testing your APIs Performance.pptxTesting your APIs Performance.pptx
Testing your APIs Performance.pptxPricilla Bilavendran
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Performance testing
Performance testingPerformance testing
Performance testingJyoti Babbar
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?QA InfoTech
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introductionsilenceIT Inc.
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaEdureka!
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101iradari
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeterRachappa Bandi
 
User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?Maveryx
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance TestingAtul Pant
 
4 Major Advantages of API Testing
4 Major Advantages of API Testing4 Major Advantages of API Testing
4 Major Advantages of API TestingQASource
 

What's hot (20)

Types of performance testing
Types of performance testingTypes of performance testing
Types of performance testing
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
Testing your APIs Performance.pptx
Testing your APIs Performance.pptxTesting your APIs Performance.pptx
Testing your APIs Performance.pptx
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Performance testing
Performance testingPerformance testing
Performance testing
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
Apache JMeter - A brief introduction
Apache JMeter - A brief introductionApache JMeter - A brief introduction
Apache JMeter - A brief introduction
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | Edureka
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeter
 
User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?User Interface Testing. What is UI Testing and Why it is so important?
User Interface Testing. What is UI Testing and Why it is so important?
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
 
4 Major Advantages of API Testing
4 Major Advantages of API Testing4 Major Advantages of API Testing
4 Major Advantages of API Testing
 

Viewers also liked

Performance Testing
Performance TestingPerformance Testing
Performance Testingsharmaparish
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with JmeterPrashanth Kumar
 
Jbehave- Basics to Advance
Jbehave- Basics to AdvanceJbehave- Basics to Advance
Jbehave- Basics to AdvanceRavinder Singh
 
administrating test,scoring,grading vs marks
administrating test,scoring,grading vs marksadministrating test,scoring,grading vs marks
administrating test,scoring,grading vs markskrishu29
 
Informal Assessment
Informal AssessmentInformal Assessment
Informal Assessmentsongoten77
 
Language Assessment_Formal and Informal
Language Assessment_Formal and InformalLanguage Assessment_Formal and Informal
Language Assessment_Formal and InformalMæäSii Mööì
 
Performance Assessment
Performance AssessmentPerformance Assessment
Performance AssessmentMarsha Ratzel
 
Types of assessment
Types of assessmentTypes of assessment
Types of assessmentcwhinsch
 

Viewers also liked (9)

Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
Jbehave- Basics to Advance
Jbehave- Basics to AdvanceJbehave- Basics to Advance
Jbehave- Basics to Advance
 
administrating test,scoring,grading vs marks
administrating test,scoring,grading vs marksadministrating test,scoring,grading vs marks
administrating test,scoring,grading vs marks
 
Informal Assessment
Informal AssessmentInformal Assessment
Informal Assessment
 
Language Assessment_Formal and Informal
Language Assessment_Formal and InformalLanguage Assessment_Formal and Informal
Language Assessment_Formal and Informal
 
Aptitude test
Aptitude testAptitude test
Aptitude test
 
Performance Assessment
Performance AssessmentPerformance Assessment
Performance Assessment
 
Types of assessment
Types of assessmentTypes of assessment
Types of assessment
 

Similar to An Introduction to Performance Testing

Comprehensive Performance Testing: From Early Dev to Live Production
Comprehensive Performance Testing: From Early Dev to Live ProductionComprehensive Performance Testing: From Early Dev to Live Production
Comprehensive Performance Testing: From Early Dev to Live ProductionTechWell
 
Performance Testing
Performance TestingPerformance Testing
Performance TestingAnu Shaji
 
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingNeotys_Partner
 
In Sync Running Apps On Oracle
In Sync  Running Apps On OracleIn Sync  Running Apps On Oracle
In Sync Running Apps On OracleInSync Conference
 
Test automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerTest automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerRobbie Minshall
 
performancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdfperformancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdfMAshok10
 
Presentation application server diagnostics
Presentation   application server diagnosticsPresentation   application server diagnostics
Presentation application server diagnosticsxKinAnx
 
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness TestingHoliday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness TestingApica
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best PracticesApica
 
Implementing a Performance Centre of Excellence
Implementing a Performance Centre of ExcellenceImplementing a Performance Centre of Excellence
Implementing a Performance Centre of ExcellenceRichard Bishop
 
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010TEST Huddle
 
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...AppDynamics
 
reddythippa ETL 8Years
reddythippa ETL 8Yearsreddythippa ETL 8Years
reddythippa ETL 8YearsThippa Reddy
 
Performance Assurance for Packaged Applications
Performance Assurance for Packaged ApplicationsPerformance Assurance for Packaged Applications
Performance Assurance for Packaged ApplicationsAlexander Podelko
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0Samer Desouky
 

Similar to An Introduction to Performance Testing (20)

Performance testing
Performance testingPerformance testing
Performance testing
 
Comprehensive Performance Testing: From Early Dev to Live Production
Comprehensive Performance Testing: From Early Dev to Live ProductionComprehensive Performance Testing: From Early Dev to Live Production
Comprehensive Performance Testing: From Early Dev to Live Production
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
 
In Sync Running Apps On Oracle
In Sync  Running Apps On OracleIn Sync  Running Apps On Oracle
In Sync Running Apps On Oracle
 
Test automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application ServerTest automation lessons from WebSphere Application Server
Test automation lessons from WebSphere Application Server
 
performancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdfperformancetestinganoverview-110206071921-phpapp02.pdf
performancetestinganoverview-110206071921-phpapp02.pdf
 
Presentation application server diagnostics
Presentation   application server diagnosticsPresentation   application server diagnostics
Presentation application server diagnostics
 
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness TestingHoliday Readiness: Best Practices for Successful Holiday Readiness Testing
Holiday Readiness: Best Practices for Successful Holiday Readiness Testing
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
Implementing a Performance Centre of Excellence
Implementing a Performance Centre of ExcellenceImplementing a Performance Centre of Excellence
Implementing a Performance Centre of Excellence
 
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
C.V, Narayanan - Open Source Tools for Test Management - EuroSTAR 2010
 
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
AppSphere 15 - How The Container Store Uses AppDynamics in their Development ...
 
Ayaz Qureshi
Ayaz QureshiAyaz Qureshi
Ayaz Qureshi
 
reddythippa ETL 8Years
reddythippa ETL 8Yearsreddythippa ETL 8Years
reddythippa ETL 8Years
 
Performance Assurance for Packaged Applications
Performance Assurance for Packaged ApplicationsPerformance Assurance for Packaged Applications
Performance Assurance for Packaged Applications
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
 
JMeter
JMeterJMeter
JMeter
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 

More from SWAAM Tech

Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.SWAAM Tech
 
Monkey runner & Monkey testing
Monkey runner & Monkey testingMonkey runner & Monkey testing
Monkey runner & Monkey testingSWAAM Tech
 
Android & iPhone App Testing
 Android & iPhone App Testing Android & iPhone App Testing
Android & iPhone App TestingSWAAM Tech
 
Power Over Vs. Power With !!
Power Over Vs. Power With !!Power Over Vs. Power With !!
Power Over Vs. Power With !!SWAAM Tech
 
A / B Testing
A / B Testing A / B Testing
A / B Testing SWAAM Tech
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application TestingSWAAM Tech
 

More from SWAAM Tech (6)

Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.
 
Monkey runner & Monkey testing
Monkey runner & Monkey testingMonkey runner & Monkey testing
Monkey runner & Monkey testing
 
Android & iPhone App Testing
 Android & iPhone App Testing Android & iPhone App Testing
Android & iPhone App Testing
 
Power Over Vs. Power With !!
Power Over Vs. Power With !!Power Over Vs. Power With !!
Power Over Vs. Power With !!
 
A / B Testing
A / B Testing A / B Testing
A / B Testing
 
Mobile Application Testing
Mobile Application TestingMobile Application Testing
Mobile Application Testing
 

Recently uploaded

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 

Recently uploaded (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 

An Introduction to Performance Testing

  • 1.
  • 2. AGENDA OF THE DISCUSSION • • • • • • • • • • • • • What is Performance Testing Goals of Performance Testing Importance of Performance Testing Types of Performance Testing Pre-requisites of Performance Testing Performance Management Performance Testing Cycle Performance Testing Activities Performance Symptoms and Issus Typical Order of Fixes Challenges with Performance Testing Performance Testing Best Practices Difference Between Performance Testing and Performance Engineering
  • 3. WHAT IS PERFORMANCE TESTING?? • Non-Functional testing to determine the system responsiveness, stability, reliability and scalability
  • 4. PERFORMANCE TESTING GOALS • Access production readiness • Compare two platform to compare which performs better • Compare performance characteristics of system configurations • Evaluate system against performance criteria • Discover what parts of the application perform poorly and under what conditions • Finding the source of performance problems • Support system tuning
  • 5. IMPORTANCE OF PERFORMANCE TESTING • Most users click away after 8 seconds of delay • $4.4 billion business revenue loss due to poor web applications performance • Failure of US Based Airlines computerized system to maintain flight plans in Nov 2009 • Aberdeen found that inadequate performance could impact revenue by up to 9% • Business performance begins to suffer at 5.1 seconds of delay in response times of web applications and 3.9 for critical applications
  • 6. IMPORTANCE OF PERFORMANCE TESTING • An additional second of waiting on a website significantly impact customer satisfaction and visitor conversions • Page viewers, conversions rate and customer satisfaction drops 11%, 7% and 16% respectively
  • 8. TYPES OF PERFORMANCE TESTING • Load Testing • Stress Testing • Soak/Endurance Testing • Volume/Spike Testing • Scalability Testing • Configuration Testing
  • 10. PRE-REQUISITES OF PERFORMANCE TESTING • Stable build free from all major functional defects • Performance testing environment similar to production environment • No other testing should be performed while Performance testing • Conduct Performance testing before going live • Complete understanding and knowledge of the application
  • 13. REACTIVE APPROACH • Performance Testing after the System Testing • Advantages • Cost effective • Disadvantages • Difficult to resolve the performance bottlenecks after the complete development • Defect removal cost will exponentially increase • Whole system can be useless
  • 15. CORE PERFORMANCE TESTING ACTIVITIES Identify Test Environment Identify Performance Acceptance Criteria Plan and Design Tests Configure Test Environment Implement Test Design Execute Tests Analyze, Report and Retest
  • 16. PERFORMANCE TESTING ACTIVITIES • Identify Test Environment: Performance test environment should be exact replica of production environment • Identify Performance Acceptance Criteria: Identification of performance testing matrices and acceptable value of each matrix • Plan and Design Test: Identification of user test scenarios based on their importance, frequency and performance impact • Configure Test Environment: Test environment setup as identified at first step • Implement Test Design: Scripting of user scenarios with the help of a performance testing tool • Execute Tests: Execution of scripted user scenarios against different user sets with different configurations • Analyze, Report and Retest: Analyze the executed tests results with identified matrices, report results to stake holders and Retest if tests were not passed in previous iteration
  • 17. PERFORMANCE SYMPTOMS AND ISSUES Symptoms of Web Application Performance Problems Database Problems Web Server Problems Application Server problems Network Problems
  • 18. WEB APPLICATIONS PERFORMANCE PROBLEMS • • • • • • • • • • Long user response time Memory leaks High CPU usage Too many open connections Length queues for requests Too many table scans of database Database deadlocks Erroneous data returned HTTP errors Pages not available
  • 20. WEB SERVER PERFORMANCE PROBLEMS • High CPU Usage • Poor Server Design • Memory Problems
  • 21. APPLICATION SERVER PERFORMANCE PROBLEMS • Poor Database Tuning • Poor Cache Management • Poor Session Management • Poor Security Design
  • 23. TYPICAL ORDER OF FIXES Improve current application design (Algorithms, caching, DB calls, memory use) Upgrade hardware (RAM, CPU, network bandwidth) Upgrade software infrastructure (OS, web server, database) Upgrade system architecture (Client-server to basic n-tier, software and hardware changes, Use hardware load balancing /SSL
  • 24. CHALLENGES WITH PERFORMANCE TESTING • • • • • • • • • • Infrastructure Setup Collection and Analysis of Huge Data Identifying the Problem Root cause Team effort required (Product vendors, Architects, Developers, Testers, Database administrators, Network administrators) Accuracy of results Client involvement Testing inside the firewall Multidimensional applications (web, SAAS, mobile etc.) Testing on Live Server Expensive
  • 25. PERFORMANCE TESTING BEST PRACTICES • Use Ramp up approach • Repeat the tests 2-3 times to confirm the results • Run tests at different times • Run individual tests before combining them in a single test