SlideShare a Scribd company logo
1 of 25
Download to read offline
Performance testing Overview
(How to start with it?(
Yoav Weiss, Performance
Engineering Core QA Manager, HPE
Jun 2017
Unexpected product “launch”
http://www.abc.net.au/news/2016-11-09/canada-immigration-website-crashing/8009988
https://community.saas.hpe.com/t5/LoadRunner-and-Performance/Mastering-the-peak-traffic-a-short-guide/ba-p/1592796#.WT6vV-t97mE
Canadian immigration site
Today’s Agenda
Why we need performance?
Performance basic terminology(101)
Scripting + Performance demo
How is it relevant for you!
Intro
101
Demo
You!
Application performance
Ease of use
Application uptime
Ease of navigation
End-user productivity
Application security
Application crashes
UI design appeal
User behavior and flows
Insights into application
Missing features
Dropped transactions
Social media feedback
Device battery consumption
Cellular data usage
Other
0 20 40 60 80
Percent
Top metrics companies believe defines their user experience?
From “Dimensional Research April 2016”
The cost of poor app performance
Your business can perform no better than its applications
Lost revenue
Lost brand
reputation
Lost
customers
Lost
competitive
advantage
61%
unlikely to return to a site if
they’d had trouble viewing it on
a mobile device
70%
of mobile
transaction
response time
stems from the
network
37%
shop elsewhere
if a mobile site or
app fails to load in
3 secs.
1 sec.
Time devices have
to respond to user
input, in order to
keep the user
engaged.
Poor performance drives
customers away:
Black Friday is coming…
Today, Every week
we have a
different lunch!
Black Friday is coming…
https://www.thebitbag.com/apple-ios-app-store-crashes-due-heavy-super-mario-run-traffic/212913
http://www.nbcnews.com/business/consumer/black-friday-online-sales-hit-new-high-after-shoppers-snag-n688656
Performance basics
101
http://thepoliticus.com/content/stopped-clock
Performance Testing Overview
Performance testing is a technical investigation done
to determine or validate a system
• Speed
• Scalability
• Stability
The main goal of performance test is to identify
how well the application performs
• In relation to the performance requirements and objectives
Estimate the hardware configuration
• required to support the application
• Less of an issue today with elasticity and cloud service
http://www.canstockphoto.com/images-photos/investigation.html
https://www.forbes.com/sites/cdw/2015/08/07/what-to-move-to-the-cloud-and-what-not-to-move-to-the-cloud/#6b296a05f0e4
http://www.sgcofc.com/hit-the-target/
Key Types of Performance Testing
Term Purpose Note
Load test To verify an application behavior under
normal and peak load conditions.
Load volumes expected in production
Stress test To determine or validate an application
behavior when it is pushed beyond normal
or peak load conditions.
Discover issues that surface only
under high load conditions, such as
limited memory, insufficient disk
space, or server failure.
Capacity test To determine how many users and/or
transactions a given system will support
and still meet performance goals.
Helps you to identify a scaling strategy
in order to determine whether you
should scale up(more cpu) or scale
out(more nodes).
Examples of Performance Test Objectives
Objective The Question we should ask
Application response time How long does it take to complete a task?
Acceptance * Is the system stable enough to go into production?
Regression Does the new version of the app affect response
time?
Reliability How stable is the system under a heavy work load?
Bottlenecks What is the root cause of degradation in
performance?
* More later:
Customer
login
Add to
cart
Checkout Shipping
detail
Delivery
tracking
Shopping app
(web or mobile)
Purchase
received
An ideal scenario
Database
activity
Security
validation
Inventory
query
Database
activity
3rd party
shipping
Logistics
Acc’t
info
3rd party
database
3rd party
reporting
Purchase
received
Add to
cart
Shipping
detail
Delivery
tracking
Customer
login
Security
validation
3rd party
payment
Account
authorization
Checkout
Real-life scenario
DEMO – performance scripting
http://www.clker.com/clipart-silver-demo-badge.html
DEMO – performance Load Test
http://www.clker.com/clipart-silver-demo-badge.html
So what it all means?
World of testing: Shift left!
*Shift left: testing is performed earlier
moved left on the project timeline
http://www.clker.com/clipart-shift-left.html
Continuous performance testing (Jenkins integration)
IoT performance testing
• Amount of IoT devices is in exponent growth..
• The world is gearing for MQTT performance testing
https://en.wikipedia.org/wiki/MQTT
Client side performance and Network Virtualization
Additional read
• HPE Performance blog: tinyurl.com/p3rf0rmanc3
• StormRunner Load trial: tinyurl.com/SRL-Trial
• LoadRunner(50 Free): tinyurl.com/loadrunner50free
• HPE (free) git plugin: tinyurl.com/HPE-jenkins
• Additional articles by me: tinyurl.com/yoavweiss
• My LinkedIn: https://www.linkedin.com/in/yoavweis
Appendix
Performance test terminology
• Vuser:
Simulation(automation) of a real user during load test
• Transaction:
Measures the time it takes for the server to respond to specified (Vuser) requests
• Transaction response time(TRT):
Round trip, the time of between initiating the request and receiving the last part of the response
• Transaction SLA:
Customer expectations as was defined by the product owner
• Hit per second:
Requests per second
• Throughput:
Indicates the number of data receiving from the server per second
• 90% percentile:
Take the first 90 % transactions out of this set. The response time that has the maximum value in
this set is the 90 percentile value of the studied transaction.
Docker
• A “new” way to build and deploy (micro)
services
• Docker compose
Storm analysis result example

More Related Content

What's hot

Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
sonukalpana
 

What's hot (20)

Types of performance testing
Types of performance testingTypes of performance testing
Types of performance testing
 
Load Testing Strategy 101
Load Testing Strategy 101Load Testing Strategy 101
Load Testing Strategy 101
 
Qa process
Qa processQa process
Qa process
 
Qa process
Qa processQa process
Qa process
 
#NEOTYSPAC performance testing shift left
#NEOTYSPAC performance testing shift left#NEOTYSPAC performance testing shift left
#NEOTYSPAC performance testing shift left
 
SOASTA CloudTest Lite
SOASTA CloudTest LiteSOASTA CloudTest Lite
SOASTA CloudTest Lite
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Continuous performance testing
Continuous performance testingContinuous performance testing
Continuous performance testing
 
selenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scaleselenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scale
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges Webinar
 
Cross browser testing using BrowserStack
Cross browser testing using BrowserStack Cross browser testing using BrowserStack
Cross browser testing using BrowserStack
 
Why Ranorex
Why RanorexWhy Ranorex
Why Ranorex
 
Selenium at Salesforce Scale
Selenium at Salesforce ScaleSelenium at Salesforce Scale
Selenium at Salesforce Scale
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Test Automation Seminar Momentum
Test Automation Seminar MomentumTest Automation Seminar Momentum
Test Automation Seminar Momentum
 
Infographic: Importance of Performance Testing
Infographic: Importance of Performance TestingInfographic: Importance of Performance Testing
Infographic: Importance of Performance Testing
 
Cross-Browser-Testing with Protractor & Browserstack
Cross-Browser-Testing with Protractor & BrowserstackCross-Browser-Testing with Protractor & Browserstack
Cross-Browser-Testing with Protractor & Browserstack
 
Cross browser Testing on Mobile Devices
Cross browser Testing on Mobile DevicesCross browser Testing on Mobile Devices
Cross browser Testing on Mobile Devices
 
Kloia Quality Assurance
Kloia Quality AssuranceKloia Quality Assurance
Kloia Quality Assurance
 

Similar to Performance Engineering - how to start!

Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]
Munirathnam Naidu
 
Performance testing methodologies and tools
Performance testing methodologies and toolsPerformance testing methodologies and tools
Performance testing methodologies and tools
Alexander Decker
 
11.performance testing methodologies and tools
11.performance testing methodologies and tools11.performance testing methodologies and tools
11.performance testing methodologies and tools
Alexander Decker
 
Magical Performance tuning with Gomez
Magical Performance tuning with GomezMagical Performance tuning with Gomez
Magical Performance tuning with Gomez
mcsaha
 
Are You Ready For More Visitors Cognizant Gomez Jan20
Are You Ready For More Visitors   Cognizant  Gomez Jan20Are You Ready For More Visitors   Cognizant  Gomez Jan20
Are You Ready For More Visitors Cognizant Gomez Jan20
Compuware APM
 
Load testing web based applications
Load testing   web based applicationsLoad testing   web based applications
Load testing web based applications
Jitendra Yadav
 
PerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunnerPerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunner
techgajanan
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
vladimir zaremba
 

Similar to Performance Engineering - how to start! (20)

Neev Load Testing Services
Neev Load Testing ServicesNeev Load Testing Services
Neev Load Testing Services
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]Best Practices In Load And Stress Testing Cmg Seminar[1]
Best Practices In Load And Stress Testing Cmg Seminar[1]
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
Performance testing methodologies and tools
Performance testing methodologies and toolsPerformance testing methodologies and tools
Performance testing methodologies and tools
 
11.performance testing methodologies and tools
11.performance testing methodologies and tools11.performance testing methodologies and tools
11.performance testing methodologies and tools
 
Nonfunctional Testing: Examine the Other Side of the Coin
Nonfunctional Testing: Examine the Other Side of the CoinNonfunctional Testing: Examine the Other Side of the Coin
Nonfunctional Testing: Examine the Other Side of the Coin
 
Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Tools. Techniques. Trouble?
Tools. Techniques. Trouble?
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Performance testing : An Overview
Performance testing : An OverviewPerformance testing : An Overview
Performance testing : An Overview
 
Magical Performance tuning with Gomez
Magical Performance tuning with GomezMagical Performance tuning with Gomez
Magical Performance tuning with Gomez
 
Are You Ready For More Visitors Cognizant Gomez Jan20
Are You Ready For More Visitors   Cognizant  Gomez Jan20Are You Ready For More Visitors   Cognizant  Gomez Jan20
Are You Ready For More Visitors Cognizant Gomez Jan20
 
Encontrando la Aguja en el Rendimiento de Aplicaciones
Encontrando la Aguja en el Rendimiento de AplicacionesEncontrando la Aguja en el Rendimiento de Aplicaciones
Encontrando la Aguja en el Rendimiento de Aplicaciones
 
Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
 
