Hi John,

Humm ... The short answer is you can't ... The default implementation
uses HttpClient and HttpClient has one connection per instance (there is
a MultiHttpClient available but that's not the one we're using ATM).

My question to you is: why would you need only one connection? Are you
using it to perform performance tests?

The longer answer is that Cactus has 2 possible implementations for
connecting to the server side and you could use the one that uses the
JDK HttpURLConnection class, which I believe is implementing HTTP 1.1 in
JDK 1.3+ and thus reuse a connection (not too sure but I think it does).

-Vincent
 
> -----Original Message-----
> From: John Cleber Jaraceski [mailto:john@;kolnet.com.br]
> Sent: 23 October 2002 19:09
> To: [EMAIL PROTECTED]
> Subject: HttpConnection for each testXXXX
> 
> Hi.
> 
> I'm using Cactus, but when I run my tests, for each testXXX a new
> HttpConnection is opened.
> 
> How can I set (or configure) Cactus to use a unique HttpConnection for
all
> tests?
> 
> Thanks.
> 
> John Cleber Jaraceski
> Sun Certified Java 2 Programmer
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@;jakarta.apache.org>

Reply via email to