All Classes and Interfaces
Class
Description
Handler invoked when a REQUEST-phase breakpoint is hit.
Handler invoked when a RESPONSE-phase breakpoint is hit.
Handler invoked when a RESPONSE_STREAM or INBOUND_STREAM phase breakpoint is hit.
Deprecated.
instead use org.mockserver.client.initialize.PluginExpectationInitializer or org.mockserver.server.initialize.ExpectationInitializer
Convenience re-exports of LLM model-class static factories so that
users can write a single import:
Builder for multi-turn LLM conversation mocks with optional per-session isolation.
Builder for LLM provider failover/retry test scenarios.
Fluent builder for creating LLM mock expectations.
Client for communicating with a running MockServer instance.
Fluent builder for
MockServerClient.Structured report returned by
MockServerClient.contractTest(java.lang.String, java.lang.String) and MockServerClient.trafficValidate(java.lang.String).Result of validating a single operation/request against an OpenAPI specification.
A scenario and its current state, as returned by the scenario control-plane endpoints.
An
AssertionError raised when MockServerClient.verifySLO(SloCriteria) receives a
FAIL verdict (406).If the MockServer is started using the Maven Plugin a initializationClass property can be specified to initialize expectations, when the MockServer starts.
Fluent builder that stands MockServer up as a mock realtime voice API — either the OpenAI Realtime API
or the Google Gemini Live API — over a WebSocket, so an application/agent using those SDKs can be tested
offline.
Options that shape the expectations returned by
MockServerClient.retrieveRecordedExpectations(org.mockserver.model.RequestDefinition, RecordedExpectationsOptions).Which expectation would serve a recorded request now, why each expectation evaluated ahead of it was passed over,
and how the request was handled when it arrived; returned by
MockServerClient.explain(String).One expectation as it was evaluated.
The request was forwarded and the forward failed, so MockServer answered with a
502.How the request was handled when it arrived.
Why an expectation was passed over, in the order the gates are applied when a request is served;
UNKNOWN is a reason this client does not know, sent by a newer server.Sub-builder for configuring a single turn within an LLM conversation mock.