SlideShare a Scribd company logo
1 of 15
Download to read offline
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com
The Top 7 Mistakes in
Performance Testing
…and the importance of getting the basics right first
3 © Copyright 2017 Stuart Moncrieff, www.myloadtest.com
Good performance testing is really important…
…but so many people do it really badly…
…and that really bothers me.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com2
Stuart Moncrieff: Web Performance Evangelist
How am I qualified to be here?
• Web performance specialist since 2002
• 15 years of consulting experience
• I have seen almost all the ways that people mess up
when they are doing performance testing.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com4
What I think I look like when I’m talking
about Performance Testing:
What I actually look like when I’m talking
about Performance Testing:
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com5
The “we want the advanced training” paradox
Companies usually ask to include “expert
level” content in training courses for their
staff, even when their staff don’t
understand the basics.
But their staff are all searching Google for entry-level
training material.
See also:
• The Dunning-Kruger effect
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com6
The structural problem: Most companies can’t
differentiate between good and bad performance testing
Performance Testing treated as an empty
ritual to be performed before deployment.
Patterns of dysfunction:
• Not even noticing problems in Production because
performance monitoring is inadequate.
• Problems discovered in Production, even though they
could have been discovered in Test.
• Testing team can blame anything missed on “differences
between Test and Production environments”.
• Ops team tries to solve performance problems in
Production without involving performance testers.
Tuning in Production. Throwing hardware at the
problem.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com7
Mistake 1: Not adding validation checks in your scripts
Load testing tools will automatically detect
HTTP error codes, but error pages are often
served with an HTTP 200 response code.
How do you know your application is not throwing errors
under load?
What you should do:
• Add verification checks for each page request.
• Check for something that indicates success and is
unique to the page.
• Bonus points: static analysis of scripts as they are
checked into version control.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com8
Mistake 2: Not monitoring the Test environment
“Setting up monitoring will take too long,
so we won’t include infrastructure metrics
like CPU utilisation in our report.”
How do you diagnose the root cause of load-related
problems found during testing?
What you should do:
• Make the effort to set up infrastructure monitoring in
the Test environment.
• Bonus points: have exactly the same monitoring in Test
and Production environments.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com9
Mistake 3: Bad Workload Modelling (or none at all)
“We are going to generate 1000 concurrent
users worth of load”
What does that even mean? Web apps care more about
requests per minute than they do about how many virtual
users are configured in your testing tool.
What you should do:
• Use real-world usage data as an input
• Define a Peak Hour usage model that includes a
transaction rate (e.g. orders per hour).
• Include network conditions (Network Virtualization)
• Bonus points: what % of your traffic is generated by
bots?
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com10
Mistake 4: “We only do testing” (silos)
“Our job is all about finding defects in the
Test environment.”
Performance testers can have a stake in system
architecture, capacity planning, monitoring, non-functional
requirements, contracts with vendors (SLAs), and incidents
in Production.
What you should do:
• Don’t ignore the app after go-live.
• Keep looking for defects in the Production environment
(using monitoring tools).
• Be an advocate for application performance at every
stage of the software lifecycle.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com11
Mistake 5: “We’re response time testers” (tunnel vision)
“Our job is to measure response times with
our load testing tool.”
Your job is to find load and performance-related
problems…preferably before they reach Production.
What you should do:
• Check for errors under load.
• Test Failover under load.
• Test system behaviour when there are interface
outages under load.
• Ensure that performance problems and system metrics
will be visible to the Ops team in Production.
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com12
Mistake 6: Ignoring errors and other defects
“We tried to run our test last night, but the
web server crashed. It’s okay though;
they’ve restarted everything and deleted
the logs, so we can re-run the test.”
So it sounds like you actually found a few defects last night.
What you should do:
• Constantly be asking yourself “if this happened in
Production, would it be a problem?”
• If you see something, say something.
• Some of your most interesting days as a testers will
start out with “hmmm…that’s odd.”
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com13
Mistake 7: Miscalculating error rates
If you are reporting your error rate as:
!""#"	%&'( =
*&++(,	-"&.+&/'0#.+
-#'&1	-"&.+&/'0#.+
…then you are doing it wrong.
What you should do:
• Report on the probability of the user completing the
entire business process, not just individual steps.
• Bonus points: Under controlled conditions, anything
above an 0% error rate indicates a problem that
should be investigated.
Transaction Passed Failed Total
Front page 99,041 959 100,000
Search catalogue 99,002 998 100,000
Browse catalogue 99,033 967 100,000
View item 98,966 1,034 100,000
Checkout 51 49 100
TOTAL 396,093 4,007 400,100
© Copyright 2017 Stuart Moncrieff, www.myloadtest.com14
Summary of Mistakes
What have we covered?
1. Scripts without enough verification checks
2. Not monitoring the Test environment
3. Bad Workload Modelling
4. Focusing on “performance testing”, rather than
“performance”
5. Thinking your responsibility starts and ends with
response times
6. Ignoring defects that are right in front of you
7. Miscalculating error rates
15 © Copyright 2017 Stuart Moncrieff, www.myloadtest.com
Thank you for watching!
…and thank you to Neotys for hosting this event.
Contact:
• Twitter: @StuartMoncrieff
• Email: stuart@myloadtest.com
• Web: http://www.myloadtest.com
• LinkedIn: https://www.linkedin.com/in/stuartmoncrieff/

More Related Content

What's hot

What's hot (20)

Skytap parasoft webinar new years resolution- accelerate sdlc
Skytap parasoft webinar new years resolution- accelerate sdlcSkytap parasoft webinar new years resolution- accelerate sdlc
Skytap parasoft webinar new years resolution- accelerate sdlc
 
All Change how the economics of Cloud will make you think differently about Java
All Change how the economics of Cloud will make you think differently about JavaAll Change how the economics of Cloud will make you think differently about Java
All Change how the economics of Cloud will make you think differently about Java
 
Principles Of Chaos Engineering - Chaos Engineering Hamburg
Principles Of Chaos Engineering - Chaos Engineering HamburgPrinciples Of Chaos Engineering - Chaos Engineering Hamburg
Principles Of Chaos Engineering - Chaos Engineering Hamburg
 
DevOps and Cloud
DevOps and CloudDevOps and Cloud
DevOps and Cloud
 
Soasta Cloud Test
Soasta Cloud TestSoasta Cloud Test
Soasta Cloud Test
 
The 7 Principles of DevOps and Cloud Applications
The 7 Principles of DevOps and Cloud ApplicationsThe 7 Principles of DevOps and Cloud Applications
The 7 Principles of DevOps and Cloud Applications
 
Chaos Engineering when you're not Netflix
Chaos Engineering when you're not NetflixChaos Engineering when you're not Netflix
Chaos Engineering when you're not Netflix
 
Top 10 DevOps Areas Need To Focus
Top 10 DevOps Areas Need To FocusTop 10 DevOps Areas Need To Focus
Top 10 DevOps Areas Need To Focus
 
From ci to cd
From ci to cdFrom ci to cd
From ci to cd
 
Flintstones or Jetsons? Jump Start Your Virtual Test Lab
Flintstones or Jetsons? Jump Start Your Virtual Test LabFlintstones or Jetsons? Jump Start Your Virtual Test Lab
Flintstones or Jetsons? Jump Start Your Virtual Test Lab
 
DevOps and Cloud Tips and Techniques to Revolutionize Your SDLC
DevOps and Cloud Tips and Techniques to Revolutionize Your SDLCDevOps and Cloud Tips and Techniques to Revolutionize Your SDLC
DevOps and Cloud Tips and Techniques to Revolutionize Your SDLC
 
Chaos engineering & Gameday on AWS
Chaos engineering & Gameday on AWSChaos engineering & Gameday on AWS
Chaos engineering & Gameday on AWS
 
Monktoberfest Fast Delivery
Monktoberfest Fast DeliveryMonktoberfest Fast Delivery
Monktoberfest Fast Delivery
 
BsidesMCR_2016-what-can-infosec-learn-from-devops
BsidesMCR_2016-what-can-infosec-learn-from-devopsBsidesMCR_2016-what-can-infosec-learn-from-devops
BsidesMCR_2016-what-can-infosec-learn-from-devops
 
Enterprise DevOps: Scaling Build, Deploy, Test, Release
Enterprise DevOps: Scaling Build, Deploy, Test, ReleaseEnterprise DevOps: Scaling Build, Deploy, Test, Release
Enterprise DevOps: Scaling Build, Deploy, Test, Release
 
Continuous Deployment: The Dirty Details
Continuous Deployment: The Dirty DetailsContinuous Deployment: The Dirty Details
Continuous Deployment: The Dirty Details
 
WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of viewWSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
WSO2Con EU 2015: Keynote - Cloud Native Apps… from a user point of view
 
Testing in a Continuous Delivery Pipeline - Better, Faster, Cheaper
Testing in a Continuous Delivery Pipeline - Better, Faster, CheaperTesting in a Continuous Delivery Pipeline - Better, Faster, Cheaper
Testing in a Continuous Delivery Pipeline - Better, Faster, Cheaper
 
OpenStack at EBSCO
OpenStack at EBSCOOpenStack at EBSCO
OpenStack at EBSCO
 
Digital Disruption with DevOps - Reference Architecture Overview
Digital Disruption with DevOps - Reference Architecture OverviewDigital Disruption with DevOps - Reference Architecture Overview
Digital Disruption with DevOps - Reference Architecture Overview
 

Similar to Top 7 Mistakes in Performance Testing

Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1
Varun Sharma
 
6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices
Dynatrace
 

Similar to Top 7 Mistakes in Performance Testing (20)

Пирамида Тестирования через призму ROI калькулятора и прочая геометрия
Пирамида Тестирования через призму ROI калькулятора и прочая геометрияПирамида Тестирования через призму ROI калькулятора и прочая геометрия
Пирамида Тестирования через призму ROI калькулятора и прочая геометрия
 
Test Pyramid vs Roi
Test Pyramid vs Roi Test Pyramid vs Roi
Test Pyramid vs Roi
 
Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1Real%20 world%20software%20testing%20white%20backgoround1
Real%20 world%20software%20testing%20white%20backgoround1
 
6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices6 ways DevOps helped PrepSportswear move from monolith to microservices
6 ways DevOps helped PrepSportswear move from monolith to microservices
 
Stop manual testing: Take your weekends back!
Stop manual testing: Take your weekends back! Stop manual testing: Take your weekends back!
Stop manual testing: Take your weekends back!
 
How to scale your Test Automation
How to scale your Test AutomationHow to scale your Test Automation
How to scale your Test Automation
 
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptxSOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
 
Magento maintenance
Magento maintenanceMagento maintenance
Magento maintenance
 
10 Best Practices for Magento Maintenance and Support
10 Best Practices for Magento Maintenance and Support10 Best Practices for Magento Maintenance and Support
10 Best Practices for Magento Maintenance and Support
 
Glimpse and Benefits of Testing
Glimpse and Benefits of TestingGlimpse and Benefits of Testing
Glimpse and Benefits of Testing
 
Methodology: IT test
Methodology: IT testMethodology: IT test
Methodology: IT test
 
Bab 1
Bab 1Bab 1
Bab 1
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New Standard
 
Test Everything: TrustRadius Delivers Customer Value with Experimentation
Test Everything: TrustRadius Delivers Customer Value with ExperimentationTest Everything: TrustRadius Delivers Customer Value with Experimentation
Test Everything: TrustRadius Delivers Customer Value with Experimentation
 
Automated Exploratory Testing
Automated Exploratory TestingAutomated Exploratory Testing
Automated Exploratory Testing
 
QA Role in Agile Teams
QA Role in Agile Teams QA Role in Agile Teams
QA Role in Agile Teams
 
Testing in Agile Development
Testing in Agile DevelopmentTesting in Agile Development
Testing in Agile Development
 
What does it take to be a performance tester?
What does it take to be a performance tester?What does it take to be a performance tester?
What does it take to be a performance tester?
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 

Recently uploaded (20)

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 

Top 7 Mistakes in Performance Testing

  • 1. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com The Top 7 Mistakes in Performance Testing …and the importance of getting the basics right first
  • 2. 3 © Copyright 2017 Stuart Moncrieff, www.myloadtest.com Good performance testing is really important… …but so many people do it really badly… …and that really bothers me.
  • 3. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com2 Stuart Moncrieff: Web Performance Evangelist How am I qualified to be here? • Web performance specialist since 2002 • 15 years of consulting experience • I have seen almost all the ways that people mess up when they are doing performance testing.
  • 4. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com4 What I think I look like when I’m talking about Performance Testing: What I actually look like when I’m talking about Performance Testing:
  • 5. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com5 The “we want the advanced training” paradox Companies usually ask to include “expert level” content in training courses for their staff, even when their staff don’t understand the basics. But their staff are all searching Google for entry-level training material. See also: • The Dunning-Kruger effect
  • 6. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com6 The structural problem: Most companies can’t differentiate between good and bad performance testing Performance Testing treated as an empty ritual to be performed before deployment. Patterns of dysfunction: • Not even noticing problems in Production because performance monitoring is inadequate. • Problems discovered in Production, even though they could have been discovered in Test. • Testing team can blame anything missed on “differences between Test and Production environments”. • Ops team tries to solve performance problems in Production without involving performance testers. Tuning in Production. Throwing hardware at the problem.
  • 7. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com7 Mistake 1: Not adding validation checks in your scripts Load testing tools will automatically detect HTTP error codes, but error pages are often served with an HTTP 200 response code. How do you know your application is not throwing errors under load? What you should do: • Add verification checks for each page request. • Check for something that indicates success and is unique to the page. • Bonus points: static analysis of scripts as they are checked into version control.
  • 8. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com8 Mistake 2: Not monitoring the Test environment “Setting up monitoring will take too long, so we won’t include infrastructure metrics like CPU utilisation in our report.” How do you diagnose the root cause of load-related problems found during testing? What you should do: • Make the effort to set up infrastructure monitoring in the Test environment. • Bonus points: have exactly the same monitoring in Test and Production environments.
  • 9. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com9 Mistake 3: Bad Workload Modelling (or none at all) “We are going to generate 1000 concurrent users worth of load” What does that even mean? Web apps care more about requests per minute than they do about how many virtual users are configured in your testing tool. What you should do: • Use real-world usage data as an input • Define a Peak Hour usage model that includes a transaction rate (e.g. orders per hour). • Include network conditions (Network Virtualization) • Bonus points: what % of your traffic is generated by bots?
  • 10. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com10 Mistake 4: “We only do testing” (silos) “Our job is all about finding defects in the Test environment.” Performance testers can have a stake in system architecture, capacity planning, monitoring, non-functional requirements, contracts with vendors (SLAs), and incidents in Production. What you should do: • Don’t ignore the app after go-live. • Keep looking for defects in the Production environment (using monitoring tools). • Be an advocate for application performance at every stage of the software lifecycle.
  • 11. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com11 Mistake 5: “We’re response time testers” (tunnel vision) “Our job is to measure response times with our load testing tool.” Your job is to find load and performance-related problems…preferably before they reach Production. What you should do: • Check for errors under load. • Test Failover under load. • Test system behaviour when there are interface outages under load. • Ensure that performance problems and system metrics will be visible to the Ops team in Production.
  • 12. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com12 Mistake 6: Ignoring errors and other defects “We tried to run our test last night, but the web server crashed. It’s okay though; they’ve restarted everything and deleted the logs, so we can re-run the test.” So it sounds like you actually found a few defects last night. What you should do: • Constantly be asking yourself “if this happened in Production, would it be a problem?” • If you see something, say something. • Some of your most interesting days as a testers will start out with “hmmm…that’s odd.”
  • 13. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com13 Mistake 7: Miscalculating error rates If you are reporting your error rate as: !""#" %&'( = *&++(, -"&.+&/'0#.+ -#'&1 -"&.+&/'0#.+ …then you are doing it wrong. What you should do: • Report on the probability of the user completing the entire business process, not just individual steps. • Bonus points: Under controlled conditions, anything above an 0% error rate indicates a problem that should be investigated. Transaction Passed Failed Total Front page 99,041 959 100,000 Search catalogue 99,002 998 100,000 Browse catalogue 99,033 967 100,000 View item 98,966 1,034 100,000 Checkout 51 49 100 TOTAL 396,093 4,007 400,100
  • 14. © Copyright 2017 Stuart Moncrieff, www.myloadtest.com14 Summary of Mistakes What have we covered? 1. Scripts without enough verification checks 2. Not monitoring the Test environment 3. Bad Workload Modelling 4. Focusing on “performance testing”, rather than “performance” 5. Thinking your responsibility starts and ends with response times 6. Ignoring defects that are right in front of you 7. Miscalculating error rates
  • 15. 15 © Copyright 2017 Stuart Moncrieff, www.myloadtest.com Thank you for watching! …and thank you to Neotys for hosting this event. Contact: • Twitter: @StuartMoncrieff • Email: stuart@myloadtest.com • Web: http://www.myloadtest.com • LinkedIn: https://www.linkedin.com/in/stuartmoncrieff/