+
Why “Average” Response Time is not a right measure of your web
application's performance?
By- Nishant Verma
+For the next 15 minutes
n  Web Application Performance Testing
n  Average Response Time
n  Solution to Average Response Time
n  Beyond Average Response Time
n  Questions
+Web Application Performance Testing
+
Web Application Performance Testing
How to do
Design Test/
Scenarios
Establish
Performance
Acceptance
Criteria
Identify
Environment
Execute Test
Analyze
Reports / Tune/
Retests
What we
collect
Response Time
Throughput
CPU Utilization
Memory
+Average Response Time
n  Response Time is defined as the time it takes for each Web page
to load.
n  How we capture?
n  Hit the server with a specified number of user (could be in pattern)
and then capture the response time of the server.
n  Refer the plot of ART on next page.
+Average Response Time
0
100
200
300
400
500
600
Page 1 (in ms)
Page 2 (in ms)
Page 3 (in ms)
+
Problems with Average Response
Time
n  It’s a bad way of tracking website performance.
n  It doesn’t indicate or hint about the outliers.
n  We tend to average the number of samples than the quantity
itself.
n  It represents a distorted picture in case of exceptional
scenario with extremely high response time.
What we need?
+ Apdex
n  Created by Peter Sevcik of Apdex Alliance (apdex.org).
n  How is it calculated?
n  ApdexT = (# Satisfied requests + # Tolerating requests / 2)
(# Total requests)
APDEX: Application Performance Index
+
How it scores over Average Response
Time
n  It help takes us Go-No-Go decision.
n  It’s doesn’t hide outliers. It yells the number of users affected by the
problem.
n  It doesn’t get distorted when there are extremely high response
times.
n  It’s a measure towards Satisfaction score and can be derived based
on threshold. It’s not a fix number.
+ One last thing…
Load Testing
Stress
Testing
Soak Testing
Performance
Tuning
+
Some Useful Readings
n  http://apdex.org/
n  http://en.wikipedia.org/wiki/Apdex
n  http://www.apdex.org/overview.html
n  https://newrelic.com/docs/site/apdex
n  https://newrelic.com/docs/site/apdex-dissatisfaction

More Related Content

PPTX
Performance testing basics
PPTX
Introduction to performance testing
PPTX
Performance testing in software development
PDF
Overview of Site Reliability Engineering (SRE) & best practices
PPTX
Getting started with performance testing
PPTX
Testing ppts 20 march
PDF
Managing software projects & teams effectively
ODP
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...
Performance testing basics
Introduction to performance testing
Performance testing in software development
Overview of Site Reliability Engineering (SRE) & best practices
Getting started with performance testing
Testing ppts 20 march
Managing software projects & teams effectively
Automatic Self-Tuning Architecture for Batch Scheduler on Large Scale Computi...

What's hot (10)

PPTX
Neotys PAC - Stephen Townshend
PDF
Sre summary
PPTX
DevOps Torino Meetup - SRE Concepts
PPTX
Software Characterization & Performance Testing - Beat Your Software with a S...
PPTX
Testing and quality romi
PPTX
ალექსანდრე ნემსაძე - Release it
PPTX
An Introduction to Performance Testing
PPTX
Testing and quality
PPT
Software Automated testing and tools
PPTX
How to write defect
Neotys PAC - Stephen Townshend
Sre summary
DevOps Torino Meetup - SRE Concepts
Software Characterization & Performance Testing - Beat Your Software with a S...
Testing and quality romi
ალექსანდრე ნემსაძე - Release it
An Introduction to Performance Testing
Testing and quality
Software Automated testing and tools
How to write defect
Ad

Viewers also liked (20)

PDF
Agile Automation is not this Deepak P
PPTX
PPT
The romansandai
PPTX
Spotkanie z mattem kwasiborskim
PPTX
Hawks Hollow Builders
PDF
Llista provisional d'inscrits ve'12
PPT
Organizing your local campaign events
PDF
18.04
PPTX
Edu 103 PPT
PPT
PPT
Food chain
PDF
Saager & Deepak - Automated acceptance testing on iOS
PDF
Hachiojipm#13
PDF
Llista provisional d'inscrits ve'12
PDF
Yapc asia 2011
PPTX
How to Leverage Social Media to Grow Your Business
PDF
Sknsz i prezydent 14.10
PPS
Continuing Pakistan Floods
PPT
2010 New Products
RTF
Dfs manual
Agile Automation is not this Deepak P
The romansandai
Spotkanie z mattem kwasiborskim
Hawks Hollow Builders
Llista provisional d'inscrits ve'12
Organizing your local campaign events
18.04
Edu 103 PPT
Food chain
Saager & Deepak - Automated acceptance testing on iOS
Hachiojipm#13
Llista provisional d'inscrits ve'12
Yapc asia 2011
How to Leverage Social Media to Grow Your Business
Sknsz i prezydent 14.10
Continuing Pakistan Floods
2010 New Products
Dfs manual
Ad

Similar to Why Average Response Time is not a right measure of your web application's performance Nishant Verma (20)

PDF
Why average response time is not a right measure of your webapplication's per...
PPTX
Diana Carciu - Performance Testing with SoapUi and Siege.pptx
PDF
MeasureWorks - Why your customers don't like to wait!
PDF
MeasureWorks - Why people hate to wait for your website to load (and how to f...
PPTX
Performance Testing using LoadRunner
PPT
Windy cityrails performance_tuning
PPT
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
PDF
MeasureWorks - The Art of Staying Fast
PDF
Fundamentals Performance Testing
PPTX
Performance soapui siege_last
PDF
Quizine: An online Test
PDF
Understanding computer vision with Deep Learning
PDF
Understanding computer vision with Deep Learning
PDF
Understanding computer vision with Deep Learning
PDF
Computer Architecture Performance and Energy
PDF
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
PPTX
London Web Performance Meetup: Performance for mortal companies
PPTX
Metrics, metrics everywhere (but where the heck do you start?)
PPTX
Metrics, Metrics Everywhere (but where the heck do you start?)
PPTX
Metrics, Metrics Everywhere (but where the heck do you start?)
Why average response time is not a right measure of your webapplication's per...
Diana Carciu - Performance Testing with SoapUi and Siege.pptx
MeasureWorks - Why your customers don't like to wait!
MeasureWorks - Why people hate to wait for your website to load (and how to f...
Performance Testing using LoadRunner
Windy cityrails performance_tuning
Ruby on Rails Performance Tuning. Make it faster, make it better (WindyCityRa...
MeasureWorks - The Art of Staying Fast
Fundamentals Performance Testing
Performance soapui siege_last
Quizine: An online Test
Understanding computer vision with Deep Learning
Understanding computer vision with Deep Learning
Understanding computer vision with Deep Learning
Computer Architecture Performance and Energy
Preparing For The Flood. How Do You Conduct Load Testing To Ready Your WordPr...
London Web Performance Meetup: Performance for mortal companies
Metrics, metrics everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)
Metrics, Metrics Everywhere (but where the heck do you start?)

More from vodQA (20)

PPTX
Performance Testing
PPTX
Testing Strategy in Micro Frontend architecture
PPTX
Api testing libraries using java script an overview
PPTX
Testing face authentication on mobile
PPTX
Testing cna
PPTX
Etl engine testing with scala
PPTX
EDA for QAs
PDF
vodQA Pune (2019) - Browser automation using dev tools
PPTX
vodQA Pune (2019) - Augmented reality overview and testing challenges
PPTX
vodQA Pune (2019) - Testing AI,ML applications
PPTX
vodQA Pune (2019) - Design patterns in test automation
PPTX
vodQA Pune (2019) - Testing ethereum smart contracts
PPTX
vodQA Pune (2019) - Insights into big data testing
PDF
vodQA Pune (2019) - Performance testing cloud deployments
PDF
vodQA Pune (2019) - Jenkins pipeline As code
PPTX
vodQA(Pune) 2018 - Consumer driven contract testing using pact
PPTX
vodQA(Pune) 2018 - Visual testing of web apps in headless environment manis...
PPTX
vodQA(Pune) 2018 - Enhancing the capabilities of testing team preparing for...
PPTX
vodQA(Pune) 2018 - QAing the security way
PPTX
vodQA(Pune) 2018 - Docker in Testing
Performance Testing
Testing Strategy in Micro Frontend architecture
Api testing libraries using java script an overview
Testing face authentication on mobile
Testing cna
Etl engine testing with scala
EDA for QAs
vodQA Pune (2019) - Browser automation using dev tools
vodQA Pune (2019) - Augmented reality overview and testing challenges
vodQA Pune (2019) - Testing AI,ML applications
vodQA Pune (2019) - Design patterns in test automation
vodQA Pune (2019) - Testing ethereum smart contracts
vodQA Pune (2019) - Insights into big data testing
vodQA Pune (2019) - Performance testing cloud deployments
vodQA Pune (2019) - Jenkins pipeline As code
vodQA(Pune) 2018 - Consumer driven contract testing using pact
vodQA(Pune) 2018 - Visual testing of web apps in headless environment manis...
vodQA(Pune) 2018 - Enhancing the capabilities of testing team preparing for...
vodQA(Pune) 2018 - QAing the security way
vodQA(Pune) 2018 - Docker in Testing

Recently uploaded (20)

PDF
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
PDF
Secure Java Applications against Quantum Threats
PPTX
Information-Technology-in-Human-Society.pptx
PDF
Human Computer Interaction Miterm Lesson
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
Technical Debt in the AI Coding Era - By Antonio Bianco
PPTX
CRM(Customer Relationship Managmnet) Presentation
PDF
Child-friendly e-learning for artificial intelligence education in Indonesia:...
PDF
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PDF
Introduction to c language from lecture slides
PDF
Fitaura: AI & Machine Learning Powered Fitness Tracker
PPTX
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
PDF
Advancements in abstractive text summarization: a deep learning approach
PDF
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
PDF
Decision Optimization - From Theory to Practice
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
Domain-specific knowledge and context in large language models: challenges, c...
PDF
Intravenous drug administration application for pediatric patients via augmen...
【AI論文解説】高速・高品質な生成を実現するFlow Map Models(Part 1~3)
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
Secure Java Applications against Quantum Threats
Information-Technology-in-Human-Society.pptx
Human Computer Interaction Miterm Lesson
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
Technical Debt in the AI Coding Era - By Antonio Bianco
CRM(Customer Relationship Managmnet) Presentation
Child-friendly e-learning for artificial intelligence education in Indonesia:...
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
Introduction to c language from lecture slides
Fitaura: AI & Machine Learning Powered Fitness Tracker
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
Advancements in abstractive text summarization: a deep learning approach
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
Decision Optimization - From Theory to Practice
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Domain-specific knowledge and context in large language models: challenges, c...
Intravenous drug administration application for pediatric patients via augmen...

Why Average Response Time is not a right measure of your web application's performance Nishant Verma

  • 1. + Why “Average” Response Time is not a right measure of your web application's performance? By- Nishant Verma
  • 2. +For the next 15 minutes n  Web Application Performance Testing n  Average Response Time n  Solution to Average Response Time n  Beyond Average Response Time n  Questions
  • 4. + Web Application Performance Testing How to do Design Test/ Scenarios Establish Performance Acceptance Criteria Identify Environment Execute Test Analyze Reports / Tune/ Retests What we collect Response Time Throughput CPU Utilization Memory
  • 5. +Average Response Time n  Response Time is defined as the time it takes for each Web page to load. n  How we capture? n  Hit the server with a specified number of user (could be in pattern) and then capture the response time of the server. n  Refer the plot of ART on next page.
  • 6. +Average Response Time 0 100 200 300 400 500 600 Page 1 (in ms) Page 2 (in ms) Page 3 (in ms)
  • 7. + Problems with Average Response Time n  It’s a bad way of tracking website performance. n  It doesn’t indicate or hint about the outliers. n  We tend to average the number of samples than the quantity itself. n  It represents a distorted picture in case of exceptional scenario with extremely high response time.
  • 9. + Apdex n  Created by Peter Sevcik of Apdex Alliance (apdex.org). n  How is it calculated? n  ApdexT = (# Satisfied requests + # Tolerating requests / 2) (# Total requests) APDEX: Application Performance Index
  • 10. + How it scores over Average Response Time n  It help takes us Go-No-Go decision. n  It’s doesn’t hide outliers. It yells the number of users affected by the problem. n  It doesn’t get distorted when there are extremely high response times. n  It’s a measure towards Satisfaction score and can be derived based on threshold. It’s not a fix number.
  • 11. + One last thing… Load Testing Stress Testing Soak Testing Performance Tuning
  • 12. + Some Useful Readings n  http://apdex.org/ n  http://en.wikipedia.org/wiki/Apdex n  http://www.apdex.org/overview.html n  https://newrelic.com/docs/site/apdex n  https://newrelic.com/docs/site/apdex-dissatisfaction

Editor's Notes

  • #2: Hi I am Nishant Verma and today I am here to present a lightening talk for you folks for the next 15 minutes. So let’s start: (Slide 1)Not sure how many of you have read this quote before. But I would expect you folks to relate to this quote at the end of the 15 minutes.[ENTER]How many of you have previously worked on Performance Testing? (Show of hand would be fine!) How many of you are aware of Average Response Time? (Show of hands!)All right Cool!
  • #3: So at the high level agenda looks like: What it is? How we do it? What we collect?What is it? And What’s wrong with Average Response Time?Solution - What is it? How to use it? - - - - - -  And then in the end we will try to take some questions if time permits.
  • #4: (Slide 3)So what is Performance Testing? [Click]It’s a type of testing with focus on non-functional aspects of the application. It’s done and owned by a tester. [Click] What we typically measure is [Click] Responsiveness of the application [Click] Scalability [Click] Throughput Why we do it? [Click] To establish a baseline of application performance [Click] To determine compliance.Response time, or Responsiveness, is simply how quickly an interactive system responds to user input.Throughput is the amount of transactions produced over time during a test. It’s also expressed as the amount of capacity that a website or application can handle.
  • #5: How to do:So we start with designing the test scenarios which could be a business case .Then we establish the acceptance criteria (basically defining exit criteria)Identifying a test environment, sometimes we even create a separate Performance Environment with scale down version of actual production environment.Put a tested build preferably a release candidate build. Execution- How we do it ? Typically what we do is we make a load profile which could be just bombarding the app server with What we collect: Responsiveness:Response time, or Responsiveness, is simply how quickly an interactive system responds to user input. Basically, “Throughput” is the amount of transactions produced over time during a test. It’s also expressed as the amount of capacity that a website or application can handle.
  • #6: 1. Response Time is defined as the time it takes for each Web page to load.2. There are bunch of tools in market like LR which suggests to go by 90% percentile.3. What we generally do is hit the server with a specified number of user (could be in pattern) and then capture the response time of the server.
  • #8: Let’s say an E-commerce application like Flipkart
  • #12: We need a performance Indicator Help take the go-no-go decision. Without looking at all possible URLs. Without parsing the request log to find any outliers.Indicator of the number of users affected by the performance problem.Indicator of over all health of the website, without missing outliers.
  • #14: Let’s re look at the load scenario once again. And this time comparing it with Apdex Index.
  • #15: This is just a tip of iceberg.Average Response Time or Apdex Index is just the tip of the so called Performance Testing ice berg….Load Testing – To verify application behavior under normal and peak load conditions.Stress Testing-To determine or validate an application’s behavior when it is pushed beyond normal or peak load conditions.Soak Testing provides a measure of a system's stability over an extended period of time.