SlideShare a Scribd company logo
How 
to 
Run 
a 
Test 
for 
1M 
Users 
Backend 
Tes6ng 
(Mobile, 
Web 
& 
API) 
Alon Girmonsky 
Founder & CEO 
785 Castro Street, Mountain View, CA 94041 | 1.855.445.2285 | info@blazemeter.com
Are 
You 
Sure? 
• Question: Do you really need to test a 
concurrency level of 1M users? 
Answer: 
a. I only need 1M named users 
b. I really expect to have 1M concurrent open 
sessions 
c. I don’t know 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Things 
to 
Consider 
• The Script 
• The Performance Lab 
• Running the Test 
• Understanding the Results 
• Test Iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Things 
to 
Consider 
• The Script 
• The Performance Lab 
• Running the Test 
• Understanding the Results 
• Test Iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
How 
Do 
I 
Write 
the 
Script? 
Comprehensive ScripGng at Your FingerGps 
HTTP 
/ 
HTTPS 
Login 
/ 
Signup 
Form 
POSTing 
/ 
Credit 
Card 
Transac6ons 
Rest 
/ 
Web 
Services 
/ 
JSON 
Parameters 
Extrac6on 
( 
JSON 
/ 
RegEx 
/ 
Xpath 
) 
Mobile 
Mongo, 
MSSQL, 
Oracle 
SQL, 
MySQL 
Mul6ple 
User 
Profiles 
JMeter is the most commonly used open source web, mobile and API 
backend tesGng soluGon. BlazeMeter is 100% compaGble with JMeter 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Apache 
JMeter 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Things 
to 
Consider 
ü The Script 
• The Performance Lab 
• Running the Test 
• Understanding the Results 
• Test Iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
The 
Performance 
Lab 
Challenges 
(1/3) 
• Resources. Are they: 
– Sufficient? 
– Strong? 
– Dedicated? 
• Bandwidth 
– Can I saturate my system? 
– Is the load network stable? 
• Throughput 
– Can I generate enough hits per second? 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
The 
Performance 
Lab 
Challenges 
(2/3) 
• Load Distribution 
– Will the load be evenly distributed across 
resources? 
• CDNs 
– Am I testing a CDN (e.g. Akamai)? 
– Is the test realistic? 
– Will I avoid traffic shaping? 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
The 
Performance 
Lab 
Challenges 
(3/3) 
• DDOS 
– Can I avoid triggering DDOS mechanisms? 
• Load Balancers 
– Can I handle the load balancers properly (e.g. 
close TCP connections on time)? 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
The 
JMeter 
Super 
Computer 
4,400 
CPU 
Cores 
& 
16.5 
TB 
of 
Memory 
= 
1M 
Users 
Load 
Engine 
Type: 
m3.xlarge 
CPU: 
4 
Cores 
Memory: 
15 
GB 
BW: 
100Mbps 
Max 
TPS: 
1K 
1,000 
X 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
The 
JMeter 
Super 
Computer 
4,400 
CPU 
Cores 
& 
16.5 
TB 
of 
Memory 
= 
1M 
Users 
Load 
Cluster 
= 
Console 
+ 
10 
Engines 
1+10 
X 
Load 
Engine 
Type: 
m3.xlarge 
CPU: 
4 
Cores 
Memory: 
15 
GB 
BW: 
100Mbps 
Max 
TPS: 
1K 
CPU: 
44 
Cores 
Mem: 
165 
GB 
BW: 
1 
Gbps 
M/TPS: 
10K 
1,000 
X 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
The 
JMeter 
Super 
Computer 
4,400 
CPU 
Cores 
& 
16.5 
TB 
of 
Memory 
Super 
Cluster 
= 
100 
X 
Load 
Clusters 
= 
1M 
Users 
Load 
Cluster 
= 
Console 
+ 
10 
Engines 
1+10 
X 
Load 
Engine 
Type: 
m3.xlarge 
CPU: 
4 
Cores 
Memory: 
15 
GB 
BW: 
100Mbps 
Max 
TPS: 
1K 
CPU: 
44 
Cores 
Mem: 
165 
GB 
BW: 
1 
Gbps 
M/TPS: 
10K 
100 
X 
CPU: 
4,400 
Cores 
Mem: 
16.5 
TB 
BW: 
100 
Gbps 
M/TPS: 
1M 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Performance 
Lab 
in 
a 
Box 
Up 
to 
1M 
Users, 
Mul6 
GEO, 
100% 
Apache 
JMeter 
Compa6ble 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Things 
to 
Consider 
ü The Script 
ü The Performance Lab 
• Running the Test 
• Understanding the Results 
• Test Iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Running 
the 
Test 
Challenges 
• Time-to-test should be minutes 
• Synchronizing all the servers to start at once 
• Crunching the data 
– 4GB of data per hour 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Running 
a 
Test 
With 
1M 
Users 
Time-­‐to-­‐Test 
< 
2 
Minutes 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Things 
to 
Consider 
ü The Script 
ü The Performance Lab 
ü Running the Test 
• Understanding the Results 
• Test Iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
What 
To 
Look 
For 
"We'd like to squeeze in a load test for XXXX's biggest event of the year, the 
Fantasy Football season. Our best opportunity to execute this is tonight at 
3-7am EST. We'd like to generate a constant 40,000 hits/sec for about 1 
hour. .." 
“This would have been a disaster for our 
most important day of the year. BlazeMeter 
really saved our bacon here. …. and kudos on 
the success!" 
Tradi6onally 
this 
would 
have 
taken 
weeks 
and 
cost 
$$$ 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Running 
a 
Test 
With 
1M 
Users 
Time-­‐to-­‐Test 
< 
2 
Minutes 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
What 
To 
Look 
For 
The 
Load 
Sensi6vity 
Point 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
NewRelic 
Integra6on 
Capture Monitoring Data 
Capture Load Testing Data 
Ask the Test Data any Question 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Things 
to 
Consider 
ü The Script 
ü The Performance Lab 
ü Running the Test 
ü Understanding the Results 
• Test Iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Run 
Load 
Test 
Analyze 
Client 
Performance 
Analyze 
Server 
Performance 
Performance 
Op6miza6on 
Run 
as 
Many 
Itera6ons 
as 
Needed 
– 
and 
More! 
Update 
Back 
End 
Code 
/ 
Infrastructure 
• Load + Results 
• Look outside & within 
– App KPIs 
– Load KPIs 
• Run hundreds of 
iterations 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
Tes6ng 
Can 
Save 
Your 
Day! 
Made 
for 
Developers, 
Time-­‐to-­‐Test 
< 
2 
min 
• Run dozens to hundreds of test iterations 
• Run once, then automate 
• Test continuously 
Ø A Superior Product 
Ø A Faster Release Cycle 
785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
THANK 
YOU 
FOR 
YOUR 
TIME! 
Q 
& 
A 
For more information: 
BlazeMeter.com/blog/ 
info@blazemeter.com 
@BlazeMeter

