SlideShare uma empresa Scribd logo
1 de 17
Introduction to Performance Testing
                   By
          Anushka Wickramaratne
Agenda

  •   What is Performance Testing?
  •   What is Performance Tuning?
  •   What is Performance Engineering?
  •   Why PT?
  •   Attributes of PT
  •   Performance Test Types
  •   Optimization mechanisms
  •   Myths
  •   PT cycle
  •   PT Tools
  •   Tools Architecture
  •   PT in a Nutshell?
Once upon a time in Sri Lanka…..
What is Performance testing?


Discipline concerned with detecting and reporting the
current behavior of the software system.
What is Performance Tuning?


 Process by which software is tested and tuned to improve the
 system performance.
What is Performance Engineering?

 Process that applied
 at every phase of
 the SDLC.
Why Performance testing?


 • To confirm and validate SLA

 • To compare two systems to find which performs better or to
 check the current product capacity.

 • To measure what parts of the system or workload causes the
 system to perform badly.
Attributes of Performance Testing

 Back to Ravana’s Story 

 • Speed

 • Scalability

 • Stability

 • Confidence
Performance Test Types

 • Performance Testing

    • Load Testing

    • Stress Testing

    • Capacity Testing

    • Endurance Testing

    • Spike Testing
Performance Optimization Mechanisms

 •   Front End Optimization (FEO)
                                    Web Performance Optimization (WPO)
 •   Back End Optimization (BEO)
Performance Testing Myths

 • PT is done to break the code.

 • PT is all about learning and using a load
   testing tool & vice-versa

 • Results that are true for the testing server
   can be simply scaled up or down.

 • PT can ONLY be done towards the end of
   the testing life cycle.
Performance Test Cycle
Performance Test Tools

 •   Free/Open source   • Supporting tools
     – Jmeter              - Httpwatch
     – Open STA            - Yslow
                           - Bad Boy
 •   Commercial
     – Load Runner
     – Webload

 •   Create Own
Common PT Tool Architecture
Performance Testing in a Nutshell
Introduction to performance testing
Introduction to performance testing

Mais conteúdo relacionado

Mais procurados

Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentationBelatrix Software
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introPerformance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introMykola Kovsh
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationJay Jha
 
Getting start with Performance Testing
Getting start with Performance Testing Getting start with Performance Testing
Getting start with Performance Testing Yogesh Deshmukh
 
Performance testing
Performance testingPerformance testing
Performance testingJyoti Babbar
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeterRachappa Bandi
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance TestingSWAAM Tech
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmetertest test
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeterWira Santos
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeterBhojan Rajan
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best PracticesApica
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter PresentationNeill Lima
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101iradari
 

Mais procurados (20)

Performance testing presentation
Performance testing presentationPerformance testing presentation
Performance testing presentation
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter introPerformance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
 
Getting start with Performance Testing
Getting start with Performance Testing Getting start with Performance Testing
Getting start with Performance Testing
 
Performance testing
Performance testingPerformance testing
Performance testing
 
JMeter
JMeterJMeter
JMeter
 
Performance testing using jmeter
Performance testing using jmeterPerformance testing using jmeter
Performance testing using jmeter
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance Testing
 
JMeter Intro
JMeter IntroJMeter Intro
JMeter Intro
 
Introduction to jmeter
Introduction to jmeterIntroduction to jmeter
Introduction to jmeter
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Load Testing Best Practices
Load Testing Best PracticesLoad Testing Best Practices
Load Testing Best Practices
 
J Meter Intro
J Meter IntroJ Meter Intro
J Meter Intro
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101
 

Semelhante a Introduction to performance testing

Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingNeotys_Partner
 
Why choose Software Testing as a career
Why choose Software Testing as a careerWhy choose Software Testing as a career
Why choose Software Testing as a careerSoumya Suman
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseClareMcLennan
 
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f..." Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...Lohika_Odessa_TechTalks
 
A Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End TestingA Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End TestingSmartBear
 
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...Federico Toledo
 
Software engineering
Software engineeringSoftware engineering
Software engineeringsuganyasanjai
 
Quality Management Introduction
Quality Management IntroductionQuality Management Introduction
Quality Management IntroductionDuy Tan Geek
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0Samer Desouky
 
Neotys PAC 2018 - Gayatree Nalwadad
Neotys PAC 2018 - Gayatree NalwadadNeotys PAC 2018 - Gayatree Nalwadad
Neotys PAC 2018 - Gayatree NalwadadNeotys_Partner
 
Performance Testing in Continous Delivery
Performance Testing in Continous DeliveryPerformance Testing in Continous Delivery
Performance Testing in Continous DeliveryPablo Gallego Hermann
 
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
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerAndrew Siemer
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load TestingAlexander Podelko
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Continuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTestContinuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTestPeter Marshall
 
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
 

Semelhante a Introduction to performance testing (20)

Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance TestingAlexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
 
Why choose Software Testing as a career
Why choose Software Testing as a careerWhy choose Software Testing as a career
Why choose Software Testing as a career
 
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with FitnesseAgile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
 
Software Testing 1.pptx
Software Testing 1.pptxSoftware Testing 1.pptx
Software Testing 1.pptx
 
Presentation delex
Presentation delexPresentation delex
Presentation delex
 
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f..." Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
" Performance testing for Automation QA - why and how " by Andrey Kovalenko f...
 
A Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End TestingA Top-Down Approach to End-to-End Testing
A Top-Down Approach to End-to-End Testing
 
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Quality Management Introduction
Quality Management IntroductionQuality Management Introduction
Quality Management Introduction
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
 
