#rate-limiting #testing #url #request #intended #header #post

app rate-limit-testing

Intended to be used for testing rate-limiting

1 unstable release

new 0.1.5 May 6, 2024
0.1.4 May 3, 2024
0.1.3 May 3, 2024
0.1.2 May 3, 2024
0.1.1 Apr 25, 2024

#3 in #intended

Download history 116/week @ 2024-04-24 352/week @ 2024-05-01

468 downloads per month

MIT license

14KB
137 lines

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

Dependencies

~8–21MB
~301K SLoC