Use Jmeter proxy to record HTTP calls from iOS simulator

試著忘記壹切 提交于 2019-12-12 08:58:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!