Neotys PAC 2018 - Gayatree Nalwadad
Neotys PAC 2018 - Gayatree NalwadadNeotys PAC 2018 - Gayatree Nalwadad
Neotys PAC 2018 - Gayatree Nalwadad
 
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
 
Performance Testing in Continous Delivery
Performance Testing in Continous DeliveryPerformance Testing in Continous Delivery
Performance Testing in Continous Delivery
 
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...
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load Testing
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Continuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTestContinuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTest
 
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...
 

Mais de Tharinda Liyanage

Testing strategy for agile projects updated
Testing strategy for agile projects updatedTesting strategy for agile projects updated
Testing strategy for agile projects updatedTharinda 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
 
Introduction to Performance Testing
Introduction to Performance TestingIntroduction to Performance Testing
Introduction to Performance TestingTharinda 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
 

Mais de Tharinda Liyanage (8)

Testing strategy for agile projects updated
Testing strategy for agile projects updatedTesting strategy for agile projects updated
Testing strategy for agile projects updated
 
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
 
Introduction to Performance Testing
Introduction to Performance TestingIntroduction to Performance Testing
Introduction to Performance Testing
 
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. Introduction to Performance Testing By Anushka Wickramaratne
  • 2. 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?
  • 3. Once upon a time in Sri Lanka…..
  • 4. What is Performance testing? Discipline concerned with detecting and reporting the current behavior of the software system.
  • 5. What is Performance Tuning? Process by which software is tested and tuned to improve the system performance.
  • 6. What is Performance Engineering? Process that applied at every phase of the SDLC.
  • 7. 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.
  • 8. Attributes of Performance Testing Back to Ravana’s Story  • Speed • Scalability • Stability • Confidence
  • 9. Performance Test Types • Performance Testing • Load Testing • Stress Testing • Capacity Testing • Endurance Testing • Spike Testing
  • 10. Performance Optimization Mechanisms • Front End Optimization (FEO) Web Performance Optimization (WPO) • Back End Optimization (BEO)
  • 11. 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.
  • 13. Performance Test Tools • Free/Open source • Supporting tools – Jmeter - Httpwatch – Open STA - Yslow - Bad Boy • Commercial – Load Runner – Webload • Create Own
  • 14. Common PT Tool Architecture

Notas do Editor

  1. Performance Testing - A performance test is a technical investigation done to determine or validate the responsiveness, speed, scalability, and/or stability characteristics of the product under test. Load Testing - Load testing is conducted to verify that your application can meet your desired performance objectives; these performance objectives are often specified in a service level agreement (SLA). A load test enables you to measure response times, throughput rates, and resource-utilization levels, and to identify your application’s breaking point, assuming that the breaking point occurs below the peak load condition. Endurance testing is a subset of load testing. An endurance test is a type of performance test focused on determining or validating the performance characteristics of the product under test when subjected to workload models and load volumes anticipated during production operations over an extended period of time. Endurance testing may be used to calculate Mean Time Between Failure (MTBF), Mean Time To Failure (MTTF), and similar metrics.Stress Testing - The goal of stress testing is to reveal application bugs that surface only under high load conditions. These bugs can include such things as synchronization issues, race conditions, and memory leaks. Stress testing enables you to identify your application’s weak points, and shows how the application behaves under extreme load conditions. Spike testing is a subset of stress testing.  A spike test is a type of performance test focused on determining or validating the performance characteristics of the product under test when subjected to workload models and load volumes that repeatedly increase beyond anticipated production operations for short periods of time.Capacity test - Capacity testing is conducted in conjunction with capacity planning, which you use to plan for future growth, such as an increased user base or increased volume of data. For example, to accommodate future loads, you need to know how many additional resources (such as processor capacity, memory usage, disk capacity, or network bandwidth) are necessary to support future usage levels. Capacity testing helps you to identify a scaling strategy in order to determine whether you should scale up or scale out.
  2. This process aims to optimize the most important application performance attribute, user experience. testing and tuning have been distinctly separate and often competing realms.
  3. which ensures that a solution will be designed, implemented, and operationally supported to meet the non-functional performance requirements defined for the solution.
  4. To confirm and validate the specified system performance requirements. 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.
  5. Speed -- Does the application respond quickly enough for the intended users? (Need to point the standards)Scalability -- Scalability risks concern not only the number of users an application can support, but also the volume of data the application can contain and process, as well as the ability to identify when an application is approaching capacity. – Database capacity– File Server capacity– Back-up Server capacity– Data growth ratesStability -- Is the application stable under expected and unexpected user loads? (Reliability, uptime, and recoverability) Although stability risks are commonly addressed with high-load, endurance, and stress tests What happens if…– there are more users than we expect?– all the users do the same thing?– a user gets disconnected?– there is a Denial of Service Attack?– the web server goes down?– we get too many orders for the same thing?Confidence – Are you sure that users will have a positive experience on go-live day?
  6. Project Assessment - Production architecture, Test architecture,Available tools or evaluationPlanning the Test - Critical application usage scenarios, Key Performance Counters, Scripts planning (Realistic User model ) Hits per Second Transactions per Second Response Time Round Trip Time
  7. Project Assessment - Production architecture, Test architecture,Available tools or evaluationPlanning the Test - Critical application usage scenarios, Key Performance Counters, Scripts planning (Realistic User model ) Hits per Second Transactions per Second Response Time Round Trip Time