
About Microcks
Microcks is an open source, cloud native tool for mocking and testing APIs. It uses existing API descriptions to run mocks and checks, covering both synchronous and event-driven interfaces.
What it does
Microcks reads API definitions in several formats, including OpenAPI, AsyncAPI, gRPC and Protobuf, GraphQL and SOAP. From those definitions it can run dynamic mocks that return realistic examples or transform data on the fly. Teams can use the mocks to build against a service before it is ready. The tool also runs provider and consumer contract tests against live implementations, and it can generate code snippets for integration. Checks can run inside CI and CD pipelines, and the platform is packaged as a container that can run on a laptop, on premises or in the cloud.
Key features
- Work with OpenAPI, AsyncAPI, gRPC, GraphQL and SOAP
- Create dynamic mocks from examples or transformations
- Check provider and consumer contracts in CI and CD
- Generate code snippets for integration
- Deploy as a container on a laptop or in the cloud
Who it's for
Platform teams, API teams and microservice teams that depend on services they do not control will find it useful. Teams working with event-driven systems will also benefit from its support for AsyncAPI.
Pricing and good to know
Microcks is open source under the Apache 2.0 license and is free to use. It is maintained by a community and supported through sponsorship, so the project depends on contributors and donors. Running it in production requires setting up the container deployment, which takes some time for teams new to Kubernetes.
Highlights
- Work with OpenAPI, AsyncAPI, gRPC, GraphQL and SOAP
- Create dynamic mocks from examples or transformations
- Check provider and consumer contracts in CI and CD
- Generate code snippets for integration
- Deploy as a container on a laptop or in the cloud












