Re: 404 Errors?

Graeme J Sweeney <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
On Wed, 10 Jan 2007, Michael Laccetti wrote:

> 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:

If you run only one test at a time do they pass?

> com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404
> Not Found [http://some.internal.server/emgmt_ext/index.do]

Does your access log record a 404?

Without seeing the code, I would hazzard a guess that it might be a 
problem in the test initialisation.

-- 
Graeme -
Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/

-------------------------------------------------------------------------
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
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.