HttpUnit is a framework for accessing websites from a Java program, with support for following links, submitting forms, handling cookies, and many other browser functions. When used with JUnit, HttpUnit provides an easy way to write automated functional tests for websites, regardless of the technology used to implement them.