際際滷

際際滷Share a Scribd company logo
2
Most read
9
Most read
16
Most read
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 Ravanas 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
Ad

Recommended

LoadRunner Performance Testing
LoadRunner Performance Testing
Atul Pant
Performance testing
Performance testing
BugRaptors
Performance testing with Jmeter
Performance testing with Jmeter
Prashanth Kumar
Performance Testing
Performance Testing
vodQA
Performance and load testing
Performance and load testing
sonukalpana
Apache JMeter - A brief introduction
Apache JMeter - A brief introduction
silenceIT Inc.
Performance testing with jmeter
Performance testing with jmeter
Knoldus Inc.
Jmeter Performance Testing
Jmeter Performance Testing
Atul Pant
An Introduction to Performance Testing
An Introduction to Performance Testing
SWAAM Tech
Performance testing : An Overview
Performance testing : An Overview
sharadkjain
Performance testing
Performance testing
Jyoti Babbar
Performance testing with JMeter
Performance testing with JMeter
Mikael Kundert
Load Testing and JMeter Presentation
Load Testing and JMeter Presentation
Neill Lima
Introduction to performance testing
Introduction to performance testing
Richard Bishop
Performance testing presentation
Performance testing presentation
Belatrix Software
Infographic: Importance of Performance Testing
Infographic: Importance of Performance Testing
KiwiQA
Performance Testing
Performance Testing
Selin Gungor
Getting start with Performance Testing
Getting start with Performance Testing
Yogesh Deshmukh
Types of performance testing
Types of performance testing
NaveenKumar Namachivayam
Introduction to jmeter
Introduction to jmeter
test test
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
Mykola Kovsh
Performance testing
Performance testing
Ranpreet kaur
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
KostCare
Presentation on Apache Jmeter
Presentation on Apache Jmeter
Sabitri Gaire
Performance testing jmeter
Performance testing jmeter
Bhojan Rajan
Performance Requirement Gathering
Performance Requirement Gathering
Atul Pant
Automation testing
Automation testing
Biswajit Pratihari
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
Neotys_Partner
Why choose Software Testing as a career
Why choose Software Testing as a career
Soumya Suman

More Related Content

What's hot (20)

An Introduction to Performance Testing
An Introduction to Performance Testing
SWAAM Tech
Performance testing : An Overview
Performance testing : An Overview
sharadkjain
Performance testing
Performance testing
Jyoti Babbar
Performance testing with JMeter
Performance testing with JMeter
Mikael Kundert
Load Testing and JMeter Presentation
Load Testing and JMeter Presentation
Neill Lima
Introduction to performance testing
Introduction to performance testing
Richard Bishop
Performance testing presentation
Performance testing presentation
Belatrix Software
Infographic: Importance of Performance Testing
Infographic: Importance of Performance Testing
KiwiQA
Performance Testing
Performance Testing
Selin Gungor
Getting start with Performance Testing
Getting start with Performance Testing
Yogesh Deshmukh
Types of performance testing
Types of performance testing
NaveenKumar Namachivayam
Introduction to jmeter
Introduction to jmeter
test test
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
Mykola Kovsh
Performance testing
Performance testing
Ranpreet kaur
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
KostCare
Presentation on Apache Jmeter
Presentation on Apache Jmeter
Sabitri Gaire
Performance testing jmeter
Performance testing jmeter
Bhojan Rajan
Performance Requirement Gathering
Performance Requirement Gathering
Atul Pant
Automation testing
Automation testing
Biswajit Pratihari
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha
An Introduction to Performance Testing
An Introduction to Performance Testing
SWAAM Tech
Performance testing : An Overview
Performance testing : An Overview
sharadkjain
Performance testing
Performance testing
Jyoti Babbar
Performance testing with JMeter
Performance testing with JMeter
Mikael Kundert
Load Testing and JMeter Presentation
Load Testing and JMeter Presentation
Neill Lima
Introduction to performance testing
Introduction to performance testing
Richard Bishop
Performance testing presentation
Performance testing presentation
Belatrix Software
Infographic: Importance of Performance Testing
Infographic: Importance of Performance Testing
KiwiQA
Performance Testing
Performance Testing
Selin Gungor
Getting start with Performance Testing
Getting start with Performance Testing
Yogesh Deshmukh
Introduction to jmeter
Introduction to jmeter
test test
Performance Testing from Scratch + JMeter intro
Performance Testing from Scratch + JMeter intro
Mykola Kovsh
Performance testing
Performance testing
Ranpreet kaur
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
KostCare
Presentation on Apache Jmeter
Presentation on Apache Jmeter
Sabitri Gaire
Performance testing jmeter
Performance testing jmeter
Bhojan Rajan
Performance Requirement Gathering
Performance Requirement Gathering
Atul Pant
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha

