Menu

ApacheBench

May 26, 2017 - Linux

Homepage

Installation

Refresh the package database.

sudo apt-get update

Install the apache2-utils package to get access to ApacheBench.

apt-get install apache2-utils

Sample tests

ab -n 50 -c 10 -H 'origin: *' http://yahoo.com/
ab -n 10 -H 'origin: *' http://cors-anywhere.herokuapp.com/

Plotting outcome with gnuplot

SOURCE
gnuplothttp

ab -n 500 -c 100 -g out.data http://yahoo.com/