When talking about how to load test mobile applications, you are almost certainly not talking about testing the...
client on a phone or device, but rather testing the back-end business logic and database.
Load testing an application with a mobile client has some tricky parts. First, determine what mobile devices you are testing. If the mobile client runs on a set of Android or iOS versions, create scripts for at least a representative sample of them. If the client has a broader base of devices, record many individual scripts for as many clients as feasible. Working with many devices is one of the key challenges in how to load test mobile applications. Understand what devices you want to test on, and gain access to those devices.
Record scripts to perform several, diverse types of activities on each device -- to, at least, cover important user stories. Establish an HTTP or similar connection between the load-testing tool and the mobile device, and use the device to record a script on the tool. The script would reside and be executed on the testing tool. Then, set it up for the scripts, number of virtual users and time period, just as you would for any load test.
Most tools used for load testing mobile applications support recording scripts, although the specific capabilities depend on each given tool. This method works generally for load-testing tools that are cloud-based services, although check with your provider for details on recording and storing scripts.
Dig Deeper on Mobile Application Testing Techniques and Tools
Related Q&A from Gerie Owen
Don't get stuck in QA monotony. Show your technical knowhow and expand your horizons to boost your career -- even if it means throwing out the map. Continue Reading
Developers run into distractions when they work out of a hotel or Airbnb. Here's how to fight back against subpar accommodations that halt ... Continue Reading
I've been a tester for many years and want to progress professionally. Yet, I'm struggling to find chances for advancement and a career path in ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.