what's the procedure I should follow to run a simple test on a domain www.example.com?I'm on windows environment and have installed WAMP server 2.1.
I actually know wich command I should use (Ex. ab -n 1 http://www.example.com/) but dont know where I should type it.
thanks for your patience
I don't know the path WampServer is installed to, so I'll just show you how I do it under WampDeveloper (which is what I use).
Run cmd.exe.
Inside...
C:
cd \WampDeveloper\Components\Apache\bin
ab -n 1 http://www.example.com/
To answer your question, you type it in the command line changed to the bin folder of your Apache folder since this is where ab.exe exists. If this folder location is in the system path, you can also just type it in anywhere (without changing paths in cmd.exe).
This 1st line changes the drive letter. Then second the path (aka working directory). The third runs ab.exe.
I do agree, PATH ENVIRONMENT
setup manually
C:/YOUR_INSTALLATION_APACHE2/bin
Path to environment on control panel system settings.
来源:https://stackoverflow.com/questions/6299948/how-to-run-apache-benchmark-load-test-in-windows