Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
 com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 javax.servlet.ServletException: org.apache.tools.ant.taskdefs.Javac.setTempdir(Ljava/io/File;)V [http://localhost/index.jsp]  com.meterware.httpunit.HttpInternalErrorException: Error on HTTP request: 500 javax.servlet.ServletException: org.apache.tools.ant.taskdefs.Javac.setTempdir(Ljava/io/File;)V [[http://localhost/index.jsp]]

http://httpunit.sourceforge.net/

A JUnit extension for testing web applications. Your test cases can emulate a browser and verify behavior of the application. While it used to be that the emulation was low-level (at the HTTP protocol level, hence the name), higher level constructs are now available.

Also can be used with ServletUnit (included with HttpUnit) to test servlet-based apps without deploying to the container.


Alternatives:

  • JwebUnit -- runs on top of HttpUnit for higher level constructs. I no longer am using this, but some say it still provides benefits.

  • HtmlUnit


BTW, I'm trying now to run HttpUnit with ServletUnit for testing a WebLogic 8.1 app. I've installed some jar files from Tomcat 4.1.31 (I also tried Tomcat 3.3.2) to provide Jasper support. I'm being stymied by an exception:

Anyone know what that means? Let me know.

iDIAcomputing: HttpUnit (last edited 2009-07-27 18:25:22 by localhost)