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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for