'''HttpUnit''' is an [[open source]] [[software testing]] framework used to perform testing of web sites without the need for a [[web browser]]. HttpUnit supports [[HTML]] form submission, [[JavaScript]], [[Basic authentication scheme|basic HTTP authentication]], automatic page redirection and [[HTTP cookie|cookies]]. Written in [[Java programming language|Java]], HttpUnit allows Java test code to process returned pages as text, XML [[Document Object Model|DOM]], or containers of forms, tables and links. HttpUnit is well suited to be used in combination with [[JUnit]], in order to easily write tests that verify the proper behaviour of a web site.
The use of HttpUnit allows for automated testing of web applications and as a result, assists in [[regression testing]].