SlideShare a Scribd company logo
1 of 14
D I S C I P L I N E D I N N O VAT I O N
TEST PERFORMANCE USING CLOUD
Abhinav Maheshwari (Chief Scientist & Director, 3Pillar Labs)
Sayantam Dey (Architect, 3Pillar Labs)
OBJECTIVES
1. What are the benefits of using the cloud for
testing performance over traditional means?
2. What are the various tools available for
cloud based performance testing?
3. How can we use open source load testing
frameworks in the cloud?
4. How to design a custom framework for rapid
testing with large number of concurrent
users?
TRADITIONAL PERFORMANCE TESTING
Load Generation
Server (High end or
multiple servers)
Application Server
Workstation
1. Deploy replica of the
production environment
in the LAN
2. Deploy a high-end
server for generating
load (on the same LAN)
3. Run agents of a load
test tool like JMeter,
Grinder or WAPT
4. Connect remotely to
load generation server
5. Load generation server
collects metrics and
generates reports
CLOUD BASED PERFORMANCE TESTING
Load Generation
Server (High end or
multiple servers)
Application Server
Workstation
Cloud machines
in different
geographies
Application Server
Workstation
BENEFITS OF USING THE CLOUD
Traditional Approach Cloud based Approach
Provisioning physical machines is costly,
specially for medium sized companies
Large number of small, virtual machines
running in bursts, ideal usage of cloud
from a cost perspective
Manual provisioning of load generation
server requires time and effort
Simpler provisioning, can even be
automated using API
Application needs to be deployed in the
same LAN
Application may be hosted at any public IP,
also more realistic from latency point of
view
Not dynamic to address any significant
increase in the performance requirement
Distribute load generation over multiple
instances which can be increased
dynamically
Extremely difficult to simulate
geographically distributed load
Cloud clusters in different geographic
locations can simulate geographically
distributed load





CLOUD APPROACH – CHOICES ?
Commercial Products
1 Record or upload scripts
for usage scenarios using
the web based interface
2 Configure testing
parameters like number of
virtual users, time for test,
etc. through interface
3 Start the test through web
based interface
4 Download reports and
analyze
Open source frameworks
1 Create the required number of VM
instances on the cloud, deploy the chosen
load testing framework
2 Configure all the parameters for the
framework and upload scripts written for
the chosen framework
3 Run agents on the system under test and
then start the test
4 Download reports and analyze
CLOUD APPROACH – CHOICES ?
Commercial Products
1 Record or upload scripts for usage
scenarios using the web based interface
provided by the vendor
2 Configure testing parameters like number
of virtual users, time for test, % allocation
to usage scenarios etc. through interface
3 Start the test through web based interface
4 Download reports and analyze
Open source frameworks
• Very popular, large user base
• Very little programming
knowledge required
• Handles many protocols
• Plugin architecture for
extension
• Requires programming
• Scripting in Jython or Clojure
• Distributed framework
CLOUD APPROACH – CHOICES ?
Commercial Products
• JMeter compatible
• Real time reports
• 10K virtual users x 25 hours
@ $1000
Web Performance
• Selenium IDE scripts
• Real browser or simple
request playback (virtual
user)
• 10K virtual users x 25 hours
@ $3750
• Custom scripts
• Real time analytics
• Custom pricing
Open source frameworks
Only few frameworks are mature enough
to work over the cloud
Only the cost of cloud infrastructure, which
is much less expensive
Completely flexible as scripting is done
through open APIs
Can only be used through command line,
user has to care about calculating VM
requirement, creation and closure
Reports are basic and sometimes not
helpful
A CUSTOM FRAMEWORK?
Commercial Products
Not many choices since there are only a
few products in the market
May prove to be expensive for repeated
load testing
May use recording or proprietary scripting,
which may not be fully flexible
Provide web-based interface to directly run
tests without worrying about virtual
machines
Provide easy to use reports


 X

Sizable investment - Suitable for organizations needing repeated performance tests
CASE STUDY - HAILSTORM
Configuration
 JMeter
 Amazon
 SUT Provisioning Manager
JMeter
Scripts
Script Manager
JMeter Controller
Data Collector
Report Engine
- JFreeChart
AMI
- JMeter
- JRE
Agent
System Under Test (SUT)
Agent
Agent
H
T
T
P
CASE STUDY - HAILSTORM
Observations
Sharp rise in response time
for over 50 users
“Detail Page” degrades
significantly for 75 users and
above
System is stable but peaks
out at 75 concurrent users
and starts degrading at 100
users
Maximum throughput of 3.2
transactions per second at 75
users is low
© Copyright 2012 3PILLAR GLOBAL All rights reserved 12
Sample Report Summary
CASE STUDY - HAILSTORM
© Copyright 2012 3PILLAR GLOBAL All rights reserved 13
Page Response
time Avg.
(ms)
Response
time 90tile
(ms)
% errors
Home Page 1384 2293 0.0
Login Page 559 764 0.0
Login 1050 1740 0.0
Browse 1996 2898 0.25
Category
Browsing
2553 3601 0.0
Detail Page 5368 7231 0.27
Search 2054 2948 0.0
Sample Report for one iteration
CASE STUDY - HAILSTORM
• Application
– A leading provider of online classroom and instruction
solutions
• Key Challenge
– Required simulation of 40,000 concurrent users
– Rapid and cost effective solution to capture load
metrics for large number of concurrent users
• The Solution
– Different JMeter scripts/plans seamlessly integrated
– Engaging reports pointing out bottlenecks generated

