Skip to content
SPECIFICTION
Get listed

BBC Consumer Contracts vs Microcks

BBC Consumer Contracts

github.com

Microcks

microcks.io

Side by side

FigureBBC Consumer ContractsMicrocks
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
Windows—Yes
macOS—Yes
Linux—Yes
APIYesYes
Self-hostedYesYes
Plans published11
Spec score · Contract Testing Tools8.1 (#8)8.6 (#4)
IntegrationsThe project uses the request HTTP client and Joi for response validation.Official automation integrations include GitHub Actions, Jenkins, GitLab CI and Tekton Pipelines.
PurposeConsumer Contracts lets API consumers define executable JavaScript contracts describing the responses they expect from services.Microcks is a tool for mocking and testing APIs and microservices.
SecurityThe README shows SSL request configuration options, including client certificates and a strictSSL setting, but states no security certification or compliance claim.Microcks uses Keycloak for identity, authentication, permissions, and API endpoint protection, with OpenID Connect for user authentication.

Plans

BBC Consumer Contracts

  • Consumer ContractsFree

BBC Consumer Contracts pricing →

Microcks

  • Microcks (open-source distribution)Free

Microcks pricing →

In their own words

BBC Consumer Contracts

BBC Consumer Contracts is a free JavaScript package for executable consumer-driven API contracts. It describes the requests a consumer makes and the responses expected in return. Every contract requires consumer, name, request, and response properties. The package uses the request HTTP client and Joi schemas to check response status codes, headers, and JSON bodies. Optional before and after functions support setup and cleanup, using callbacks or asynchronous functions. Retry behavior accepts numeric or custom settings; the documented default maximum is zero. The consumer-contracts run command validates contracts recursively in a contracts directory or runs one named file. Programmatic callers can pass an array to validateContracts, which runs every contract instead of stopping at the first failure. Installation instructions cover global CLI use and local pnpm development dependencies. It requires Node.js 18 or later and pnpm 10 or later, and supports API and self-hosted use under Apache License 2.0.

Visit github.com

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.

Visit microcks.io