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

Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingRichard Bishop
 
Performance testing
Performance testingPerformance testing
Performance testingJyoti Babbar
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with JmeterPrashanth Kumar
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best PracticesApica
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeterMikael Kundert
 
Infographic: Importance of Performance Testing
Infographic: Importance of Performance TestingInfographic: Importance of Performance Testing
Infographic: Importance of Performance TestingKiwiQA
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingKostCare
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance TestingAtul Pant
 
Performance Testing
Performance TestingPerformance Testing
Performance Testingsharmaparish
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeterBhojan Rajan
 
Performance testing
Performance testing Performance testing
Performance testing BugRaptors
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load TestingAlex Galkin
 
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaPerformance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaEdureka!
 

What's hot (20)

Types of performance testing
Types of performance testingTypes of performance testing
Types of performance testing
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
Performance testing with JMeter
Performance testing with JMeterPerformance testing with JMeter
Performance testing with JMeter
 
Infographic: Importance of Performance Testing
Infographic: Importance of Performance TestingInfographic: Importance of Performance Testing
Infographic: Importance of Performance Testing
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Load testing jmeter
Load testing jmeterLoad testing jmeter
Load testing jmeter
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Performance testing
Performance testing Performance testing
Performance testing
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
 
Performance Testing Using JMeter | Edureka
Performance Testing Using JMeter | EdurekaPerformance Testing Using JMeter | Edureka
Performance Testing Using JMeter | Edureka
 

Viewers also liked

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 (7)

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
 
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
 
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
 
Performance testing material
Performance testing materialPerformance testing material
Performance testing material
 

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

Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

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