for hey
This commit is contained in:
parent
be59126cdd
commit
50bdc10a51
@ -91,6 +91,13 @@ do
|
|||||||
echo -e "hey-csv $datetime\n"
|
echo -e "hey-csv $datetime\n"
|
||||||
hey -c "$connection" -z "$time" -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./data/"$function"."$connection"."$time"."$datetime".csv
|
hey -c "$connection" -z "$time" -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./data/"$function"."$connection"."$time"."$datetime".csv
|
||||||
fi
|
fi
|
||||||
|
if [[ $* = *"--for"* ]]
|
||||||
|
for num in 1 2 3 4 5 6 7 8 9 10
|
||||||
|
do
|
||||||
|
echo -e "hey-for $datetime\n"
|
||||||
|
hey -c "$connection" -z "$time" -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./data/"$function"."$num".csv
|
||||||
|
done
|
||||||
|
fi
|
||||||
echo -e "Finished at $datetime"
|
echo -e "Finished at $datetime"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user