Skip to content
SPECIFICTION
Get listed

Microcks vs Pact

Microcks

microcks.io

Pact

pact.io

Side by side

FigureMicrocksPact
Price fromFree$115.42/mo
Free planYesYes
Free trial—Yes
Open source——
WebYes—
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYesYes
Self-hostedYesYes
Plans published15
Spec score · API Design Tools8.9 (#4)8.9 (#5)
Spec score · Contract Testing Tools8.6 (#4)8.7 (#2)
Spec score · Integration Testing Tools8.7 (#7)8.8 (#5)
CI/CDIt provides integrations for GitHub Actions, Jenkins, GitLab CI, and Tekton pipelines.The Pact Broker supports CI/CD workflows, including compatibility checks that indicate whether application versions can be deployed together.
IntegrationsOfficial automation integrations include GitHub Actions, Jenkins, GitLab CI and Tekton Pipelines.PactFlow's Bi-Directional Contract Testing integrates with OpenAPI and lists Cypress, Postman and Wiremock as tools for writing contracts.
PurposeMicrocks is a tool for mocking and testing APIs and microservices.Pact is a code-first tool for testing HTTP and message integrations with contract tests.
SecurityMicrocks uses Keycloak for identity, authentication, permissions, and API endpoint protection, with OpenID Connect for user authentication.PactFlow says it encrypts data at rest with AES-256, enforces TLS 1.2 or higher, and stores data and backups in AWS Sydney.

Plans

Microcks

  • Microcks (open-source distribution)Free

Microcks pricing →

Pact

  • PactFlow StarterFree
  • Pact open-source toolingFree
  • PactFlow Team (yearly)$115.42 a month
  • PactFlow Team (monthly)$127 a month
  • PactFlow EnterprisePriced on request

Pact pricing →

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.

Visit microcks.io

Pact

Pact is a free, code-first tool for testing HTTP and message integrations with contract tests. Automated consumer tests create contracts describing concrete interactions between consumer and provider applications. Teams can then test each side in isolation against that shared contract, without deploying the entire system. Pact implementations are available for more than 10 languages, including JavaScript, Java, .NET, Go, Python, Ruby, Swift and Objective-C, Scala, Rust, PHP, and C++. Its CLI includes mock and stub servers, a provider verifier, a broker client, and a plugin CLI. The open-source Pact Broker shares contracts and verification results; teams can host and administer it themselves, and use its CI/CD workflows to check whether application versions can be deployed together. The verifier supports HTTP and asynchronous and synchronous messages, while plugins include gRPC, Avro, and CSV support. Documentation includes recipes for tools and scenarios such as GraphQL, Cypress, Kafka, and AWS Lambda. Pact is most useful when teams control both consumer and provider development. The free Broker is self-hosted, leaving its security, maintenance, and upgrades to its operator.

Visit pact.io