I have modified the ant-jmeter to fail the build in case of testcase failures which i think is very usefull especially while using with continious integration.

Submitted code and details to "[EMAIL PROTECTED]"
in http://www.programmerplanet.org/ant-jmeter/ . I hav'nt heard back anything yet.

Is that the right procedure?

Thanks.



From: sebb <[EMAIL PROTECTED]>
Reply-To: sebb <[EMAIL PROTECTED]>
To: JMeter Users List <[email protected]>
Subject: Re: JMeter Ant
Date: Mon, 1 Aug 2005 14:22:03 +0100


Not possible currently. The JMeter exit code does not depend on the
result of a test.

On 30/07/05, George varghese <[EMAIL PROTECTED]> wrote:
Hi,

 How do I make sure build fails if there Jmeter execution had failures
(similar to Junit)?

 <target name="jmeter">
   <jmeter jmeterhome="c:\jakarta-jmeter-2.0.3"
       resultlog="JMeterResults.jtl">
      <testplans dir="." includes="SimpleTestPlan.jmx"/>
         <jvmarg value="-Xincgc"/>
         <jvmarg value="-Xmx128m"/>
         <jvmarg value="-Dproperty=value"/>
   </jmeter>

It returns a build successfull even if there are failures in executing
SimpleTestPlan.jmx.
Please help.

Thanks.

_________________________________________________________________
NRIs, does your family in India need money urgently? http://creative.mediaturf.net/creatives/icicibank/ICICI_NRI_ERA.htm Open an ICICI Bank NRI savings A/c


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to