404 Errors?

"Michael Laccetti" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
I'm running some HttpUnit tests for a Struts/Tiles app hosted on OC4J
(10.1.2.02).  I currently have six different tests running, all against
the same form with different values.  Some of the tests succeed
normally, but others, hitting the same URL, throw a 404 error.  This is
the stacktrace that I get when I run it:
 
com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404
Not Found [http://some.internal.server/emgmt_ext/index.do]
 at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
 at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
 at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
 at
com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
 at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
 at com.meterware.httpunit.WebWindow.sendRequest(WebWindow.java:110)
 at com.meterware.httpunit.WebClient.sendRequest(WebClient.java:95)
 at
some.package.here.webtest.TestReportGeneration.beginTest(TestReportGener
ation.java:225)
 at
some.package.here.webtest.TestReportGeneration.testGenerateReport2(TestR
eportGeneration.java:63)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn
it3TestReference.java:128)
 at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja
va:38)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java:460)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java:673)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
ner.java:386)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
nner.java:196)
 
Does anybody know why this keeps happening?
 
Thanks,
 
Michael

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.