I’m looking into how to use jmeter (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.
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.
Answered By – Dmitri T
Answer Checked By – Terry (Easybugfix Volunteer)