Wiremock Commandline Parameters
The following commandline arguments can be defined for:
- [[WireMock as dotnet tool]]
- [[WireMock as a standalone process]]
- WireMock.Net running as Docker
Settings
Section titled “Settings”Argument Name | Value Type | Default | Description |
---|---|---|---|
--Help | Show a link to this wiki-page | ||
--Port | integer | wiki-port | |
--Urls | string | wiki-urls | |
--StartAdminInterface | boolean | true | Defines whether to start admin interface. |
--AllowPartialMapping | boolean | false | wiki-allowpartialmapping |
--ReadStaticMappings | boolean | false | Defines if the static mappings should be read at startup. |
--AdminUsername | string | wiki-adminusername | |
--AdminPassword | string | wiki-adminpassword | |
--MaxRequestLogCount | integer | wiki-maxrequestlogcount | |
--RequestLogExpirationDuration | integer | wiki-requestlogexpirationduration | |
--WireMockLogger | string | WireMockNullLogger | You can also define the value WireMockConsoleLogger . In that case the WireMockConsoleLogger is used. |
--ProxyURL | string | wiki-proxyandrecordsettings | |
--X509StoreName --X509StoreLocation --X509StoreThumbprintOrSubjectName --X509CertificateFilePath --X509CertificatePassword | string string string string string | wiki-certificatesettings |
Proxy Settings [Optional]
Section titled “Proxy Settings [Optional]”See also Proxy and Record Settings for a complete list.
Argument Name | Value Type | Default | Description |
---|---|---|---|
--ProxyUrl | string | The URL to use for proxying. | |
--SaveMapping | boolean | Save the mapping for each request/response to the internal Mappings.. |