Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 822 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 822 Bytes

TurboBernd

An HTTP server written in Rust

Testing

Coverage

docker run --security-opt seccomp=unconfined -v "${PWD}:/volume" xd009642/tarpaulin:0.12.2-nightly cargo tarpaulin -o Html

Load testing

cargo install drill
cargo run
drill --benchmark benchmark.yml
drill --benchmark sustained_load.yml

Fuzz testing

cargo install afl
cd fuzzing
cargo afl build
cargo afl fuzz -i in/ -o out/ target/debug/fuzzing
  • in is a directory containing input files that AFL uses as seeds. These files can have any name and their contents help AFL because it will not need to learn the correct text structure itself.
  • out is a directory where AFL will store its state and results.

The output of AFL is explained here.