Uses of Package
org.mockserver.model
Packages that use org.mockserver.model
Package
Description
-
Classes in org.mockserver.model used by org.mockserver.authentication
-
Classes in org.mockserver.model used by org.mockserver.authentication.jwt
-
Classes in org.mockserver.model used by org.mockserver.authentication.mtls
-
Classes in org.mockserver.model used by org.mockserver.authentication.oidc
-
Classes in org.mockserver.model used by org.mockserver.clientClassDescriptionDescribes a cross-protocol scenario correlation: when a protocol event matching
CrossProtocolScenario.trigger(and optionallyCrossProtocolScenario.matchPattern) is observed, the named scenario is advanced toCrossProtocolScenario.targetState.Represents a single step in an ordered multi-action expectation pipeline.Response action for true bidirectional gRPC streaming.Declarative HTTP fault/chaos injection for mocked and forwarded responses: probabilistic connection-drop injection, error status injection (e.g. 500, 503, 429 with an optionalRetry-Afterheader), latency injection, and response-body corruption (truncateBodyAtFractionkeeps only a leading fraction of the body bytes;malformedBodyappends a broken-JSON fragment) for testing client-side body-parsing resilience, and a slow ("dribbled") response (slowResponseChunkSize+slowResponseChunkDelaysend the body in small chunks with a delay between each) for testing read timeouts on a trickling response.Forward a request to an upstream host; if upstream returns a configured status code (default 500-599) or times out, return a fallback mock response.Declarative fault/chaos injection for anHttpLlmResponse, for testing agent resilience: probabilistic provider errors (e.g. 429/529 with aRetry-Afterheader), mid-stream truncation, and malformed SSE chunks.Opt-in normalisation applied to LLM prompt text beforeConversationPredicatessubstring/regex comparisons are evaluated.Token usage for an LLM completion. -
Classes in org.mockserver.model used by org.mockserver.closurecallback.websocketclient
-
Classes in org.mockserver.model used by org.mockserver.closurecallback.websocketregistry
-
Classes in org.mockserver.model used by org.mockserver.codecClassDescription
-
Classes in org.mockserver.model used by org.mockserver.collections
-
Classes in org.mockserver.model used by org.mockserver.configuration
-
Classes in org.mockserver.model used by org.mockserver.cors
-
Classes in org.mockserver.model used by org.mockserver.dashboard
-
Classes in org.mockserver.model used by org.mockserver.dashboard.model
-
Classes in org.mockserver.model used by org.mockserver.echo.http
-
Classes in org.mockserver.model used by org.mockserver.examples.mockserver
-
Classes in org.mockserver.model used by org.mockserver.filters
-
Classes in org.mockserver.model used by org.mockserver.fixture
-
Classes in org.mockserver.model used by org.mockserver.grpcClassDescriptionReactive rule for bidirectional gRPC streaming: each inbound client message is matched against rules in order; the first rule whose
GrpcBidiRule.matchJsonmatches the inbound message JSON emits itsGrpcBidiRule.responsesas DATA frames. -
Classes in org.mockserver.model used by org.mockserver.grpc.connect
-
Classes in org.mockserver.model used by org.mockserver.httpclient
-
Classes in org.mockserver.model used by org.mockserver.llmClassDescriptionOpt-in normalisation applied to LLM prompt text before
ConversationPredicatessubstring/regex comparisons are evaluated.Configuration for a mocked rerank response (Cohere/v1/rerank, Voyage/v1/rerank, ...). -
Classes in org.mockserver.model used by org.mockserver.llm.analysis
-
Classes in org.mockserver.model used by org.mockserver.llm.client
-
Classes in org.mockserver.model used by org.mockserver.llm.codecClassDescriptionConfiguration for a mocked rerank response (Cohere
/v1/rerank, Voyage/v1/rerank, ...). -
Classes in org.mockserver.model used by org.mockserver.llm.cost
-
Classes in org.mockserver.model used by org.mockserver.llm.drift
-
Classes in org.mockserver.model used by org.mockserver.load
-
Classes in org.mockserver.model used by org.mockserver.log
-
Classes in org.mockserver.model used by org.mockserver.log.model
-
Classes in org.mockserver.model used by org.mockserver.mappers
-
Classes in org.mockserver.model used by org.mockserver.matchersClassDescriptionMatches a
multipart/form-datarequest body at the field level.Opt-in normalisation applied to LLM prompt text beforeConversationPredicatessubstring/regex comparisons are evaluated. -
Classes in org.mockserver.model used by org.mockserver.memory
-
Classes in org.mockserver.model used by org.mockserver.metrics
-
Classes in org.mockserver.model used by org.mockserver.mockClassDescriptionDeclarative capture rule (WS2.2): when an expectation matches an incoming request, each capture rule extracts a value from the request and stores it into scenario state under the
CaptureRule.intoname, so a later request's response template can read it back viascenario.get(name)(WS2.1).Describes a cross-protocol scenario correlation: when a protocol event matchingCrossProtocolScenario.trigger(and optionallyCrossProtocolScenario.matchPattern) is observed, the named scenario is advanced toCrossProtocolScenario.targetState.Identifies the protocol event that triggers a cross-protocol scenario state transition.Represents a single step in an ordered multi-action expectation pipeline.Response action for true bidirectional gRPC streaming.Declarative HTTP fault/chaos injection for mocked and forwarded responses: probabilistic connection-drop injection, error status injection (e.g. 500, 503, 429 with an optionalRetry-Afterheader), latency injection, and response-body corruption (truncateBodyAtFractionkeeps only a leading fraction of the body bytes;malformedBodyappends a broken-JSON fragment) for testing client-side body-parsing resilience, and a slow ("dribbled") response (slowResponseChunkSize+slowResponseChunkDelaysend the body in small chunks with a delay between each) for testing read timeouts on a trickling response.Forward a request to an upstream host; if upstream returns a configured status code (default 500-599) or times out, return a fallback mock response.Declarative, protocol-agnostic rate-limiting / quota action attached to anExpectation(a sibling ofchaos).Represents a timed auto-transition for a scenario state machine. -
Classes in org.mockserver.model used by org.mockserver.mock.action
-
Classes in org.mockserver.model used by org.mockserver.mock.action.httpClassDescriptionDeclarative gRPC fault/chaos injection profile for probabilistically returning gRPC error statuses (UNAVAILABLE, DEADLINE_EXCEEDED, RESOURCE_EXHAUSTED, INTERNAL, etc.) on matched gRPC method calls, with latency, quota, and count-window controls.Declarative HTTP fault/chaos injection for mocked and forwarded responses: probabilistic connection-drop injection, error status injection (e.g. 500, 503, 429 with an optional
Retry-Afterheader), latency injection, and response-body corruption (truncateBodyAtFractionkeeps only a leading fraction of the body bytes;malformedBodyappends a broken-JSON fragment) for testing client-side body-parsing resilience, and a slow ("dribbled") response (slowResponseChunkSize+slowResponseChunkDelaysend the body in small chunks with a delay between each) for testing read timeouts on a trickling response.Forward a request to an upstream host; if upstream returns a configured status code (default 500-599) or times out, return a fallback mock response.Declarative request to simulate a server preemption (Kubernetes node drain / Spot reclamation / a SIGTERM the platform sends before killing the pod): the server cordons itself (rejecting new exchanges), drains in-flight requests for a bounded window, and optionally signals HTTP/2 clients to stop with a GOAWAY.How new exchanges arriving while cordoned are turned away, and how HTTP/2 clients are told to drain.Declarative TCP-layer fault/chaos injection profile, applied at the raw byte level before HTTP decoding. -
Classes in org.mockserver.model used by org.mockserver.mock.audit
-
Classes in org.mockserver.model used by org.mockserver.mock.breakpoint
-
Classes in org.mockserver.model used by org.mockserver.mock.crud
-
Classes in org.mockserver.model used by org.mockserver.mock.diff
-
Classes in org.mockserver.model used by org.mockserver.mock.drift
-
Classes in org.mockserver.model used by org.mockserver.mock.listeners
-
Classes in org.mockserver.model used by org.mockserver.modelClassDescriptionDeclarative capture rule (WS2.2): when an expectation matches an incoming request, each capture rule extracts a value from the request and stores it into scenario state under the
CaptureRule.intoname, so a later request's response template can read it back viascenario.get(name)(WS2.1).The part of the request a capture rule reads from.A conditional (if-then-else) request matcher.Serialisable predicate descriptors for LLM conversation matching.Describes a cross-protocol scenario correlation: when a protocol event matchingCrossProtocolScenario.trigger(and optionallyCrossProtocolScenario.matchPattern) is observed, the named scenario is advanced toCrossProtocolScenario.targetState.Identifies the protocol event that triggers a cross-protocol scenario state transition.Represents a single step in an ordered multi-action expectation pipeline.Controls what happens to an expectation's primary response when a blockingbefore-actionfails or times out.A body matcher that matches when the request body is "similar enough" to an expected string, using a deterministic string-similarity metric (normalised Jaro-Winkler) with a configurable threshold between0.0and1.0.Response action for true bidirectional gRPC streaming.Reactive rule for bidirectional gRPC streaming: each inbound client message is matched against rules in order; the first rule whoseGrpcBidiRule.matchJsonmatches the inbound message JSON emits itsGrpcBidiRule.responsesas DATA frames.Declarative gRPC fault/chaos injection profile for probabilistically returning gRPC error statuses (UNAVAILABLE, DEADLINE_EXCEEDED, RESOURCE_EXHAUSTED, INTERNAL, etc.) on matched gRPC method calls, with latency, quota, and count-window controls.Declarative HTTP fault/chaos injection for mocked and forwarded responses: probabilistic connection-drop injection, error status injection (e.g. 500, 503, 429 with an optionalRetry-Afterheader), latency injection, and response-body corruption (truncateBodyAtFractionkeeps only a leading fraction of the body bytes;malformedBodyappends a broken-JSON fragment) for testing client-side body-parsing resilience, and a slow ("dribbled") response (slowResponseChunkSize+slowResponseChunkDelaysend the body in small chunks with a delay between each) for testing read timeouts on a trickling response.Well-known stream-level error codes for HTTP/2 (RFC 7540 section 7) and HTTP/3 (RFC 9114 section 8.1).Forward a request to an upstream host; if upstream returns a configured status code (default 500-599) or times out, return a fallback mock response.Identifies a memoizable body-conversion target.A minimal, self-contained predicate that gates whether aHttpResponseModifierapplies.Declarative fault/chaos injection for anHttpLlmResponse, for testing agent resilience: probabilistic provider errors (e.g. 429/529 with aRetry-Afterheader), mid-stream truncation, and malformed SSE chunks.Matches amultipart/form-datarequest body at the field level.Opt-in normalisation applied to LLM prompt text beforeConversationPredicatessubstring/regex comparisons are evaluated.Declarative request to simulate a server preemption (Kubernetes node drain / Spot reclamation / a SIGTERM the platform sends before killing the pod): the server cordons itself (rejecting new exchanges), drains in-flight requests for a bounded window, and optionally signals HTTP/2 clients to stop with a GOAWAY.How new exchanges arriving while cordoned are turned away, and how HTTP/2 clients are told to drain.Declarative, protocol-agnostic rate-limiting / quota action attached to anExpectation(a sibling ofchaos).Declarative retry/backoff recovery primitive attached to anHttpResponse: "fail the first K matches, then serve the configured success response".Configuration for a mocked rerank response (Cohere/v1/rerank, Voyage/v1/rerank, ...).Controls how GraphQL body matching compares the selection set (fields).A chunk sink for streaming response bodies.Declarative TCP-layer fault/chaos injection profile, applied at the raw byte level before HTTP decoding.Represents a timed auto-transition for a scenario state machine.Token usage for an LLM completion.Body matcher that delegates matching to a WASM module stored in theWasmStore. -
Classes in org.mockserver.model used by org.mockserver.netty
-
Classes in org.mockserver.model used by org.mockserver.netty.grpcClassDescriptionResponse action for true bidirectional gRPC streaming.
-
Classes in org.mockserver.model used by org.mockserver.netty.http3ClassDescriptionResponse action for true bidirectional gRPC streaming.
-
Classes in org.mockserver.model used by org.mockserver.netty.responsewriter
-
Classes in org.mockserver.model used by org.mockserver.netty.unification
-
Classes in org.mockserver.model used by org.mockserver.oidc
-
Classes in org.mockserver.model used by org.mockserver.openapi
-
Classes in org.mockserver.model used by org.mockserver.proxyconfiguration
-
Classes in org.mockserver.model used by org.mockserver.ratelimitClassDescriptionDeclarative, protocol-agnostic rate-limiting / quota action attached to an
Expectation(a sibling ofchaos). -
Classes in org.mockserver.model used by org.mockserver.responseheaders
-
Classes in org.mockserver.model used by org.mockserver.responsewriter
-
Classes in org.mockserver.model used by org.mockserver.saml
-
Classes in org.mockserver.model used by org.mockserver.scheduler
-
Classes in org.mockserver.model used by org.mockserver.scim
-
Classes in org.mockserver.model used by org.mockserver.serialization
-
Classes in org.mockserver.model used by org.mockserver.serialization.curl
-
Classes in org.mockserver.model used by org.mockserver.serialization.deserializers.collections
-
Classes in org.mockserver.model used by org.mockserver.serialization.deserializers.string
-
Classes in org.mockserver.model used by org.mockserver.serialization.har
-
Classes in org.mockserver.model used by org.mockserver.serialization.javaClassDescription
-
Classes in org.mockserver.model used by org.mockserver.serialization.modelClassDescriptionDeclarative capture rule (WS2.2): when an expectation matches an incoming request, each capture rule extracts a value from the request and stores it into scenario state under the
CaptureRule.intoname, so a later request's response template can read it back viascenario.get(name)(WS2.1).The part of the request a capture rule reads from.A conditional (if-then-else) request matcher.Serialisable predicate descriptors for LLM conversation matching.Describes a cross-protocol scenario correlation: when a protocol event matchingCrossProtocolScenario.trigger(and optionallyCrossProtocolScenario.matchPattern) is observed, the named scenario is advanced toCrossProtocolScenario.targetState.Represents a single step in an ordered multi-action expectation pipeline.Controls what happens to an expectation's primary response when a blockingbefore-actionfails or times out.A body matcher that matches when the request body is "similar enough" to an expected string, using a deterministic string-similarity metric (normalised Jaro-Winkler) with a configurable threshold between0.0and1.0.Response action for true bidirectional gRPC streaming.Reactive rule for bidirectional gRPC streaming: each inbound client message is matched against rules in order; the first rule whoseGrpcBidiRule.matchJsonmatches the inbound message JSON emits itsGrpcBidiRule.responsesas DATA frames.Declarative gRPC fault/chaos injection profile for probabilistically returning gRPC error statuses (UNAVAILABLE, DEADLINE_EXCEEDED, RESOURCE_EXHAUSTED, INTERNAL, etc.) on matched gRPC method calls, with latency, quota, and count-window controls.Declarative HTTP fault/chaos injection for mocked and forwarded responses: probabilistic connection-drop injection, error status injection (e.g. 500, 503, 429 with an optionalRetry-Afterheader), latency injection, and response-body corruption (truncateBodyAtFractionkeeps only a leading fraction of the body bytes;malformedBodyappends a broken-JSON fragment) for testing client-side body-parsing resilience, and a slow ("dribbled") response (slowResponseChunkSize+slowResponseChunkDelaysend the body in small chunks with a delay between each) for testing read timeouts on a trickling response.Forward a request to an upstream host; if upstream returns a configured status code (default 500-599) or times out, return a fallback mock response.A minimal, self-contained predicate that gates whether aHttpResponseModifierapplies.Declarative fault/chaos injection for anHttpLlmResponse, for testing agent resilience: probabilistic provider errors (e.g. 429/529 with aRetry-Afterheader), mid-stream truncation, and malformed SSE chunks.Matches amultipart/form-datarequest body at the field level.Declarative, protocol-agnostic rate-limiting / quota action attached to anExpectation(a sibling ofchaos).Declarative retry/backoff recovery primitive attached to anHttpResponse: "fail the first K matches, then serve the configured success response".Configuration for a mocked rerank response (Cohere/v1/rerank, Voyage/v1/rerank, ...).Controls how GraphQL body matching compares the selection set (fields).Declarative TCP-layer fault/chaos injection profile, applied at the raw byte level before HTTP decoding.Body matcher that delegates matching to a WASM module stored in theWasmStore. -
Classes in org.mockserver.model used by org.mockserver.serialization.serializers.bodyClassDescriptionA body matcher that matches when the request body is "similar enough" to an expected string, using a deterministic string-similarity metric (normalised Jaro-Winkler) with a configurable threshold between
0.0and1.0.Matches amultipart/form-datarequest body at the field level. -
Classes in org.mockserver.model used by org.mockserver.serialization.serializers.certificate
-
Classes in org.mockserver.model used by org.mockserver.serialization.serializers.collections
-
Classes in org.mockserver.model used by org.mockserver.serialization.serializers.requestClassDescriptionA conditional (if-then-else) request matcher.
-
Classes in org.mockserver.model used by org.mockserver.serialization.serializers.response
-
Classes in org.mockserver.model used by org.mockserver.serialization.serializers.string
-
Classes in org.mockserver.model used by org.mockserver.servlet.responsewriter
-
Classes in org.mockserver.model used by org.mockserver.slo
-
Classes in org.mockserver.model used by org.mockserver.socket.tls
-
Classes in org.mockserver.model used by org.mockserver.telemetry
-
Classes in org.mockserver.model used by org.mockserver.templates
-
Classes in org.mockserver.model used by org.mockserver.templates.engine
-
Classes in org.mockserver.model used by org.mockserver.templates.engine.helpers
-
Classes in org.mockserver.model used by org.mockserver.templates.engine.javascript
-
Classes in org.mockserver.model used by org.mockserver.templates.engine.model
-
Classes in org.mockserver.model used by org.mockserver.templates.engine.mustache
-
Classes in org.mockserver.model used by org.mockserver.templates.engine.serializer
-
Classes in org.mockserver.model used by org.mockserver.templates.engine.velocity
-
Classes in org.mockserver.model used by org.mockserver.testing.integration.callback
-
Classes in org.mockserver.model used by org.mockserver.testing.integration.mockClassDescription
-
Classes in org.mockserver.model used by org.mockserver.validator.jsonschema
-
Classes in org.mockserver.model used by org.mockserver.validator.xmlschema
-
Classes in org.mockserver.model used by org.mockserver.verify
-
Classes in org.mockserver.model used by org.mockserver.xml