Skip to content

Instantly share code, notes, and snippets.

@TomTasche

TomTasche/test.sh

Created Oct 19, 2017
Embed
What would you like to do?
generate random file, send to server and print time
#!/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;
@TomTasche

This comment has been minimized.

Copy link
Owner Author

@TomTasche TomTasche commented Oct 19, 2017

can be used to measure stability of wifi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment