问题
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:
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
来源:https://stackoverflow.com/questions/21077373/use-jmeter-proxy-to-record-http-calls-from-ios-simulator