Use cases
What teams use Mockhop for: simulate API errors and timeouts, build the frontend before the backend is ready, mock GraphQL, SOAP and WebSocket.
Build the frontend before the backend is ready
Build your frontend against a hosted mock API while the backend isn't ready: realistic data, error and loading states, one URL for the whole team.
GraphQL mock server
Mock a GraphQL API: answer queries and mutations by operation name, insert request variables into responses, and add delays or errors.
Mock API for AI coding agents
Your AI coding agent builds the frontend and there is no backend yet. Over MCP it sets up a hosted mock API, calls it and reads the request logs.
Mock polling and multi-step flows
Return a different response on each call: mock polling, payment status and checkout flows with scenarios, separate sessions and step headers.
Record real API traffic and replay it as mocks
Put Mockhop in front of a real API, record its requests and responses, and replay them as mocks when the API is slow, paid or unavailable.
Simulate API errors, timeouts and rate limits
Test how your client handles failing APIs: errors for a share of calls, timeouts, 429 rate limits, slow responses and a circuit breaker.
Mock SOAP services from a WSDL
Import a WSDL and get SOAP mock endpoints: routing by SOAPAction, XPath or XML element, templated XML responses and SOAP faults, SOAP 1.1 and 1.2.
WebSocket mock server
Mock a WebSocket server: send a welcome message on connect, answer client messages by exact text or JSON fields, add delays and broadcast to clients.