[Tutor] load test a web application?
Albert-Jan Roskam
fomcl at yahoo.com
Sat Nov 2 12:11:10 CET 2013
-------------------------------------------
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
More information about the Tutor
mailing list