1
votes

I tried the following in order to record mobile app steps using jmeter:

  1. Start Jmeter on the my laptop and add the necessary recording templates.
  2. Copied and installed the Jmeter cert on the mobile phone.
  3. Connected the mobile phone to the same wifi that my laptop (with Jmeter) is on.
  4. In the proxy hostname, I added the ip address of my laptop (with Jmeter). I also add the same port that was configured in Jmeter for my laptop.
  5. Clicked start on the HTTP(S) Recording controller to start recording.

NB. I ensured my firewall was off during the recording.

I tried these steps several times, but when I use my mobile app on my phone, nothing gets recorded. I then tried navigating to a site using the browser but it does not record these actions either. Instead, it records other steps that I don't recognise. Please see links below for what I am seeing in Jmeter.

Does anyone have a solution to this? Recorded Steps Errors Displayed

1

1 Answers

0
votes

You're getting this error:

enter image description here

because JMeter is not capable of decrypting the intercepted traffic as you didn't install JMeter's MITM certificate onto your mobile device.

The certificate is called ApacheJMeterTemporaryRootCA.crt and it's being generated in "bin" folder of your JMeter installation when you start the HTTP(S) Test Script Recorder.

I cannot provide exact steps for the certificate installation without knowing the operating system (including version) of your mobile device, however you might find the following material helpful: