rate-limit-testing

Crates.iorate-limit-testing
lib.rsrate-limit-testing
version0.1.6
sourcesrc
created_at2024-04-25 16:17:12.365665
updated_at2024-05-16 17:28:01.520431
descriptionIntended to be used for testing rate-limiting
homepage
repositoryhttps://github.com/helloimalemur/rate-limit-testing
max_upload_size
id1220483
size47,333
helloimalemur (helloimalemur)

documentation

README

rate-limit-testing

Install

$ cargo install rate-limit-testing

GET request

$ rate-limit-testing -u <url> -d <delay-between-requests>

POST request (automatically uses POST if payload/post_data is provided)

$ rate-limit-testing -u <url> -d <delay-between-requests> -p "the body"

Headers

$ rate-limit-testing -u <url> -d <delay-between-requests> -p "the body" -a "HEADER1: value, HEADER2: value"

Note;

A delay greater than 100 will be assumed to be in milliseconds

Delay less than 100 will be assumed as seconds

Development and Collaboration

Feel free to open a pull request, please run the following prior to your submission please!

echo "Run clippy"; cargo clippy -- -D clippy::all
echo "Format source code"; cargo fmt -- --check
Commit count: 44

cargo fmt