crapify is a proxy for simulating slow, spotty, HTTP connections. It allows you to vary:
- the upload and download speed of requests.
- the maximum number of concurrent outbound HTTP connections.
- the number of bytes dropped during transfers.
Contribute to Crapify on GitHub
npm install crapify -gcrapify start --port=5000 --speed=3000 --concurrency=2, where:portis the port crapify should start on.speedis the connection speed in bytes/second.concurrencyis the number of concurrent outbound connections allowed.drop-frequencyis how often bytes should be dropped (byte count%drop frequency).
npm config set proxy http://127.0.0.1:5000
curl -v --proxy http://127.0.0.1:5000 https://www.google.com
- Go to
system preferences. - Click on
Network. - Click on
Advanced. - Click on
Proxies. - Enable an
http, and anhttpsproxy, with127.0.0.1, and:5000, respectively.
- tylertreat/Comcast, a Go frontend that simulates terrible network connections by directly modifying settings for your network interfaces.