SlideShare a Scribd company logo
Using JMeter and Google
Analytics
How to avoid
performance
testing
yourself into a
corner...
Ed Curran
Performance Testing Considerations
XBOSoft, Inc. All Rights Reserved.
XBOSoft
Dedicated to software quality improvement
Founded in 2006
We speed products to market with our expertise:
• Software QA consulting
• Software testing
Global team with offices in San Francisco, Beijing
and Amsterdam
“Thorough, accurate and fast”
2
XBOSoft, Inc. All Rights Reserved.
House Rules
▪ Participants other than the speakers are muted
▪ Questions via the GoToWebinar control on the
right side of your screen or through Twitter
@XBOSoft
▪ Questions may be asked throughout the webinar -
we’ll try to answer them at the end
▪ You will receive info on recording after the
webinar
3
Webinar Hashtag: #XboPerformance
XBOSoft, Inc. All Rights Reserved.
Meet Our Speakers
Philip Lew
CEO and Founder, XBOSoft
Relevant specialties and
passions
• Software quality process, evaluation,
measurement and improvement
• Software quality in use / UX design
• Mobile User Experience and usability
• Cycling and travel
4
XBOSoft Team
XBOSoft, Inc. All Rights Reserved.
Ed Curran
VP of Engineering
5
• Over 25 years of experience: technology;
international; BSEE/MBA
• Much of career dedicated wireless industry,
as well as software development
• Developer of performance management
monitoring systems for wireless networks for
use in capacity planning
• VzW Representative for Verizon Quality Council
• QuEST Forum / TL9000 Speaker
Meet Our Speakers
XBOSoft Team
XBOSoft, Inc. All Rights Reserved.
But Today is All About You
… Why are you here?
6
XBOSoft, Inc. All Rights Reserved.
Introduction
Software Testing Challenges
• Lack of Standard Processes
• 30% Overruns in Development Time
• Time to Market Pressures
Shanthakumaran, Prasanth. "Trends in Software Testing." KPMG - Business Excellence
(2016): 5-6.
>> A Real Need to Automate
7
XBOSoft, Inc. All Rights Reserved.
Automated Testing Trends
Rehn, Cecilia, ed. "European Software Testing Benchmark Report 2016 - Automation." Editorial.
Test Magazine Aug. 2016: 1-2. Web.
Types of Automation Utilized
Automation Survey Respondents
8
XBOSoft, Inc. All Rights Reserved.
Automated Testing Trends
Automated Testing Benefits
• 90% of companies have seen ROI in year 1
• Large range of automated processes
employed
• Focus on UI Testing
Rehn, Cecilia, ed. "European Software Testing Benchmark Report 2016 - Automation." Editorial.
Test Magazine Aug. 2016: 1-2. Web.
9
XBOSoft, Inc. All Rights Reserved.
Automation Testing Trends
• Test Environment (configuration,
maintenance, stability)
• Many types of automated processes available
– Difficult to determine tests to perform
– Scripts need to be created and maintained
Practical Challenges
10
XBOSoft, Inc. All Rights Reserved.
What is Wrong with My
Performance Test?
Automation Shortcomings
• 82% Automation on UI
– Customer-facing UI
– Potential to overemphasize
• 53% Performance
– Critical Components Left Out (e.g.
Ecosystems)
11
XBOSoft, Inc. All Rights Reserved.
Automation Testing Trends
• Load Tests
– Identify bottlenecks, check applications ability to perform under anticipated
loads
• Stress Testing
– Find breaking point
• Endurance Testing
– Support expected load over time
• Spike Testing
– Test software reaction to sudden load spikes
• Volume Testing
– Test software reaction to sudden load spikes
• Scalability Testing
– Determine software effectiveness when scaling up to support user load
Performance Test Types
"Performance testing : Process & Important Metrics - Guru99." 3 Nov. 2016,
http://www.guru99.com/performance-testing.html.
12
XBOSoft, Inc. All Rights Reserved.
Automation Testing Trends
Additional Considerations
• Different Types of Tests
– Tests do not stand in a vacuum
– Can be related (e.g., Performance Testing
within the Ecosystem)
• Performance Testing is Unusual
– Time-component dimension
– Exploited through automated testing
13
XBOSoft, Inc. All Rights Reserved.
Automation Testing Trends
Software
• Part of a system
• Needs to be designed to specific
requirements
… Critical to consider software operation within
the larger system.
System Complexity
14
XBOSoft, Inc. All Rights Reserved.
What is it you Really Want to Test?
“... the totality of features and characteristics of a
product or service that bear on its ability to satisfy
stated or implied needs.”
"What is Quality | IGI Global." http://www.igi-global.com/dictionary/quality/24254. Accessed 16 Dec. 2016.
Quality in Technology is:
15
XBOSoft, Inc. All Rights Reserved.
What Is It You Really Want to Test
(cont.)
High Level Software Test Concepts
• Smoke Test / Happy Path
• Negative / Boundary Tests
• Timing/Performance/Load dimension
16
XBOSoft, Inc. All Rights Reserved.
What Is A Test?
● h1 (Blue) - A happy path, or
smoke test, set to test a
given function that exists at
t=0.
● b1a, b1b (Red) - This
outward pressure adds to the
smoke test by expanding the
test to include additional
negative tests using
boundary/equivalence value
analysis.
● t=0, t=n - used to denote a
linear time where the
Blue/Red tests can
repeatedly execute over the
course of the time.
● th1 - shows that, during
performance testing, the
blue/red tests can repeatedly
be performed, but not
necessarily at periodic
intervals.
17
Load Testing Example
Stepping Thread Group - Design
Load Testing Example
Stepping Thread Group - Response Results - Part 1
XBOSoft, Inc. All Rights Reserved.
What Is a Test? (cont.)
Real-World Software System
• Simple Example
– Box metaphor
– Simple
– Well organized
• Real World
– Much more complex
20
XBOSoft, Inc. All Rights Reserved.
What is a Test (cont.)
Multiple Performance Tests - Metaphor
21
XBOSoft, Inc. All Rights Reserved.
What is a Test?
… Where Do You Stand?
22
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
Why Drive Load?
… Determine capacity bottlenecks for System under test
• Key Parameters/Factors
– Simultaneous varying inputs
– Simultaneous varying conditions
• Simulate Production Environment
• Run Load Tests to Exceed Requirements
– Ensures known level of buffer
23
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
Key Prioritization Parameters/Factors
XBOSoft Performance Prioritization Matrix
24
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
• User
– View of Person using application
• Platform Section
– Function within application under test
• Covered in .jmx
– Currently a script covering
Key Prioritization Parameters/Factors (cont.)
25
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
• Usage (XBO)
– XBO review of function usage levels
• Tier 2 Customer Input (a.k.a. “Customer
Service Complaints”)
– Generated by end-users
– Holds weight as “real customers”
– Determine relevance
• related to software under evaluation?
• related to a load/performance related issue?
Key Prioritization Parameters/Factors (cont.)
26
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
• Google Analytics Usage %
– Most Widely Used Analytics Service
– Key insights to activity taking place on site
… GA Pageviews Report
Key Parameters/Factors (continued)
… Behavior Flow Report
27
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
Key Parameters/Factors (continued)
GA Pageviews Report
"How to Use Google Analytics Behavior Reports to Optimize Your ...." 27 Oct. 2014,
http://www.socialmediaexaminer.com/google-analytics-behavior-reports/. Accessed 12 Dec. 2016.
28
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
Key Parameters/Factors
GA Pageviews Report
• Simple representation of an application
performance
– Page Views
– Average Time on Page
• How Functions/pages are being accessed
29
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
Key Parameters/Factors (continued)
GA Behavior Flow Report
30
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
GA Behavior Flow
• Can assist in optimizing the application
• Can be directly employed into Performance/
Load Script
– Volume
– Path
• Predictor of future traffic load
Key Parameters/Factors (continued)
31
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
• Functional Isolation
– Knowledge of Software Architecture
• Negative Test Required
– Required for a given function?
– Level and type
• General Importance Factor
– Stakeholder view of a given function (e.g.,
monetary transaction, school grades)
Key Parameters/Factors (continued)
32
XBOSoft, Inc. All Rights Reserved.
Knowing Where You Stand
... What Do You Need?
33
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
• Type of Business
• Customer Expectations
– 20-minute outage from Amazon costs $3.75 Million
– 28% of users will not return to a slow site
– 9% of users will not return after an outage.
– Bounce rate for pages loading in 2 seconds = 26%
– Bounce rate for pages taking more than 10 seconds
resulted in 41%
Business Requirements
"2016 Holiday Retail Insights Report." SOASTA, Performance Is Everything. SOASTA, 2016. Web.
… Consumer expectations are increasing.
34
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
Freedom from Production Servers
• Benefits
– Limits risk to real customers
– Freedom to schedule tests any time
– Supports time-dependent tests that can go on for hour
• Challenges
– Must be properly sized
– Must be maintained (e.g., backups, database
reconfigurations)
Test Application Server
35
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
JMeter Master/Slave Configurations
36
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
"How to use distributed JMeter to test netty server performance | Code ...." 29 Mar. 2016,
http://shengwangi.blogspot.com/2016/03/how-to-use-distributed-jmeter-to-test-netty.html.
JMeter Master/Slave Configuration
37
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
Benefits
• Slaves Offload Master as primary load driver
• Emulate users from different areas and
locations
• Allows graphical real-time viewing on Master
of tests in progress
JMeter Master/Slave Configuration
38
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
Application
Server 1
JMeter M/S Configuration (Regional)
By Thesevenseas (talk) - Own work, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=7376761
Application
Server 2
JMeter Slaves
39
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
Benefits
• Simple method for driving load to web
application servers
• Allows test support from centralized location
JMeter M/S Configuration (Regional)
40
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
JMeter M/S Configuration (Multi-Regional)
Map By Thesevenseas (talk) - Own work, CC BY-SA 3.0,
https://commons.wikimedia.org/w/index.php?curid=7376761
Application
Server
JMeter Slave
JMeter Slave
JMeter Slave
JMeter Slave
JMeter Slave
JMeter Slave
41
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
Benefits
• Emulate users from different areas and
locations in “real world” scenarios
• Allows graphical real-time viewing on Master
of tests in progress
JMeter M/S Configuration (Multi-Regional)
42
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
API vs. HTML
43
XBOSoft, Inc. All Rights Reserved.
Knowing What You Need
• Required at the Start of Performance Analysis
– Current and anticipated utilization of CPU
– memory requirements
– disk drive capacity needs
• System Profile = System View
– >>> should include
• Application Server
• Performance/load computers
• All associated networks
System Profile for JMeter
44
XBOSoft, Inc. All Rights Reserved.
Getting Real
Create Realistic Tests
• Mirror Production Environment
– To the extent practicable
• Focus on Critical Areas
– Utilize Performance Prioritization Matrix
• Beware of Too Test Scripts
– Avoid Non-Critical Areas
– IDEs create scripts fast (too many?)
– Can create test management challenge
45
XBOSoft, Inc. All Rights Reserved.
Getting Real
Standalone Performance Tests Have Merit ...
A Game of Statistics
…. You can’t test everything
46
XBOSoft, Inc. All Rights Reserved.
For more, please download:
Performance / Load Testing
Using JMeter and Google Analytics
http://xbosoft.com/knowledge-center/software-testing
-white-paper/
Edwin H. Curran
@ecurran
ed.curran@xbosoft.com
Thank You!
47

