Fiddler中使用AutoResponder创建规则替换线上文件

Fiddler 的AutoResponder tab允许你从本地返回文件,而不用将http request 发送到服务器上。

  1、AutoResponder规则实例

  (1) 打开博客园首页,把博客园的logo图片保存到本地,并且对图片做些修改。

  (1)打开Fiddler 找到logo图片的会话, http://www.cnblogs.com/images/logo_small.gif,  把这个会话拖到AutoResponer Tab下

  (3)选择Enable automatic reaponses 和Unmatched requests passthrough

  (4)在下面的Rule Editor 下面选择 Find a file... 选择本地保存的图片.  最后点击Save 保存下。

转自链接:https://www.cnblogs.com/pachongshangdexuebi/p/6601363.html

原文地址:https://www.cnblogs.com/sgfg-1314/p/15217641.html