Skip to content

WireMock commandline parameters

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

The following commandline arguments can be defined for WireMock as dotnet tool, WireMock as a standalone process or Docker.


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