More Related Content

What's hot

The way to set automation testing
The way to set automation testingThe way to set automation testing
The way to set automation testing
Duy Tan Geek
 
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAXAlpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Richard Rabins
 
Automated Web App Performance Testing Using WebDriver
Automated Web App Performance Testing Using WebDriverAutomated Web App Performance Testing Using WebDriver
Automated Web App Performance Testing Using WebDriver
seleniumconf
 

What's hot (20)

Scalable load testing using jmeter in cloud
Scalable load testing using jmeter in cloudScalable load testing using jmeter in cloud
Scalable load testing using jmeter in cloud
 
Arquillian & Citrus
Arquillian & CitrusArquillian & Citrus
Arquillian & Citrus
 
Profilling client performance
Profilling client performanceProfilling client performance
Profilling client performance
 
The way to set automation testing
The way to set automation testingThe way to set automation testing
The way to set automation testing
 
Revisiting HTTP/2
Revisiting HTTP/2Revisiting HTTP/2
Revisiting HTTP/2
 
Large Scale Load Testing Amazon.com’s Traffic on AWS (CPN102) | AWS re:Invent...
Large Scale Load Testing Amazon.com’s Traffic on AWS (CPN102) | AWS re:Invent...Large Scale Load Testing Amazon.com’s Traffic on AWS (CPN102) | AWS re:Invent...
Large Scale Load Testing Amazon.com’s Traffic on AWS (CPN102) | AWS re:Invent...
 
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAXAlpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
Alpha Five v10.NEW APPLICATION SERVER. CODELESS AJAX
 
