Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 71515 invoked from network); 26 May 2005 12:11:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 May 2005 12:11:08 -0000 Received: (qmail 24886 invoked by uid 500); 26 May 2005 12:11:07 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 24609 invoked by uid 500); 26 May 2005 12:11:05 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 20787 invoked by uid 99); 26 May 2005 10:23:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Message-ID: <4295A398.6080709@asert.com.au> Date: Thu, 26 May 2005 20:23:20 +1000 From: Paul King User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: http tasks References: <20050525183108.79344.qmail@web30906.mail.mud.yahoo.com> <42959314.8040201@apache.org> <42959B36.60007@ruminate.co.uk> <42959D51.10305@apache.org> In-Reply-To: <42959D51.10305@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TPG-Antivirus: Passed X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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