Package org.mockserver.client
package org.mockserver.client
-
ClassDescriptionHandler 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.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 byMockServerClient.contractTest(java.lang.String, java.lang.String)andMockServerClient.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.AnAssertionErrorraised whenMockServerClient.verifySLO(SloCriteria)receives aFAILverdict (406).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.Sub-builder for configuring a single turn within an LLM conversation mock.