Similar to Introduction to performance testing (20)

Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
Neotys_Partner
Why choose Software Testing as a career
Why choose Software Testing as a career
Soumya Suman
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
ClareMcLennan
Software Testing 1.pptx
Software Testing 1.pptx
KarthicaMarasamy
Presentation delex
Presentation delex
Alexander Pushkarev
" 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 Testing
SmartBear
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 engineering
suganyasanjai
Quality Management Introduction
Quality Management Introduction
Duy Tan Geek
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
Samer Desouky
b8a9e685-808e-402d-b59e-5f94cad67b0e.pptx
b8a9e685-808e-402d-b59e-5f94cad67b0e.pptx
PrathamDahiya
Neotys PAC 2018 - Gayatree Nalwadad
Neotys PAC 2018 - Gayatree Nalwadad
Neotys_Partner
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
Vibrant Technologies & Computers
Performance Testing in Continous Delivery
Performance Testing in Continous Delivery
Pablo Gallego Hermann
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
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 Siemer
Andrew Siemer
Multiple Dimensions of Load Testing
Multiple Dimensions of Load Testing
Alexander Podelko
Software Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
Alexander Podelko - Context-Driven Performance Testing
Alexander Podelko - Context-Driven Performance Testing
Neotys_Partner
Why choose Software Testing as a career
Why choose Software Testing as a career
Soumya Suman
Agile Acceptance testing with Fitnesse
Agile Acceptance testing with Fitnesse
ClareMcLennan
Software Testing 1.pptx
Software Testing 1.pptx
KarthicaMarasamy
" 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 Testing
SmartBear
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 engineering
suganyasanjai
Quality Management Introduction
Quality Management Introduction
Duy Tan Geek
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
Samer Desouky
b8a9e685-808e-402d-b59e-5f94cad67b0e.pptx
b8a9e685-808e-402d-b59e-5f94cad67b0e.pptx
PrathamDahiya
Neotys PAC 2018 - Gayatree Nalwadad
Neotys PAC 2018 - Gayatree Nalwadad
Neotys_Partner
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
Vibrant Technologies & Computers
Performance Testing in Continous Delivery
Performance Testing in Continous Delivery
Pablo Gallego Hermann
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
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 Siemer
Andrew Siemer
Multiple Dimensions of Load Testing
Multiple Dimensions of Load Testing
Alexander Podelko
Software Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
Ad

More from Tharinda Liyanage (8)

Testing strategy for agile projects updated
Testing strategy for agile projects updated
Tharinda Liyanage
Qa and Testing
Qa and Testing
Tharinda Liyanage
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
Tharinda Liyanage
Useful JMeter functions for scripting
Useful JMeter functions for scripting
Tharinda Liyanage
Introduction to Performance Testing
Introduction to Performance Testing
Tharinda Liyanage
Formulating Agile Testing Strategy
Formulating Agile Testing Strategy
Tharinda Liyanage
Coded UI: Hand Coding based on Page Object Model
Coded UI: Hand Coding based on Page Object Model
Tharinda Liyanage
PerfTest in SOA
PerfTest in SOA
Tharinda Liyanage
Testing strategy for agile projects updated
Testing strategy for agile projects updated
Tharinda Liyanage
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
Tharinda Liyanage
Useful JMeter functions for scripting
Useful JMeter functions for scripting
Tharinda Liyanage
Introduction to Performance Testing
Introduction to Performance Testing
Tharinda Liyanage
Formulating Agile Testing Strategy
Formulating Agile Testing Strategy
Tharinda Liyanage
Coded UI: Hand Coding based on Page Object Model
Coded UI: Hand Coding based on Page Object Model
Tharinda Liyanage
Ad

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 Ravanas 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

Editor's Notes

  • #5: 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 applications 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 applications 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.
  • #6: This process aims to optimize the most important application performance attribute, user experience. testing and tuning have been distinctly separate and often competing realms.
  • #7: which ensures that a solution will be designed, implemented, and operationally supported to meet the non-functional performance requirements defined for the solution.
  • #8: 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.
  • #9: 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?
  • #13: 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
  • #14: 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