You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditional scenarios (scenarios:): custom routes can now declare multiple response variants evaluated in declaration order — the first matching when: block wins
when: as object → AND semantics: all entries must match (dot-notation keys: body.X, params.X, query.X, headers.X)
when: as array of objects → OR of ANDs: any group satisfying all its conditions triggers the scenario
otherwise: fallback: explicit response when scenarios: are defined but none matched — takes priority over response:
Field operator suffixes in conditions:_ne, _like, _start, _regex, _gte, _lte work on scenario condition keys, reusing the same operators as the query layer
Template variables in scenarios/otherwise:{{}} interpolation supported in scenario and otherwise response bodies
Per-route delay:: fixed delay (ms) applied to a specific _routes entry before any response is sent, regardless of which path resolved it (handler / scenario / otherwise / response)