MockServer
An HTTP mock and proxy server for integration testing. Define request expectations with custom responses, record and replay traffic, and verify that your systems send the correct requests.
What You Can Do After Deployment
- Visit your domain — open the MockServer dashboard UI
- Create expectations — define mock responses for specific request patterns
- Send requests — point your application or tests at MockServer
- Verify requests — confirm that expected requests were received
- Inspect traffic — review all captured requests and responses in the dashboard
Key Features
- Define expectations with JSON or Java API
- Match requests by path, method, headers, body, and query parameters
- Return custom response status codes, headers, and body content
- Forward requests to downstream services (proxy mode)
- Record and replay HTTP traffic
- Request verification with flexible matching
- OpenAPI and Swagger expectation generation
- Built-in dashboard for visual inspection
- REST API for programmatic control
License
Apache-2.0 — GitHub