How do I fix “ssl handshake failed” with ApacheBench?

ApacheBench doesn’t seem to be capable of ignoring certificate problems (at least some of them) so I wrote this script: #!/bin/bash K=200; HTTPSA=’https://192.168.1.103:443/’ date +%M-%S-%N>wgetres.txt for (( c=1; c<=$K; c++ )) do wget –no-check-certificate –secure-protocol=SSLv3 –spider $HTTPSA done date +%M-%S-%N>>wgetres.txt It’s not as precise as AB, but gives the idea. Does well in comparison tests.

Apache Bench: Mean vs Mean across all concurrent requests

Here is an example of an ab’s test result. I make 1000 requests that with 3 concurrent requests. C:\>ab -d -e a.csv -v 1 -n 1000 -c 3 http://www.example.com/index.aspx This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/ … Read more

ab (Apache Bench) error: apr_poll: The timeout specified has expired (70007) on Windows

You must have the 2.4 version and use -s timeout option. Edit: https://www.wampserver.com/ – includes Apache 2.4.x Win32 and Win64. Deprecated but still available however I not known until when and just not available: You can use my win32-x86 binary (compiled under Visual Studio 2008 from trunk 8 Feb 2013): http://mars.iti.pk.edu.pl/~nkg/ab-standalone.exe (no longer available) http://mars.iti.pk.edu.pl/~nkg/ab-standalone-src.zip (no longer … Read more