Fiddler会默认抓取安装Fiddler电脑上的所有网络报文请求,所以数据包特别多,为了更加专注于我们所需要的报文,所以需要用过滤器。
列如,我们可以只显示gw.newrank.cn的报文请求
操作方法:
右侧区域的Filter,勾选Use Filters ,选择show only the following Hosts 输入 gw.newrank.cn的
然后点击Actions,选择 Run Filterset now
执行结果
使用Fiddler过滤器的步骤:
1.点击右侧区域的Filter->勾选Use Filters
2.配置Hosts的过滤条件
在第一个下拉菜单 No Zone Filters中
Internat 外网,过滤非localhost所有请求,显示除了localhost的网络报文
Intranat内网,过滤localhost,只会显示localhost域名的网络报文
第二个下载菜单
hide the following hosts:隐藏下面多行文本框中的域名
show only the following hosts:只显示下面多行文本框的域名
flag the following hosts:高亮显示下面的多行文本框中的域名
多行文本框中的配置,如果有多个域名,用分号分隔
3.点击右侧的Actions,选择 Run Filterset now