Anyone please guide me how I perform load testing on Android Applications. Please suggest any tool with guidelines.
CodePudding user response:
To test the load of an Android application, you can use JMeter.
Check this document: https://blogs.perficient.com/2021/08/25/perform-load-test-on-mobile-app-using-apache-jmeter/
CodePudding user response:
If you need to test Android application performance itself, i.e. find the slowest functions, measure activities switching/rendering/calculation speed, CPU, RAM, Battery usage and so on - the best (if not only) way is using a profiler tool:
If your goal is to simulate hundreds/thousands of users concurrently using multiple instances of the mobile application which communicates with the backend or database, to wit you need to conduct performance testing of the backend - it's also possible with a special load testing tool.
The choice of the tool depends on several factors, the main of them are:
- Network protocol(s) used by your application
- Ability of the tool to be run in clustered mode in case if one instance is not powerful enough to create the necessary load
See Open Source Load Testing Tools: Which One Should You Use? for example tools comparison