开发者

Simulate low speed connection on local network

Sometimes I开发者_运维百科 want to manually test my web applications (either desktop applications calling web services or websites or RIA) to see how they behave with low speed internet connection (56 kbps for example). Is it possible to do it through network by simulating lower speed that the real one? If yes, is it also possible to simulate low quality connection (something as packet loss, connection drop, e.t.c.)?


Found the answer to my own question about speed: How can I simulate download speed with System.Threading

What about packet loss & connection drop simulation?


I did that with this tool http://bandwidthcontroller.com/purchaseStandard.html

They have a free trial version and a cheap full version.

Just make sure to deinstall it after your tests. Because it chokes your network even when deactivated.

So it is a really crappy tool, except for when you want a slow network.


Fiddler, an HTTP debugging tool, has the option to throttle HTTP requests to emulate 56k speeds. The speed can be adjusted with a little tinkering.


If you have a phone line available, consider using a real modem instead of simulating it. You can just route the address you want to test through the modem and use your regular connection for all the other traffic


Try WANem which is an open source Wide Area Network emulator. You can download the image (iso, knoppix live cd) or VMWare virtual appliances.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