~/talk

Strategies for Generating Dynamic, Realistic Mocks for Messaging APIs

Talkat Apidays India 2025 · 2025-10-08..10-09· [testing, developer-experience]
links:none on file
slides:none on file

Shows how to turn AsyncAPI contracts into stateful, time-aware mocks that emit Kafka messages from a Docker Compose test stack, generate dynamic IDs and correlated fields with Micros mock templates, and enforce ordering, delays, retries and duplicate delivery using dispatcher rules. Demonstrates importing multiple spec files, replaying real traffic traces, running integration tests against the mock, and editing example sets so docs and contract tests can use separate human-readable and randomized examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:35Event-driven APIs need mocking
  3. 4:25Mocking challenges
  4. 6:48AsyncAPI for contracts
  5. 9:17Realism in dynamic mocks
  6. 10:41Context-aware mocks with templates
  7. 11:45Micro: API mocking tool
  8. 12:06Demo: Dynamic mocks with Micro
  9. 17:26Key takeaways
  10. 18:29Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.