Hewlett Packard Entreprise | Stormrunner load | Game Changer
Hewlett Packard Entreprise | Stormrunner load | Game ChangerHewlett Packard Entreprise | Stormrunner load | Game Changer
Hewlett Packard Entreprise | Stormrunner load | Game Changer
 
Load testing web based applications
Load testing   web based applicationsLoad testing   web based applications
Load testing web based applications
 
QSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load RunnerQSpiders - Introduction to HP Load Runner
QSpiders - Introduction to HP Load Runner
 
PerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunnerPerformanceTestingWithLoadrunner
PerformanceTestingWithLoadrunner
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
T3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of ExcellenceT3 Consortium's Performance Center of Excellence
T3 Consortium's Performance Center of Excellence
 

Recently uploaded

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
Madan Karki
 

Recently uploaded (20)

analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptx
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
 
E-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentE-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are present
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
 
Introduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of ArduinoIntroduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of Arduino
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
ChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdfChatGPT Prompt Engineering for project managers.pdf
ChatGPT Prompt Engineering for project managers.pdf
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Circuit Breaker arc phenomenon.pdf engineering
Circuit Breaker arc phenomenon.pdf engineeringCircuit Breaker arc phenomenon.pdf engineering
Circuit Breaker arc phenomenon.pdf engineering
 
Intelligent Agents, A discovery on How A Rational Agent Acts
Intelligent Agents, A discovery on How A Rational Agent ActsIntelligent Agents, A discovery on How A Rational Agent Acts
Intelligent Agents, A discovery on How A Rational Agent Acts
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 

