1

When I tried to record a script for native app testing using Jmeter I'm facing the next issue:

when I keeping the proxy same as Jmeter's and IP address of my PC in android device, before changing the proxy Wi-Fi internet is working, but not after.

I'm unable to record scripts. Any suggestions regarding this!

1 Answer 1

1
  1. First of all make sure you have started JMeter's HTTP(S) Test Script Recorder as it has to be running so your android device could access the Internet using JMeter as a proxy.
  2. In case of recording secure HTTPS traffic you might need a third-party app like ProxyDroid
  3. In case of recording HTTPS traffic you will need to import JMeter's self-signed certificate onto your device

    • locate ApacheJMeterTemporaryRootCA.crt file (it's being generated in "bin" folder of your JMeter installation when you start JMeter's HTTP(S) Test Script Recorder)
    • transfer it to your android device somehow (i.e. send it to yourself via email)
    • open the email attachment on the android device and follow system dialog to get it installed

An easier option would be using BlazeMeter Proxy Recorder, in this case you won't have to worry about proxies and certificates. As a bonus you will be able to export recorded scripts in "SmartJMX" mode with automatic detection and correlation of dynamic parameters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.