Automated Web App Performance Testing Using WebDriver
Automated Web App Performance Testing Using WebDriverAutomated Web App Performance Testing Using WebDriver
Automated Web App Performance Testing Using WebDriver
 
how to mesure web performance metrics
how to mesure web performance metricshow to mesure web performance metrics
how to mesure web performance metrics
 
Dyna trace
Dyna traceDyna trace
Dyna trace
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
 
Performance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSPerformance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWS
 
Gatling workshop lets test17
Gatling workshop lets test17Gatling workshop lets test17
Gatling workshop lets test17
 
Care and feeding notes
Care and feeding notesCare and feeding notes
Care and feeding notes
 
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
Autoscaled Distributed Automation using AWS at Selenium London MeetUpAutoscaled Distributed Automation using AWS at Selenium London MeetUp
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
 
Load-testing 101 for Startups with Artillery.io
Load-testing 101 for Startups with Artillery.ioLoad-testing 101 for Startups with Artillery.io
Load-testing 101 for Startups with Artillery.io
 
Governor limits
Governor limitsGovernor limits
Governor limits
 
Web api scalability and performance
Web api scalability and performanceWeb api scalability and performance
Web api scalability and performance
 
Load Testing using Continuous Integration tools
Load Testing using Continuous Integration toolsLoad Testing using Continuous Integration tools
Load Testing using Continuous Integration tools
 
Autoscaled Distributed Automation Expedia Know How
Autoscaled Distributed Automation Expedia Know HowAutoscaled Distributed Automation Expedia Know How
Autoscaled Distributed Automation Expedia Know How
 

Viewers also liked

How to Analyze Reports in Jmeter
How to Analyze Reports in JmeterHow to Analyze Reports in Jmeter
How to Analyze Reports in Jmeter
Viviana Lesmes
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
Bhojan Rajan
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And Maven
PerconaPerformance
 

Viewers also liked (20)

Load Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSLoad Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWS
 
How to Analyze Reports in Jmeter
How to Analyze Reports in JmeterHow to Analyze Reports in Jmeter
How to Analyze Reports in Jmeter
 
Performance testing and reporting with JMeter
Performance testing and reporting with JMeterPerformance testing and reporting with JMeter
Performance testing and reporting with JMeter
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
B wapp – bee bug – installation
B wapp – bee bug – installationB wapp – bee bug – installation
B wapp – bee bug – installation
 
Jmeter From Scratch
Jmeter From ScratchJmeter From Scratch
Jmeter From Scratch
 
JMeter workshop
JMeter workshopJMeter workshop
JMeter workshop
 
Load testing jmeter
Load testing jmeterLoad testing jmeter
Load testing jmeter
 
"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session"Introduction to JMeter" @ CPTM 3rd Session
"Introduction to JMeter" @ CPTM 3rd Session
 
JMeter
JMeterJMeter
JMeter
 
Introduction to Jmeter
Introduction to JmeterIntroduction to Jmeter
Introduction to Jmeter
 
Automated Performance Testing With J Meter And Maven
Automated  Performance  Testing With  J Meter And  MavenAutomated  Performance  Testing With  J Meter And  Maven
Automated Performance Testing With J Meter And Maven
 
Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...
Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...
Tests for Every Branch Using CircleCI and Sauce Labs to Continuously Test CS ...
 
How To Add Any Feature To Your Selenium Grid
How To Add Any Feature To Your Selenium GridHow To Add Any Feature To Your Selenium Grid
How To Add Any Feature To Your Selenium Grid
 
Combining Front-End and Backend Testing with Sauce Labs & BlazeMeter
Combining Front-End and Backend Testing with Sauce Labs & BlazeMeterCombining Front-End and Backend Testing with Sauce Labs & BlazeMeter
Combining Front-End and Backend Testing with Sauce Labs & BlazeMeter
 
Using Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solutionUsing Jenkins and Jmeter to build a scalable Load Testing solution
Using Jenkins and Jmeter to build a scalable Load Testing solution
 
Continuous Testing of eCommerce Apps
Continuous Testing of eCommerce AppsContinuous Testing of eCommerce Apps
Continuous Testing of eCommerce Apps
 
The Journey to Devops: From Waterfall to Continuous Integration
The Journey to Devops: From Waterfall to Continuous IntegrationThe Journey to Devops: From Waterfall to Continuous Integration
The Journey to Devops: From Waterfall to Continuous Integration
 
Automation - Apache JMeter
Automation - Apache JMeterAutomation - Apache JMeter
Automation - Apache JMeter
 
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs WebinarHow To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
 

Similar to How to Run a 1,000,000 VU Load Test using Apache JMeter and BlazeMeter

Performance Engineering Sterling MCS-OM - An Accenture Capability (3)
Performance Engineering Sterling MCS-OM - An Accenture Capability (3)Performance Engineering Sterling MCS-OM - An Accenture Capability (3)
Performance Engineering Sterling MCS-OM - An Accenture Capability (3)
Guruprasad Nagaraja
 
System and User Aspects of Web Search Latency
System and User Aspects of Web Search LatencySystem and User Aspects of Web Search Latency
System and User Aspects of Web Search Latency
Telefonica Research
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Kristofferson A
 
ITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just Began
ITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just BeganITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just Began
ITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just Began
ITCamp
 

Similar to How to Run a 1,000,000 VU Load Test using Apache JMeter and BlazeMeter (20)

[DSC Europe 23] Vladimir Ageev - From Tables to Answers: building QA System f...
[DSC Europe 23] Vladimir Ageev - From Tables to Answers: building QA System f...[DSC Europe 23] Vladimir Ageev - From Tables to Answers: building QA System f...
[DSC Europe 23] Vladimir Ageev - From Tables to Answers: building QA System f...
 
V4 Sequencing Reagent Experience
V4 Sequencing Reagent ExperienceV4 Sequencing Reagent Experience
V4 Sequencing Reagent Experience
 
Faisal Aziz CV
Faisal Aziz CVFaisal Aziz CV
Faisal Aziz CV
 
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/DayDatadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
 
Performance Engineering Sterling MCS-OM - An Accenture Capability (3)
Performance Engineering Sterling MCS-OM - An Accenture Capability (3)Performance Engineering Sterling MCS-OM - An Accenture Capability (3)
Performance Engineering Sterling MCS-OM - An Accenture Capability (3)
 
How to Un-Flake Flaky Tests - A New Hire's Toolkit
How to Un-Flake Flaky Tests - A New Hire's ToolkitHow to Un-Flake Flaky Tests - A New Hire's Toolkit
How to Un-Flake Flaky Tests - A New Hire's Toolkit
 
System and User Aspects of Web Search Latency
System and User Aspects of Web Search LatencySystem and User Aspects of Web Search Latency
System and User Aspects of Web Search Latency
 
Resilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes BackResilience Planning & How the Empire Strikes Back
Resilience Planning & How the Empire Strikes Back
 
