forward a request when the request matches an expectation (i.e.
return a "mock" response when a request matches an expectation.
if no matching expectation proxy requestĪn expectation defines the action that is taken, for example, a response could be returned.
find matching expectation and perform action.
Then, if no matches are found, it proxies the request if appropriate otherwise a 404 is returned.įor each request received the following steps happen: When MockServer receives a request it matches the request against active expectations that have been configured.
both a proxy for some requests and a mock for other requests at the same time.
a proxy recording and optionally modifying requests and responses.
a mock configured to return specific responses for different requests.
What is MockServerįor any system you integrate with via HTTP or HTTPS MockServer can be used as: