speedbump

TCP proxy for simulating variable, yet predictable network latency

brewmacoslinux
Try with needOr install directly
Source

About

TCP proxy for simulating variable, yet predictable network latency

Commands

speedbump

Examples

Start a proxy on port 8080 forwarding to localhost:3000 with 100ms latency$ speedbump -l 8080 -r localhost:3000 -d 100
Create a proxy with variable latency (50-150ms) to simulate real network conditions$ speedbump -l 8080 -r localhost:3000 -d 100 -v 50
Proxy external service with 200ms consistent latency for testing$ speedbump -l 9000 -r api.example.com:443 -d 200