HttpUnit, A civilized way to test Web applications in WebSphere Studio

From the developerWorks archives

Kulvir Bhogal

Date archived: January 3, 2017 | First published: March 10, 2003

Just as JUnit is an excellent open-source tool for Java testing, HttpUnit is an equally good test tool for Web development. This article shows you how to use it with WebSphere Studio. It provides an API that mimics the behavior of a Web browser and makes direct calls to the code you are testing. The HttpUnit API can emulate a number of browser behaviors, including form submission, JavaScript, HTTP authentication, and use of cookies. HttpUnit also enables you to analyze the content that is returned when a Web page is loaded.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=14173
ArticleTitle=HttpUnit: A civilized way to test Web applications in WebSphere Studio
publish-date=03102003