Package org.mockserver.mock.action.http
package org.mockserver.mock.action.http
-
ClassDescriptionInstalled after a WebSocket handshake when the HttpWebSocketResponse has matchers.Callback interface for sending response frames to the client.Safety circuit-breaker for service-scoped chaos: when the number of error-class chaos faults (5xx synthetic errors, dropped connections, and quota-limit responses) within a configurable sliding window exceeds a threshold, all active service-scoped chaos profiles are automatically halted (disabled) via
ServiceChaosRegistry.reset().Orchestrates scheduled multi-stage chaos experiments.An experiment definition: name, ordered stages, and whether to loop.Snapshot of the current experiment status.A single stage: profiles to apply to specific hosts for a duration.Handles the graphql-transport-ws protocol over an already-established WebSocket connection.Callback interface for sending text frames to the client, with optional delay support.Evaluates aGrpcChaosProfileagainst the current request context (match count, quota state) and decides whether to inject a gRPC fault.The outcome of a gRPC chaos fault decision.Process-wide registry of gRPC chaos profiles, keyed by gRPC service name.Handles forward-with-fallback actions: forwards the request to the upstream host defined by theHttpForward; if the upstream returns a status code matching the fallback criteria (default 500-599) or the request times out / fails to connect, the configured fallbackHttpResponseis returned instead.Process-wide, stateful request quota for HTTP chaos — a fixed-window rate limiter, the HTTP counterpart ofLlmQuotaRegistry.Cost-budget circuit-breaker for LLM forwarding.Process-wide registry of service-scoped HTTP chaos profiles, keyed by upstream host.Process-wide registry of TCP-layer chaos profiles, keyed by host.