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?
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
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.
You can use a load testing tool like Apache JMeter to simulate hundreds or thousands of users concurrently using your application.
See Load Testing Mobile Apps Made Easy guide for more information on JMeter and mobile device configuration.
If you have access to the source code, you can compile and run the application in a emulator:
You can also use third party cloud services like Amazon Device Farm or Firebase Test Lab.
I have used the following tools to to performance/load testing-
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.
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.
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.