wiremock
Options
Section titled “Options”services.wiremock.enable
Section titled “services.wiremock.enable”Whether to enable WireMock.
Type: boolean
Default:
falseExample:
trueDeclared by:
services.wiremock.package
Section titled “services.wiremock.package”Which package of WireMock to use.
Type: package
Default:
pkgs.wiremockDeclared by:
services.wiremock.disableBanner
Section titled “services.wiremock.disableBanner”Whether to disable print banner logo.
Type: boolean
Default:
falseDeclared by:
services.wiremock.mappings
Section titled “services.wiremock.mappings”The mappings to mock. See the JSON examples on https://wiremock.org/docs/stubbing/ for more information.
Type: JSON value
Default:
[ ]Example:
[ { request = { method = "GET"; url = "/body"; }; response = { body = "Literal text to put in the body"; headers = { Content-Type = "text/plain"; }; status = 200; }; } { request = { method = "GET"; url = "/json"; }; response = { jsonBody = { someField = "someValue"; }; status = 200; }; }]Declared by:
services.wiremock.port
Section titled “services.wiremock.port”The port number for the HTTP server to listen on.
Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default:
8080Declared by:
services.wiremock.rootDir
Section titled “services.wiremock.rootDir”Path to the WireMock root directory containing mappings and files.
Cannot be set together with mappings.
See https://wiremock.org/docs/standalone/java-jar/#command-line-options for more information.
Type: null or absolute path
Default:
nullDeclared by:
services.wiremock.verbose
Section titled “services.wiremock.verbose”Whether to log verbosely to stdout.
Type: boolean
Default:
falseDeclared by:

