Fiddler显示指定host请求,以及过滤无用的css,js
第一步
右侧窗口点击filters
第二步
点击Use Fiters
第三步
第一个选项不动 no zone filter,第二个选项选择 show only following hosts
第四步
然后填写你需要监控的hosts ,用英文分号隔开
补充点
Hide the following Hosts 为隐藏指定host请求
Flag the following Hosts 为标记指定host请求
requests.exceptions.SSLError
解决办法:
import requests
import logging
logging.captureWarnings(True)
r = requests.get('https://www.12306.cn', verify=False)
print(r.status_code)

本文介绍了如何使用Fiddler抓包工具只查看指定Host的相关网络请求,同时过滤掉无用的CSS和JS文件。在设置过程中,分为四个步骤进行操作。此外,文章还提及了在Python接口测试中遇到的`requests.exceptions.SSLError`问题,并提示了解决方案。
4万+

被折叠的 条评论
为什么被折叠?



