Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Performance Testing
for Mobile Apps & Sites
(using open source tools)

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-8...
BlazeMeter
Ophir Prusak
VP Customer Success & Product Evangelist

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-45...
Today’s Agenda
• Current Mobile Trend
• Challenges and Importance of a
Fast Mobile Experience
• Mobile Performance Testing...
Current State of Affairs

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|

info@blazemeter.com
Current State of Affairs
Internet Searches
mobile application
development
mobile application testing
mobile performance te...
Mobile Challenges
Desktop

Mobile

Client

“Standard” Browser

Multitude of clients

Technology

HTML

HTML / Native

Band...
Network Challenges
Latency effect on page load times

Source: http://www.igvita.com/2012/07/19/latency-the-new-web-perform...
Development Life Cycle (old)

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|

info@blazemeter.com
Development Life Cycle (new)

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|

info@blazemeter.com
Performance Testing Solution Walkthrough

Load Testing Steps
•
•
•
•

Record the mobile user scenario
Configure test parame...
Recording a Mobile User
Simulation Techniques
• Browser Spoofing
- Over-ride user-agent string
- Only applicable for mobile...
Setup the Proxy

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|

info@blazemeter.com
Get Your Local IP
Local IP address on a Mac

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|

info@blaze...
Point Device to the Proxy
Defining proxy settings on an iPhone

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2...
Run the App
Real usage of a mobile app (CNN iPhone app)

BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|...
View Requests in JMeter
All of the requests
made by the app.

Request Headers

BlazeMeter.com

|

175 Varick Street NY, NY...
Full Recording of All Data

Different
User Agent
BlazeMeter.com

|

175 Varick Street NY, NY

|

1-855-455-2285

|

info@b...
Load Testing Steps
• Record the mobile user scenario
• Configure the test parameters
• Run test load test
• Analyze the res...
Define Test Parameters
-

Number of Users
Number of Servers
Test Duration
Ramp Up Time
Load Server Geo Location(s)

BlazeM...
Mobile Network Emulation
Define bandwidth and latency for each simulated user

BlazeMeter.com

|

175 Varick Street NY, NY
...
Developer Integrations
-

Plug-ins for integration into agile / continuous integration tools
Full REST API for custom inte...
Load Testing Steps
• Record the mobile user scenario
• Configure the test parameters
• Run test load test
• Analyze the res...
Load Testing Steps
• Record the mobile user scenario
• Configure the test parameters
• Run test load test
• Analyze the res...
Detailed Reporting
-

Performance Testing KPIs
Error Report
Waterfall Report with Detailed Timings
Load Server Monitoring
...
Detailed Reporting
Load Results

APM - New Relic

Real Browser - Selenium

Waterfall

Front End Recommendations

Errors

B...
Thanks!
Thank you for attending.
We’ll send out an email with the recording and the deck.

Q&A
For more information about ...
Upcoming SlideShare
Loading in …5
×

Mobile App Performance Testing with Open Source Tools

22,418 views

Published on

Performance Testing of Mobile Apps and Websites using JMeter, the most popular open source tool for load testing. This deck goes along with a webinar with detailed step-by-step instructions and a real-time demo.

You can view it here:
http://go.blazemeter.com/performance-testing-mobile/

Published in: Technology

Mobile App Performance Testing with Open Source Tools

  1. 1. Performance Testing for Mobile Apps & Sites (using open source tools) BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  2. 2. BlazeMeter Ophir Prusak VP Customer Success & Product Evangelist BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  3. 3. Today’s Agenda • Current Mobile Trend • Challenges and Importance of a Fast Mobile Experience • Mobile Performance Testing Solution Walkthrough • Q&A BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  4. 4. Current State of Affairs BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  5. 5. Current State of Affairs Internet Searches mobile application development mobile application testing mobile performance testing mobile application performance testing BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  6. 6. Mobile Challenges Desktop Mobile Client “Standard” Browser Multitude of clients Technology HTML HTML / Native Bandwidth Fast (1-20 Mb/s) Slow (0.1 Mb/s and up) Latency Small (less than 100ms) Large (100-1000ms) Visual Feedback Immediate After data has loaded* BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  7. 7. Network Challenges Latency effect on page load times Source: http://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottleneck/ BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  8. 8. Development Life Cycle (old) BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  9. 9. Development Life Cycle (new) BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  10. 10. Performance Testing Solution Walkthrough Load Testing Steps • • • • Record the mobile user scenario Configure test parameters Run load test Analyze the results BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  11. 11. Recording a Mobile User Simulation Techniques • Browser Spoofing - Over-ride user-agent string - Only applicable for mobile websites - Does not simulate mobile hardware or functionality • Proxy Recording - Works with almost all mobile apps - Requires setting up mobile device to use a proxy BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  12. 12. Setup the Proxy BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  13. 13. Get Your Local IP Local IP address on a Mac BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  14. 14. Point Device to the Proxy Defining proxy settings on an iPhone BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  15. 15. Run the App Real usage of a mobile app (CNN iPhone app) BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  16. 16. View Requests in JMeter All of the requests made by the app. Request Headers BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  17. 17. Full Recording of All Data Different User Agent BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  18. 18. Load Testing Steps • Record the mobile user scenario • Configure the test parameters • Run test load test • Analyze the results BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  19. 19. Define Test Parameters - Number of Users Number of Servers Test Duration Ramp Up Time Load Server Geo Location(s) BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  20. 20. Mobile Network Emulation Define bandwidth and latency for each simulated user BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  21. 21. Developer Integrations - Plug-ins for integration into agile / continuous integration tools Full REST API for custom integration APM integration for detailed application monitoring Detailed error reporting Fully automated spin up / down of dedicated servers 100% compatible with open source scripting (JMeter) BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  22. 22. Load Testing Steps • Record the mobile user scenario • Configure the test parameters • Run test load test • Analyze the results BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  23. 23. Load Testing Steps • Record the mobile user scenario • Configure the test parameters • Run test load test • Analyze the results BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  24. 24. Detailed Reporting - Performance Testing KPIs Error Report Waterfall Report with Detailed Timings Load Server Monitoring Application Performance Monitoring JMeter Logs BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  25. 25. Detailed Reporting Load Results APM - New Relic Real Browser - Selenium Waterfall Front End Recommendations Errors BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com
  26. 26. Thanks! Thank you for attending. We’ll send out an email with the recording and the deck. Q&A For more information about Performance Testing and JMeter: http://BlazeMeter.com/blog/ support@blazemeter.com @BlazeMeter BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | info@blazemeter.com

×