// Click 'Execute Query' to fetch mock GraphQL payload
Mockbit includes a Handlebars-compatible dynamic response generator. Mockbit evaluates mock rules using a 5-Tier Priority Pipeline and attaches diagnostic tracing headers (X-Mockbit-Execution-Tier). Template syntax errors return HTTP Status 561.
// Priority Tier Header Attached to Responses:
X-Mockbit-Execution-Tier: conditional_rule | weighted_split | chaos_fault | stateful_store
// Invalid syntax return header & status:
HTTP/1.1 561 Template Syntax Error
X-Mockbit-Error: Template Evaluation Error{
"status": "active",
"tier": "conditional_rule"
}Test these templates instantly inside the Mockbit Studio or deploy your own endpoints.