Siege is an http/https regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet.
Run the following command to seige a server. -t is the time to run, -c is the number of concurrent connections.
You can also write stats into file
You can read further on website