使用 Jmeter 代理记录来自 iOS 模拟器的 HTTP 调用 [英] Use Jmeter proxy to record HTTP calls from iOS simulator

查看:26
本文介绍了使用 Jmeter 代理记录来自 iOS 模拟器的 HTTP 调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法记录来自安装在 iOS 模拟器或真实设备上的本机应用程序的 http 调用?

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 :)

谢谢,尤西

推荐答案

使用真实设备非常容易.使用设备上的 Wifi(飞行模式)并将 HTTP 代理设置为指向您的计算机.

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.

这是一个完整的网络研讨会,其中包含有关使用 JMeter 代理记录 iOS 流量的分步详细信息:http://www.youtube.com/watch?v=uZFch4B5Ivc
(技术内容从 13 分钟开始)

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)

这是一个包含 Android 详细信息的博客(与 iOS 的想法相同):
http://blazemeter.com/blog/load-testing-mobile-apps- 简单

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

这篇关于使用 Jmeter 代理记录来自 iOS 模拟器的 HTTP 调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