Run massively scalable performance tests on web, mobile, and APIs

Request a Demo
May. 28th, 2015

A Step by Step Guide to Performance Testing on Native Mobile Apps

Let’s face it - testing native mobile apps isn’t easy. Trying to record and create test scenarios without spending hours on setup (or tearing your hair out in frustration) is even harder!

 

Earlier this month, we held an interactive meetup at BlazeMeter’s offices in Mountain View to tackle this very issue. CEO & Founder Alon Girmonsky took us through the steps of recording a test scenario - without jailbreaking or setting up software.

 

Demo: How to Record & Create Test Scenarios on the iPhone 6+

 

Taking the iPhone 6+ as an example, Alon showed participants how to create a test scenario in order to run a massive load test and monitor the results - by using BlazeMeter, CloudWatch, NewRelic and JMeter.


Here’s a quick outline of the key steps:

 

  1. Select the App You Need to Record. In the demo, Alon took the BlazeMeter app as an example - but you can run this on any app you need to test.

  2. Go to BlazeMeter’s Mobile Recorder. Here you create a proxy and configure your phone or tablet. For the demo, Alon used his own phone (the iPhone 6+) but it works on any smartphone or tablet. Now start recording your activity. Everything is automatically saved.

  3. Export the Recording. You can export as a JMX file, JSON file or URL list. In this demo, Alon exported it as a URL list and customized the test by removing unnecessary requests and changing the labels.

  4. Set Thresholds. Set criteria based on your Key Performance Indicators as to what constitutes a ‘pass’ or a ‘fail’ for the test.

  5. Configure the Emulation. Alon configured the test for LTE, 3G and Internet - and then compared results and monitored trends.

  6. Monitor the Site. Here Alon chose pre-existing CloudWatch and New Relic profiles to monitor the site.

  7. Run the Load Test...For as Many Concurrent Users as You Want

  8. Export to JMeter - If you want!  

 

That pretty much covers all of the steps. But it’s always easier to see things in action. So here’s a recording of the demo:

 

 

 

 

Found this useful?

 


Learn more in our recorded webcast: Performance Testing for Native Mobile Apps

You might also find these useful:

Interested in writing for our Blog? Send us a pitch!