Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/latencyplugin.schema.json",
"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
Next step
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.