jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meenakshi Rm" <>
Subject Re: jmeter ant task
Date Thu, 16 Nov 2006 16:44:32 GMT
Hi ,

I have tried using reallly works good.

The problem I guess is.... you have nested jmeter task inside taskdef
element. That is not the way it shud be.

Keep taskdef tag seperate , it is used to define jmeter ant task.

Use jmeter ant task inside target as below:


<taskdef    name="jmeter"    classname="

  <target name="automate"  depends="clean"  >
<jmeter    jmeterhome="c:/jmeter"

<testplans dir="${src}" includes="*.jmx"/>
   <property name="request.threads" value="1"/>
   <property name="request.loop" value="2"/>



Hope this helps.


On 11/16/06, GUERARD Elisabeth <> wrote:
> dear all,
> I discover the new functionality Jmeter ant task.
> I try to used it via Eclipse but adding the ant-jmeter.jar in the ant
> lib directory.
> I built the build.xml file as described on the
> website.
> But I have the following error:
>        The <taskdef> type doesn't support the nested "jmeter" element.
> Someone used already via eclipse?
> thank in advance for advice.
> Eli

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message