Forum Moderators: phranque

Message Too Old, No Replies

Using apache bench on local server

         

dadli

10:38 am on Sep 27, 2012 (gmt 0)

10+ Year Member



I want testing my site load (site is write on php) via apache bench.

I have local server (xampp), OC: windows.

In directory apache/bench there is file ab.exe, this means that apachebench is installed in my local server yes?

I have local site localhost/my_test, I want simulate concurrent 1000 request on this site, in CMD I write this command:

ab -c 1000 localhost/my_test

answer from CMD is:
'ab' is not recognized as an internal or external command, operable program or batch file.


Tell please, where I wrong?

phranque

12:19 pm on Sep 27, 2012 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, dadli!

you need to add that directory to your system PATH variable so the OS recognizes executables within.