Skip to main content
Version: 3.0.0



The main distribution includes the plugin-proxy plugin preinstalled. It provides a route handler that proxy requests to another host and pass response back.

This is very useful when developing integration tests, for example, because you can redirect requests to the original host and modify its responses. So, you can start developing integration tests before the real API is modified according to the new contract.


The proxy route handler uses the express-http-proxy package under the hood, and supports all of its options.

Mocks server common properties to all variants are in cursive. Specific properties of the proxy handler are in bold:

Tip: Note that the delay option is still valid, so you can use it to simulate that host responses are slow.


Read the proxy route variants guide to get some suggestions about how to use it.