ios fiddler调试环境配置

Configure Fiddler

  1. Click Tools > Fiddler Options > Connections.

  2. Click the checkbox by Allow remote computers to connect.

    Allow remote computers to connect

  3. Restart Fiddler.

  4. Ensure your firewall allows incoming connections to the Fiddler process.

  5. Hover over the Online indicator at the far right of the Fiddler toolbar to display the IP addresses assigned to Fiddler's machine.

    Online Tooltip

  6. Verify client iOS device can reach Fiddler by navigating in the browser to http://FiddlerMachineIP:8888. This address should return the Fiddler Echo Service page.

  7. For iPhone: Disable the 3g/4g connection.

Set the iOS Device Proxy

  1. Tap Settings > General > Network > Wi-Fi.

  2. Tap the settings for the Wi-Fi network.

  3. Tap the Manual option in the HTTP Proxy section.

  4. In the Server box, type the IP address or hostname of your Fiddler instance.

  5. In the Port box, type the port Fiddler is listening on (usually 8888).

  6. Ensure the Authentication slider is set to Off.

    iOS Proxy Settings

Decrypt HTTPS Traffic from iOS Devices

  1. Download the Certificate Maker plugin for Fiddler.

  2. Install the Certificate Maker plugin.

  3. Restart Fiddler.

  4. Configure the device where Fiddler is installed to trust Fiddler root certificate.

  5. On the iOS device, go to http://ipv4.fiddler:8888/ in a browser.

  6. From the bottom of the Fiddler Echo Service webpage, download the FiddlerRoot certificate.

    Download FiddlerRoot Certificate

  7. Open the FiddlerRoot.cer file.

  8. Tap the Install button.

    Install Profile

  9. Tap the Install button again.

    Warning

Uninstall FiddlerRoot Certificate

If you decide to uninstall the root certificate:

  1. Tap the Settings app.

  2. Tap General.

  3. Scroll to Profiles.

  4. Tap the DO_NOT_TRUST_FiddlerRoot* profile.

  5. Tap Remove.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Fiddler是一款功能强大的Web代理调试工具,它可以记录和检查所有客户端与服务端的HTTP/HTTPS请求,并提供了多种功能来帮助开发人员和测试人员进行问题定位和分析。以下是关于Fiddler调试工具的介绍和使用方法[^1][^2]: 1. 下载和安装Fiddler:你可以从Fiddler官网(https://www.telerik.com/fiddler)下载最新版本的Fiddler,并按照安装向导进行安装。 2. 启动Fiddler:安装完成后,双击桌面上的Fiddler图标来启动Fiddler。 3. 配置浏览器代理:对于IE浏览器,不需要额外配置就可以使用Fiddler。而对于Firefox浏览器,需要手动设置HTTP代理才能正常使用Fiddler。具体配置方式如下: - 打开Firefox浏览器,点击菜单按钮(三条横线图标)。 - 选择“选项”。 - 在“常规”选项卡下,向下滚动到“网络代理”部分。 - 点击“设置”按钮。 - 在弹出的对话框中,选择“手动代理配置”。 - 在“HTTP代理”和“SSL代理”字段中,输入Fiddler的监听地址和端口(默认为127.0.0.1:8888)。 - 点击“确定”保存设置。 4. 使用Fiddler进行调试:启动Fiddler后,它会自动开始监听HTTP/HTTPS请求。你可以通过以下方式使用Fiddler进行调试: - 查看请求和响应:Fiddler会显示所有的HTTP/HTTPS请求和响应,你可以在“会话列表”中查看详细信息。 - 设置断点:你可以在Fiddler中设置断点,以便在特定的请求或响应上暂停调试。 - 修改请求和响应:Fiddler允许你修改请求和响应的数据,以便进行测试和调试。 - 修改hosts:你可以使用Fiddler修改hosts文件,以便将域名解析到指定的IP地址。 - 限制网速:Fiddler可以模拟不同的网络速度,以便测试网站在不同网络条件下的性能。 - 进行接口测试:你可以使用Fiddler发送自定义的HTTP请求,以便测试接口的功能和性能。 - 辅助自动化测试:Fiddler提供了API和脚本功能,可以与其他工具和脚本集成,实现自动化测试。 以上是关于Fiddler调试工具的介绍和使用方法。如果你有任何进一步的问题,请随时提问。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值