You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by James Childers <ja...@swbell.net> on 2002/08/22 18:07:33 UTC
Testing servlet access by multiple threads
Hi all,
I would like to write a test for testing multi-thread access to the same
servlet, but haven't been able to find a way to do this either in the
sample app or in the mailing list archives. Since in a production
environment, of course, multiple users will be continuously accessing
the same servlet, this would be an extremely beneficial test to add to
the suite.
Thanks in advance,
-= James
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Testing servlet access by multiple threads
Posted by Vincent Massol <vm...@octo.com>.
Hi James,
The goal of Cactus is really unit testing more than anything else. It is
not meant to be used as a stress/load testing fwk. That said, I agree,
it would be quite nice to be able to do this.
Some time ago, someone had suggested writing a cactus extension to
support this but nothing has been done on the subject.
The idea would be to invent a new domain : stress unit testing, i.e. the
ability to stress test only some portions of code.
I'll add this to the ideas to explore on the Cactus todo list.
If you're interested in participating, let us know, we'd certainly love
that! :-)
ATM, there is no way to do any multi-thread access in Cactus.
Thanks
-Vincent
> -----Original Message-----
> From: James Childers [mailto:james235@swbell.net]
> Sent: 22 August 2002 17:08
> To: 'Cactus Users List'
> Subject: Testing servlet access by multiple threads
>
> Hi all,
>
> I would like to write a test for testing multi-thread access to the
same
> servlet, but haven't been able to find a way to do this either in the
> sample app or in the mailing list archives. Since in a production
> environment, of course, multiple users will be continuously accessing
> the same servlet, this would be an extremely beneficial test to add to
> the suite.
>
> Thanks in advance,
>
> -= James
>
>
> --
> To unsubscribe, e-mail: <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>