Package org.mockserver.mock.drift
package org.mockserver.mock.drift
-
ClassDescriptionCompares a real forwarded response against a matching stub expectation's configured response and emits
DriftRecords for any structural discrepancies (status code, headers, JSON schema).A single drift observation: one field/aspect of a forwarded response that differs structurally from the matching stub expectation's response.Thread-safe LRU-capped store ofDriftRecordentries.Categories of structural drift detected when comparing a forwarded (real) response against a matching stub expectation's configured response.Sliding window p50/p95 tracker for response times per expectation ID.Optional LLM-powered extension toDriftAnalyzer.Severity classification assigned by LLM-powered semantic drift analysis.