-
I am running this on Node.JS....I have configured my js as follows using a JSON schema matcher -
```
var mockserver = require('mockserver-node');
var mockServerClient = require('mockserver-client…
-
First off, this is a great project and already replacing my use of wiremock with this.
Was thinking given the typical use case/pattern below for using the JUnit rule and MockServerClient
``` java
@R…
-
1. I deploy the war using tomcat.
2. create a maven project to check this function( org.mockserver.client.server.MockServerClient - makes HTTP requests to a remote MockServer instance)
import org.…
-
Here is my requirement:
When i send a request with some path - "/abc", i expect that it returns a 404 the first 2 times. The 3rd time i want to return a 200.
Is there any existing API for the same? I…
-
Use this packet a ton, thank you!
Don't know if this is a bug or I'm doing something wrong ,but I am uncertain with `.verify`.
When running the mock server like so from the command line:
```bas…
-
I'm getting a CORS error when trying to POST to my mockserver from another port on localhost. I'm using `setDefaultHeaders` to set `Access-Control-Allow-Origin` to all. Is there something I'm doing wr…
-
Hello,
Upgrading from 5.2.3 to 5.3.0 I go from no errors to getting an exception. Here is a simple example:
```java
import static org.mockserver.integration.ClientAndServer.startClientAndServer…
-
Hi there,
I'm setting up 18 expectations and when I try to use `retrieveActiveExpectations` it returns only 17 of them with one missing.
I've used [this](https://github.com/jamesdbloom/mockserve…
-
I have created the grunt task to set an expectations and tried to retrieve the same.
```
var path = '/somePathOne';
var client = mockServerClient("localhost", 9000);
client.mockSimpleResponse(path, …
-
Here is a very basic reproducible rspec
```
RSpec.describe 'Mockserver retrieve requests' do
it 'returns requests' do
`curl -XPOST localhost:2000/message -d 'Hello this is a message'`
msc …