Microcks

Microcks is an open-source, cloud-native tool that turns API specifications (OpenAPI, AsyncAPI, gRPC, GraphQL, and others) into live mocks in seconds and performs contract conformance testing to verify that API implementations meet their contracts.

Mocking and contract testing for APIs using common API artifacts.

Microcks is an open-source, cloud-/Kubernetes-native tool for API mocking and contract testing that turns your existing artifacts—OpenAPI, AsyncAPI, gRPC/Protobuf, GraphQL schemas, Postman collections, SoapUI projects—into live mocks and reusable tests, with CI/CD integrations (Jenkins, GitHub Actions, Tekton). It supports both synchronous and event-driven APIs, connecting to brokers like Kafka, MQTT, AMQP/RabbitMQ, NATS, and WebSocket to validate payloads against your specs. Microcks is a Cloud Native Computing Foundation Sandbox project (accepted June 22, 2023).

License: Apache 2.0

Tags: Testing, Mocking

Properties: API mocking for REST/gRPC/GraphQL/SOAP, event-driven mocking & contract testing for Kafka/MQTT/AMQP-RabbitMQ/NATS/WebSocket (and other brokers), import from OpenAPI/AsyncAPI/Protobuf/GraphQL/Postman/SoapUI, schema-conformance testing with drift detection, smart dynamic mocks with on-the-fly transformations, GitHub Actions & CI/CD integration, Microcks REST API for automation, Kubernetes-native deployment via Helm and Operator, Avro + Schema Registry support on Kafka, organized repository & web UI for managing mocks and tests.

Website: https://microcks.io/


Last modified December 31, 2025: update latest docs (d09718ca)