tags:

views:

27

answers:

3

I have a PHP web application, and I want to test out the load when 100+ users are connected at the same time. Is there a program out there that would allow 100+ virtual users to hit my webpage?

I did find one, but it was $3000. I don't mind paying, but not quite that much.

+2  A: 

You can do this easily with JMeter, which is open source.

100+ users each requiring how much memory? You might need several machines to accommodate the desired load, but it's certainly doable.

duffymo
+1 JMeter is a bit rough but properly used, it is just great (I like it especially because it's a Java tool, it can be "clustered" for big loads, tests can be easily automated, etc).
Pascal Thivent
+1  A: 

Apache Bench is free, and runs on all flavors of *nix:

ab [ -b windowsize ] [ -c concurrency ] [ -C cookie-name=value ]  [
   -n requests ] http://www.example.com/page-to-test.html

Try:

man ab

I've found it works great when you just want to make sure you can handle a certain load.

For more complex load-balancing, spend the money.

razzed
+1 from me - nice.
duffymo
+1  A: 

You many need something more advanced, but a first approach may be suited for Http_load http://www.acme.com/software/http_load/

It is a basic script that spins up a bunch of threads and hits your website for a specified duration. It reports back with some interesting statistics related to throughput and the number of successful responses.

darren
+1 fro me - nice.
duffymo