wso2 / msf4j

WSO2 Microservices Framework for Java (MSF4J)
http://wso2.com/products/microservices-framework-for-java/
Apache License 2.0
400 stars 348 forks source link

Apache benchmark command is not correct in performance test bash script #161

Closed imesh closed 8 years ago

imesh commented 8 years ago

I see the below error when perf-benchmark/run-test.sh is run:

ab -k -p 1kb_rand_data.txt -c $i -n 1000000 -H "Accept:text/plain" $service
ab: wrong number of arguments
Usage: ab [options] [http[s]://]hostname[:port]/path

ApacheBench Version: 2.3 Revision: 1663405

afkham commented 8 years ago

May be the service argument was null? Please follow the instructions in the README.md file.

imesh commented 8 years ago

Yes, it was my mistake. I did not provide the service URL. May be we can add a validation in run-test.sh to detect this. Thanks!