Contract Testing using AsyncAPI Specs as Executable Contracts
By Hari Krishnan
Sample projects with AsyncAPI
Sample project with Kafka & AsyncAPI: https://github.com/znsio/specmatic-order-bff-nodejs
Sample project with JMS and AsyncAPI: https://github.com/znsio/specmatic-order-bff-jms
Sample project with Google Pub/Sub and AsyncAPI: https://github.com/znsio/specmatic-google-pubsub-sample
Available in Pro Plan and higher
Categories
Related Posts
By Hari Krishnan
WireMock’s Dirty Secret: Ignoring API Specs & Letting Invalid Examples Slip Through
Overcoming the Challenges of Hand-Rolled Mocks with Contract-Driven Development APIs and microservices have transformed the way software systems are built and maintained. However, developing a
By Hari Krishnan
Specmatic MCP as guardrails for Coding Agents: API Spec to Full Stack implementation in minutes
Table of Contents In this walkthrough we'll show how to use Specmatic MCP server for API testing (Contract and Resiliency) and Mocking as a guardrail
By Joel Rosario
Build Apps from API specs using AI: Self-Correcting Contract-Driven Agentic Workflows with Specmatic
Harnessing the Power of API Specifications for Robust Microservices Modern microservice architecture hinges on precise and dependable communication between services. This is where API specifications
By Joel Rosario
API Resiliency and Contract Testing for GraphQL
Transform your GraphQL API specs into executable contracts in seconds Now you can easily leverage your GraphQL APIs for contract testing, intelligent service virtualisation and
By Naresh Jain
OpenAPI’s Broken Tooling: Roundtrip Fidelity Failure with CodeGen and DocGen
Exploring the Strengths and Weaknesses of Automated API Development Maintaining well-documented and reliable APIs is essential for any microservices development pipelines. At the heart of
By Naresh Jain
OpenAPI Examples Simplified: Visualize and Generate Domain-Specific Test Data
Streamlining API Development: An Interactive Guide to Example Generation and Validation using Specmatic A robust, streamlined approach to API development is crucial for maintaining efficiency,
By Hari Krishnan
Visual Workflow Mocking and Testing with Specmatic and Arazzo API Specifications
Table of Contents API workflow testing with Arazzo and Specmatic: Visual authoring, workflow mocking, and backend verification Here we'll walk through a practical approach to
By Hari Krishnan
Pact’s Dependency Drag: Why Consumer-Driven Contracts Don’t Support Parallel Development
Exploring the challenges and limitations of using Pact for contract testing in a microservices environment. In the domain of microservices, ensuring seamless communication between different
By Joel Rosario
Kafka Mocking with AsyncAPI using Specmatic
The Specmatic Kafka mock is wire compatible and entirely within the control of the test, the test can run locally and in CI and deliver
By Naresh Jain
Why APIs Fail and How No-Code, Intelligent API Resiliency Testing Can Prevent the Next Outage
Ensuring Reliability in an API-Driven World APIs have become the backbone of today’s digital landscape, connecting applications, services, and countless user experiences. With microservices architectures






