Created
October 19, 2017 12:27
-
-
Save TomTasche/3489a3d0d56186d92c6488aec838b932 to your computer and use it in GitHub Desktop.
generate random file, send to server and print time
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 | |
echo "time_total: %{time_total}\n" > curl_format.txt | |
dd if=/dev/urandom of=data.txt bs=100K count=1 | |
while true; do curl -X POST -w "@curl_format.txt" -d @data.txt -s https://requestb.in/1j4ph411; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can be used to measure stability of wifi