views:

236

answers:

3

Hi folks,

I'm trying to build a small stress test script to test how quickly a set of requests gets done.

Need to measure speed for 100 requests.

Problem is that I wouldn't know how to implement it, as it would require parallel url requests to be called.


Any ideas?

+3  A: 

Why build it?

There are several available.

  1. For a single url and many requests try ab
  2. For multiple urls and random tests try siege
WoLpH
A: 

I'm not sure if this exactly the type of testing you were looking for but BrowserMob uses Selenium to do browser load testing. It works as if many browsers were pounding on your site simultaneously. It isn't created for any specific framework and should work on pretty much any web app.

Jeremy B.
A: 

If you want to stay within the Python framework you might try Corey Goldberg's Pylot or its successor "multi-mechanize" (sorry, can't post that second link here yet, but you find it at the end of Pylot's homepage)...

cpt_ahag