Search code examples
google-chromegoogle-chrome-devtools

Simulate varying latency for network request in Chrome


Is it possible to simulate changing network latencies (within a range) for different requests via chrome?

E.g. for testing what happens when the order of ajax responses differs.


Solution

  • DevTools technical writer here. We have network throttling in the Network panel:

    Network Throttling

    But that creates a steady throttled state. As of Chrome 68 we don't have any feature for randomizing the amount of throttling within a given range.

    You might be able to achieve this using Puppeteer.