Alternatives
Proxy-like
These are similar to Mockaton in the sense that you can modify the mock response without losing or risking your frontend code state. For example, if you are polling, and you want to test the state change.
- Chrome DevTools allows for overriding responses.
- Reverse Proxies such as Burp are also handy for overriding responses. Not easy but very powerful.
- mimtproxy
- HTTP Toolkit
- Proxyman
- Charles Proxy
Server Side
Client Side (Service Worker)
In contrast to Mockaton, which is an HTTP Server, these programs intercept your browser’s requests (or Node’s). Since they use a Service Worker, by design, they inherit their limitations.