Hi Rick, The only thing I can think of is that the Servlet Config is not isolated in the tests, that is if you put values in it (either from your test case or from the code under test) then these values will be remembered, thus potentially affecting calls to your application afterwards.
We would need more information to help you. Could you provide the simpler possible test case that make your HTTPunit tests fail? Could you also provide us with your web.xml and the URL you're using from you're the HTTPunit test? Thanks -Vincent > -----Original Message----- > From: Morris, Rick [mailto:[EMAIL PROTECTED]] > Sent: 14 February 2003 21:25 > To: 'Cactus Users List' > Subject: RE: Stopping test mode > > Some background: The application is a simple login/welcome Struts > application like we've all (including me) used before. Nothing > complicated. > > The error happens when I run the HttpUnit tests in my build.xml file. The > HttpUnit tests run after the Cactus servlet tests. The Cactus tests > complete > successfully (or at least they say they do). The HttpUnit tests, which run > text, fail because they aren't getting the proper responses back from > Resin. > > I have the same problem if, after the tests fail, I try to access the > application normally through a browser. I do the login page and get a > blank > response page back from the container. > > If I stop and restart the container, things work as expected. > > It is a little refreshing to hear that it sounds odd to someone else as > well. > > > -----Original Message----- > From: Nicholas Lesiecki [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 14, 2003 3:17 PM > To: Cactus Users List > Subject: RE: Stopping test mode > > > Rick, > > This problem seems odd. Unless the tests are still (actively) running the > Redirector should passively wait for new requests and not affect anything. > Can you share any further details about your error? > > Cheers, > Nick > > > -----Original Message----- > > From: Morris, Rick [mailto:[EMAIL PROTECTED]] > > Sent: Friday, February 14, 2003 11:38 AM > > To: '[EMAIL PROTECTED]' > > Subject: Stopping test mode > > > > > > I've looked through the list archives and the FAQ, but still can't find > an > > answer to my question. > > > > Once I have executed the Cactus tests in Ant using the > > ServletRedirector?Cactus_Service=RUN_TEST command, is there any > > way to make > > the servlet redirector gracefully bow out of the picture after the tests > > have been run? > > > > What I have found, which could certainly be my error, is that after the > > Cactus tests have run successfully, the application being tested doesn't > > function properly. > > > > I am not starting and stopping Resin through Ant since we run Resin in > > tandem with Apache. > > > > Any suggestions appreciated, including RTFM if it includes a reference > to > > the appropriate section of the manual. > > > > Rick Morris > > Brightpoint North America > > 501 Airtech Parkway > > Plainfield IN 46168 > > Phone: 317-707-2312 > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
