HttpUnit - Wikiwand
For faster navigation, this Iframe is preloading the Wikiwand page for HttpUnit.


From Wikipedia, the free encyclopedia

Stable release
1.7 / May 20, 2008 (2008-05-20)
Written inJava
Operating systemCross-platform
Size4.0 MB (archived)
Typesoftware testing

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, HTTP basic access authentication, automatic page redirection, and cookies. 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.

See also


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. ISBN 978-0-7645-5617-3.
  • Link, Johannes (10 June 2003). Unit Testing in Java: How Tests Drive the Code. Morgan Kaufmann. pp. 242–249. ISBN 978-0-08-052017-9.
{{bottomLinkPreText}} {{bottomLinkText}}
Listen to this article