SlideShare a Scribd company logo
1 
Selin GUNGOR
 
 Introduction to Performance Testing 
 Difference between Performance, Load and Stress 
Testing 
 Why Performance Testing? 
 When is it required? 
 What should be tested? 
 Performance testing process 
2 
Performance & Load Testing Basics
 
 The process of.. 
 Determining speed 
 Determining effectiveness 
 Of a.. 
 Computer 
 Network 
 Software Program 
 Device 
3 
Introduction to Performance Testing
 
 Throughput 
 Response Time 
 Latency 
 Scalability 
4 
Factors governing performance 
Latency + Processing Time = Response Time 
Example: The response time in phone conversation is the amount of time it takes 
for you to ask a question and get a response back from the person 
that you’re talking to. 
Example: The processing time in a phone conversation is the amount of time 
the person you ask a question takes to ponder the question and speak the answer 
(after he hears the question of course).
 
 The testing to evaluate the response time (speed), 
throughput and utilization of system to execute its 
required functions in comparison with different 
versions of the same product or a different 
competitive product is called Performance Testing. 
 Performance testing is done to derive benchmark 
numbers for the system. 
 Heavy load is not applied to the system 
 Tuning is performed until the system under test 
achieves the expected levels of performance. 
5 
Performance Testing- Definition
 
6 
Difference between 
Performance, Load and Stress Testing 
Performance 
Testing: 
A car does 0- 
60mph in a certain 
number of seconds 
under normal 
conditions
 
7 
Load testing 
The car can pull a trailer 
weighing x - tons before 
it can no longer move
 
8 
Stress Testing 
The car continues to work fine 
driving 60 mph for two hours, 
in 120 degree temperatures, 
with only 1 gallon of coolant in 
the radiator
 
 Loss of revenue 
 Amazon states that for every 100ms of latency, they lose 
%1 of their sales. 
 Google's experiments prove statistically that slowing its 
search results by 400ms costs millions of dollars per year 
due to lost advertisement revenue. 
 Industry experts estimate that revenue of $3 billion has 
lost in 2012 because of slow site performance. 
 Loss of customers 
 Google says they could lose 8 million searches daily if their 
search results are 1/2 second slower. 
 Flipkart says “57% of shoppers will abandon a site after 
waiting 3 seconds for a page load, out of them 80% don’t 
return again on same site“ 
9 
Poor Performance Affects
 
 Loss productivity 
 Reddit, states that their performance focus is on page 
load speed. “If we can get 10% more performance, we 
immediately see 10% more traffic.” 
 Better performing website (speed improvements) 
increased productivity by 7-12%. 
 Backlog of Work 
 On an average 1.2 million people try to book tickets in 
the first ten minutes of the Tatkal timeframe, Of that 
only 50000 people come out of the website with tickets, 
at the success rate of 4.16% only due to service backlog 
during peak. 
 Media attention and damage to your brand 
 Times Of India Ranked IRCTC “1st” out of 8 ‘worst’ 
Indian government websites in 2012. 
10 
Continued..
 
 Identifies problems early on before they become 
costly to resolve. 
 Produces better quality, more scalable code. 
 Prevents revenue and credibility loss due to poor 
Web site performance. 
 Enables intelligent planning for future expansion. 
 To ensure that the system meets performance 
expectations such as response time, throughput etc. 
11 
Why Performance Testing?
 
Planning 
the Test 
Creating the 
Scenerio 
Creating 
Scripts 
Running the 
Scenerio 
Monitoring 
the Scenerio 
Analyzing 
Test Results 
12 
Performance Testing Process
 
 Why Planning 
 Analysing the Application 
 Defining Testing Objectives 
 Gathering Requirements 
 Load Test Checklist 
13 
Load Test Planning
 
 As in any type of system testing, a well-defined test 
plan is the first essential step to successful testing. 
Planning load testing helps to: 
 Build test scenarios that accurately emulate your 
working environment 
 Understand which resources are required for testing 
 Define success criteria in measurable terms 
14 
Why Planning
 
 Load test planning is a three-step process: 
 Analyzing the Application 
 Defining Testing Objectives 
 Gathering Requirements 
15 
Why Planning
 
 Load testing does not require as much knowledge of 
the application as functional testing does. 
 Load tester should have some operational 
knowledge of the application to be tested. 
 Load tester should have the idea on how the 
application is actually used in production to make an 
informed estimate. 
 Load tester must know the application architecture 
