views:

194

answers:

2

Hello,

I am after a Python script to help me load test my Google App Engine website. I want to give it a set of URLs and a request rate (would need to use threads) and then measure the response times of my website.

I have had a look at a few solutions but they don't let you set an upper limit for the request rate.

Any ideas? Thanks

+3  A: 

You don't need a python script for this, you want to use the apache tool ab.

http://httpd.apache.org/docs/2.0/programs/ab.html

It is the canonical load testing solution, and will get you great metrics for performance. You can set the request rate, but should really look at the concurrency level which is a far more meaningful statistic.

Paul McMillan
actually I *do* need a Python script, because that is the requirements of my client
Plumo
why don't you make a python wrapper for ab?
luc
because my client needs a pure python solution
Plumo
+2  A: 

Pylot is a versatile load testing tool written in Python. I haven't used it personally, but it seems good.

Nick Johnson
yeah I had a look at it, but doesn't seem to support a target request rate.
Plumo
it actually does support a target request rate (if you do a little math). you can specify the target rate per thread.. and the number of threads.
Corey Goldberg