More Related Content

What's hot (20)

PPT
JMeter
Md Samsul Kabir
 
PPT
Performance testing and reporting with JMeter
jvSlideshare
 
PDF
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
PPTX
Performance testing using jmeter
Rachappa Bandi
 
PDF
Performance testing with jmeter
Knoldus Inc.
 
PPTX
Load Testing and JMeter Presentation
Neill Lima
 
PDF
Apache jMeter
NexThoughts Technologies
 
PDF
Infographic: Importance of Performance Testing
KiwiQA
 
PPTX
Performance testing with Apache JMeter
RedBlackTree
 
PPTX
Basic of jMeter
Shub
 
PPTX
An Introduction to Performance Testing
SWAAM Tech
 
PPTX
Load testing with J meter
Manoj Shankaramanchi
 
PPTX
Introduction to performance testing
Richard Bishop
 
PPTX
Performance Testing And Its Type | Benefits Of Performance Testing
KostCare
 
PPTX
Performance testing
BugRaptors
 
PDF
Postman 101 for Students
Postman
 
PDF
Performance Requirement Gathering
Atul Pant
 
PPTX
Performance testing using Jmeter for apps which needs authentication
Jay Jha
 
PPT
Testes de Software
Capgemini
 
Performance testing and reporting with JMeter
jvSlideshare
 
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
Performance testing using jmeter
Rachappa Bandi
 
Performance testing with jmeter
Knoldus Inc.
 
Load Testing and JMeter Presentation
Neill Lima
 
Infographic: Importance of Performance Testing
KiwiQA
 
Performance testing with Apache JMeter
RedBlackTree
 
Basic of jMeter
Shub
 
An Introduction to Performance Testing
SWAAM Tech
 
Load testing with J meter
Manoj Shankaramanchi
 
Introduction to performance testing
Richard Bishop
 
Performance Testing And Its Type | Benefits Of Performance Testing
KostCare
 
Performance testing
BugRaptors
 
Postman 101 for Students
Postman
 
Performance Requirement Gathering
Atul Pant
 
Performance testing using Jmeter for apps which needs authentication
Jay Jha
 
Testes de Software
Capgemini
 

Viewers also liked (9)

PDF
Ginsbourg.com - Performance and Load Test Report Template LTR 1.5
Shay Ginsbourg
 
PPTX
Apache JMeter - A brief introduction
silenceIT Inc.
 
PDF
Automation - Apache JMeter
Wira Santos
 
PDF
Get Started with JMeter in 60 Minutes
CA Technologies
 
PDF
Performance Testing for Mobile Apps & Sites using Apache JMeter
Alon Girmonsky
 
PDF
Testing in Agile with Coaching Agile Journeys and XBOSoft
XBOSoft
 
