From this thread on The Server Side: HttpUnit 1.6 released.
HttpUnit 1.6, the first new production release in over a year, is now available. HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links.
Written in Java, HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as JUnit, it is fairly easy to write tests that very quickly verify the functioning of a web site. The same techniques used to test web sites can be used to test and develop servlets without a servlet container using ServletUnit, included in the download.
See the homepage for HttpUnit. Here are the release notes (in working format).
Also see our earlier post on HttpUnit.