siege -c 50 -t 60s http://localhost:3000/

Category: Web App Development

siege -c 50 -t 60s http://localhost:3000/

Stress a URL with 50 simulated users for 60 seconds

Simulates 50 concurrent users hitting the URL for 60 seconds and reports transactions, response times and availability. The -c flag sets concurrency and -t sets the run time. Point siege at a urls.txt file with -f to spread load across many pages.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.