rlt
A Rust Load Testing framework with real-time tui support.

rlt provides a simple way to create load test tools in Rust. It is designed to be a universal load test framework, which means you can use rlt for various services, such as Http, gRPC, Thrift, Database, or other customized services.
Features
- Flexible: Customize the work load with your own logic.
- Easy to use: Little boilerplate code, just focus on testing.
- Rich Statistics: Collect and display rich statistics.
- High performance: Optimized for performance and resource usage.
- Real-time TUI: Monitor testing progress with a powerful real-time TUI.
Quick Start
To use rlt, firstly add it as a dependency:
$ cargo add rlt
Then create your bench suite by implementing the BenchSuite trait.
You can use flatten attribute provided by clap to embed the predefined BenchCli into your own.
Note that you can create a separate struct to hold the cli options for more flexibility. There is an example in examples/http_hyper.rs.
Finally, create the main function to run the load test:
async
More examples can be found in the examples directory.
Credits
The TUI layout in rlt is inspired by oha.
License
rlt is distributed under the terms of both the MIT License and the Apache License 2.0.
See the LICENSE-APACHE and LICENSE-MIT files for license details.