Home > Back-end >  Stress testing mobile applications outline (iOS and Android) as a beginner using Jmeter?
Stress testing mobile applications outline (iOS and Android) as a beginner using Jmeter?

Time:09-28

Before I get downvoted to oblivion, I hope someone at least guides me with some resources outlining how to use jmeter as a total beginner (I've done manual testing until now) to perform stress testing on mobile applications.

In particular, I have a student management kind of app. Both (iOS - Swift) and (Android - Java) app are available. I want to mimic lots of student trying to register for same course, leaving same course, paying etc. I'm not sure where to start, or how to even configure jmeter. What should I request from the devs? Is android apk ios testflight version enough or should I request full source code? I feel lost as this is my first proper tech related job while in college, but the lack of resources is making me afraid.

CodePudding user response:

You need to mimic network footprint of the mobile application.

First of all you need to identify which network protocol(s) is(are) being used by your application for communicating with the backend. You can ask the developers or use a sniffer tool to capture and inspect the traffic.

Then you can choose a suitable JMeter Sampler(s) to send the same requests as mobile application does.

If your application uses HTTP protocol - you can even record it using JMeter's HTTP(S) Test Script Recorder, for iOS you need to import JMeter's certificate and enable full trust for this. For Android you will need to take few more steps, check out Configure Android Devices for Proxy Recording article for more details.

  • Related