Uploaded October 2025 | Updated December 2026, 2 days ago
"Mocking event-driven APIs is not as simple as mocking REST endpoints. In asynchronous architectures using Kafka, MQTT, or AMQP, messages are dynamic, context-aware, and often evolve over time—making static mocks inadequate. To truly validate and accelerate development, teams need mocks that behave like real producers and consumers.
In this session, we’ll dive into strategies for creating dynamic, realistic mocks for messaging APIs that go beyond hardcoded responses.
In this session, You’ll learn:
* Why event-driven APIs are hard to mock compared to synchronous APIs
* Why static mocks fail in event-driven environments
* How to handle schemas and contracts like AsycnAPI to keep mocks accurate
* Approaches to simulating message flows and timing for realistic scenarios
* How to leverage open-source tools like Microcks for scalable mock generation
We’ll also walk through an example using an open-source tool that applies these principles in real-world projects, showing how teams can reduce friction and accelerate API delivery without sacrificing realism.
By the end, you’ll leave with practical techniques for building smarter mocks that make asynchronous systems easier to develop and integrate.
More details: confengine.com/conferences/apidays-india-2025/proposal/23557
Conference Link: https://www.apidays.global/archive/2025/india"
"Mocking event-driven APIs is not as simple as mocking REST endpoints. In asynchronous architectures using Kafka, MQTT, or AMQP, messages are dynamic, context-aware, and often evolve over time—making static mocks inadequate. To truly validate and accelerate development, teams need mocks that behave like real producers and consumers.
In this session, we’ll dive into strategies for creating dynamic, realistic mocks for messaging APIs that go beyond hardcoded responses.
In this session, You’ll learn:
* Why event-driven APIs are hard to mock compared to synchronous APIs
* Why static mocks fail in event-driven environments
* How to handle schemas and contracts like AsycnAPI to keep mocks accurate
* Approaches to simulating message flows and timing for realistic scenarios
* How to leverage open-source tools like Microcks for scalable mock generation
We’ll also walk through an example using an open-source tool that applies these principles in real-world projects, showing how teams can reduce friction and accelerate API delivery without sacrificing realism.
By the end, you’ll leave with practical techniques for building smarter mocks that make asynchronous systems easier to develop and integrate.
More details: confengine.com/conferences/apidays-india-2025/proposal/23557
Conference Link: https://www.apidays.global/archive/2025/india"










