Created
April 27, 2017 18:21
-
-
Save gin1314/e353355ae2a43fb2f12ec4fc39a5dfb1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
for i in {1..10} | |
do | |
rand=$(( ( RANDOM % 4000 ) + 6000 )) | |
curl -X GET "http://localhost:8000/broadcast/test/$rand" &2> /dev/null | |
echo -e "$rand" | |
sleep 3 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment