Skip to content

Instantly share code, notes, and snippets.

@gin1314
Created April 27, 2017 18:21
Show Gist options
  • Save gin1314/e353355ae2a43fb2f12ec4fc39a5dfb1 to your computer and use it in GitHub Desktop.
Save gin1314/e353355ae2a43fb2f12ec4fc39a5dfb1 to your computer and use it in GitHub Desktop.
#!/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