Black Box Web Testing with HttpUnit

by amirg on April 8, 2010

HttpUnit is a set of Libraries to facilitate the automation testing of web applications.
In contrast to the Selenium Testing Framework, which is an in-browser web automation testing tool, HttpUnit can run tests without requiring a browser.

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.

The link below provides a tutorial with an example of how to use HttpUnit to test a web application or a web site.

Read the full article

Related Posts

Leave a Comment

*