how to test performance of your mobile apps in 20 minutes

26
BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected] Load Testing Mobile Sites and Apps Made Easy (using open source compatible and cloud based solutions)

Upload: acquia

Post on 09-May-2015

1.176 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Load Testing Mobile Sites and Apps Made Easy(using open source compatible and

cloud based solutions)

Page 2: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

BlazeMeterOphir Prusak Customer Satisfaction & Education

Page 3: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Today’s Agenda

• The Current State of Affairs

• Challenges and the Importance of a Fast Mobile Experience

• Mobile Testing Solution Walkthrough

• Q&A

Page 4: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Current State of Affairs

Page 5: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Current State of Affairs

Internet Searches

mobile applicationdevelopment

mobile application testing

mobile performance testing

mobile application performance testing

Page 6: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

mobile performance testing

Current State of Affairs

Internet Searches

Page 7: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

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*

Page 8: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Network Challenges

Latency effect on page load times

Source: http://www.igvita.com/2012/07/19/latency-the-new-web-performance-bottleneck/

Page 9: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Development Life Cycle

Page 10: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Development Life Cycle

Page 11: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Performance Testing Solution Walkthrough

Load Testing Steps• Record the mobile user scenario• Configure test parameters• Run load test• Analyze the results

Page 12: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

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

Page 13: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Setup the Proxy

Page 14: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Get Your Local IP

Local IP address on a Mac

Page 15: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Point Device to the Proxy

Defining proxy settings on an iPhone

Page 16: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Run the App

Real usage of a mobile app (CNN iPhone app)

Page 17: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

View Requests in JMeterAll of the requests made by the app.

Request Headers

Page 18: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Full Recording of All Data

DifferentUser Agent

Page 19: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Load Testing Steps

• Record the mobile user scenario• Configure the test parameters• Run test load test• Analyze the results

Page 20: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Define Test Parameters

- Number of Users - Number of Servers- Test Duration- Ramp Up Time- Load Server Geo Location- Custom DNS- Private IPs- Aggregation of Multiple Tests

Run in Parallel

Page 21: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Mobile Network Emulation

Define bandwidth and latency for each simulated user

Page 22: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

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)

Page 23: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Load Testing Steps

• Record the mobile user scenario• Configure the test parameters• Run test load test• Analyze the results

Page 24: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Load Testing Steps

• Record the mobile user scenario• Configure the test parameters• Run test load test• Analyze the results

Page 25: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Detailed Reporting- Performance Testing KPIs- Waterfall Report with Detailed Timings- Error Report- Real Browser Timings with Selenium- Server Monitoring- Front End Page Speed Recommendations- Application Performance Monitoring- JMeter Logs

Page 26: How to Test Performance of Your Mobile Apps in 20 Minutes

BlazeMeter.com | 175 Varick Street NY, NY | 1-855-455-2285 | [email protected]

Detailed ReportingLoad Results APM - New Relic Real Browser - Selenium

Waterfall Front End Recommendations Errors