3
votes

Is there any way to record http calls from native app that installed on iOS simulator, or real device ?

My main goal is to build test plan by playing the app and recording the calls.

Any help or creative idea is welcome :)

Thanks, Yossi

1
Did you try to use jmeter.apache.org/usermanual/… ?olyv
Hi olyv, Yes I did try, but it works only for browsers, not for other applications, thanks :)Yossi
I recorded only requests from mobile (Android) browser but here blazemeter.com/blog/load-testing-mobile-apps-made-easy is said that it could be done also for native applicationsolyv
Thanks @olyv, this link was the one that helped me to record the calls from my iphoneYossi

1 Answers

4
votes

With a real device it's very easy. Use the Wifi on the device (airplane mode) and set HTTP Proxy to point to your computer.

Here is a complete webinar with step by step details on recording iOS traffic with JMeter's proxy: http://www.youtube.com/watch?v=uZFch4B5Ivc
(technical stuff starts at 13 minutes in)

Here is a blog with details for Android (it's the same idea for as for iOS):
http://blazemeter.com/blog/load-testing-mobile-apps-made-easy