WireMock
fixed_delay
Adds a fixed delay to a list of mappings
Below are the details and signature of the activity Python module.
Type | action |
Module | chaoswm.actions |
Name | global_random_delay |
Return | integer |
Usage
JSON
{
"name": "global-random-delay",
"type": "action",
"provider": {
"type": "python",
"module": "chaoswm.actions",
"func": "global_random_delay",
"arguments": {
"delayDistribution": null
}
}
}
YAML
name: global-random-delay
provider:
arguments:
delayDistribution: null
func: global_random_delay
module: chaoswm.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
delayDistribution | object | Yes | Delay Distribution | Delay distribution to apply globally |
Signature
def global_random_delay(
delayDistribution: Mapping[str, Any],
configuration: Dict[str, Dict[str, str]] = None) -> int:
pass