Crate mockforge_bench

Crate mockforge_bench 

Source
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