crapify is a proxy for simulating slow, spotty, HTTP connections.
900
crapify is a proxy for simulating slow, spotty, HTTP connections. It allows you to vary:
Contribute to Crapify on GitHub
npm install crapify -gcrapify 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).docker build . -t crapify:latestdocker run -d -p 5000:5000 crapify. You can specify every crapify options thru env variables, eg:
docker run -d -p 5000:5000 -e SPEED=3000 -e CONCURRENCY=2 crapifynpm 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.Content type
Image
Digest
Size
52.4 MB
Last updated
over 5 years ago
docker pull sspadaro/crapify