qTest 7.4: New Features
qTest 7.4: New FeaturesqTest 7.4: New Features
qTest 7.4: New Features
 
Andrew rusling 21 experiments to increase velocity
Andrew rusling 21 experiments to increase velocityAndrew rusling 21 experiments to increase velocity
Andrew rusling 21 experiments to increase velocity
 
21 experiments to increase velocity
21 experiments to increase velocity21 experiments to increase velocity
21 experiments to increase velocity
 
Agile, Cloud Computing, Open Source and what's in between
Agile, Cloud Computing, Open Source and what's in between Agile, Cloud Computing, Open Source and what's in between
Agile, Cloud Computing, Open Source and what's in between
 
Building Products Quantitatively
Building Products QuantitativelyBuilding Products Quantitatively
Building Products Quantitatively
 
Expect the unexpected: Prepare for failures in microservices
Expect the unexpected: Prepare for failures in microservicesExpect the unexpected: Prepare for failures in microservices
Expect the unexpected: Prepare for failures in microservices
 
Optimizing Uptime in SOA
Optimizing Uptime in SOAOptimizing Uptime in SOA
Optimizing Uptime in SOA
 
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RACPerformance Scenario: Diagnosing and resolving sudden slow down on two node RAC
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
 
ITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just Began
ITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just BeganITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just Began
ITCamp 2013 - Tobiasz Koprowski - 2AM A Disaster Just Began
 
KoprowskiT_it_camp2013 - 2amADisasterJustBegan
KoprowskiT_it_camp2013 - 2amADisasterJustBeganKoprowskiT_it_camp2013 - 2amADisasterJustBegan
KoprowskiT_it_camp2013 - 2amADisasterJustBegan
 
Scaling for Success: Lessons from handling peak loads on Azure with NServiceBus
Scaling for Success: Lessons from handling peak loads on Azure with NServiceBusScaling for Success: Lessons from handling peak loads on Azure with NServiceBus
Scaling for Success: Lessons from handling peak loads on Azure with NServiceBus
 
Escaping Test Hell - Our Journey - XPDays Ukraine 2013
Escaping Test Hell - Our Journey - XPDays Ukraine 2013Escaping Test Hell - Our Journey - XPDays Ukraine 2013
Escaping Test Hell - Our Journey - XPDays Ukraine 2013
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 

