Last active
April 8, 2023 13:13
-
-
Save sdesalas/91851d846f98e336d49f637c7248b4c9 to your computer and use it in GitHub Desktop.
Bash oneline http rate limit test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!# /bin/bash | |
time for i in `seq 1 50`; do curl -s -o /dev/null -H "Authorization: $AUTH" -w "$i %{http_code}\n" http://localhost:8080/api/endpoint; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment