crapify is a proxy for simulating slow, spotty, HTTP connections. It allows you to vary:
Contribute to Crapify on GitHub
npm install crapify -g
crapify start --port=5000 --speed=3000 --concurrency=2
, where:
port
is the port crapify should start on.speed
is the connection speed in bytes/second.concurrency
is the number of concurrent outbound connections allowed.drop-frequency
is 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
system preferences
.Network
.Advanced
.Proxies
.http
, and an https
proxy, with 127.0.0.1
, and :5000
, respectively.