Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 13315 invoked from network); 6 Feb 2001 08:52:06 -0000 Received: from unknown (HELO sestomsx02.iconmedialab.se) (212.209.217.67) by h31.sny.collab.net with SMTP; 6 Feb 2001 08:52:06 -0000 Received: by SESTOMSX02 with Internet Mail Service (5.5.2650.21) id ; Tue, 6 Feb 2001 10:00:36 +0100 Message-ID: From: Stefan Lecho To: "'ant-dev@jakarta.apache.org'" Subject: RE: HTTP request task available Date: Tue, 6 Feb 2001 10:00:33 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0901B.447A1B86" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_001_01C0901B.447A1B86 Content-Type: text/plain; charset="iso-8859-1" Extract from HttpUnit doc: "Written in Java, HttpUnit emulates the relevant portions of browser behavior, including form submission, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages as text, an XML DOM, or containers of forms, tables, and links. The JUnit task can be used to invoke HttpUnit. More info on http://httpunit.sourceforge.net/ Regards, Stefan Lecho. -----Original Message----- From: Matt Humphrey [mailto:matth@pobox.com] Sent: Monday, February 05, 2001 11:11 PM To: ant-dev@jakarta.apache.org Subject: HTTP request task available I wrote an enhanced version of the "get" task, that allows the user to: * Retrieve the contents of any URL, or alternatively access that URL but then discard the results (useful for causing some side effect on the server) * Simulate the submission of an HTML form, using either GET or POST methods. * Set arbitrary HTTP headers. I'd like to contribute this class to the ant team, so that it will be included with the normal builds. Can someone tell me what I need to do to accomplish this? Thanks, Matt Humphrey ------_=_NextPart_001_01C0901B.447A1B86 Content-Type: text/html; charset="iso-8859-1"
Extract from HttpUnit doc: "Written in Java, HttpUnit emulates the relevant portions of browser behavior, including form submission, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages as text, an XML DOM, or containers of forms, tables, and links.
The JUnit task can be used to invoke HttpUnit.
 
 
Regards, Stefan Lecho.
-----Original Message-----
From: Matt Humphrey [mailto:matth@pobox.com]
Sent: Monday, February 05, 2001 11:11 PM
To: ant-dev@jakarta.apache.org
Subject: HTTP request task available

I wrote an enhanced version of the "get" task, that allows the user to:
 
* Retrieve the contents of any URL, or alternatively access that URL but then discard the results (useful for causing some side effect on the server)
* Simulate the submission of an HTML form, using either GET or POST methods.
* Set arbitrary HTTP headers.
 
I'd like to contribute this class to the ant team, so that it will be included with the normal builds. Can someone tell me what I need to do to accomplish this?
 
Thanks,
 
Matt Humphrey
------_=_NextPart_001_01C0901B.447A1B86--