HttpUnit is an open-sourcesoftware testing framework used to perform testing of web sites without the need for a web browser. HttpUnit supports HTML form submission, JavaScript, HTTPbasic access authentication, automatic page redirection, and cookies.[1] Written in Java, HttpUnit allows Java test code to process returned pages as text, XML 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.
^"HttpUnit". VA Technical Reference Model v 23.2. November 25, 2013. Retrieved March 15, 2023.
Further reading
Hightower, Richard; Warner Onstine; Paul Visan (2004). "16. Functional Testing with HttpUnit". Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven. John Wiley & Sons. pp. 297–318. ISBN978-0-7645-5617-3.
Link, Johannes (10 June 2003). Unit Testing in Java: How Tests Drive the Code. Morgan Kaufmann. pp. 242–249. ISBN978-0-08-052017-9.