PPTX
How to Analyze Reports in Jmeter
Viviana Lesmes
 
PDF
Changing the landscape of Load Testing with Open Source Projects of JMeter an...
CA Technologies
 
PPT
Performance testing jmeter
Bhojan Rajan
 
Ginsbourg.com - Performance and Load Test Report Template LTR 1.5
Shay Ginsbourg
 
Apache JMeter - A brief introduction
silenceIT Inc.
 
Automation - Apache JMeter
Wira Santos
 
Get Started with JMeter in 60 Minutes
CA Technologies
 
Performance Testing for Mobile Apps & Sites using Apache JMeter
Alon Girmonsky
 
Testing in Agile with Coaching Agile Journeys and XBOSoft
XBOSoft
 
How to Analyze Reports in Jmeter
Viviana Lesmes
 
Changing the landscape of Load Testing with Open Source Projects of JMeter an...
CA Technologies
 
Performance testing jmeter
Bhojan Rajan
 
Ad

Similar to Using JMeter and Google Analytics for Software Performance Testing (20)

PPTX
Performance Continuous Integration
Almudena Vivanco
 
PPTX
Load and performance testing
Qualitest
 
PDF
Is JMeter The Best Performance Testing Tool.pdf
Mindfire LLC
 
PPTX
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
QueBIT Consulting
 
PPT
Getting Started with Apache Jmeter
Mindfire Solutions
 
PPTX
Performance testing
Chalana Kahandawala
 
PPT
Best Practices In Load And Stress Testing Cmg Seminar[1]
Munirathnam Naidu
 
PPTX
Performance Testing
Selin Gungor
 
PPT
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
TEST Huddle
 
PPTX
Performance testing and j meter overview
krishna chaitanya
 
PPTX
Vishal_Final_Evaluation_PPT
Vishal Sharma
 
PPTX
Testing In Production (TiP) Advances with Big Data & the Cloud
SOASTA
 
PDF
ConFoo: Moving web performance testing to the left
Tom Chavez
 
PDF
Performance Testing and Benefits ebook.pdf
sandeepks324
 
PDF
CONTINUOUS PERFORMANCE TESTING - ISTSTC (1).pdf
Mesut Günes
 
PPT
Performance Testing Overview
James Venetsanakos
 
PDF
Unifying feature management with experiments - Server Side Webinar (1).pdf
VWO
 
PDF
In-Depth Performance Testing Guide for IT Professionals
Expeed Software
 
