MockServer
API mocking and proxying.
Overview
MockServer allows you to mock any system you integrate with via HTTP or HTTPS. It provides a Java library, a standalone Netty web server, a Docker container, and integrations with build tools, enabling mocking in various testing scenarios.
✨ Key Features
- Mocking of HTTP/HTTPS requests
- Proxying and recording requests
- Request matching by path, method, headers, cookies, and body
- Dynamic response generation using templates or callbacks
- Client libraries for Java, JavaScript, Ruby, and more
🎯 Key Differentiators
- Extensive client library support beyond the JVM
- Built-in proxying with request/response modification
- Can be run in multiple modes (server, library, container)
Unique Value: Provides a language-agnostic, highly configurable mocking and proxying server suitable for complex automated testing scenarios.
🎯 Use Cases (4)
✅ Best For
- Automated integration testing in CI/CD
- Proxying and modifying traffic for debugging
💡 Check With Vendor
Verify these considerations match your specific requirements:
- Users who require a graphical user interface
- Simple, one-off API prototyping
🏆 Alternatives
Offers broader client language support compared to the more Java-focused WireMock.
💻 Platforms
✅ Offline Mode Available
🔌 Integrations
💰 Pricing
Free tier: Fully open-source and free.
🔄 Similar Tools in API Mocking
Postman
A comprehensive platform for building and using APIs, including features for API mocking....
Stoplight
A collaborative API design platform with powerful mocking capabilities....
Mockoon
An open-source desktop application for creating mock APIs locally....
WireMock
A flexible, open-source tool for API mocking, running as a library or standalone server....
Beeceptor
An HTTP inspector and mocking tool for REST and webhook development....
Mountebank
An open-source tool for service virtualization over multiple protocols....