More Related Content

Similar to Test Strategy For Future Cloud Architecture

Performance testingfromthecloud_usingBlazemeter
Performance testingfromthecloud_usingBlazemeterPerformance testingfromthecloud_usingBlazemeter
Performance testingfromthecloud_usingBlazemeterMohit Verma
 
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...IBM Systems UKI
 
V mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationV mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationsolarisyourep
 
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
 Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...Skytap Cloud
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance TestingAtul Pant
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxssuser20fcbe
 
Harbour IT & VMware - vForum 2010 Wrap
Harbour IT & VMware - vForum 2010 WrapHarbour IT & VMware - vForum 2010 Wrap
Harbour IT & VMware - vForum 2010 WrapHarbourIT
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runnertelab
 
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver VMworld
 
Service Virtualization: Delivering Complex Test Environments on Demand
Service Virtualization: Delivering Complex Test Environments on DemandService Virtualization: Delivering Complex Test Environments on Demand
Service Virtualization: Delivering Complex Test Environments on DemandErika Barron
 
Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Michael Elder
 
Java Development on Bluemix
Java Development on BluemixJava Development on Bluemix
Java Development on BluemixRam Vennam
 
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010TEST Huddle
 
Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Hima Bindu Kosuru
 
Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...IBM UrbanCode Products
 
Creating Complete Test Environments in the Cloud: Skytap & Parasoft Webinar
Creating Complete Test Environments in the Cloud: Skytap & Parasoft WebinarCreating Complete Test Environments in the Cloud: Skytap & Parasoft Webinar
Creating Complete Test Environments in the Cloud: Skytap & Parasoft WebinarSkytap Cloud
 

Similar to Test Strategy For Future Cloud Architecture (20)

Madrid meetup #7 deployment models
Madrid meetup #7   deployment modelsMadrid meetup #7   deployment models
Madrid meetup #7 deployment models
 
Performance testingfromthecloud_usingBlazemeter
Performance testingfromthecloud_usingBlazemeterPerformance testingfromthecloud_usingBlazemeter
Performance testingfromthecloud_usingBlazemeter
 
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
 
V mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationV mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentation
 
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
 Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S... Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
Tips to achieve continuous integration/delivery using HP ALM, Jenkins, and S...
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
 
Harbour IT & VMware - vForum 2010 Wrap
Harbour IT & VMware - vForum 2010 WrapHarbour IT & VMware - vForum 2010 Wrap
Harbour IT & VMware - vForum 2010 Wrap
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
 
Load Runner
Load RunnerLoad Runner
Load Runner
 
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
VMworld 2013: How to Replace Websphere Application Server (WAS) with TCserver
 
Service Virtualization: Delivering Complex Test Environments on Demand
Service Virtualization: Delivering Complex Test Environments on DemandService Virtualization: Delivering Complex Test Environments on Demand
Service Virtualization: Delivering Complex Test Environments on Demand
 
Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros
 
Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)Enterprise Cloud with IBM & Chef (ChefConf 2013)
Enterprise Cloud with IBM & Chef (ChefConf 2013)
 
Java Development on Bluemix
Java Development on BluemixJava Development on Bluemix
Java Development on Bluemix
 
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
Frank Cohen - Are We Ready For Cloud Testing - EuroSTAR 2010
 
Load testing
Load testingLoad testing
Load testing
 
Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter
 
Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...Improving Software Delivery with DevOps & Software Defined Environments | The...
Improving Software Delivery with DevOps & Software Defined Environments | The...
 
Creating Complete Test Environments in the Cloud: Skytap & Parasoft Webinar
Creating Complete Test Environments in the Cloud: Skytap & Parasoft WebinarCreating Complete Test Environments in the Cloud: Skytap & Parasoft Webinar
Creating Complete Test Environments in the Cloud: Skytap & Parasoft Webinar
 

Recently uploaded

Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxFIDO Alliance
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxFIDO Alliance
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdfMuhammad Subhan
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...ScyllaDB
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimaginedpanagenda
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Skynet Technologies
 

Recently uploaded (20)

Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 

