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 traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
When calling org.mockserver.client.server.MockServerClient.dumpToLog(HttpRequest) it causes to modify server persisted expectation.
MockServerMatcher.java#L96
The problem could be due to if (expectation.matches(httpRequest)) line 100 which decreases the counter.
When calling
org.mockserver.client.server.MockServerClient.dumpToLog(HttpRequest)
it causes to modify server persisted expectation. MockServerMatcher.java#L96 The problem could be due toif (expectation.matches(httpRequest))
line 100 which decreases the counter.