[Tutor] Threads very simple examle

Oleg Oltar oltarasenko at gmail.com
Thu Sep 10 10:13:03 CEST 2009


Hi!

I have a question.
I want to create simple load test for my web application.

Consider the following script:

while 1:
    urllib2.urlopen("www.example.com")

How can I make it running in several threads?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090910/1aeda1d2/attachment.htm>


More information about the Tutor mailing list