How to run Apache benchmark load-test in Windows?

前端 未结 2 653
你的背包
你的背包 2021-02-13 20:56

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 wh

相关标签:
2条回答
  • 2021-02-13 21:36

    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.

    0 讨论(0)
  • 2021-02-13 21:48

    I do agree, PATH ENVIRONMENT setup manually

    C:/YOUR_INSTALLATION_APACHE2/bin
    

    Path to environment on control panel system settings.

    0 讨论(0)
提交回复
热议问题