http4k / org.http4k.chaos / ChaosEngine / <init>
ChaosEngine(behaviour:
Behaviour
)
ChaosEngine(initialStage:
Stage
= Wait)
The Chaos Engine controls the lifecycle of applying Chaotic behaviour to traffic, which is exposed as a standard Http4k Filter. Chaos can be programmatically updated and enabled/disabled. By default, the engine is deactivated, so activate() needs to be called to witness any change in behaviour,