---
title: HttpUnit
slug: httpunit
qid: Q5924576
snapshot: httpunit-671989-abb2364e8ed185af
content_hash: abb2364e8ed185af647059ca996fc563bd4392362a5b60880437810f33230996
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1356814049
tags: [128691585, 22945418, 23468805, 23603337, 24043274, 26220375, 28697135, 59639999]
---

# HttpUnit

> [!note] Provenance
> Snapshot `httpunit-671989-abb2364e8ed185af` · content root `abb2364e8ed185af…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1356814049> · Licensed CC BY-SA 4.0

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.

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== Software performance testing Performance Engineering Software HtmlUnit ==References== ==Further reading== ==External links== HttpUnit
