转自:http://materliu.github.io/all/web/2014/04/28/fiddler-timeout.html
 

用fiddler模拟网络请求超时

最近要测试程序对cgi 请求超时的兼容,所以就需要模拟超时,第一个想到的就是fiddler工具,说一下具体的做法:

Rules -> Customize Rules

搜索内容 "oSession["response-trickle-delay"]" ,修改一下这里就行了. 把它的值设为10000,这样就一定能够引起超时了,保存文件。这里的值本来是150.

Rules -> Performance -> Simulate Modem Speeds 勾选

直接在fiddler命令行输入 bpafter http://needstopurl 直接阻塞对应url的返回也可。

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-03-06
  • 2021-10-09
  • 2021-05-05
  • 2021-07-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2022-01-12
  • 2021-12-19
  • 2021-06-28
相关资源
相似解决方案