LatencyPlugin

Delays responses by a random number of milliseconds from the configured range.

Dev Proxy simulating latency for an API request.

Plugin instance definition

{
  "name": "LatencyPlugin",
  "enabled": true,
  "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
  "configSection": "latencyPlugin"
}

Configuration example

{
  "latencyPlugin": {
    "minMs": 200,
    "maxMs": 10000
  }
}

Configuration properties

Property Description Default
minMs The minimum amount of delay added to a request in milliseconds. 0
maxMs The maximum amount of delay added to a request in milliseconds. Max value is 10000 (10 s) 5000

Command line options

None