Simulate low speed connection on local network

◇◆丶佛笑我妖孽 提交于 2019-12-07 11:41:51

问题


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.)?


回答1:


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?




回答2:


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.




回答3:


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.




回答4:


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




回答5:


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



来源:https://stackoverflow.com/questions/2142789/simulate-low-speed-connection-on-local-network

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!