Skip to main content

Module load_testing

Module load_testing 

Source
Expand description

Load Testing Module

Implements the Load Testing features from the spec (Section D):

  • D.1: Command Interface (basic, scenario, ramp-up)
  • D.2: Load Test Scenario Format (YAML)
  • D.3: Load Test Results Format
  • D.4: Implementation Requirements

Structs§

AssertionResult
Assertion result
EndpointStats
Per-endpoint statistics
LatencyHistogram
Latency histogram for tracking percentiles
LoadTestConfig
Load test configuration
LoadTestError
Load test error
LoadTestRequest
A request definition in the scenario
LoadTestResult
Load test results
LoadTestScenario
Load test scenario (from YAML)
LoadTestStage
A stage in the load test
ResourceUsage
Resource usage statistics

Enums§

HttpMethod
HTTP methods
LoadTestAssertion
Assertion for load test
LoadTestErrorKind
Load test error kinds
LoadTestOutputFormat
Output format for load test results
UserConfig
User configuration for load test

Functions§

render_load_test_json
Render load test results as JSON
render_load_test_report
Render load test results as text