Mock Engine Service Architecture
The core service responsible for mock API execution.
Module Structure
Request Processing Pipeline
Key Responsibilities
- Instance creation, start, stop, reset, delete
- Route matching with path parameters and wildcards
- Response selection (rules, sequence, weighted random)
- Template variable rendering
- Stateful mock data management
- Request/response logging
- Route caching via Redis