Expand description
Common testing utilities and shared test infrastructure
Constants§
- DEFAULT_
TIMEOUT - Default timeout for API requests in tests
- LOAD_
TEST_ TIMEOUT - Default timeout for load tests
- MAX_
CONCURRENT_ CONNECTIONS - Maximum concurrent connections for load tests
- TARGET_
RPS - Target requests per second for performance benchmarks
Functions§
- assert_
latency_ acceptable - Assert response time is within acceptable limits
- calculate_
percentile - Calculate percentile from sorted durations
- with_
timeout - Run an async test with timeout