GuidesUsing the ConsoleGovernance
Traffic mock
Return fixed Code, delay, and Body when API and traffic conditions match.
Wizard type: Mock (kind=traffic-mock).

Steps
- Create rule → Mock.
- Fill and save:
- Basics
- Service scope: caller (may be all) → mocked callee
- Mock sub-rules (≥1): select APIs → traffic match → response (Code, delay ≥0, headers, body)
- Publish.
Body
- JSON Content-Type requires valid JSON body.
- Full-screen body editor is available.