jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GUERARD Elisabeth" <>
Subject RE: jmeter ant task / generation report
Date Fri, 17 Nov 2006 11:33:09 GMT
I'm really sorry to disturb you like that, I finally found that the xsl
is no more appropriate to the node definition.
I updated the initial xsl, you can have it in attachment, just it
doens't work for MIn and Max time.
ANt Jmeter task is really a good evolution.
Do you use also the throughput paramter?
Thank you ,
-----Original Message-----
From: GUERARD Elisabeth 
Sent: 17 November 2006 11:35
To: 'Meenakshi Rm'
Cc: 'JMeter Users List'
Subject: RE: jmeter ant task / generation report


I have only node httpSample but in the xsl there is no reference to this

-----Original Message-----
From: GUERARD Elisabeth 
Sent: 17 November 2006 11:26
To: 'Meenakshi Rm'
Cc: 'JMeter Users List'
Subject: RE: jmeter ant task / generation report


Thank you so much, my problem is solved in fact I didn't define target
I didn't used Ant before, and now with your example and quick look to
the ant tutorial, it's ok.

But my JMeterResults.html is generated but empty.
I checked the JMeterResults.jtl, it 's filled correctly, and I saw that
the test has been correctly executed.

Something need to be add to my test plan?
Here is my build.xml:

I used the jmeter-results-report.xsl and I tried also with other xsl.
In attachment It's the JMeterResults.jtl, I thing it's ok, xml format.
If you have another idea about the problem?
Thanks in advance,

<?xml version="1.0" ?>
<project name="PericlesWebJmeter" default="jmeter"> 
    <taskdef name="jmeter"
    <target name="jmeter">
       testplan="R:/jmeter/jakarta-jmeter-2.2/test_jmeter/Pericles Web
II/Pericles Web II_without login.jmx"
      resultlog="R:/jmeter/jakarta-jmeter-2.2/test_jmeter/Pericles Web
        <property name="request.threads" value="1"/>
        <property name="request.loop" value="1"/>
        <property name=""
      <!--   <property name=""
value="all"/>   -->
        in="R:/jmeter/jakarta-jmeter-2.2/test_jmeter/Pericles Web
        out="R:/jmeter/jakarta-jmeter-2.2/test_jmeter/Pericles Web

-----Original Message-----
From: Meenakshi Rm [] 
Sent: 16 November 2006 17:45
To: JMeter Users List
Subject: Re: jmeter ant task

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 <>
> 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

View raw message