53

Can anyone please provide me the direct to download the Ab.exe Apache benchmark utility?

Monish Kumar
  • 2,788
  • 4
  • 38
  • 54

7 Answers7

29

On Ubuntu, I can install ab without installing all of Apache via the apache2-utils package. So:

sudo apt-get install apache2-utils
Craig Andera
  • 401
  • 4
  • 3
27

Just download Apache (www.apache.org). It comes with it (in ApacheX.X/bin)

...Guessing (from one of your other questions) that you're using a Mac... there appear to be instructions here:
http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/

(if not, I can probably help with a Windows installation, but in general, Google is your friend!)

A list of mirrors for the windows binaries can be found here.

There are some basic instructions here:
http://www.ricocheting.com/how-to-install-on-windows/apache

...basically, install it, and the ab.exe will be in the 'bin' subdirectory of the installation

Jeroen Wiert Pluimers
  • 23,965
  • 9
  • 74
  • 154
Gerrat
  • 28,863
  • 9
  • 73
  • 101
5

TMB nailed it with the link to XAMMP in the following question : How to install apache bench on windows 7?

Community
  • 1
  • 1
Kevin Coulombe
  • 1,517
  • 1
  • 17
  • 35
5

For Windows Users there is no direct binary download.

One has do install the Apache server via the msi setup package, grab ab.exe from the Program Files/Apachge Group/bin folder and uninstall Apache again.

link to the msi package I used was once here:

http://mirror2.klaus-uwe.me/apache//httpd/binaries/win32/httpd-2.0.65-win32-x86-no_ssl.msi

but this is 404 as of today.

http://mirror2.klaus-uwe.me/apache//httpd/binaries/win32/

might help.

citykid
  • 9,916
  • 10
  • 55
  • 91
4

Download the Apache MSI-package (https://httpd.apache.org/download.cgi -> Binaries for the version you want -> win32 directory -> httpd-...-win32-x86-no_ssl.msi), open this .msi file with 7-Zip, find ab.exe, select it, and copy it to wherever you want.

I've just done that with http://.../httpd/binaries/win32/httpd-2.2.25-win32-x86-no_ssl.msi, and it works for me.

2

CentOS and Fedora users can find Apache Benchmark in package httpd-tools.

Example:

# CentOS
sudo yum install httpd-tools
# Fedora
sudo dnf install httpd-tools

Use installed Apache Benchmark binary as ab.

Lirt
  • 407
  • 5
  • 8
1

Get the .msi from archive site:

http://archive.apache.org/dist/httpd/binaries/win32/

once installed, go to your Windows explorer to the installation path like: C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\ab.exe

Leonardo Rivera
  • 174
  • 1
  • 5