Uses of Class
org.mockserver.load.LoadScenario
Packages that use LoadScenario
Package
Description
-
Uses of LoadScenario in org.mockserver.client
Methods in org.mockserver.client with parameters of type LoadScenarioModifier and TypeMethodDescriptionMockServerClient.loadScenario(LoadScenario scenario) Register (load) a load-injection scenario into the load-scenario registry viaPUT /mockserver/loadScenario.MockServerClient.runLoadScenario(LoadScenario scenario) Convenience helper that registers the given scenario and then immediately starts it, combiningMockServerClient.loadScenario(LoadScenario)andMockServerClient.startLoadScenarios(String...). -
Uses of LoadScenario in org.mockserver.load
Methods in org.mockserver.load that return LoadScenarioModifier and TypeMethodDescriptionstatic LoadScenarioLoadScenarioFromOpenAPI.generate(String name, String specUrlOrPayload, LoadScenarioFromOpenAPI.Target target, LoadProfile profile, MockServerLogger mockServerLogger) Generates aLoadScenariofrom an OpenAPI spec.static LoadScenarioLoadScenarioFromRecording.generate(String name, List<? extends RequestDefinition> recordedRequests, LoadScenarioFromRecording.Mode mode, Integer maxSteps, LoadScenarioFromRecording.Target target, LoadProfile profile) Generates aLoadScenariofrom recorded requests.static LoadScenarioLoadScenario.loadScenario()static LoadScenarioLoadScenario.loadScenario(String name) LoadScenario.withAbortGraceMillis(long abortGraceMillis) LoadScenario.withAbortOnFail(boolean abortOnFail) LoadScenario.withFeeder(LoadFeeder feeder) LoadScenario.withLabels(Map<String, String> labels) LoadScenario.withMaxRequests(Integer maxRequests) LoadScenario.withPacing(LoadPacing pacing) LoadScenario.withProfile(LoadProfile profile) LoadScenario.withStartDelayMillis(long startDelayMillis) LoadScenario.withStepSelection(LoadScenario.StepSelection stepSelection) LoadScenario.withTemplateType(HttpTemplate.TemplateType templateType) LoadScenario.withThresholds(List<LoadThreshold> thresholds) LoadScenario.withThresholds(LoadThreshold... thresholds) -
Uses of LoadScenario in org.mockserver.mock.action.http
Fields in org.mockserver.mock.action.http declared as LoadScenarioModifier and TypeFieldDescriptionfinal LoadScenarioLoadScenarioOrchestrator.LoadScenarioStatus.scenarioThe full scenario definition this run was started with (never null for a real run).Methods in org.mockserver.mock.action.http with parameters of type LoadScenarioModifier and TypeMethodDescriptionLoadScenarioOrchestrator.start(LoadScenario scenario, Function<HttpRequest, CompletableFuture<HttpResponse>> sender) Trigger a scenario to start (run it).LoadScenarioOrchestrator.validate(LoadScenario scenario) Constructors in org.mockserver.mock.action.http with parameters of type LoadScenarioModifierConstructorDescriptionLoadScenarioStatus(String name, LoadScenarioState state, long elapsedMillis, int currentVus, long requestsSent, long succeeded, long failed, long p50Millis, long p95Millis, long p99Millis, long p999Millis, long droppedIterations, String runId, long startedAtEpochMillis, Long endedAtEpochMillis, Map<String, String> labels, LoadScenario scenario, int stageIndex, String stageType, double currentTarget, long startDelayMillis, String verdict, boolean abortedByThreshold, List<LoadScenarioOrchestrator.ThresholdResult> thresholdResults) -
Uses of LoadScenario in org.mockserver.serialization
Methods in org.mockserver.serialization that return LoadScenarioMethods in org.mockserver.serialization that return types with arguments of type LoadScenarioMethods in org.mockserver.serialization with parameters of type LoadScenario -
Uses of LoadScenario in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return LoadScenarioConstructors in org.mockserver.serialization.model with parameters of type LoadScenario