(Client Server, Local Deployment, Live URL), 
Platform and Database used. 
16 
Analyzing the Application
 
 Determining and creating performance testing 
objectives involves communicating with the team to 
establish and update these objectives as the project 
advances through milestones 
 Performance, Load or Stress testing: Type and scope 
of testing should be clear as each type of testing has 
different requirements. 
 Goal Setting: General load testing objectives should 
be defined. 
17 
Defining Testing Objectives
 
 Measuring end-user response time 
 Defining optimal hardware configuration 
 Checking reliability 
 Assist the development team in determining the performance 
characteristics for various configuration options 
 Ensure that the new production hardware is no slower than the 
previous release 
 Provide input data for scalability and capacity-planning efforts 
 Determine if the application is ready for deployment to production 
 Detect bottlenecks to be tuned 
18 
Defining Testing Objectives
 
 Users:Identify all the types of people and processes that can put load on 
the application or system. 
 Defining the types of primary end users of the application or system such 
as purchasers, claims processors, and sales reps 
 Add other types of users such as system administrators, managers, and 
report readers who use the application or system but are not the primary 
users. 
 Add types of non-human users such as batch processes, system backups, 
bulk data loads and anything else that may add load or consume system 
resources. 
 Transactions: For each type of user we identified in the previous step, 
identify the tasks that the user performs 
 Production Environment: Performance and capacity of an application is 
significantly affected by the hardware and software components on which it executes. 
19 
Gathering Requirements
 
20 
Performance Testing 
Manual OR Automation…
 
21 
Manual Performance Testing Limitations 
Coordinator 
All of you, 
click the 
GO button 
again 
Do you have the testing resources? 
• Testing personnel 
• Client machines 
How do you coordinate and synchronize users? 
How do you collect and analyze results? 
How do you achieve test repeatability? 
Testers 
Load Generation 
Analysis? 
Web server Database 
server 
System Under Test
 
 Manual Testing Limitations 
 Expensive, requiring large amounts of both personnel 
and machinery. 
 Complicated, especially co-ordinating and 
synchronising multiple testers 
 Involves a high degree of organization, especially to 
record and analyse results meaningfully 
 Repeatability of the manual tests is limited 
22 
Continued..
 
23 
Benefits of Automation 
Controller 
Analysis 
Solves the resource limitations 
•Runs many virtual userson a few machines 
•Controller manages the virtual users 
•Analyze results with graphs and reports 
Blazemeter 
Load Generation 
Web server Database 
server 
System Under Test
 
 Reduces personnel requirements by replacing 
human users with virtual users 
 Monitors the application performance online, 
enabling you to fine-tune your system during test 
execution. 
 You can choose from a wide variety of graphs and 
reports to view the performance data. 
 Because the tests are fully automated, you can easily 
repeat them as often as you need. 
24 
Continued..
 
 Open Source 
 OpenSTA 
 Jmeter 
 Grinder 
 Diesel Test 
 TestMaker 
 Rubis 
25 
Tools used for Performance Testing 
 Commercial 
 LoadRunner 
 Silk Performer 
 Qengine 
 Empirix e- 
Load
 
DEMO 
26
 
27 
Thank you 
Selin GUNGOR

More Related Content

PPTX
Introduction to performance testing
PPT
Performance testing : An Overview
PPTX
An Introduction to Performance Testing
PPT
Performance and load testing
PPTX
Types of performance testing
PDF
Fundamentals Performance Testing
PDF
Performance Requirement Gathering
PPTX
Performance Testing from Scratch + JMeter intro
Introduction to performance testing
Performance testing : An Overview
An Introduction to Performance Testing
Performance and load testing
Types of performance testing
Fundamentals Performance Testing
Performance Requirement Gathering
Performance Testing from Scratch + JMeter intro

What's hot (20)

PPT
Performance testing jmeter
PDF
Performance testing presentation
PPTX
Introduction to performance testing
PPTX
Load and performance testing
PDF
An Introduction To Automated API Testing
PPT
Performance testing with Jmeter
PPTX
Performance testing
PPT
Getting start with Performance Testing
PPTX
API Testing for everyone.pptx
PPTX
Performance testing
PPTX
Performance Testing And Its Type | Benefits Of Performance Testing
DOCX
Performance testing interview questions and answers
PDF
What is Performance Testing?
PDF
How to start performance testing project
PPTX
Performance testing
PDF
Infographic: Importance of Performance Testing
PPTX
QA. Load Testing
PPTX
JMeter Intro
PPTX
Api testing
PDF
Performance testing with JMeter
Performance testing jmeter
Performance testing presentation
Introduction to performance testing
Load and performance testing
An Introduction To Automated API Testing
Performance testing with Jmeter
Performance testing
Getting start with Performance Testing
API Testing for everyone.pptx
Performance testing
Performance Testing And Its Type | Benefits Of Performance Testing
Performance testing interview questions and answers
What is Performance Testing?
How to start performance testing project
Performance testing
Infographic: Importance of Performance Testing
QA. Load Testing
JMeter Intro
Api testing
Performance testing with JMeter
Ad

Viewers also liked (20)

PPTX
What is DevOps?
ODP
OSI Referans Modeli ve Katmanları - Alican Uzunhan
PPTX
How to define mobile automation strategy
PPTX
ISTQB Eğitim Sunumu
PDF
Hybrid Apps with Angular & Ionic Framework
PPTX
ISTQB Foundation Level Basic
PPTX
Design patterns
PPTX
Mobile Testing
PPTX
Agile Retrospective
PDF
Test Mühendisliğine Giriş Eğitimi - Bölüm 1
PPTX
Load testing with Visual Studio and Azure - Andrew Siemer
PPTX
Test Automation NYC 2014
PDF
Ibm test data_management_v0.4
PDF
BizDataX White paper Test Data Management
DOCX
Comparación
PPTX
DATPROF Test data Management (data privacy & data subsetting) - English
PDF
Tech Vision: Next-Generation Performance Testing With BlazeMeter, Service Vir...
What is DevOps?
OSI Referans Modeli ve Katmanları - Alican Uzunhan
How to define mobile automation strategy
ISTQB Eğitim Sunumu
Hybrid Apps with Angular & Ionic Framework
ISTQB Foundation Level Basic
Design patterns
Mobile Testing
Agile Retrospective
Test Mühendisliğine Giriş Eğitimi - Bölüm 1
Load testing with Visual Studio and Azure - Andrew Siemer
Test Automation NYC 2014
Ibm test data_management_v0.4
BizDataX White paper Test Data Management
Comparación
DATPROF Test data Management (data privacy & data subsetting) - English
Tech Vision: Next-Generation Performance Testing With BlazeMeter, Service Vir...
Ad

Similar to Performance Testing (20)

PPT
PPT
08-Performence_Testing Project Explain.ppt
PDF
Application Performance, Test and Monitoring
PPTX
QSpiders - Introduction to HP Load Runner
PPT
PERFTEST.ppt
PPT
PERFTEST.ppt
PPTX
Performance testing
PPTX
QSpiders - Introduction to JMeter
PPT
Less11 3 e_loadmodule_1
PPT
performance testing
PPTX
Микола Ковш “Performance Testing Implementation From Scratch. Why? When and H...
PPTX
Introduction to Performance Testing
PDF
Adding Performance Testing to a Software Development Project
PPTX
Introduction to Performance Testing
PPT
Performance Testing Overview
PDF
Performance testing methodologies and tools
PDF
11.performance testing methodologies and tools
PPTX
Performance testing and j meter overview
PDF
Need for Speed: How to Performance Test the right way by Annie Bhaumik
PDF
In-Depth Performance Testing Guide for IT Professionals
08-Performence_Testing Project Explain.ppt
Application Performance, Test and Monitoring
QSpiders - Introduction to HP Load Runner
PERFTEST.ppt
PERFTEST.ppt
Performance testing
QSpiders - Introduction to JMeter
Less11 3 e_loadmodule_1
performance testing
Микола Ковш “Performance Testing Implementation From Scratch. Why? When and H...
Introduction to Performance Testing
Adding Performance Testing to a Software Development Project
Introduction to Performance Testing
Performance Testing Overview
Performance testing methodologies and tools
11.performance testing methodologies and tools
Performance testing and j meter overview
Need for Speed: How to Performance Test the right way by Annie Bhaumik
In-Depth Performance Testing Guide for IT Professionals

Recently uploaded (20)

PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
AI in Product Development-omnex systems
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Introduction to Artificial Intelligence
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Nekopoi APK 2025 free lastest update
PDF
medical staffing services at VALiNTRY
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
VVF-Customer-Presentation2025-Ver1.9.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Odoo Companies in India – Driving Business Transformation.pdf
Softaken Excel to vCard Converter Software.pdf
Operating system designcfffgfgggggggvggggggggg
AI in Product Development-omnex systems
2025 Textile ERP Trends: SAP, Odoo & Oracle
How Creative Agencies Leverage Project Management Software.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Odoo POS Development Services by CandidRoot Solutions
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Wondershare Filmora 15 Crack With Activation Key [2025
L1 - Introduction to python Backend.pptx
Introduction to Artificial Intelligence
Navsoft: AI-Powered Business Solutions & Custom Software Development
Nekopoi APK 2025 free lastest update
medical staffing services at VALiNTRY
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
How to Migrate SBCGlobal Email to Yahoo Easily

Performance Testing

  • 2.   Introduction to Performance Testing  Difference between Performance, Load and Stress Testing  Why Performance Testing?  When is it required?  What should be tested?  Performance testing process 2 Performance & Load Testing Basics
  • 3.   The process of..  Determining speed  Determining effectiveness  Of a..  Computer  Network  Software Program  Device 3 Introduction to Performance Testing
  • 4.   Throughput  Response Time  Latency  Scalability 4 Factors governing performance Latency + Processing Time = Response Time Example: The response time in phone conversation is the amount of time it takes for you to ask a question and get a response back from the person that you’re talking to. Example: The processing time in a phone conversation is the amount of time the person you ask a question takes to ponder the question and speak the answer (after he hears the question of course).
  • 5.   The testing to evaluate the response time (speed), throughput and utilization of system to execute its required functions in comparison with different versions of the same product or a different competitive product is called Performance Testing.  Performance testing is done to derive benchmark numbers for the system.  Heavy load is not applied to the system  Tuning is performed until the system under test achieves the expected levels of performance. 5 Performance Testing- Definition
  • 6.  6 Difference between Performance, Load and Stress Testing Performance Testing: A car does 0- 60mph in a certain number of seconds under normal conditions
  • 7.  7 Load testing The car can pull a trailer weighing x - tons before it can no longer move
  • 8.  8 Stress Testing The car continues to work fine driving 60 mph for two hours, in 120 degree temperatures, with only 1 gallon of coolant in the radiator
  • 9.   Loss of revenue  Amazon states that for every 100ms of latency, they lose %1 of their sales.  Google's experiments prove statistically that slowing its search results by 400ms costs millions of dollars per year due to lost advertisement revenue.  Industry experts estimate that revenue of $3 billion has lost in 2012 because of slow site performance.  Loss of customers  Google says they could lose 8 million searches daily if their search results are 1/2 second slower.  Flipkart says “57% of shoppers will abandon a site after waiting 3 seconds for a page load, out of them 80% don’t return again on same site“ 9 Poor Performance Affects
  • 10.   Loss productivity  Reddit, states that their performance focus is on page load speed. “If we can get 10% more performance, we immediately see 10% more traffic.”  Better performing website (speed improvements) increased productivity by 7-12%.  Backlog of Work  On an average 1.2 million people try to book tickets in the first ten minutes of the Tatkal timeframe, Of that only 50000 people come out of the website with tickets, at the success rate of 4.16% only due to service backlog during peak.  Media attention and damage to your brand  Times Of India Ranked IRCTC “1st” out of 8 ‘worst’ Indian government websites in 2012. 10 Continued..
  • 11.   Identifies problems early on before they become costly to resolve.  Produces better quality, more scalable code.  Prevents revenue and credibility loss due to poor Web site performance.  Enables intelligent planning for future expansion.  To ensure that the system meets performance expectations such as response time, throughput etc. 11 Why Performance Testing?
  • 12.  Planning the Test Creating the Scenerio Creating Scripts Running the Scenerio Monitoring the Scenerio Analyzing Test Results 12 Performance Testing Process
  • 13.   Why Planning  Analysing the Application  Defining Testing Objectives  Gathering Requirements  Load Test Checklist 13 Load Test Planning
  • 14.   As in any type of system testing, a well-defined test plan is the first essential step to successful testing. Planning load testing helps to:  Build test scenarios that accurately emulate your working environment  Understand which resources are required for testing  Define success criteria in measurable terms 14 Why Planning
  • 15.   Load test planning is a three-step process:  Analyzing the Application  Defining Testing Objectives  Gathering Requirements 15 Why Planning
  • 16.   Load testing does not require as much knowledge of the application as functional testing does.  Load tester should have some operational knowledge of the application to be tested.  Load tester should have the idea on how the application is actually used in production to make an informed estimate.  Load tester must know the application architecture (Client Server, Local Deployment, Live URL), Platform and Database used. 16 Analyzing the Application
  • 17.   Determining and creating performance testing objectives involves communicating with the team to establish and update these objectives as the project advances through milestones  Performance, Load or Stress testing: Type and scope of testing should be clear as each type of testing has different requirements.  Goal Setting: General load testing objectives should be defined. 17 Defining Testing Objectives
  • 18.   Measuring end-user response time  Defining optimal hardware configuration  Checking reliability  Assist the development team in determining the performance characteristics for various configuration options  Ensure that the new production hardware is no slower than the previous release  Provide input data for scalability and capacity-planning efforts  Determine if the application is ready for deployment to production  Detect bottlenecks to be tuned 18 Defining Testing Objectives
  • 19.   Users:Identify all the types of people and processes that can put load on the application or system.  Defining the types of primary end users of the application or system such as purchasers, claims processors, and sales reps  Add other types of users such as system administrators, managers, and report readers who use the application or system but are not the primary users.  Add types of non-human users such as batch processes, system backups, bulk data loads and anything else that may add load or consume system resources.  Transactions: For each type of user we identified in the previous step, identify the tasks that the user performs  Production Environment: Performance and capacity of an application is significantly affected by the hardware and software components on which it executes. 19 Gathering Requirements
  • 20.  20 Performance Testing Manual OR Automation…
  • 21.  21 Manual Performance Testing Limitations Coordinator All of you, click the GO button again Do you have the testing resources? • Testing personnel • Client machines How do you coordinate and synchronize users? How do you collect and analyze results? How do you achieve test repeatability? Testers Load Generation Analysis? Web server Database server System Under Test
  • 22.   Manual Testing Limitations  Expensive, requiring large amounts of both personnel and machinery.  Complicated, especially co-ordinating and synchronising multiple testers  Involves a high degree of organization, especially to record and analyse results meaningfully  Repeatability of the manual tests is limited 22 Continued..
  • 23.  23 Benefits of Automation Controller Analysis Solves the resource limitations •Runs many virtual userson a few machines •Controller manages the virtual users •Analyze results with graphs and reports Blazemeter Load Generation Web server Database server System Under Test
  • 24.   Reduces personnel requirements by replacing human users with virtual users  Monitors the application performance online, enabling you to fine-tune your system during test execution.  You can choose from a wide variety of graphs and reports to view the performance data.  Because the tests are fully automated, you can easily repeat them as often as you need. 24 Continued..
  • 25.   Open Source  OpenSTA  Jmeter  Grinder  Diesel Test  TestMaker  Rubis 25 Tools used for Performance Testing  Commercial  LoadRunner  Silk Performer  Qengine  Empirix e- Load
  • 27.  27 Thank you Selin GUNGOR

Editor's Notes

  • #4: Performance testing is the process of determining the speed or effectiveness of a computer, network, software program or device.
  • #5: WATER Scalability  bir sistemin artan kapasite kullanımıyla, performanstan feragat etmeden, başedebileceğini ifade eden terimdir. Response time is the total time it takes from when a user makes a request until they receive a response. Example: The response time in phone conversation is the amount of time it takes for you to ask a question and get a response back from the person that you’re talking to.
  • #7: Sistemin normal şartlar altındaki performans seviyesinin ölçülmesi. They all have different meanings, although they seem to be used almost interchangeably sometimes. For better understanding these differences; let’s lets take an exmaple while testing a car..
  • #15: -Load testing means testing the application under typical working conditions, and checking for system performance, reliability, capacity, and so forth. -Application testing requires hardware, software, and human resources. Before beginning testing, we should know which resources are available and decide how to use them effectively -Focused testing goals and test criteria ensure successful testing. For example, it’s not enough to define vague objectives like “Check server response time under heavy load.” A more focused success criterion would be “Check that 50 customers can check their account balance simultaneously & that server response time will not exceed 1- minute”
  • #16: -Analysis ensures that the testing environment we create using Jmeter will accurately reflect the environment and configuration of the application under test. -Before testing, we should define exactly what we want to accomplish. -All the requirements and resources should be evaluated and collected beforehand to avoid any last minute hurdles.