How to Run a 1,000,000 VU Load Test using Apache JMeter and BlazeMeter

  • 1. How to Run a Test for 1M Users Backend Tes6ng (Mobile, Web & API) Alon Girmonsky Founder & CEO 785 Castro Street, Mountain View, CA 94041 | 1.855.445.2285 | info@blazemeter.com
  • 2. Are You Sure? • Question: Do you really need to test a concurrency level of 1M users? Answer: a. I only need 1M named users b. I really expect to have 1M concurrent open sessions c. I don’t know 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 3. Things to Consider • The Script • The Performance Lab • Running the Test • Understanding the Results • Test Iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 4. Things to Consider • The Script • The Performance Lab • Running the Test • Understanding the Results • Test Iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 5. How Do I Write the Script? Comprehensive ScripGng at Your FingerGps HTTP / HTTPS Login / Signup Form POSTing / Credit Card Transac6ons Rest / Web Services / JSON Parameters Extrac6on ( JSON / RegEx / Xpath ) Mobile Mongo, MSSQL, Oracle SQL, MySQL Mul6ple User Profiles JMeter is the most commonly used open source web, mobile and API backend tesGng soluGon. BlazeMeter is 100% compaGble with JMeter 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 6. Apache JMeter 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 7. Things to Consider ü The Script • The Performance Lab • Running the Test • Understanding the Results • Test Iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 8. The Performance Lab Challenges (1/3) • Resources. Are they: – Sufficient? – Strong? – Dedicated? • Bandwidth – Can I saturate my system? – Is the load network stable? • Throughput – Can I generate enough hits per second? 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 9. The Performance Lab Challenges (2/3) • Load Distribution – Will the load be evenly distributed across resources? • CDNs – Am I testing a CDN (e.g. Akamai)? – Is the test realistic? – Will I avoid traffic shaping? 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 10. The Performance Lab Challenges (3/3) • DDOS – Can I avoid triggering DDOS mechanisms? • Load Balancers – Can I handle the load balancers properly (e.g. close TCP connections on time)? 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 11. The JMeter Super Computer 4,400 CPU Cores & 16.5 TB of Memory = 1M Users Load Engine Type: m3.xlarge CPU: 4 Cores Memory: 15 GB BW: 100Mbps Max TPS: 1K 1,000 X 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 12. The JMeter Super Computer 4,400 CPU Cores & 16.5 TB of Memory = 1M Users Load Cluster = Console + 10 Engines 1+10 X Load Engine Type: m3.xlarge CPU: 4 Cores Memory: 15 GB BW: 100Mbps Max TPS: 1K CPU: 44 Cores Mem: 165 GB BW: 1 Gbps M/TPS: 10K 1,000 X 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 13. The JMeter Super Computer 4,400 CPU Cores & 16.5 TB of Memory Super Cluster = 100 X Load Clusters = 1M Users Load Cluster = Console + 10 Engines 1+10 X Load Engine Type: m3.xlarge CPU: 4 Cores Memory: 15 GB BW: 100Mbps Max TPS: 1K CPU: 44 Cores Mem: 165 GB BW: 1 Gbps M/TPS: 10K 100 X CPU: 4,400 Cores Mem: 16.5 TB BW: 100 Gbps M/TPS: 1M 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 14. Performance Lab in a Box Up to 1M Users, Mul6 GEO, 100% Apache JMeter Compa6ble 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 15. Things to Consider ü The Script ü The Performance Lab • Running the Test • Understanding the Results • Test Iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 16. Running the Test Challenges • Time-to-test should be minutes • Synchronizing all the servers to start at once • Crunching the data – 4GB of data per hour 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 17. Running a Test With 1M Users Time-­‐to-­‐Test < 2 Minutes 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 18. Things to Consider ü The Script ü The Performance Lab ü Running the Test • Understanding the Results • Test Iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 19. What To Look For "We'd like to squeeze in a load test for XXXX's biggest event of the year, the Fantasy Football season. Our best opportunity to execute this is tonight at 3-7am EST. We'd like to generate a constant 40,000 hits/sec for about 1 hour. .." “This would have been a disaster for our most important day of the year. BlazeMeter really saved our bacon here. …. and kudos on the success!" Tradi6onally this would have taken weeks and cost $$$ 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 20. Running a Test With 1M Users Time-­‐to-­‐Test < 2 Minutes 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 21. What To Look For The Load Sensi6vity Point 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 22. NewRelic Integra6on Capture Monitoring Data Capture Load Testing Data Ask the Test Data any Question 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 23. Things to Consider ü The Script ü The Performance Lab ü Running the Test ü Understanding the Results • Test Iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 24. Run Load Test Analyze Client Performance Analyze Server Performance Performance Op6miza6on Run as Many Itera6ons as Needed – and More! Update Back End Code / Infrastructure • Load + Results • Look outside & within – App KPIs – Load KPIs • Run hundreds of iterations 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 25. Tes6ng Can Save Your Day! Made for Developers, Time-­‐to-­‐Test < 2 min • Run dozens to hundreds of test iterations • Run once, then automate • Test continuously Ø A Superior Product Ø A Faster Release Cycle 785 Castro Street, Mountain View, CA 94041|1.855.445.2285|info@blazemeter.com @blazemeter
  • 26. THANK YOU FOR YOUR TIME! Q & A For more information: BlazeMeter.com/blog/ info@blazemeter.com @BlazeMeter