rustress 0.1.1

High-performance load testing engine with an interactive terminal dashboard. Open-loop (RPS) and closed-loop (virtual users) load models with live p50/p90/p95/p99 latency telemetry.
Documentation
1
2
3
4
5
6
7
use crate::dummy::server::DummyServer;

/// Start the built-in test HTTP server.
pub async fn run(port: u16) -> anyhow::Result<()> {
    let server = DummyServer::new(port);
    server.run().await
}