Fault injection

Inject rate-limits, latency, timeouts, or malformed JSON into matching requests. /api/v1/_mock/* paths are never affected.

Add a rule

@if (needsStatus()) { } @if (needsDelay()) { }
@if (error()) {

{{ error() }}

}

Active rules

@if (rules().length) { }
@if (loading()) {

Loading…

} @else if (!rules().length) {

No fault rules active.

} @else { @for (r of rules(); track r.id) { }
id match effect remaining
{{ r.id }} {{ r.match.methods?.join(',') || 'any' }} {{ r.match.path || r.match.path_regex || '*' }} {{ r.effect.type }} @if (r.effect.status) { ({{ r.effect.status }}) } @if (r.effect.delay_ms) { {{ r.effect.delay_ms }}ms } {{ r.remaining ?? '∞' }}
}