3

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

Yossi
  • 2,525
  • 2
  • 21
  • 24
  • Did you try to use http://jmeter.apache.org/usermanual/component_reference.html#HTTP(S)_Test_Script_Recorder ? – olyv Jan 12 '14 at 21:09
  • Hi olyv, Yes I did try, but it works only for browsers, not for other applications, thanks :) – Yossi Jan 12 '14 at 21:18
  • 1
    I recorded only requests from mobile (Android) browser but here http://blazemeter.com/blog/load-testing-mobile-apps-made-easy is said that it could be done also for native applications – olyv Jan 12 '14 at 21:59
  • Thanks @olyv, this link was the one that helped me to record the calls from my iphone – Yossi Jan 14 '14 at 08:32

1 Answers1

4

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

Ophir Prusak
  • 1,437
  • 13
  • 20