fiddler模拟返回

  • 先把正常的请求响应报文保存为文件,操作方法为选中对应请求>右键> save >reponse>entire response
  • 点击改请求,点击右侧autoresponder,点击add rule,选中刚加的这个rule,在下方的rule editor的第二栏选find a file 选中上一步保存的response文件(如果返回自定义报文可以对文件进行相应的修改)
  • 勾上autoresponder中上方的enable rules(启用规则),和unmatched request paththrough(未匹配的请求直接通过)

原文地址:https://www.cnblogs.com/xiaodebing/p/9843057.html