mindplay wrote:It appears that ab.exe in the Windows distribution of XAMPP is broken (?)
No, it's fine.
ApacheBench wrote:ab: invalid URL
Usage: ab [options] [http://]hostname[:port]/path
Try a correct URL including [options] and the
/path:
ab -n 20 -c 5 http://www.google.com/ApacheBench wrote:C:\xampp\apache\bin>ab -n 20 -c 5 http://www.google.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking google.com (be patient).....done
Server Software: gws
Server Hostname: google.com
Server Port: 80
Document Path: /
Document Length: 219 bytes
...
Or without [Options]
ab google.com/ApacheBench wrote:C:\xampp\apache\bin>ab google.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking google.com (be patient).....done
Server Software: gws
Server Hostname: google.com
Server Port: 80
Document Path: /
Document Length: 219 bytes
...