Overview
The WireMock Runner offers a way to deploy and run long-lived WireMock tasks and control the lifecycle of those tasks via an HTTP interface.Installation
The Runner is published to Docker Hub aswiremock/wiremock-runner
.
Running the image will start the runner and expose the HTTP interface based on the configuration specified via
environment variables.
The following environment variables can be used to configure the runner:
WMC_DEFAULT_MODE
: The mode that the runner starts in. Currently supportsRecordMany
.WMC_ADMIN_PORT
: The port that the admin interface is exposed on.WMC_API_TOKEN
: The API token to use for accessing WireMock Cloud.
RecordMany
mode:
Record Many Mode
The Runner can be started inRecordMany
mode. This mode starts a multi-domain recording
session as the runner starts up and will continue to record until the runner is stopped. More information on this can
be found in the WireMock Runner Record Many documentation.
Limitations
- Currently, the only available mode is
RecordMany
.