Mock Interceptor - getheimdall/heimdall GitHub Wiki
Definition
The Mock interceptor can be used to create a simple response for testing purposes.
Details

Name: Simple name for your interceptor
Description: A simple description for your interceptor
Life Cycle: The appropriate life cycle for the interceptor
- Life cycles allowed:
- Api
- Plan
- Resource
- Operation
Content: Configuration of the interceptor
JSON example:
{
"body": "{'name': 'Mock Example'}",
"status": "200"
}
body: response body
status: response http status code