Performance Engineering - how to start!

  • 1. Performance testing Overview (How to start with it?( Yoav Weiss, Performance Engineering Core QA Manager, HPE Jun 2017
  • 3. Today’s Agenda Why we need performance? Performance basic terminology(101) Scripting + Performance demo How is it relevant for you! Intro 101 Demo You!
  • 4. Application performance Ease of use Application uptime Ease of navigation End-user productivity Application security Application crashes UI design appeal User behavior and flows Insights into application Missing features Dropped transactions Social media feedback Device battery consumption Cellular data usage Other 0 20 40 60 80 Percent Top metrics companies believe defines their user experience? From “Dimensional Research April 2016”
  • 5. The cost of poor app performance Your business can perform no better than its applications Lost revenue Lost brand reputation Lost customers Lost competitive advantage 61% unlikely to return to a site if they’d had trouble viewing it on a mobile device 70% of mobile transaction response time stems from the network 37% shop elsewhere if a mobile site or app fails to load in 3 secs. 1 sec. Time devices have to respond to user input, in order to keep the user engaged. Poor performance drives customers away:
  • 6. Black Friday is coming… Today, Every week we have a different lunch! Black Friday is coming… https://www.thebitbag.com/apple-ios-app-store-crashes-due-heavy-super-mario-run-traffic/212913 http://www.nbcnews.com/business/consumer/black-friday-online-sales-hit-new-high-after-shoppers-snag-n688656
  • 8. Performance Testing Overview Performance testing is a technical investigation done to determine or validate a system • Speed • Scalability • Stability The main goal of performance test is to identify how well the application performs • In relation to the performance requirements and objectives Estimate the hardware configuration • required to support the application • Less of an issue today with elasticity and cloud service http://www.canstockphoto.com/images-photos/investigation.html https://www.forbes.com/sites/cdw/2015/08/07/what-to-move-to-the-cloud-and-what-not-to-move-to-the-cloud/#6b296a05f0e4 http://www.sgcofc.com/hit-the-target/
  • 9. Key Types of Performance Testing Term Purpose Note Load test To verify an application behavior under normal and peak load conditions. Load volumes expected in production Stress test To determine or validate an application behavior when it is pushed beyond normal or peak load conditions. Discover issues that surface only under high load conditions, such as limited memory, insufficient disk space, or server failure. Capacity test To determine how many users and/or transactions a given system will support and still meet performance goals. Helps you to identify a scaling strategy in order to determine whether you should scale up(more cpu) or scale out(more nodes).
  • 10. Examples of Performance Test Objectives Objective The Question we should ask Application response time How long does it take to complete a task? Acceptance * Is the system stable enough to go into production? Regression Does the new version of the app affect response time? Reliability How stable is the system under a heavy work load? Bottlenecks What is the root cause of degradation in performance? * More later:
  • 11. Customer login Add to cart Checkout Shipping detail Delivery tracking Shopping app (web or mobile) Purchase received An ideal scenario
  • 12. Database activity Security validation Inventory query Database activity 3rd party shipping Logistics Acc’t info 3rd party database 3rd party reporting Purchase received Add to cart Shipping detail Delivery tracking Customer login Security validation 3rd party payment Account authorization Checkout Real-life scenario
  • 13. DEMO – performance scripting http://www.clker.com/clipart-silver-demo-badge.html
  • 14. DEMO – performance Load Test http://www.clker.com/clipart-silver-demo-badge.html
  • 15. So what it all means?
  • 16. World of testing: Shift left! *Shift left: testing is performed earlier moved left on the project timeline http://www.clker.com/clipart-shift-left.html
  • 17. Continuous performance testing (Jenkins integration)
  • 18. IoT performance testing • Amount of IoT devices is in exponent growth.. • The world is gearing for MQTT performance testing https://en.wikipedia.org/wiki/MQTT
  • 19. Client side performance and Network Virtualization
  • 20. Additional read • HPE Performance blog: tinyurl.com/p3rf0rmanc3 • StormRunner Load trial: tinyurl.com/SRL-Trial • LoadRunner(50 Free): tinyurl.com/loadrunner50free • HPE (free) git plugin: tinyurl.com/HPE-jenkins • Additional articles by me: tinyurl.com/yoavweiss • My LinkedIn: https://www.linkedin.com/in/yoavweis
  • 21.
  • 23. Performance test terminology • Vuser: Simulation(automation) of a real user during load test • Transaction: Measures the time it takes for the server to respond to specified (Vuser) requests • Transaction response time(TRT): Round trip, the time of between initiating the request and receiving the last part of the response • Transaction SLA: Customer expectations as was defined by the product owner • Hit per second: Requests per second • Throughput: Indicates the number of data receiving from the server per second • 90% percentile: Take the first 90 % transactions out of this set. The response time that has the maximum value in this set is the 90 percentile value of the studied transaction.
  • 24. Docker • A “new” way to build and deploy (micro) services • Docker compose