0

I have followed the steps given in article http://www.testingdiaries.com/mobile-performance-testing-record-script-jmeter/

I set manual proxy in phone and started the recorder but none of my requests are recorded. Will this method really work? I wanted to perform load testing on my native app (mostly the sign-in scenario) Please take a look and let me know. I know blazemeter support recording and perform load test but I prefer working only with Jmeter

  • Does your phone and desktop share the same network ? are you sure you entered the right addresses ? can you see the web from your phone ? – Rsf Nov 27 '15 at 8:35
  • Yes. Both are connected to same wifi network. Additionally I set manual proxy in phone under Wifi Network > Advanced options. Proxy hostname: IP (my external IP) set in Jmeter HTTPS Domain and 8080 port. – Whereismymind Nov 27 '15 at 10:06
1

It might be the case your application talks to backend using SSL, in that case some extra tweaks may be required:

  1. Android network configuration tool won't proxy SSL connections so you may have to use 3rd party tool like ProxyDroid for setting it up. Not sure about iOS devices, I don't have any.
  2. You'll need to install JMeter's self-signed certificate on the device. Locate ApacheJMeterTemporaryRootCA.crt file in /bin folder of your JMeter installation (it is generated when you start JMeter's proxy first time) and deliver it somehow to the device, i.e. send yourself a mail message with the certificate attached.

The easier way is using Mobile Recorder service which provides simple interface where you can download MITM certificate in order to be able to record secure traffic, inspect requests and export them as JMeter JMX file.

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.