Update benchmark.sh

This commit is contained in:
Torma Kristóf 2019-04-03 00:15:30 +02:00 committed by GitHub
parent b175f26bd2
commit bc529ef62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ for function in "${data[@]}"
do
echo -e "Benchmarking $function\n"
echo -e "Output of $function is:\n"
curl --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function
curl --data-binary "$function.body.txt" --header "Host: $function.kubeless" --header "Content-Type:application/json" http://$kuberhost/$function
echo -e "\n"
for connection in "${connections[@]}"
do