Toby,

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 12 March 2002 09:02
> To: [EMAIL PROTECTED]
> Subject: Weired Problem with Cactus and httpunit
> 
> Hi Folks,
> 
> I'm using cactus to test a few classes that are used by a servlet
dealing
> with HttpServletRequest and HttpServletResponse. Everything works
> fine. This is when I love UnitTesting :).
> 

:-)

> I have a problem with the main Servlet containg the classes I
mentioned
> before and passing HttpServletRequest/HttpServletResponse. You know
it's
> not
> a big deal to write large servlet classes. Okay but the testcase I use
to
> test the facade servlet wont't work fine. I got the following
exception.
> 
> Error calling [public static com.meterware.httpunit.WebResponse
> com.meterware.httpunit.WebResponse.newResponse(java.net.URLConnection)
> throws java.io.IOException]
> 

[snip]

Two things :

1/ The exception stack trace does not give enough information to
understand why the creation of the HttpUnit WebResponse object failed.
Someone will need to check how Cactus could provide more information.

2/ Could you post the code of your testcase that fails (if possible,
could you remove all code that is not relevant to the error - In other
words, I'd like to reproduce your error on my machine).

Thanks
-Vincent



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to