probe load

Verify Latency during Load Test

Verify the latency of responses during a load test for a given percentile

Run it now
View details
Typeprobe
Modulechaosreliably.activities.load.probes
Namerun_load_test
Returnboolean

Usage

JSON

{
  "name": "verify-latency-percentile-from-load-test",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosreliably.activities.load.probes",
    "func": "verify_latency_percentile_from_load_test",
    "arguments": {
      "lower_than": null
    }
  }
}

YAML

name: verify-latency-percentile-from-load-test
provider:
  arguments:
    lower_than: null
  func: verify_latency_percentile_from_load_test
  module: chaosreliably.activities.load.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
lower_thanfloat0.2YesLower ThanLatency must be lower than this value for the percentile below
percentilestringp99NoPercentilePercentile to verify
test_namestringload testNoTest NameName of the test that generated the result to verify

Signature

def verify_latency_percentile_from_load_test(
        lower_than: float,
        percentile: str = 'p99',
        test_name: str = 'load test') -> bool:
    pass