[Webtest] Load/Stress Testing with WebTest
NEALE, John" <John.NEALE@suncorp.com.au
Tue, 12 Aug 2008 14:19:45 +1000
We have used webtest in conjunction with The Grinder 3 to perform load/stre=
ss tests, with a great deal of success. It wasn't all that pretty and it wa=
s fairly manual but it did the job.
The Grinder 3 is a load testing tool that natively supports jython. You can=
then centrally control many clients running the python script.
Basically, I developed a python script to start Ant and run a specific test=
. I could then control how many times this was run, the ramp-up time, etc t=
hat you would normally do when load testing. There was a memory problem wit=
h this script which I never fixed and so we instead used the python script =
to run a .bat file instead (which just ran the ant script).
I've send an email to the list with the scripts attached but it is awaiting=
moderator approval because it's too big.
From: email@example.com [mailto:firstname.lastname@example.org] =
On Behalf Of Leif Singer
Sent: Monday, 11 August 2008 9:27 PM
Subject: [Webtest] Load/Stress Testing with WebTest
I use WebTest for functional testing and now need something for load
testing. It would be great if I could continue to use WebTest for this
-- is there a way to achieve this? Specifically, I would like to be
able to execute the *same* test in multiple worker threads in parallel.
Marc Guillemot hinted at a feature in this space almost a year ago,
and all I can find on the web is WebTestParallelInit -- which executes
tests in parallel, but only distinct test definitions. Maybe there is
a way to create copies of existing tests via Ant to achieve load
testing using WebTestParallelInit? Does somebody have any experiences
Other alternatives I'm looking at for load tests are JMeter and
Selenium. If someone has an opinion on those, you're welcome as well.
Thanks in advance
WebTest mailing list
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of =
its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13=
11 55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and d=
oes not necessarily reflect the view of Suncorp. The content, including att=
achments, is a confidential communication between Suncorp and the intended =
recipient. If you are not the intended recipient, any use, interference wit=
h, disclosure or copying of this e-mail, including attachments, is unauthor=
ised and expressly prohibited. If you have received this e-mail in error pl=
ease contact the sender immediately and delete the e-mail and any attachmen=
ts from your system.
If this e-mail constitutes a commercial message of a type that you no longe=
r wish to receive please reply to this e-mail by typing Unsubscribe in the =