website load testing Python script
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
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.
Pylot is a versatile load testing tool written in Python. I haven't used it personally, but it seems good.
精彩评论