Drill is an HTTP load testing application written in Rust
Drill is an HTTP load testing application written in Rust
Drill is a HTTP load testing application written in Rust. The main goal for this project is to build a really lightweight tool as alternative to other that require JVM and other stuff.
You can write benchmark files, in YAML format, describing all the stuff you want to test.
It was inspired by Ansible syntax because it is really easy to use and extend.
Here is an example for benchmark.yml:
…As you can see, you can play with interpolations in different ways. This will let you specify a benchmark with different requests and dependencies between them.
If you want to know more about the benchmark file syntax, read this
Right now, the easiest way to get drill is to go to the
latest release
page and download the binary file for your platform.
Another way to install drill, if you have Rust available in
your system, is with cargo:
cargo install drill
drill --benchmark benchmark.yml --statsor download the source code and compile it:
git clone [email protected]:fcsonline/drill.git && cd drill
cargo build --release
./target/release/drill --benchmark benchmark.yml --statsDrill uses rustls for TLS, so OpenSSL is no
longer required to build or install it. A working C toolchain (and cmake) may
still be needed on some platforms to compile the TLS backend.
This is the list of all features supported by the current version of drill:
drill to start all iterations./api/users/{{ item }}/api/users/{{ EDITOR }}assign and url interpolations.Go to the example directory and you'll find a README how
to test it in a safe environment.
Disclaimer: We really recommend not to run intensive benchmarks against production environments.
Full list of cli options, which is available under drill --help
…If you appreciate all the job done in this project, a small donation is always welcome:
This project started as a side project to learn Rust, so I'm sure that is full of mistakes and areas to be improve. If you think you can tweak the code to make it better, I'll really appreciate a pull request. ;)
No open issues yet, or sync has not completed.