Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Benchmark HTTPS failing

I'm using Apache 2.4.2 in Ubuntu virtual machine. I use this to load test, sending request to some HTTPS url. Number of failed request is zero. But none of my request can truly be processed (looked up in database already). With the same url, invoke it through the browser is ok (database updated). So it was purely the issue of Apache Benchmark. Here's my Apache Benchmark command:

# ab -n 100 -c 10 -k -f ALL -g "/home/administrator/Desktop/g.txt" -e "home/administrator/Desktop/e.txt" "https://mysecuredurl.com/MyWCF.svc/POX/MyMethod?arg=something"

When I omit -k argument, SSL connection shown out clearly that they're the issue:

SSL read failed - closing connection

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      845  851   4.0    852     857
Processing:   218  232  20.4    229     286
Waiting:      218  232  20.4    229     286
Total:       1068 1083  19.6   1076    1131

Does anyone know how to solve this issue, in order that I can utilize Apache Benchmark for my load test with HTTPS, passing-by SSL issue ? Thanks

like image 301
Undefined Identity Avatar asked Jun 07 '12 09:06

Undefined Identity


1 Answers

When I used ab with a https URL, it threw me out with this message SSL not compiled in; no https support

It worked fine using abs

like image 103
tapsboy Avatar answered Nov 10 '22 16:11

tapsboy