gbserver/gb-testing/tests/load_auth_test.rs

21 lines
556 B
Rust
Raw Permalink Normal View History

use gb_testing::load::LoadTestConfig;
2024-12-22 20:56:52 -03:00
use std::time::Duration;
#[tokio::test]
async fn test_auth_load() -> anyhow::Result<()> {
let _config = LoadTestConfig {
2024-12-22 20:56:52 -03:00
users: 100,
duration: Duration::from_secs(300),
ramp_up: Duration::from_secs(60),
scenarios: vec!["auth".to_string()],
};
// let load_test = LoadTest::new(config);
// let report = load_test.run().await?;
2024-12-22 20:56:52 -03:00
// report.save_json("test-reports/auth-load-test.json")?;
// report.save_html("test-reports/auth-load-test.html")?;
2024-12-22 20:56:52 -03:00
Ok(())
}