#####INCLUDE z.upperside.html
MockMotor is a mock/stub server for HTTP, SOAP, REST, GraphQL, WebSocket and LDAP services, built for teams that need a realistic, stateful, scriptable stand-in for a dependency that isn't available, is too slow, or is too risky to hit directly in testing.
This documentation covers current, day-to-day usage. For release announcements, longer write-ups, and "why we built it this way" pieces, see the blog.
Environments, services, reactions and how a request finds its way to a response.
Ports, traffic type (HTTP or LDAP), logging, access control.
Grouping reactions by URL prefix (or LDAP BaseDN).
Matching, payload generation, headers, attachments, forwarding, delays.
Worked JSON & XML examples pulled from the live public demo - matching, account selection, account updates.
Pulling values out of the request and into the response.
Stateful test data selected per-request and returned or updated.
Shared JavaScript/XQuery functions and built-in JWT signing/verification.
SOAP SWA/MTOM/XOP, binary downloads, file attachments.
Stubbing an LDAP directory: Bind, Search, BaseDN routing, entries.
Proxying to a real backend, and recording real traffic into new reactions.
Recording transactions as cached reactions: keys, raw reactions vs. accounts, caching scripts vs. results.
Automatic CORS handling, Basic Auth and JWT-secured mocks.
Driving MockMotor from an AI agent or a CI pipeline instead of the console.