Skip to main content
Account

Microcks

Microcks turns OpenAPI, AsyncAPI and gRPC specs into live mock servers and contract tests. Learn how to mock APIs and run conformance tests in CI.

Status
Stable
Category
App Definition and Development
Subcategory
Application Definition & Image Build
License
Apache-2.0
Technology matrix Skip Just not for me See the matrix

Microcks turns API and event specifications into live mock servers and contract tests. Given an OpenAPI, AsyncAPI, gRPC/protobuf, GraphQL SDL, Postman collection, or SoapUI project, it spins up an endpoint that replays example responses and, for async APIs, produces or consumes messages on the configured broker.

The server is a Spring Boot application backed by MongoDB for artifact storage and Keycloak for auth. Uploaded artifacts are parsed into an internal model and exposed under stable mock URLs; example data can come from the spec itself, from Postman collection examples, or from separate β€œsecondary” files so teams can keep mock data alongside the contract. For async APIs, Microcks integrates with Kafka, MQTT, AMQP, NATS, WebSockets, Google Pub/Sub, and Amazon SQS/SNS to publish and verify messages. A microcks-cli and GitHub Actions, Jenkins, and Tekton integrations run the same mocks as contract-conformance tests in CI against a real implementation.

Microcks is a CNCF sandbox project and overlaps with Prism, WireMock, and Postman Mock Servers, with its distinguishing points being native AsyncAPI support and a single platform that handles both mocking and contract testing.

Recent Microcks news

  • Microcks moves from CNCF Sandbox to Incubation

    The CNCF Technical Oversight Committee voted to promote Microcks β€” a multi-protocol API mocking and contract-testing platform β€” to Incubating status, three years after Sandbox acceptance.

Application Definition & Image Build

Email signup loads here. You can also manage email preferences in account settings.

Build Microcks? I'll show you where engineers get stuck with it β†’ Back free content for the community β†’