Tools for degrading my network connection? [closed

2019-01-13 17:07发布

问题:

I've written some applications than heavily use network, and I would like to test it over a slow network. I'm looking for a tool to simulate these kind of connections.

I'm only interested in Windows tools.

回答1:

I've used Traffic Shaper XP on my XP dev box at work. It seems to handle any connection (not just HTTP). It wasn't perfect, but worked well enough for the tests I was doing. If you're on Windows maybe it'll do enough for you.



回答2:

Try dummynet. You will find lots of resources on the web, including this tutorial.



回答3:

Throughput, latency, jitter, and packet loss can all impact user experience. Several software solutions that run on a host (or VM) allow these "levers" to be pulled.

Last time I researched I found a few possibilities:

Wanem

dummyet (link1) dummynet (link2)

nistnet

shunra (link1) shunra (link2)

tmnetsim tmnetsim

Cisco WAN-Bridge (CCO Login Required)

If you want something client based maybe try shunra, and if you want something in the infrastructure wanem is pretty easy since their is a VMWare appliance available.



回答4:

What kind of network traffic? If it's HTTP this will work for you:

http://www.charlesproxy.com/



回答5:

How about this tool (network Traffic Generator) ?



回答6:

Clumsy seems to be a promising new tools for testing with degraded network performance.



回答7:

You're right. dummynet works only in FreeBSD, it's actually built into the kernel.

What I did when I used it was grab an older PC nobody used anymore and install the FreeBSD distribution.



回答8:

Fiddler is a(nother) web proxy that can be used to degrade your connection.



回答9:

Dummynet is the way to go, especially if you want to simulate complex scenarios such as ADSL connections (asymmetric uplink and downlink), "Slow connection" (long latency), lossy links, etc. As Christian said, you can find some spare old PCs and install FreeBSD. You can also use VMware but I wouldn't recommand that.



回答10:

If you are trying to do HTTP throttling Charles Web Proxy is absolutely great for this. Please do have a look at it.