LatencyPlugin
Delays responses by a random number of milliseconds from the configured range.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.