Registry / testing / httpunit

httpunit

JSON →
library1.6.1javamavenunverified

A Java library for the automatic stimulation and testing of web applications, simulating browser behavior.

<dependency> <groupId>httpunit</groupId> <artifactId>httpunit</artifactId> <version>1.6.1</version> </dependency>
INSTALL
IMPORT
SIG · HTTPUNIT
H
httpunit
testingjavav1.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebConversation
com.meterware.httpunit.WebConversation

Use WebConversation to fetch a web page and print its content.

import com.meterware.httpunit.WebConversation; import com.meterware.httpunit.WebResponse; public class Example { public static void main(String[] args) throws Exception { WebConversation wc = new WebConversation(); WebResponse response = wc.getResponse("http://example.com"); System.out.println(response.getText()); } }
Debug
Known issues
gotchaHttpUnit is no longer actively maintained and may have compatibility issues with modern web standards.
fix
Consider using HtmlUnit or Selenium for modern web testing.
affects: *
Upgrade
Version history
1.6.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
httpunit — mvn dependency:get httpunit · libregistry