mockserver
mockserver copied to clipboard
MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied tra...
I am trying to create an expectation where I want to use regex in json body. As an example in the following json body I don't care what name and...
I'm trying to clear logs using requestDefinition , unfortunately, logs are not cleared. **Code:** mockServer.clear( request() .withPath("/mockserver/qwe/msg.ashx")); _The above line clears the expectation but does not logs._ **Log Details:** **CLEARED**...
I'd like to define an expectation the following way: `` mockServerClient.when(request().withPath("/{a}/foo/{b}-{c}-{d}") .withPathParameters(param("a","val1"),param("b", "val2"),param("c", "val3"),param("d", "val4")) ... `` However, it seems like MockServer does not support complex patterns like {a}-{b}-{c}-{d} for...
**Describe the issue** When specifying security globally, you can override that security on the operation level or just disable security by specifying an empty security list as can be seen...
I would use a Certificate Chain (multiple PEM file merged in one file - end-entity certificate + Intermediate certificate) to do server authentication. I'm using the following env variable: `MOCKSERVER_TLS_X509_CERTIFICATE_PATH`...
**Describe the issue** The order in which expectations with path parameters for different paths are registered seems to influence whether a verification passes or not. **What you are trying to...
**Describe the feature request** When it comes to the docker instance of a mockserver there're handy ENVs that enable a user to point out to mapped under the container config...
Starting up Mockserver, without overriding `MOCKSERVER_MAX_LOG_ENTRIES` defaults to 18k entries. Increasing `MOCKSERVER_MAX_LOG_ENTRIES` to 100k and running our program against it, it supports well over 64k log entries, why is the...
I'm taking over our mockserver setup, and read we are to install two different helm installations. The `mockserver-config` helm chart, and then the main `mockserver` helm chart. Any thoughts on...
**Describe the issue** It seems that injecting `MockServerClient` into constructor is not working. **What you are trying to do** I'm trying to use MockServer as a 'standalone' MockServer to run...