Skip to content

Commit

Permalink
fix rest bench
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon committed Oct 11, 2024
1 parent d5b226f commit e7a4105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bench/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ bash bench/tests.sh 127.0.0.1 1 100000 > /dev/null

sleep 10
echo -e "\nTesting.."
bash bench/tests.sh 127.0.0.1 10 600000 > out/$1.csv
bash bench/tests.sh 127.0.0.1 10 1000000 > out/$1.csv

${1}_stop
sleep 10
2 changes: 1 addition & 1 deletion bench/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ test missing -XGET http://$h:8080/missing?[0-$c]
test simple -XGET http://$h:8080/test?[0-$c]
test ssl -k --http1.1 -XGET https://$h:8443/test?[0-$c]
test ws -XPOST -d@req/ws.xml http://$h:8080/ws?[0-$c]
test rest -XPOST -d'{"v":"toto"}' http://$h:8080/rest/[0-$c]
test rest -XPOST -H 'Accept: application/json' -H 'Content-type: application/json' -d'{"v":"toto"}' http://$h:8080/rest/[0-$c]
test http2 --http2-prior-knowledge -XGET http://$h:8080/test?[0-$c]

0 comments on commit e7a4105

Please sign in to comment.