ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <dan...@germane-software.com>
Subject Re: HTTP POST REQUEST
Date Tue, 03 Aug 2004 14:44:07 GMT
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" <danson@germane-software.com>
> To: "Ant Users List" <user@ant.apache.org>
> 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


Mime
View raw message