You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sledge/runtime/tests/test.sh

17 lines
430 B

function usage {
echo "$0 [output file, chain_function_output.txt or single_function_output.txt] [concurrency] [duration(m)]"
exit 1
}
if [ $# != 3 ] ; then
usage
exit 1;
fi
output=$1
concurrency=$2
duration=$3
hey -c $concurrency -z $durationm -disable-keepalive -m GET -d 5 "http://127.0.0.1:10000" > $output
#hey -c 50 -n 100 -disable-keepalive -m GET -d 6 "http://127.0.0.1:10000" > $output