OVH Community, your new community space.

How Use ApacheBench To Do Load Testing

25-12-2016, 05:03
Apache Benchmark (ab) help us to accomplish load tests. Apache Benchmark (ab) and Siege are two tools that help us to accomplish load tests. The Apache BenchMark tool is a handy application to have in your toolbox that can perform a number of helpful tasks. First, the primary use for the tool is to simulate how your server may react under maximum load

The Apache BenchMark tool is included with the Apache software but may be available in your distribution under the Apache-Utils package. You do not need to have the Apache Web Server running on the machine you want to run AB against and you can run it against any HTTP server, not just Apache

The Apache BenchMark tool’s executable is ab. The only parameter required to be passed to ab is the webpage you want to bench mark: