WireMock
global_fixed_delay
Adds a fixed delay to all mappings
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaoswm.probes |
Name | server_running |
Return | integer |
Usage
JSON
{
"name": "server-running",
"type": "probe",
"provider": {
"type": "python",
"module": "chaoswm.probes",
"func": "server_running"
}
}
YAML
name: server-running
provider:
func: server_running
module: chaoswm.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
c | mapping | null | No | Configuration | The WireMock server configuration |
Returns 1 if the WireMock server is running, 0 if it isn’t.
Signature
def server_running(c: Dict[str, Dict[str, str]] = None) -> int:
pass