Describe
Start with the contract your application already expects: operations, payloads, errors, and events.
Controlled environment for AI development
Mock every dependency around your backend so coding agents can integrate, retry, fail, and recover without touching production or spending against real providers.
Describe a dependency, a state change, or the failure you need to reproduce.
I built a stateful checkout mock with a deterministic timeout on the first attempt and success on retry. Nothing touched production.
A guided product demo · nothing is sent to a real provider
Mock third-party dependencies in development
Payment gateways, identity providers, CRMs, AI APIs, and partner services bring credentials, rate limits, costs, slow sandboxes, and unpredictable data into development. DotMock gives your application stable stand-ins shaped like the third-party APIs it already calls.
Replace a dependency in four moves
Your application still makes the same calls. In development, those calls go to a workspace you can shape, inspect, and reset.
PROVIDER_BASE_URL=DOTMOCK_WORKSPACE_URLChange one environment value. Keep the integration path your application already uses.
Start with the contract your application already expects: operations, payloads, errors, and events.
Add the behavior development needs—state, latency, retries, failures, streams, and webhook sequences.
Swap the third-party base URL in your development or test configuration. Keep the application code.
Run the real flow, inspect every exchange, and reset the dependency whenever you need a clean state.
Test the paths provider sandboxes skip
Reproduce declined payments, expired tokens, rate limits, partial records, delayed webhooks, dropped streams, and recovery sequences on demand. Every developer and test run gets the behavior it needs without waiting for the provider to produce it.
402401429504event{
"error": {
"code": "card_declined",
"message": "The card was declined.",
"retryable": false
}
}Mock the dependency you actually use
Third-party systems are more than REST endpoints. Preserve the interface your client expects while taking control of its data, timing, state, and failures.
Explore the docsOpenAI, Anthropic, Gemini, Bedrock, Azure OpenAI, Ollama, and Cohere routes with streaming, tool calls, usage, and failures.
Payments, identity, shipping, CRM, and any OpenAPI-shaped service.
Queries, mutations, subscriptions, variables, and resolver errors.
WSDL/XSD contracts, XML envelopes, enterprise operations, and faults.
Protobuf services, metadata, status codes, and streaming behavior.
Signed events, delayed delivery, retries, failure responses, and inspection.
Stop waiting on someone else's environment