Microcks vs Stubborn Contract
Microcks
microcks.ioStubborn Contract
stubborn.shSide by side
| Figure | Microcks | Stubborn Contract |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 2 |
| Spec score · Contract Testing Tools | 8.6 (#4) | 7.3 (#19) |
| Purpose | Microcks is a tool for mocking and testing APIs and microservices. | Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. |
Plans
Stubborn Contract
- Open-source coreFree
- Enterprise PartnershipPriced on request
In their own words
Microcks
Microcks is an open-source tool for mocking and testing APIs and microservices. It works with OpenAPI, AsyncAPI, gRPC/Protobuf, GraphQL schemas, and SOAP, and can build mock responses from examples, generate realistic data, or alter mock data and responses dynamically. It also checks provider and consumer contracts against live implementations and specification versions, and automates checks in CI/CD pipelines with integrations for GitHub Actions, Jenkins, GitLab CI, and Tekton. Containerized deployment supports on-premises, cloud, and developer-laptop use; its Uber distribution is intended for laptop work and unit tests, using ephemeral in-memory MongoDB. The free, community marketplace for API mocks and test suites is enabled by default. Microcks is a CNCF incubating project, with a listed price of free. The public demo is read-only and cannot import APIs or change artifacts. Documentation cautions against production use of the all-managed Kubernetes setup because its single Keycloak and MongoDB instances are not tuned for scalability or security best practices.
Stubborn Contract
Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. The contract-testing core and Stubborn Broker OSS use the Apache 2.0 license and are free to use, modify, and deploy. YAML, Groovy, Java, and Kotlin formats are supported, and existing Groovy DSL, YAML, and Java DSL contracts can remain during migration. Contracts can be published through Maven or Gradle plugins or the CLI. Stubborn Broker verifies contracts across branches and services and offers a CI-oriented can-i-deploy check. Listed Broker capabilities include branch-aware governance, AI contract creation from captured HTTP traffic, and MCP integration for AI agents, with SDKs for Java, Kotlin, JavaScript, and TypeScript. Version 0.1.2 adds Spring-free Kafka, RabbitMQ, and JMS building blocks and runs on Java 17 or later. An OpenRewrite recipe automates mechanical migration. Broker can run locally with Docker on port 8080.