From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Stable release
1.7 / May 20, 2008 (2008-05-20)
Written in Java
Operating system Cross-platform
Size 4.0 MB (archived)
Type software testing
License MIT

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[edit]


Further reading[edit]

  • 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. 

External links[edit]