Test Strategy For Future Cloud Architecture

  • 1. D I S C I P L I N E D I N N O VAT I O N TEST PERFORMANCE USING CLOUD Abhinav Maheshwari (Chief Scientist & Director, 3Pillar Labs) Sayantam Dey (Architect, 3Pillar Labs)
  • 2. OBJECTIVES 1. What are the benefits of using the cloud for testing performance over traditional means? 2. What are the various tools available for cloud based performance testing? 3. How can we use open source load testing frameworks in the cloud? 4. How to design a custom framework for rapid testing with large number of concurrent users?
  • 3. TRADITIONAL PERFORMANCE TESTING Load Generation Server (High end or multiple servers) Application Server Workstation 1. Deploy replica of the production environment in the LAN 2. Deploy a high-end server for generating load (on the same LAN) 3. Run agents of a load test tool like JMeter, Grinder or WAPT 4. Connect remotely to load generation server 5. Load generation server collects metrics and generates reports
  • 4.
  • 5. CLOUD BASED PERFORMANCE TESTING Load Generation Server (High end or multiple servers) Application Server Workstation Cloud machines in different geographies Application Server Workstation
  • 6. BENEFITS OF USING THE CLOUD Traditional Approach Cloud based Approach Provisioning physical machines is costly, specially for medium sized companies Large number of small, virtual machines running in bursts, ideal usage of cloud from a cost perspective Manual provisioning of load generation server requires time and effort Simpler provisioning, can even be automated using API Application needs to be deployed in the same LAN Application may be hosted at any public IP, also more realistic from latency point of view Not dynamic to address any significant increase in the performance requirement Distribute load generation over multiple instances which can be increased dynamically Extremely difficult to simulate geographically distributed load Cloud clusters in different geographic locations can simulate geographically distributed load     
  • 7. CLOUD APPROACH – CHOICES ? Commercial Products 1 Record or upload scripts for usage scenarios using the web based interface 2 Configure testing parameters like number of virtual users, time for test, etc. through interface 3 Start the test through web based interface 4 Download reports and analyze
  • 8. Open source frameworks 1 Create the required number of VM instances on the cloud, deploy the chosen load testing framework 2 Configure all the parameters for the framework and upload scripts written for the chosen framework 3 Run agents on the system under test and then start the test 4 Download reports and analyze CLOUD APPROACH – CHOICES ? Commercial Products 1 Record or upload scripts for usage scenarios using the web based interface provided by the vendor 2 Configure testing parameters like number of virtual users, time for test, % allocation to usage scenarios etc. through interface 3 Start the test through web based interface 4 Download reports and analyze
  • 9. Open source frameworks • Very popular, large user base • Very little programming knowledge required • Handles many protocols • Plugin architecture for extension • Requires programming • Scripting in Jython or Clojure • Distributed framework CLOUD APPROACH – CHOICES ? Commercial Products • JMeter compatible • Real time reports • 10K virtual users x 25 hours @ $1000 Web Performance • Selenium IDE scripts • Real browser or simple request playback (virtual user) • 10K virtual users x 25 hours @ $3750 • Custom scripts • Real time analytics • Custom pricing
  • 10. Open source frameworks Only few frameworks are mature enough to work over the cloud Only the cost of cloud infrastructure, which is much less expensive Completely flexible as scripting is done through open APIs Can only be used through command line, user has to care about calculating VM requirement, creation and closure Reports are basic and sometimes not helpful A CUSTOM FRAMEWORK? Commercial Products Not many choices since there are only a few products in the market May prove to be expensive for repeated load testing May use recording or proprietary scripting, which may not be fully flexible Provide web-based interface to directly run tests without worrying about virtual machines Provide easy to use reports    X  Sizable investment - Suitable for organizations needing repeated performance tests
  • 11. CASE STUDY - HAILSTORM Configuration  JMeter  Amazon  SUT Provisioning Manager JMeter Scripts Script Manager JMeter Controller Data Collector Report Engine - JFreeChart AMI - JMeter - JRE Agent System Under Test (SUT) Agent Agent H T T P
  • 12. CASE STUDY - HAILSTORM Observations Sharp rise in response time for over 50 users “Detail Page” degrades significantly for 75 users and above System is stable but peaks out at 75 concurrent users and starts degrading at 100 users Maximum throughput of 3.2 transactions per second at 75 users is low © Copyright 2012 3PILLAR GLOBAL All rights reserved 12 Sample Report Summary
  • 13. CASE STUDY - HAILSTORM © Copyright 2012 3PILLAR GLOBAL All rights reserved 13 Page Response time Avg. (ms) Response time 90tile (ms) % errors Home Page 1384 2293 0.0 Login Page 559 764 0.0 Login 1050 1740 0.0 Browse 1996 2898 0.25 Category Browsing 2553 3601 0.0 Detail Page 5368 7231 0.27 Search 2054 2948 0.0 Sample Report for one iteration
  • 14. CASE STUDY - HAILSTORM • Application – A leading provider of online classroom and instruction solutions • Key Challenge – Required simulation of 40,000 concurrent users – Rapid and cost effective solution to capture load metrics for large number of concurrent users • The Solution – Different JMeter scripts/plans seamlessly integrated – Engaging reports pointing out bottlenecks generated

Editor's Notes

  1. Load Distribution Load Generation Merge Results Generate Reports
  2. Load Distribution Load Generation Merge Results Generate Reports
  3. Separate slide for subscription
  4. Demo Reports Success stories