1

How do I check mobile application performance/load testing?

Currently, I have checked the app performance over different networks like 2g, 3g, wifi but I want to check how the app will behave when multiple users access simultaneously?

0

One problem you will face is that some mobile phones are just awful at networking and they can have drastic effects on some networking protocols.

This question comes up a lot in mobile testing and its often confused with testing the backend. Unless your mobile app is specifically peer-to-peer then it seems you want to drive your backend with multiple users.

If the purpose of your test is just 'can a user login more than once' then you could just do an exploritory test by driving the API with Postman.

If you want to simulate one user trying to DOS you with multiple logins and check you mitigate , i would take the postman materials and repurpose them into JMeter tests like Dimitri T suggested.

It seems like this is not a high value test in that its about safegaurding your infra which doesn't have a clear user value because it fundamentally about bad users. Obviously a DOS attack is not great but you can just lock out that user.

Its important to consider the value of the test when deciding how much effort to put in.

2

You can use a load testing tool like Apache JMeter to simulate hundreds or thousands of users concurrently using your application.

You can use JMeter's HTTP(S) Test Script Recorder to capture the traffic from mobile devices to the backend server and replay it with increased number of virtual users.

See Load Testing Mobile Apps Made Easy guide for more information on JMeter and mobile device configuration.

0

If you have access to the source code, you can compile and run the application in a emulator:

android studio:

  1. Open menu Tools -> Android -> AVD Manager
  2. Select/create your emulator avd image, click Edit
  3. Click Show Advanced Settings button
  4. Set the desired net speed
  5. Re-launch the emulator

in xcode:

  1. use Network Link Conditioner

You can also use third party cloud services like Amazon Device Farm or Firebase Test Lab.

0

I have used the following tools to to performance/load testing-

  1. Android Debugger tool - https://developer.android.com/studio/command-line/adb.html. You can get various performance metrics by this free tool you can use on Android Apps.

  2. Instruments - If you have an iOS app, I would recommend using Instruments that comes free as part of Xcode. It helps to find different vulnerabilities in your app like Memory Leaks, Page load times etc.

Check out this tutorial - https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/LaunchingInstruments.html#//apple_ref/doc/uid/TP40004652-CH7-SW1

  1. JMeter is a great tool as well to simulate load on your applications.

These are the tools I would recommend to start with. Then you can explore other tools such as

NeoLoad - https://www.neotys.com/neoload/overview

WebLOAD (Free - 50 virtual users)— http://www.radview.com/webload-download/

LoadComplete - https://smartbear.com/product/loadcomplete/overview/

Apache Jmeter (Free)- http://jmeter.apache.org/

BlazeMeter - https://www.blazemeter.com/

Hope this information helps you out.

-Raj

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.