开发者

Fiddler - error when simulating modem speeds with Web Services

开发者 https://www.devze.com 2023-03-20 21:50 出处:网络
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 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消