Guides

Task-shaped walkthroughs of the typed DSL. For side-by-side Mountebank JSON mappings see Migrating from Mountebank; for exact types and signatures see the API reference.

  • The typed DSL — building an imposter: stubs, predicates, responses, behaviors, faults, proxying, and the escape hatches. Read this first.
  • Verification — asserting what an imposter received: verify(), recorded(), the count matchers, and what client-side predicate evaluation does and doesn’t support.
  • Scenarios & state — stateful mocks: the scenario() FSM builder, runtime scenario controls, and per-flow state (flowState(), flowIdFromHeader()).

Table of contents