Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 89023 invoked from network); 3 Aug 2004 14:44:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 14:44:10 -0000 Received: (qmail 22041 invoked by uid 500); 3 Aug 2004 14:43:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 21950 invoked by uid 500); 3 Aug 2004 14:43:57 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 21934 invoked by uid 99); 3 Aug 2004 14:43:57 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [204.127.202.56] (HELO sccrmhc12.comcast.net) (204.127.202.56) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 07:43:53 -0700 Received: from [192.168.99.3] (c-67-165-117-7.client.comcast.net[67.165.117.7]) by comcast.net (sccrmhc12) with ESMTP id <2004080314435101200fltave>; Tue, 3 Aug 2004 14:43:52 +0000 Message-ID: <410FA4B7.2030903@germane-software.com> Date: Tue, 03 Aug 2004 07:44:07 -0700 From: Dale Anson User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: HTTP POST REQUEST References: <001401c4771a$9bd8d3b0$0100a8c0@eduardo> <410E53F7.6040204@germane-software.com> <004501c478d3$7a8cd8e0$0100a8c0@eduardo> In-Reply-To: <004501c478d3$7a8cd8e0$0100a8c0@eduardo> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The HTTP Post task wasn't really designed for anything other than just sending a post. Have you looked at HttpUnit, httpunit.sourceforge.net. It is quite good at setting up a web connection, you can manipulate headers and cookies, parse the html, submit forms, etc. Dale Eduardo Andr�s Alfonso Sierra wrote: > Thanx Dale, > > I used the HTTP Post task from ant-contrib. However, first, I tested > anteater, it works fine, it's a very complete framework for http testing but > I didn't like that it's distributed with ant 1.5.2 bundeled, and it was not > easy to using ir with ant 1.6.2. > > But for simple testing, HTTP Post task ant-contrib is ok. > > Or does anybody knows how can I manage the response to access the http > headers using HTTP Post task ant-contrib ?? > > Is it possible to capture a cokkie or session information returned in http > headers ?? > > Thanx again > > > ----- Original Message ----- > From: "Dale Anson" > To: "Ant Users List" > Sent: Monday, August 02, 2004 9:47 AM > Subject: Re: HTTP POST REQUEST > > > >>As far as I know, only "get" is supported in standard-issue Ant. Another >>option would be to use the "HTTP Post" task from ant-contrib. >> >>Dale >> >> >>Eduardo Andr�s Alfonso Sierra wrote: >> >>>Hi >>> >>>I want to know if there is any "standard" way to make a HTTP POST > > REQUEST to > >>>a web server. By standard I mean using the core or optional task of the > > ant > >>>distribution.. I guess using anteater external task this could be > > possible, > >>>but is it using standard tasks ?? Maybe using the get task and change > > it > >>>something to simulate it as post ?? >>> >>>Thanx in advance ! >>> >>>Eduardo >>> >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>>For additional commands, e-mail: user-help@ant.apache.org >>> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>For additional commands, e-mail: user-help@ant.apache.org >> >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org