Govindarajan Gopu
Govindarajan Gopu

Reputation: 91

Apachebench installation on windows 10

Good evening.

can anyone help me to get installation file for Apache bench software for windows 10 - 64 bit for API testing ? I am confused about which file can be downloaded from google as there are lot of links are exist.

I am very much new to this tool. So, please provide me some user guide as well if available about how to use this software.

Best Regards, Govind

Upvotes: 9

Views: 25534

Answers (3)

Riad Elimemmedov
Riad Elimemmedov

Reputation: 61

If you want download Apache Benchmark on Windows watch these steps:

       *Apache Benchmark for Windows can be installed 
           https://www.apachelounge.com/download/#google_vignette
       
       * Click this link 
            https://www.apachelounge.com/download/VS17/binaries/httpd- 
            2.4.58-240131-win64-VS17.zip
       
       * Move into the Apache24/bin directory and copy both the "ab" and 
           "abs" executable files to your project directory
   
       * Making a GET request to our server
            ./ab -c 10 -n 20 http://localhost:8080/

Upvotes: 0

jumping_monkey
jumping_monkey

Reputation: 7779

Steps

  1. Download Apache binaries here.
    Mine was httpd-2.4.58-win64-VS17.zip
  2. Unzip
  3. Run ab from where you unzipped/installed it. Example
    ~\Apache24\bin>ab -n 100 -c 10 xxx

Upvotes: 4

David Rivas
David Rivas

Reputation: 85

You will need to install Apache HTTP Server following this link

https://httpd.apache.org/docs/2.4/platform/win_compiling.html

Make sure you use the version 2.4 for compatibility. Then you will find the Benchmark in

.\apache\bin\ab.exe

The recommended installation in Windows is to use Xampp or similar software, but that is the raw Apache HTTP Server installation

Upvotes: 7

Related Questions