Skip to content

fredyw/load-rs

Repository files navigation

load-rs

License load-rs

A simple load testing tool written in Rust.

Demo

Usage

Usage: load-rs [OPTIONS] --requests <REQUESTS> --concurrency <CONCURRENCY> <URL>

Arguments:
  <URL>  Target URL to send requests to

  -n, --requests <REQUESTS>        Total number of requests to send
  -c, --concurrency <CONCURRENCY>  Number of concurrent requests to run at a time
  -X, --method <METHOD>            HTTP method to use for the requests [default: get]
  -H, --header <HEADER>            Custom HTTP header(s) in "key: value" format. Can be repeated
  -d, --data <DATA>                Request body as a string
  -D, --data-file <DATA_FILE>      File to read the request body from
  -i, --data-dir <DATA_DIR>        Directory of files to use as request bodies
  -C, --cacert <CA_CERT>           Custom CA certificate file (PEM format)
  -E, --cert <CERT>                Public certificate file (PEM format)
  -k, --key <KEY>                  Private key file (PEM format)
  -I, --insecure <INSECURE>        Allows insecure connections by skipping TLS certificate verification [possible values: true, false]
  -O, --order <ORDER>              Order to process files from --data-dir [default: sequential]
  -o, --output-dir <OUTPUT_DIR>    Directory to save responses to
  -G, --debug                      Performs a single request and dumps the response
  -h, --help                       Print help
  -V, --version                    Print version

About

A simple load testing tool written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published