![]() async-response-enabled: Enable asynchronous request processing in Jetty. jetty-header-response-size 16384, defaults to 8192K. jetty-header-response-size: The Jetty buffer size for response headers,Į.g. jetty-header-request-size 16384, defaults to 8192K. jetty-header-request-size: The Jetty buffer size for request headers,Į.g. jetty-header-buffer-size 16384, defaults to 8192K. The Jetty buffer size for request headers,Į.g. jetty-header-buffer-size: Deprecated, use -jetty-header-request-size. jetty-accept-queue-size: The Jetty queue size for accepted requests. jetty-acceptor-threads: The number of threads Jetty uses for When this limit is reached oldest entries max-request-journal-entries: Set maximum number of entries in container-threads: The number of threads created for incoming The -record-mappings option isn’t available if (and serve stubs) for long periods (without resetting) withoutĮxhausting the heap. Incoming requests for later verification. ![]() no-request-journal: Disable the request journal, which records Would allow proxying to or despite their having invalid certificate chains in some way. trust-proxy-target -trust-proxy-target localhost Running as a browser proxy and proxying HTTPS traffic. trust-proxy-target: Trust a specific remote endpoint’s certificate when trust-all-proxy-targets: Trust all remote certificates when running as aīrowser proxy and proxying HTTPS traffic. ca-keystore-type: Type of the ca-keystore, if something other than jks. ca-keystore-password: Password to the ca-keystore, if something other than Defaults to $HOME/.wiremock/ca-keystore.jks. ca-keystore: A key store containing a root Certificate Authority private keyĪnd certificate that can be used to sign generated certificates whenīrowser proxying https. Proxy server (useful when inside a corporate network that only permits proxy-via: When proxying requests (either by using –proxy-all or byĬreating stub mappings that proxy to other hosts), route via another This option is only available if the -proxy-all option is Option is not present, the Host header value is deducted from the proxy preserve-host-header: When in proxy mode, it passes the Host headerĪs it comes from the client through to the proxied service. With -record-mappings such that a session on another service can be proxy-all="" Typically used in conjunction proxy-all: Proxy all requests through to another base URL e.g. match-headers: When in record mode, capture request headers with the record-mappings: Record incoming requests as stub mappings. root-dir: Sets the root directory, under which mappings and verbose: Turn on verbose logging to stdout https-require-client-cert: Force clients to authenticate with aĬlient certificate. truststore-password: Optional password to the trust store. truststore-type: The HTTPS trust store type. Can be a path to a file or a resource on the classpath. https-truststore: Path to a keystore file containing client publicĬertificates, proxy target public certificates & private keys to use whenĪuthenticate with a proxy target that require client authentication. key-manager-password: The password used by Jetty to access individual keys in the store, if something other than The key manager password can be set with the (new) parameter below. Previously this set Jetty’s key manager password, whereas now it Note: the behaviour of this changed in version 2.27.0. ![]() keystore-password: Password to the keystore, if something other than If this option isn’t used WireMock will default to its own self-signed This option will only work if -https-port is specified. https-keystore: Path to a keystore file containing an SSLĬertificate to use with HTTPS. Binds to all local network adapters if unspecified. bind-address: The IP address the WireMock server should serve from. So when running multiple WireMock servers you will also need to specify the -port parameter in order to avoid conflicts. Note: When you specify this parameter, WireMock will still, additionally, bind to an HTTP port (8080 by default). https-port: If specified, enables HTTPS on the supplied port. disable-http: Disable the HTTP listener, option available only if HTTPS is enabled. Use -port 0 to dynamically determine a port. The following can optionally be specified on the command line: $ java -jar wiremock-jre8-standalone-2.34.0.jar
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |