HttpUnit: Difference between revisions

Content deleted Content added
m moved Httpunit to HttpUnit: Correct capitalization
Bender the Bot (talk | contribs)
m HTTP to HTTPS for SourceForge
 
(26 intermediate revisions by 23 users not shown)
Line 1:
{{Short description|Website testing framework}}
"Written in Java, '''HttpUnit''' emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. When combined with a framework such as [[JUnit]], it is fairly easy to write tests that very quickly verify the functioning of a web site."
{{Refimprove|date=March 2023}}
{{ Infobox Software
| name = HttpUnit
| logo =
| screenshot =
| caption =
| collapsible = yes
| developer =
| latest release version = 1.7
| latest release date = {{release date|2008|05|20}}
| latest preview version =
| latest preview date =
| operating system = [[Cross-platform]]
| size = 4.0 MB (archived)
| programming language = [[Java (programming language)|Java]]
| genre = [[software testing]]
| license = [[MIT license|MIT]]
| website = https://httpunit.sourceforge.net/
}}
'''HttpUnit''' is an [[open-source software|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]], [[Hypertext Transfer Protocol|HTTP]] [[basic access authentication]], automatic page redirection, and [[HTTP cookie|cookies]].<ref>{{cite web |url=https://www.oit.va.gov/Services/TRM/ToolPage.aspx?tid=5814 |title=HttpUnit |date=November 25, 2013 |website=VA Technical Reference Model v 23.2 |access-date=March 15, 2023}}</ref> 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]].
==External links==
*[http://httpunit.sourceforge.net HttpUnit]
 
==See also==
*[[Software performance testing]]
[[Java programming language]]
*[[Performance Engineering]]
*[[Software]]
*[[HtmlUnit]]
 
==References==
{{reflist}}
 
==Further reading==
* {{cite book |last1=Hightower |first1=Richard |author2=Warner Onstine |author3=Paul Visan |title=Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven |year=2004|publisher=John Wiley & Sons|isbn=978-0-7645-5617-3 |pages=297–318 |chapter=16. Functional Testing with HttpUnit}}
* {{cite book |last=Link |first=Johannes |title=Unit Testing in Java: How Tests Drive the Code |date=10 June 2003 |publisher=Morgan Kaufmann |isbn=978-0-08-052017-9 |pages=242–249}}
 
==External links==
*[httphttps://httpunit.sourceforge.net/ HttpUnit]
 
[[Category:Java platform]]
[[Category:Unit testing frameworks]]
 
 
{{compu-library-stub}}