Created
February 18, 2020 15:40
-
-
Save jethroo/ba021a6b10ccf75783b58a4eb3121dd9 to your computer and use it in GitHub Desktop.
simple curl load 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 | |
curling(){ | |
echo "curling" $1 | |
curl <whatever you want to curl> | |
} | |
# For loop 50 times | |
for i in {1..50} | |
do | |
curling $i & | |
done | |
wait | |
echo "All done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment