NYCPHP Meetup

[nycphp-talk] Slightly OT - Apache Stress Test

Michael B Allen ioplex at gmail.com
Wed Mar 12 19:14:04 EDT 2008


On 3/12/08, Pete Czech - New Possibilities Group, LLC <czech at npgroup.net> wrote:
> Does anyone have good resources to perform a stress test on apache?

Apache Bench ships with every standard Apache package. For example:

  $ ab -n 1000 -c 3 http://www.example.com/some/script.php

The above command retrieves the supplied URL 1000 times with at most 3
concurrent requests at one time. It's not very comprehensive but it's
great for sanity testing.

Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/



More information about the talk mailing list