Skip to content

Instantly share code, notes, and snippets.

@jethroo
Created February 18, 2020 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jethroo/ba021a6b10ccf75783b58a4eb3121dd9 to your computer and use it in GitHub Desktop.
Save jethroo/ba021a6b10ccf75783b58a4eb3121dd9 to your computer and use it in GitHub Desktop.
simple curl load test
#!/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