Last Updated: February 25, 2016
· mlex

Simulate network latency to debug connection timeouts

On a Linux box, you can easily simulate network latency with tc

To slow down all requests to VirtualBox VMs, use

sudo tc qdisc add dev vboxnet1 root netem delay 1500ms

1 Response
Add your response

For HTTP you can also use Charles Proxy and it's throttling feature. On iOS and OSX there is the network link conditioner which allows configuring this via UI.

over 1 year ago ·