Package org.mockserver.load
package org.mockserver.load
-
ClassDescriptionPer-iteration template variable exposed to a
LoadScenariostep under the key"iteration", sibling ofrequest/response.Declarative cross-step capture / correlation rule for aLoadStep.Where in the step's response aLoadCaptureextracts its value from.Parameterized test data ("data feeder") for aLoadScenario.The raw-dataset format ofLoadFeeder.getData().How a row is chosen for each iteration from the resolved dataset.Adaptive iteration pacing (think-time) for aLoadScenario: a target per-virtual-user iteration cycle time.How the target iteration cycle is derived fromLoadPacing.value.The load profile of aLoadScenario: an ordered list ofLoadStages the orchestrator runs in sequence.An API-driven load scenario: an ordered list of templated requestLoadSteps driven at a target concurrency described by aLoadProfile, with optional per-iteration data variation via the scenario'sHttpTemplate.TemplateType.How each iteration selects which steps to run fromLoadScenario.getSteps().Seeds an editable, runnableLoadScenariofrom an OpenAPI specification.An explicit network target for the generated steps.Seeds an editable, runnableLoadScenariofrom traffic previously recorded by MockServer in proxy/recording mode (theRECEIVED_REQUESTentries returned byMockServerEventLog.retrieveRequests(org.mockserver.verify.Verification, java.lang.String, java.util.function.Consumer<java.util.List<org.mockserver.model.RequestDefinition>>)).How recorded requests are turned into load steps.An explicit network target for the generated steps, applied to every step.Builds an end-of-run summary report for a load scenario from a singleLoadScenarioOrchestrator.LoadScenarioStatussnapshot (the live snapshot for a running run, or the retained terminal snapshot for a finished one).Lifecycle state of a registered load scenario in the load-scenario registry.A declarative, named load shape on aLoadProfile.Whether a shape drives concurrent virtual users (LoadShape.Metric.VU) or an arrival rate (LoadShape.Metric.RATE).The kind of named shape.One stage of aLoadProfile: a contiguous slice of the run holding or ramping a setpoint fordurationMillis.The kind of aLoadStagein aLoadProfile.One ordered step of aLoadScenario: the request to fire and the optional think-time to wait before firing the next step in the same iteration.One in-run pass/fail threshold for aLoadScenario: a load metric compared against a threshold value.The per-run metric a threshold is evaluated against.The interpolation curve used to ramp a value (virtual users or arrival rate) from astartsetpoint to anendsetpoint across aLoadStageas its progresspadvances over[0, 1].