Fiddler - 使用 Web 服务模拟调制解调器速度时出错
我有一个从多个 Web 服务提取数据的应用程序。
该应用程序正确地使用 fiddler 作为所有这些 Web 服务请求的代理,并且一切都按预期工作。
我想模拟缓慢的 Web 服务服务器,因此我在 fiddler 中启用了“模拟调制解调器速度”(不修改默认规则文件)。现在我得到的大多数响应是:
ReadResponse() 失败:服务器没有返回此请求的响应。
如果我禁用“模拟调制解调器速度”,一切都会再次正常工作。
有没有办法让它发挥作用,或者有更好的方法来模拟 Web 服务响应缓慢?
I have an application that pulls data from several web services.
The application is correctly using fiddler as a proxy for all these web service requests, and everything works as it should.
I would like to simulate the web services servers being slow, so I enabled "Simulate Modem Speeds" in fiddler (without modifying the default rules file). Now most of the responses I get back are:
ReadResponse() failed: The server did not return a response for this request.
If I disable the "Simulate Modem Speeds", everything works fine again.
Is there a way to get this to work, or a better way to simulate a web services response being slow?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
呃,这听起来确实像是你的网络服务被配置为如果在一定时间内没有收到给定的请求就会超时,这表明模拟实际上已经出现了你想要测试的问题为了。
如果你想调整“慢度”,编辑规则>自定义规则文件。搜索调制解调器以查看延迟。
Uh, it certainly sounds like your webservice is configured to timeout if it doesn't get a given request within a certain period of time, suggesting that the simulation has, in fact, turned up the sort of problem you'd want to be testing for.
If you want to adjust the "slowness", edit the Rules > Customize Rules file. Search for modem to see the latencies.