Just wanted to ask if there is a possibility to simulate multiple logins and request(e.g.100 users) on a mobile app?
- Is it possible using on JMeter? If Yes, How?
- Are there any other specific tools are available to do this?
If you want to use Jmeter to check performance of the module as well wants to check System Integration testing follow below process it's quite simple.
Get API from Dev Team,
Hope this helps.
You can capture mobile app traffic and simulate back-end calls using JMeter.
JMeter comes with a proxy server, You just have to configure JMeter proxy so that it can capture mobile traffic.
For more information on Mobile Performance testing with JMeter please refer to this article.
Yes, we can have multiple logins on same mobile but don't know how.
Just check this link its an android app and you can use multiple accounts in parallel in it.
Why do you need a tool, then spent a bunch of time to tweak it to simulate different devices when you can create a small piece of code to do the same ?
With most higher level languages you can create REST calls (I assume that this is what is used between the app and the server) in minutes, still be flexible and most important from testing side be able to inspect the process.
Take for example Python, you can use Requests to simulate a login in 10 lines of code, including printing the results
You can record your mobile application network activity using JMeter's HTTP(S) Test Script Recorder
Prepare JMeter for recording. The easiest way is using JMeter Templates Feature
File -> Templates -> Recordingand click "Create"
Prepare your mobile device for recording.
ApacheJMeterTemporaryRootCA.crtfile onto your mobile device (the file lives in "bin" folder of your JMeter installation)
See Load Testing Mobile Apps Made Easy article for detailed step-by-step instructions if needed.
To your second question, you can also use Gatling which uses scala as programming language to do multiple simultaneous logins via mobile api. It is very much effective and customization can be applied to your needs.
They provide suitable reports to watch the results with stats which comes handy.