ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: <get> task and cookies, holding state
Date Tue, 09 Dec 2003 09:50:43 GMT
Also, have a look at Canoo WebTest and its Ant task that might be able 
to do this.

You may end up having to write a wrapper over HttpClient or HttpUnit.  
Although I would suspect someone has written tasks to do this in some 
form or another.

	Erik


On Tuesday, December 9, 2003, at 01:38  AM, Martin Gainty wrote:

> Robert:
>
> Here is how to accomplish this using Perl
> http://www.webdevforums.com/showthread.php?p=14697#post14697
> But if you want to use Perl you can use encrypted cookies
> http://www.perl-studio.com/encryption.html
>
> Hth,
> Martin
>
> ----- Original Message -----
> From: "Robert Rice" <robert@windermere.com>
> To: <user@ant.apache.org>
> Sent: Monday, December 08, 2003 8:45 PM
> Subject: <get> task and cookies, holding state
>
>
>> Hello,
>>
>> Has anyhone successfully held state in the form of cookies, between
>> web-related ant tasks.  I need to do the following:
>>
>> * hit a login url that requires username/password passed
>> * allow a cookie to be set with session information
>> * make a series of http get(s) to retrieve files, where the 
>> previously set
>> cookie is passed back.
>>
>> Any suggestions on how I might approach this?
>>
>> Thanks,
>> Robert Rice
>>
>>
>> ---------------------------------------------------------------------
>> 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