Skip to main content
Returns a response you define instead of actually contacting the target service. The connection short-circuits the call and hands back the status code, headers and body you configured, so no real network request is made. Use this for testing and development, when you want to try an integration without hitting a live API, or to stand in for a service that is not available yet. You can optionally add request matchers. When you do, the mock response is only returned for requests that match every matcher you add; any request that does not match is sent on to the real service as normal. With no matchers, every request is mocked.

Fields

Sample data

This plugin returns a fixed response rather than transforming data, so there is no before/after to show. The example below returns a 200 response with a small JSON body for every request, with no matchers so all requests are mocked.
FieldValue
Response200 with a JSON body
Request matchers(none: every request is mocked)