Expand description
Priority-based HTTP request handler implementing the full priority chain: Custom Fixtures → Replay → Stateful → Route Chaos (per-route fault/latency) → Global Fail → Proxy → Mock → Record
Structs§
- Behavioral
Replay Response - Response from behavioral scenario replay
- Custom
Fixture Step - Custom fixture lookup step (priority 0 — highest)
- Failure
Injection Step - Global/tag-based failure injection step (priority 300)
- Mock
Response - Mock response
- Priority
Http Handler - Priority-based HTTP request handler
- Priority
Request - Request context passed to each priority step
- Priority
Response - Priority response
- Route
Fault Response - Fault injection response (defined in mockforge-core to avoid circular dependency)
- Simple
Mock Generator - Simple mock generator for testing
Enums§
- Generation
Result - Result of mock response generation, providing structured context for why generation succeeded or was skipped.
Traits§
- Behavioral
Scenario Replay - Trait for behavioral scenario replay engines
- Mock
Generator - Trait for mock response generation
- Priority
Step - A step in the priority handler chain.
- Route
Chaos Injector Trait - Trait for route chaos injection (fault injection and latency) This trait is defined in mockforge-core to avoid circular dependency. The concrete RouteChaosInjector in mockforge-route-chaos implements this trait.