How to simulate high traffic load on a web application?

alecwh picture alecwh · Jul 26, 2010 · Viewed 41.2k times · Source

I wrote a Python web API that may get large amounts of requests per day. I want to test load levels before I go any further.

What is the best way to simulate large amounts of traffic on my localhost web application? Is there a (linux compatible) tool that will send large amounts of requests to a localhost URL?

Answer

Nikolaus Gradwohl picture Nikolaus Gradwohl · Jul 26, 2010

a simple tool to generate load is the apache bench that comes with the apache server

for more facny loadtests give jmeter a try