Skip to content

Wiremock Commandline Parameters

The following commandline arguments can be defined for:

Argument NameValue TypeDefaultDescription
--HelpShow a link to this wiki-page
--Portintegerwiki-port
--Urlsstringwiki-urls
--StartAdminInterfacebooleantrueDefines whether to start admin interface.
--AllowPartialMappingbooleanfalsewiki-allowpartialmapping
--ReadStaticMappingsbooleanfalseDefines if the static mappings should be read at startup.
--AdminUsernamestringwiki-adminusername
--AdminPasswordstringwiki-adminpassword
--MaxRequestLogCountintegerwiki-maxrequestlogcount
--RequestLogExpirationDurationintegerwiki-requestlogexpirationduration
--WireMockLoggerstringWireMockNullLoggerYou can also define the value WireMockConsoleLogger. In that case the WireMockConsoleLogger is used.
--ProxyURLstringwiki-proxyandrecordsettings
--X509StoreName
--X509StoreLocation
--X509StoreThumbprintOrSubjectName
--X509CertificateFilePath
--X509CertificatePassword
string
string
string
string
string
wiki-certificatesettings

See also Proxy and Record Settings for a complete list.

Argument NameValue TypeDefaultDescription
--ProxyUrlstringThe URL to use for proxying.
--SaveMappingbooleanSave the mapping for each request/response to the internal Mappings..