1

I have connected mobile phone with my IP config and set port which I have set in JMeter. but while start recording in JMeter and start the application in a phone then it showing an error in JMeter

enter image description here

Bharat Mane
6,78512 gold badges42 silver badges69 bronze badges
asked Jun 22, 2017 at 11:43

1 Answer 1

1

You need to install JMeter's self-signed certificate so JMeter could decrypt and record HTTPS traffic.

  1. Locate ApacheJMeterTemporaryRootCA.crt file under "bin" folder of your JMeter installation
  2. Send it to mobile device vie bluetooth or email or whatever way plays for you
  3. Tap on the certificate in email attachment or file manager and follow Android OS instructions to get it installed
  4. Remember that the certificate has limited life time so you will have to repeat the procedure each 7 days

See HTTPS recording and certificates section of the HTTP(S) Test Script Recorder User Manual entry for more details.

Also be aware of an alternative solution of recording mobile device traffic, it automates not only certificate installation process, but it's capable of exporting recorded scenarios in "SmartJMX" mode with automated correlation applied, it means that it will generate all the necessary Post Processors to handle dynamic parameters, see How to Cut Your JMeter Scripting Time by 80% for more information.

answered Jun 26, 2017 at 4:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.