SlideShare une entreprise Scribd logo
1  sur  8
Performance Testing

  By Tharinda Liyanage
What is Performance Testing
• Testing to determine how a system performs
  in terms of responsiveness and stability under
  a particular workload.

• It can also serve to investigate
  scalability, reliability and resource usage.
Why we do performance testing
• To demonstrate that the system meets performance criteria.
• To compare two systems to find which performs better.
• To measure what parts of the system or workload causes the
  system to perform badly.

   – Speed - Does the application respond quickly enough for the intended
     users?
   – Scalability – Will the application handle the expected user load and
     beyond? (AKA Capacity)
   – Stability – Is the application stable under expected and unexpected
     user loads? (AKA Robustness)
   – Confidence – Are you sure that users will have a positive experience
     on go-live day?
Types of testing
• Load Testing
  – behavior of the system under a specific expected
    load
     • Concurrency
     • Speed/Throughput
• Stress Testing
  – the upper limits of capacity within the system
     • Scalability/Stability
Types of testing

• Benchmark testing
    •   Compare competitive product
    •   Check performance with previous builds
What we measure
• Response time
  – User concerns
• Throughput
  – Business concerns
• Resource utilizations
  – System concerns
Phases of Performance Testing
• Project assessment
  – Goals/Scoping: “What do you want to achieve?”
• Methodology/Planning
  – “How do you plan to achieve it?”
• Implementation/Execution
  – “Doing what you planned”
• Validation/Evaluation
  – “Did you achieve your goals?”
• Results/Interpretation
  – “What does the output of the testing mean?”
Tools
• Free/Open source tools    • Other useful tools
   – JMeter                       • Httpwatch
• Commercial tools                • YSlow
   – Load Runner
   – Webload

Contenu connexe

Tendances

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
 
Regulated Software Testing - Griffin Jones - TISQA 2014
Regulated Software Testing  - Griffin Jones - TISQA 2014Regulated Software Testing  - Griffin Jones - TISQA 2014
Regulated Software Testing - Griffin Jones - TISQA 2014Griffin Jones
 
Performance testing
Performance testingPerformance testing
Performance testingJyoti Babbar
 
Software testing performance testing
Software testing  performance testingSoftware testing  performance testing
Software testing performance testingGaneshKumarKanthiah
 
Icsm2009 jiang
Icsm2009 jiangIcsm2009 jiang
Icsm2009 jiangSAIL_QU
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?QA InfoTech
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best PracticesApica
 
Performance Testing
Performance TestingPerformance Testing
Performance Testingsharmaparish
 
Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1Mohamed Tarek
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance TestingGrid Dynamics
 
Performance testing services
Performance testing servicesPerformance testing services
Performance testing servicesVandithaM1
 
Getting Started with Apache Jmeter
Getting Started with Apache JmeterGetting Started with Apache Jmeter
Getting Started with Apache JmeterMindfire Solutions
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingRichard Bishop
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with JmeterPrashanth Kumar
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter PresentationNeill Lima
 
Performance Testing
Performance TestingPerformance Testing
Performance TestingSelin Gungor
 

Tendances (20)

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
 
Regulated Software Testing - Griffin Jones - TISQA 2014
Regulated Software Testing  - Griffin Jones - TISQA 2014Regulated Software Testing  - Griffin Jones - TISQA 2014
Regulated Software Testing - Griffin Jones - TISQA 2014
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Software testing performance testing
Software testing  performance testingSoftware testing  performance testing
Software testing performance testing
 
Icsm2009 jiang
Icsm2009 jiangIcsm2009 jiang
Icsm2009 jiang
 
What is Performance Testing?
What is Performance Testing?What is Performance Testing?
What is Performance Testing?
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1Performance Testing Using VS 2010 - Part 1
Performance Testing Using VS 2010 - Part 1
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
Performance testing services
Performance testing servicesPerformance testing services
Performance testing services
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
 
Getting Started with Apache Jmeter
Getting Started with Apache JmeterGetting Started with Apache Jmeter
Getting Started with Apache Jmeter
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Performance testing with Jmeter
Performance testing with JmeterPerformance testing with Jmeter
Performance testing with Jmeter
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
 
Automation Testing with JMeter
Automation Testing with JMeterAutomation Testing with JMeter
Automation Testing with JMeter
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Performance testing
Performance testingPerformance testing
Performance testing
 

Similaire à Introduction to Performance Testing

Software Testing Company in India.pptx
Software Testing Company in India.pptxSoftware Testing Company in India.pptx
Software Testing Company in India.pptxSakshiPatel82
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load TestingAlexander Podelko
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing IntroEvozon Test Lab
 
Manual Testing tutorials and Interview Questions.pptx
Manual Testing tutorials and Interview Questions.pptxManual Testing tutorials and Interview Questions.pptx
Manual Testing tutorials and Interview Questions.pptxPrasanta Sahoo
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeterRachappa Bandi
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxabdullahsaddique2
 
Performance testing
Performance testing Performance testing
Performance testing ekatechserv
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...ChithraCegon
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuideTestingXperts
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...ShudipPal
 
Context-Driven Performance Testing
Context-Driven Performance TestingContext-Driven Performance Testing
Context-Driven Performance TestingAlexander Podelko
 
Testing strategy for agile projects updated
Testing strategy for agile projects updatedTesting strategy for agile projects updated
Testing strategy for agile projects updatedTharinda Liyanage
 
Performance Assurance for Packaged Applications
Performance Assurance for Packaged ApplicationsPerformance Assurance for Packaged Applications
Performance Assurance for Packaged ApplicationsAlexander Podelko
 
Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanSampath kumar Mohan
 
Unit 8 software quality and matrices
Unit 8 software quality and matricesUnit 8 software quality and matrices
Unit 8 software quality and matricesPreeti Mishra
 
1 sqa and testing concepts
1 sqa and testing concepts1 sqa and testing concepts
1 sqa and testing conceptssulaimanr85
 

Similaire à Introduction to Performance Testing (20)

Software Testing Company in India.pptx
Software Testing Company in India.pptxSoftware Testing Company in India.pptx
Software Testing Company in India.pptx
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load Testing
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing Intro
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 
9314441.ppt
9314441.ppt9314441.ppt
9314441.ppt
 
Manual Testing tutorials and Interview Questions.pptx
Manual Testing tutorials and Interview Questions.pptxManual Testing tutorials and Interview Questions.pptx
Manual Testing tutorials and Interview Questions.pptx
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeter
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptx
 
Performance testing
Performance testing Performance testing
Performance testing
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...
 
Performance testing Web Application - A complete Guide
Performance testing Web Application - A complete GuidePerformance testing Web Application - A complete Guide
Performance testing Web Application - A complete Guide
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
 
Context-Driven Performance Testing
Context-Driven Performance TestingContext-Driven Performance Testing
Context-Driven Performance Testing
 
Testing strategy for agile projects updated
Testing strategy for agile projects updatedTesting strategy for agile projects updated
Testing strategy for agile projects updated
 
Performance Assurance for Packaged Applications
Performance Assurance for Packaged ApplicationsPerformance Assurance for Packaged Applications
Performance Assurance for Packaged Applications
 
Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar Mohan
 
Testing Types
Testing TypesTesting Types
Testing Types
 
Unit 8 software quality and matrices
Unit 8 software quality and matricesUnit 8 software quality and matrices
Unit 8 software quality and matrices
 
1 sqa and testing concepts
1 sqa and testing concepts1 sqa and testing concepts
1 sqa and testing concepts
 

Plus de Tharinda Liyanage

"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd SessionTharinda Liyanage
 
Useful JMeter functions for scripting
Useful JMeter functions for scriptingUseful JMeter functions for scripting
Useful JMeter functions for scriptingTharinda Liyanage
 
Formulating Agile Testing Strategy
Formulating Agile Testing StrategyFormulating Agile Testing Strategy
Formulating Agile Testing StrategyTharinda Liyanage
 
Coded UI: Hand Coding based on Page Object Model
Coded UI: Hand Coding based on Page Object ModelCoded UI: Hand Coding based on Page Object Model
Coded UI: Hand Coding based on Page Object ModelTharinda Liyanage
 

Plus de Tharinda Liyanage (6)

Qa and Testing
Qa and TestingQa and Testing
Qa and Testing
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
 
Useful JMeter functions for scripting
Useful JMeter functions for scriptingUseful JMeter functions for scripting
Useful JMeter functions for scripting
 
Formulating Agile Testing Strategy
Formulating Agile Testing StrategyFormulating Agile Testing Strategy
Formulating Agile Testing Strategy
 
Coded UI: Hand Coding based on Page Object Model
Coded UI: Hand Coding based on Page Object ModelCoded UI: Hand Coding based on Page Object Model
Coded UI: Hand Coding based on Page Object Model
 
PerfTest in SOA
PerfTest in SOAPerfTest in SOA
PerfTest in SOA
 

Introduction to Performance Testing

  • 1. Performance Testing By Tharinda Liyanage
  • 2. What is Performance Testing • Testing to determine how a system performs in terms of responsiveness and stability under a particular workload. • It can also serve to investigate scalability, reliability and resource usage.
  • 3. Why we do performance testing • To demonstrate that the system meets performance criteria. • To compare two systems to find which performs better. • To measure what parts of the system or workload causes the system to perform badly. – Speed - Does the application respond quickly enough for the intended users? – Scalability – Will the application handle the expected user load and beyond? (AKA Capacity) – Stability – Is the application stable under expected and unexpected user loads? (AKA Robustness) – Confidence – Are you sure that users will have a positive experience on go-live day?
  • 4. Types of testing • Load Testing – behavior of the system under a specific expected load • Concurrency • Speed/Throughput • Stress Testing – the upper limits of capacity within the system • Scalability/Stability
  • 5. Types of testing • Benchmark testing • Compare competitive product • Check performance with previous builds
  • 6. What we measure • Response time – User concerns • Throughput – Business concerns • Resource utilizations – System concerns
  • 7. Phases of Performance Testing • Project assessment – Goals/Scoping: “What do you want to achieve?” • Methodology/Planning – “How do you plan to achieve it?” • Implementation/Execution – “Doing what you planned” • Validation/Evaluation – “Did you achieve your goals?” • Results/Interpretation – “What does the output of the testing mean?”
  • 8. Tools • Free/Open source tools • Other useful tools – JMeter • Httpwatch • Commercial tools • YSlow – Load Runner – Webload

Notes de l'éditeur

  1. To check compliance with requirementsTo evaluate release readinessTo asses user satisfactionTo assist performance tuningTo estimate capacityTo validate assumptionsTo generate marketing statements
  2. Load testingLoad testing is the simplest form of performance testing. A load test is usually conducted to understand the behaviour of the system under a specific expected load. This load can be the expected concurrent number of users on the application performing a specific number of transactions within the set duration. This test will give out the response times of all the important business critical transactions. If the database, application server, etc. are also monitored, then this simple test can itself point towards any bottlenecks in the application software.Stress testingStress testing is normally used to understand the upper limits of capacity within the system. This kind of test is done to determine the system's robustness in terms of extreme load and helps application administrators to determine if the system will perform sufficiently if the current load goes well above the expected maximum.
  3. “A performance benchmark test will give a repeatable set of quantifiable results from which present and future releases for specific functionality can be reliably compared or baselined against.”
  4. What must be achieved? (Business problem to solve)Number of usersAcceptable response timesBusiness processes to testBaselinesData volumesArchitecture / Platform Are you familiar with the architecture?Do you have experience with thearchitecture?System components (Hardware &Software)Test environment Suitable for performance testing?HardwareSoftwareWhich tool will be used? Are you familiar with the tool?Is the tool compatible with the architecture?Hardware & software requirements for toolinstallation and use