Class LoadScenarioOrchestrator.ThresholdResult

java.lang.Object
org.mockserver.mock.action.http.LoadScenarioOrchestrator.ThresholdResult
Enclosing class:
LoadScenarioOrchestrator

public static final class LoadScenarioOrchestrator.ThresholdResult extends Object
One per-threshold evaluation result, surfaced in the status DTO so a client/dashboard can show which thresholds passed or breached and the observed value behind the verdict.
  • Field Details

    • metric

      public final String metric
      The LoadThreshold.Metric name (e.g. LATENCY_P95).
    • comparator

      public final String comparator
      The SloObjective.Comparator name (e.g. LESS_THAN).
    • threshold

      public final double threshold
      The configured threshold value.
    • observed

      public final double observed
      The observed per-run value at evaluation time (latency ms, error-rate fraction, or rps).
    • satisfied

      public final boolean satisfied
      True when observed satisfied the comparator against threshold.
  • Constructor Details

    • ThresholdResult

      public ThresholdResult(String metric, String comparator, double threshold, double observed, boolean satisfied)