0

When i tried to record a script for native app testing using Jmeter i'm facing issues to do it 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! Thank you as advance!

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, privacy policy and cookie policy

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