probeWiremock

server_running

Tells if the WireMock server is running

Activity as code

Below are the details and signature of the activity Python module.

Typeprobe
Modulechaoswm.probes
Nameserver_running
Returninteger

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

NameTypeDefaultRequiredTitleDescription
cmappingnullNoConfigurationThe 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