ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: http tasks
Date Thu, 26 May 2005 10:23:20 GMT

You might want to consider WebTest (webtest.canoo.com).
WebTest "test" scripts are like ant "build" scripts.
You can mix and match whatever ant tasks you want with
webtest tasks (called steps because they are actually
extend ant's Task and provide a reference to a context
which contains the state associated with a series of
http requests). It can do all of the things you are
after below (and quite a bit more too). It doesn't have
XML post yet but should do within a few weeks.

Have a look at WebTest's build file for an example
of how it brings it's own site up in Jetty and tests it.

Cheers, Paul.

Steve Loughran wrote:
> James Fuller wrote:
> 
>>> what they really need is a functional test harness. I had some .pl
>>> code up on iseran.com that tested a bit of it, but we should really
>>> create a WAR and bring it up in Jetty or something.
>>>
>>
>> why not jmeter ?
>>
> 
> All the test harness really is is some things that are served up on a site
> 
> -text file       files/something.txt
> -binary file     files/something.bin
> -error codes   errors/404/
> -lie about content length (send more/less than asked)
> -basic auth section
> -digest auth section
> -stuff to test POST
> 
> Nothing too complex, a few jsp pages really.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message