About
ApacheBench (ab) is an open-source command-line tool designed for benchmarking HTTP servers, specifically to measure the number of requests per second that an Apache installation can serve. It is bundled as a support program with the Apache HTTP Server distribution.
Best for
- Quick HTTP or protocol micro-benchmarks from a single machine
- Teams that prefer open-source licensing and self-hosting options
- Groups comfortable scripting in C
Not the best fit when
- Full multi-protocol enterprise journeys and rich business-flow reporting
- Teams unwilling to operate generators, results storage, and scaling
Architecture and concurrency
ApacheBench (ab) is typically driven as a CLI micro-benchmark with C. It favors single-host or simple distributed runs rather than enterprise controller grids.
Compare and alternatives
Features
- Benchmarking HTTP servers for requests per second throughput
- Support for HTTP KeepAlive
- Custom HTTP methods and headers
- SSL/TLS protocol specification
- Capability to export results to gnuplot or TSV files
- POST and PUT data support
- Proxy server support with basic authentication
- Configurable verbosity levels
Latest release
2.3 · 2021
Pricing
Free and open-source (distributed under the Apache License 2.0)
Specs
Sources
SHOW SOURCES
- httpd.apache.org ab - Apache HTTP server benchmarking tool - Apache HTTP Server Version 2.4
- httpd.apache.org ab - Apache HTTP server benchmarking tool - Apache HTTP Server Version 2.5
- apache.googlesource.com 2.4.x/support/ab.c - httpd - Git at Google
- apidog.com ApacheBench (ab): How to Load Test an API from the Terminal
- en.wikipedia.org ApacheBench
LAST VERIFIED · 2026-08-11 · GROUNDED VIA EXA · CURATED BY NAVEENKUMAR NAMACHIVAYAM