PPTX
Neev QA Offering
Neev Technologies
 
PPTX
Performance testing overview
krishna chaitanya
 
Performance Continuous Integration
Almudena Vivanco
 
Load and performance testing
Qualitest
 
Is JMeter The Best Performance Testing Tool.pdf
Mindfire LLC
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
QueBIT Consulting
 
Getting Started with Apache Jmeter
Mindfire Solutions
 
Performance testing
Chalana Kahandawala
 
Best Practices In Load And Stress Testing Cmg Seminar[1]
Munirathnam Naidu
 
Performance Testing
Selin Gungor
 
Mieke Gevers - Performance Testing in 5 Steps - A Guideline to a Successful L...
TEST Huddle
 
Performance testing and j meter overview
krishna chaitanya
 
Vishal_Final_Evaluation_PPT
Vishal Sharma
 
Testing In Production (TiP) Advances with Big Data & the Cloud
SOASTA
 
ConFoo: Moving web performance testing to the left
Tom Chavez
 
Performance Testing and Benefits ebook.pdf
sandeepks324
 
CONTINUOUS PERFORMANCE TESTING - ISTSTC (1).pdf
Mesut Günes
 
Performance Testing Overview
James Venetsanakos
 
Unifying feature management with experiments - Server Side Webinar (1).pdf
VWO
 
In-Depth Performance Testing Guide for IT Professionals
Expeed Software
 
Neev QA Offering
Neev Technologies
 
Performance testing overview
krishna chaitanya
 
Ad

More from XBOSoft (20)

PDF
Agile Metrics to Boost Software Quality improvement
XBOSoft
 
PDF
Agile Test Management Using Jira and Zephyr
XBOSoft
 
PDF
AI Based Test Automation Without AI
XBOSoft
 
PDF
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
XBOSoft
 
PDF
Agile User Acceptance Testing - Incorporating UAT into Agile
XBOSoft
 
PDF
Challenges in Using Big Data for Software QA
XBOSoft
 
PDF
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
XBOSoft
 
PDF
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
XBOSoft
 
PDF
Mobile Testing Challenges and Solutions XBOSoft Webinar
XBOSoft
 
PDF
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
XBOSoft
 
PDF
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft
 
PDF
PSQT Keynote: Quality Challenges in the Internet of Things Era
XBOSoft
 
PDF
7 Habits of Highly Effective Agile Testing - Test Istanbul
XBOSoft
 
PDF
Managing Agile Software Projects With Risk and Uncertainty
XBOSoft
 
PDF
Top IOT Testing Challenges Webinar with Jon Hagar
XBOSoft
 
PDF
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
XBOSoft
 
PDF
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
XBOSoft
 
PPT
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
XBOSoft
 
PPTX
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
XBOSoft
 
PDF
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
XBOSoft
 
Agile Metrics to Boost Software Quality improvement
XBOSoft
 
Agile Test Management Using Jira and Zephyr
XBOSoft
 
AI Based Test Automation Without AI
XBOSoft
 
What Aircrews Can Teach Software Testing Teams - XBOSoft Webinar w/Peter Varhol
XBOSoft
 
Agile User Acceptance Testing - Incorporating UAT into Agile
XBOSoft
 
Challenges in Using Big Data for Software QA
XBOSoft
 
Defect Patterns Analysis for Agile and Waterfall - XBOSoft Webinar with Micha...
XBOSoft
 
Proactive SQA™ Shifting Left w/Proactive Software Quality Practices
XBOSoft
 
Mobile Testing Challenges and Solutions XBOSoft Webinar
XBOSoft
 
Heidi Araya - XBOSoft Webinar Guest Speaker - Working with Remote Agile Teams
XBOSoft
 
XBOSoft webinar - How Did I Miss That Bug - Cognitive Biases in Software Testing
XBOSoft
 
PSQT Keynote: Quality Challenges in the Internet of Things Era
XBOSoft
 
7 Habits of Highly Effective Agile Testing - Test Istanbul
XBOSoft
 
Managing Agile Software Projects With Risk and Uncertainty
XBOSoft
 
Top IOT Testing Challenges Webinar with Jon Hagar
XBOSoft
 
Storytelling: Discover the Big Picture for Agile Efforts Webinar - Tom Cagley...
XBOSoft
 
ASTQB w/ XBOSoft CEO Phil Lew: Agile and Waterfall - What Do Testers Do Diffe...
XBOSoft
 
When Agile is a Quality Game Changer Webinar - Michael Mah, Philip Lew
XBOSoft
 
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
XBOSoft
 
QAI QUEST 2016 Webinar Series: Pairwise Testing w/ Philip Lew
XBOSoft
 

Recently uploaded (20)

PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
July Patch Tuesday
Ivanti
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 

Using JMeter and Google Analytics for Software Performance Testing

  • 1. Using JMeter and Google Analytics How to avoid performance testing yourself into a corner... Ed Curran Performance Testing Considerations
  • 2. XBOSoft, Inc. All Rights Reserved. XBOSoft Dedicated to software quality improvement Founded in 2006 We speed products to market with our expertise: • Software QA consulting • Software testing Global team with offices in San Francisco, Beijing and Amsterdam “Thorough, accurate and fast” 2
  • 3. XBOSoft, Inc. All Rights Reserved. House Rules ▪ Participants other than the speakers are muted ▪ Questions via the GoToWebinar control on the right side of your screen or through Twitter @XBOSoft ▪ Questions may be asked throughout the webinar - we’ll try to answer them at the end ▪ You will receive info on recording after the webinar 3 Webinar Hashtag: #XboPerformance
  • 4. XBOSoft, Inc. All Rights Reserved. Meet Our Speakers Philip Lew CEO and Founder, XBOSoft Relevant specialties and passions • Software quality process, evaluation, measurement and improvement • Software quality in use / UX design • Mobile User Experience and usability • Cycling and travel 4 XBOSoft Team
  • 5. XBOSoft, Inc. All Rights Reserved. Ed Curran VP of Engineering 5 • Over 25 years of experience: technology; international; BSEE/MBA • Much of career dedicated wireless industry, as well as software development • Developer of performance management monitoring systems for wireless networks for use in capacity planning • VzW Representative for Verizon Quality Council • QuEST Forum / TL9000 Speaker Meet Our Speakers XBOSoft Team
  • 6. XBOSoft, Inc. All Rights Reserved. But Today is All About You … Why are you here? 6
  • 7. XBOSoft, Inc. All Rights Reserved. Introduction Software Testing Challenges • Lack of Standard Processes • 30% Overruns in Development Time • Time to Market Pressures Shanthakumaran, Prasanth. "Trends in Software Testing." KPMG - Business Excellence (2016): 5-6. >> A Real Need to Automate 7
  • 8. XBOSoft, Inc. All Rights Reserved. Automated Testing Trends Rehn, Cecilia, ed. "European Software Testing Benchmark Report 2016 - Automation." Editorial. Test Magazine Aug. 2016: 1-2. Web. Types of Automation Utilized Automation Survey Respondents 8
  • 9. XBOSoft, Inc. All Rights Reserved. Automated Testing Trends Automated Testing Benefits • 90% of companies have seen ROI in year 1 • Large range of automated processes employed • Focus on UI Testing Rehn, Cecilia, ed. "European Software Testing Benchmark Report 2016 - Automation." Editorial. Test Magazine Aug. 2016: 1-2. Web. 9
  • 10. XBOSoft, Inc. All Rights Reserved. Automation Testing Trends • Test Environment (configuration, maintenance, stability) • Many types of automated processes available – Difficult to determine tests to perform – Scripts need to be created and maintained Practical Challenges 10
  • 11. XBOSoft, Inc. All Rights Reserved. What is Wrong with My Performance Test? Automation Shortcomings • 82% Automation on UI – Customer-facing UI – Potential to overemphasize • 53% Performance – Critical Components Left Out (e.g. Ecosystems) 11
  • 12. XBOSoft, Inc. All Rights Reserved. Automation Testing Trends • Load Tests – Identify bottlenecks, check applications ability to perform under anticipated loads • Stress Testing – Find breaking point • Endurance Testing – Support expected load over time • Spike Testing – Test software reaction to sudden load spikes • Volume Testing – Test software reaction to sudden load spikes • Scalability Testing – Determine software effectiveness when scaling up to support user load Performance Test Types "Performance testing : Process & Important Metrics - Guru99." 3 Nov. 2016, http://www.guru99.com/performance-testing.html. 12
  • 13. XBOSoft, Inc. All Rights Reserved. Automation Testing Trends Additional Considerations • Different Types of Tests – Tests do not stand in a vacuum – Can be related (e.g., Performance Testing within the Ecosystem) • Performance Testing is Unusual – Time-component dimension – Exploited through automated testing 13
  • 14. XBOSoft, Inc. All Rights Reserved. Automation Testing Trends Software • Part of a system • Needs to be designed to specific requirements … Critical to consider software operation within the larger system. System Complexity 14
  • 15. XBOSoft, Inc. All Rights Reserved. What is it you Really Want to Test? “... the totality of features and characteristics of a product or service that bear on its ability to satisfy stated or implied needs.” "What is Quality | IGI Global." http://www.igi-global.com/dictionary/quality/24254. Accessed 16 Dec. 2016. Quality in Technology is: 15
  • 16. XBOSoft, Inc. All Rights Reserved. What Is It You Really Want to Test (cont.) High Level Software Test Concepts • Smoke Test / Happy Path • Negative / Boundary Tests • Timing/Performance/Load dimension 16
  • 17. XBOSoft, Inc. All Rights Reserved. What Is A Test? ● h1 (Blue) - A happy path, or smoke test, set to test a given function that exists at t=0. ● b1a, b1b (Red) - This outward pressure adds to the smoke test by expanding the test to include additional negative tests using boundary/equivalence value analysis. ● t=0, t=n - used to denote a linear time where the Blue/Red tests can repeatedly execute over the course of the time. ● th1 - shows that, during performance testing, the blue/red tests can repeatedly be performed, but not necessarily at periodic intervals. 17
  • 18. Load Testing Example Stepping Thread Group - Design
  • 19. Load Testing Example Stepping Thread Group - Response Results - Part 1
  • 20. XBOSoft, Inc. All Rights Reserved. What Is a Test? (cont.) Real-World Software System • Simple Example – Box metaphor – Simple – Well organized • Real World – Much more complex 20
  • 21. XBOSoft, Inc. All Rights Reserved. What is a Test (cont.) Multiple Performance Tests - Metaphor 21
  • 22. XBOSoft, Inc. All Rights Reserved. What is a Test? … Where Do You Stand? 22
  • 23. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand Why Drive Load? … Determine capacity bottlenecks for System under test • Key Parameters/Factors – Simultaneous varying inputs – Simultaneous varying conditions • Simulate Production Environment • Run Load Tests to Exceed Requirements – Ensures known level of buffer 23
  • 24. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand Key Prioritization Parameters/Factors XBOSoft Performance Prioritization Matrix 24
  • 25. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand • User – View of Person using application • Platform Section – Function within application under test • Covered in .jmx – Currently a script covering Key Prioritization Parameters/Factors (cont.) 25
  • 26. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand • Usage (XBO) – XBO review of function usage levels • Tier 2 Customer Input (a.k.a. “Customer Service Complaints”) – Generated by end-users – Holds weight as “real customers” – Determine relevance • related to software under evaluation? • related to a load/performance related issue? Key Prioritization Parameters/Factors (cont.) 26
  • 27. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand • Google Analytics Usage % – Most Widely Used Analytics Service – Key insights to activity taking place on site … GA Pageviews Report Key Parameters/Factors (continued) … Behavior Flow Report 27
  • 28. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand Key Parameters/Factors (continued) GA Pageviews Report "How to Use Google Analytics Behavior Reports to Optimize Your ...." 27 Oct. 2014, http://www.socialmediaexaminer.com/google-analytics-behavior-reports/. Accessed 12 Dec. 2016. 28
  • 29. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand Key Parameters/Factors GA Pageviews Report • Simple representation of an application performance – Page Views – Average Time on Page • How Functions/pages are being accessed 29
  • 30. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand Key Parameters/Factors (continued) GA Behavior Flow Report 30
  • 31. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand GA Behavior Flow • Can assist in optimizing the application • Can be directly employed into Performance/ Load Script – Volume – Path • Predictor of future traffic load Key Parameters/Factors (continued) 31
  • 32. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand • Functional Isolation – Knowledge of Software Architecture • Negative Test Required – Required for a given function? – Level and type • General Importance Factor – Stakeholder view of a given function (e.g., monetary transaction, school grades) Key Parameters/Factors (continued) 32
  • 33. XBOSoft, Inc. All Rights Reserved. Knowing Where You Stand ... What Do You Need? 33
  • 34. XBOSoft, Inc. All Rights Reserved. Knowing What You Need • Type of Business • Customer Expectations – 20-minute outage from Amazon costs $3.75 Million – 28% of users will not return to a slow site – 9% of users will not return after an outage. – Bounce rate for pages loading in 2 seconds = 26% – Bounce rate for pages taking more than 10 seconds resulted in 41% Business Requirements "2016 Holiday Retail Insights Report." SOASTA, Performance Is Everything. SOASTA, 2016. Web. … Consumer expectations are increasing. 34
  • 35. XBOSoft, Inc. All Rights Reserved. Knowing What You Need Freedom from Production Servers • Benefits – Limits risk to real customers – Freedom to schedule tests any time – Supports time-dependent tests that can go on for hour • Challenges – Must be properly sized – Must be maintained (e.g., backups, database reconfigurations) Test Application Server 35
  • 36. XBOSoft, Inc. All Rights Reserved. Knowing What You Need JMeter Master/Slave Configurations 36
  • 37. XBOSoft, Inc. All Rights Reserved. Knowing What You Need "How to use distributed JMeter to test netty server performance | Code ...." 29 Mar. 2016, http://shengwangi.blogspot.com/2016/03/how-to-use-distributed-jmeter-to-test-netty.html. JMeter Master/Slave Configuration 37
  • 38. XBOSoft, Inc. All Rights Reserved. Knowing What You Need Benefits • Slaves Offload Master as primary load driver • Emulate users from different areas and locations • Allows graphical real-time viewing on Master of tests in progress JMeter Master/Slave Configuration 38
  • 39. XBOSoft, Inc. All Rights Reserved. Knowing What You Need Application Server 1 JMeter M/S Configuration (Regional) By Thesevenseas (talk) - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=7376761 Application Server 2 JMeter Slaves 39
  • 40. XBOSoft, Inc. All Rights Reserved. Knowing What You Need Benefits • Simple method for driving load to web application servers • Allows test support from centralized location JMeter M/S Configuration (Regional) 40
  • 41. XBOSoft, Inc. All Rights Reserved. Knowing What You Need JMeter M/S Configuration (Multi-Regional) Map By Thesevenseas (talk) - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=7376761 Application Server JMeter Slave JMeter Slave JMeter Slave JMeter Slave JMeter Slave JMeter Slave 41
  • 42. XBOSoft, Inc. All Rights Reserved. Knowing What You Need Benefits • Emulate users from different areas and locations in “real world” scenarios • Allows graphical real-time viewing on Master of tests in progress JMeter M/S Configuration (Multi-Regional) 42
  • 43. XBOSoft, Inc. All Rights Reserved. Knowing What You Need API vs. HTML 43
  • 44. XBOSoft, Inc. All Rights Reserved. Knowing What You Need • Required at the Start of Performance Analysis – Current and anticipated utilization of CPU – memory requirements – disk drive capacity needs • System Profile = System View – >>> should include • Application Server • Performance/load computers • All associated networks System Profile for JMeter 44
  • 45. XBOSoft, Inc. All Rights Reserved. Getting Real Create Realistic Tests • Mirror Production Environment – To the extent practicable • Focus on Critical Areas – Utilize Performance Prioritization Matrix • Beware of Too Test Scripts – Avoid Non-Critical Areas – IDEs create scripts fast (too many?) – Can create test management challenge 45
  • 46. XBOSoft, Inc. All Rights Reserved. Getting Real Standalone Performance Tests Have Merit ... A Game of Statistics …. You can’t test everything 46
  • 47. XBOSoft, Inc. All Rights Reserved. For more, please download: Performance / Load Testing Using JMeter and Google Analytics http://xbosoft.com/knowledge-center/software-testing -white-paper/ Edwin H. Curran @ecurran [email protected] Thank You! 47