Skip to content

WireMock commandline parameters

Stef Heyenrath edited this page May 2, 2024 · 14 revisions

The following commandline arguments can be defined for:


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]

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..
Clone this wiki locally