Expand description
Load and performance testing module for MockForge
This module provides functionality to run load tests against real API endpoints using OpenAPI specifications to generate realistic traffic patterns.
Re-exports§
pub use command::BenchCommand;pub use error::BenchError;pub use error::Result;pub use parallel_executor::AggregatedResults;pub use parallel_executor::TargetResult;pub use scenarios::LoadScenario;pub use target_parser::parse_targets_file;pub use target_parser::TargetConfig;
Modules§
- command
- Bench command implementation
- error
- Error types for the bench module
- executor
- k6 execution and output handling
- k6_gen
- k6 script generation for load testing real endpoints
- parallel_
executor - Parallel execution engine for multi-target bench testing
- reporter
- Result reporting and formatting
- request_
gen - Request template generation from OpenAPI operations
- scenarios
- Load testing scenario definitions
- spec_
parser - OpenAPI specification parsing for load testing
- target_
parser - Target file parsing for multi-target bench testing