[Tutor] load test a web application?

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Nov 2 13:38:27 CET 2013


On 02/11/2013 11:11, Albert-Jan Roskam wrote:
>
> -------------------------------------------
> On Fri, 11/1/13, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>
>   Subject: Re: [Tutor] load test a web application?
>   To: tutor at python.org
>   Date: Friday, November 1, 2013, 3:05 PM
>
>   On 01/11/2013 09:51, Albert-Jan
>   Roskam wrote:
>   > Hi,
>   >
>   > I am looking at three Github-like programs (Stash,
>   Gitbucket and Trac) to see if they could be used in our
>   company. I would like to test the reliability and stability
>   of at least one of them (I won't do any tests if some
>   required functionality is missing).
>   >
>   > I am curious whether the program will crash under
>   certain circumstances (e.g. multiple users checking code at
>   *exactly* the same moment). What approach could I follow
>   here? Though this does not *necessarily* have to involve
>   Python, I would prefer this. The way I see it, it would
>   carry out certain common usage patterns many usage patterns
>   to simulate many users. I thought about using
>   mechanize/subprocess, the multimechanize package, or the
>   twill package.
>
> <snip>
>
>
>> It's my belief that this request is way beyond the remit of a tutor  mailing list.  The main mailing list is one obvious
>> place to go, but maybe better yet would be the specialist testing list. This is available at gmane.comp.python.testing.general.
>
> Hi Mark,
>
> Thanks. As you may have noticed I have posted this message on the main Python list. I received one off-list reply (a suggestion to use Github Enterprise). I could still try gmane.comp.python.testing.general. It is surprising that, unlike unittests, load/stress tests apparently are a more obscure domain. I have a book about Python testing (http://www.packtpub.com/python-testing-beginners-guide/book) and as far I can remember it does not cover this topic at all. A little googling does reveal some promising packages, e.g. http://locust.io/, https://pypi.python.org/pypi/funkload, or this overview: https://wiki.python.org/moin/PythonTestingToolsTaxonomy
>
> regards,
> Albert-Jan
>

I did see your message.  Outside of my knowledge base unfortunately :( 
Give the testing specialist list a try, nothing ventured, nothing 
gained, it's available via mechanisms other than the gmane one 
referenced above.

As they say on the stage, go break a leg :)

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence



More information about the Tutor mailing list