You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by prasanna bhat <pr...@gmail.com> on 2010/03/31 13:56:17 UTC

Min Time and Max Time value does not appear in Ant-JMeter report

Hi,

I'm running a sample test plan using ant, and in the generated report min
and max time values are missing

The html report table has following values (i have highlighted min and max
time values i.e NaN)

URLTestsFailuresSuccess RateAverage TimeMin TimeMax Time  HTTP Request50
100.00%1688 ms*NaN**NaN*  HTTP Request50100.00%1688 ms*NaN**NaN*

I have the following *build.xml* (
http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php):

<?xml version="1.0" encoding="utf-8"?>
<project name="ant-jmeter" basedir=".">
    <property name="jmeter_dir" value="C:\jakarta-jmeter-2.3.4" />
    <property name="testplan_dir" value="C:\My_Jmeter_Scripts\" />
    <taskdef name="jmeter"
classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" />
    <jmeter jmeterhome="${jmeter_dir}"
            testplan="${testplan_dir}/TestPlan.jmx"
            resultlog="${testplan_dir}/results/TestPlan.jtl" >
        <property name="jmeter.save.saveservice.output_format" value="xml"/>
        <jvmarg value="-Xincgc" />
        <jvmarg value="-Xmx128m" />
        <jvmarg value="-Dproperty=value" />
    </jmeter>
    <xslt
        in="${testplan_dir}/results/TestPlan.jtl"
        out="${testplan_dir}/results/SampleRequest.html"
        style="${jmeter_dir}/extras/jmeter-results-report_21.xsl" />
</project>

I'm using *aggregate report listener* in my test plan and i'm saving the
results into a file (displaying the file content below)

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<httpSample t="1602" lt="1087" ts="1270035912083" s="true" lb="HTTP Request"
rc="200" rm="OK" tn="Thread Group 1-1" dt="text" by="19882"/>
<httpSample t="1742" lt="1119" ts="1270035912279" s="true" lb="HTTP Request"
rc="200" rm="OK" tn="Thread Group 1-2" dt="text" by="19882"/>
<httpSample t="1746" lt="1135" ts="1270035912480" s="true" lb="HTTP Request"
rc="200" rm="OK" tn="Thread Group 1-3" dt="text" by="19882"/>
<httpSample t="1604" lt="1084" ts="1270035912679" s="true" lb="HTTP Request"
rc="200" rm="OK" tn="Thread Group 1-4" dt="text" by="19882"/>
<httpSample t="1744" lt="1112" ts="1270035912880" s="true" lb="HTTP Request"
rc="200" rm="OK" tn="Thread Group 1-5" dt="text" by="19882"/>

</testResults>

Can some one point me why is the min time and max time values are not shown
in html reports

Thanks,
Prasanna

Re: Min Time and Max Time value does not appear in Ant-JMeter report

Posted by sebb <se...@gmail.com>.
On 31/03/2010, prasanna bhat <pr...@gmail.com> wrote:
> Thanks sebb, it worked. So does that mean it works with Java version 1.4 ??

Probably - try it and see if you are curious.

>  Regards,
>  Prasanna
>
>
>
>  On Wed, Mar 31, 2010 at 7:08 PM, sebb <se...@gmail.com> wrote:
>
>  > I think this is a known bug to do with incompatible Java XSLT libraries.
>  > I assume you are using Java 1.5 or later?
>  >
>  > Have a look at the current extras/build.xml for a solution:
>  >
>  > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml
>  >
>  >
>  >
>  > On 31/03/2010, prasanna bhat <pr...@gmail.com> wrote:
>  > > Hi,
>  > >
>  > >  I'm running a sample test plan using ant, and in the generated report
>  > min
>  > >  and max time values are missing
>  > >
>  > >  The html report table has following values (i have highlighted min and
>  > max
>  > >  time values i.e NaN)
>  > >
>  > >  URLTestsFailuresSuccess RateAverage TimeMin TimeMax Time  HTTP Request50
>  > >  100.00%1688 ms*NaN**NaN*  HTTP Request50100.00%1688 ms*NaN**NaN*
>  > >
>  > >  I have the following *build.xml* (
>  > >  http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php):
>  > >
>  > >  <?xml version="1.0" encoding="utf-8"?>
>  > >  <project name="ant-jmeter" basedir=".">
>  > >     <property name="jmeter_dir" value="C:\jakarta-jmeter-2.3.4" />
>  > >     <property name="testplan_dir" value="C:\My_Jmeter_Scripts\" />
>  > >     <taskdef name="jmeter"
>  > >  classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" />
>  > >     <jmeter jmeterhome="${jmeter_dir}"
>  > >             testplan="${testplan_dir}/TestPlan.jmx"
>  > >             resultlog="${testplan_dir}/results/TestPlan.jtl" >
>  > >         <property name="jmeter.save.saveservice.output_format"
>  > value="xml"/>
>  > >         <jvmarg value="-Xincgc" />
>  > >         <jvmarg value="-Xmx128m" />
>  > >         <jvmarg value="-Dproperty=value" />
>  > >     </jmeter>
>  > >     <xslt
>  > >         in="${testplan_dir}/results/TestPlan.jtl"
>  > >         out="${testplan_dir}/results/SampleRequest.html"
>  > >         style="${jmeter_dir}/extras/jmeter-results-report_21.xsl" />
>  > >  </project>
>  > >
>  > >  I'm using *aggregate report listener* in my test plan and i'm saving the
>  > >  results into a file (displaying the file content below)
>  > >
>  > >  <?xml version="1.0" encoding="UTF-8"?>
>  > >  <testResults version="1.2">
>  > >  <httpSample t="1602" lt="1087" ts="1270035912083" s="true" lb="HTTP
>  > Request"
>  > >  rc="200" rm="OK" tn="Thread Group 1-1" dt="text" by="19882"/>
>  > >  <httpSample t="1742" lt="1119" ts="1270035912279" s="true" lb="HTTP
>  > Request"
>  > >  rc="200" rm="OK" tn="Thread Group 1-2" dt="text" by="19882"/>
>  > >  <httpSample t="1746" lt="1135" ts="1270035912480" s="true" lb="HTTP
>  > Request"
>  > >  rc="200" rm="OK" tn="Thread Group 1-3" dt="text" by="19882"/>
>  > >  <httpSample t="1604" lt="1084" ts="1270035912679" s="true" lb="HTTP
>  > Request"
>  > >  rc="200" rm="OK" tn="Thread Group 1-4" dt="text" by="19882"/>
>  > >  <httpSample t="1744" lt="1112" ts="1270035912880" s="true" lb="HTTP
>  > Request"
>  > >  rc="200" rm="OK" tn="Thread Group 1-5" dt="text" by="19882"/>
>  > >
>  > >  </testResults>
>  > >
>  > >  Can some one point me why is the min time and max time values are not
>  > shown
>  > >  in html reports
>  > >
>  > >  Thanks,
>  > >
>  > > Prasanna
>  > >
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Min Time and Max Time value does not appear in Ant-JMeter report

Posted by prasanna bhat <pr...@gmail.com>.
Thanks sebb, it worked. So does that mean it works with Java version 1.4 ??

Regards,
Prasanna


On Wed, Mar 31, 2010 at 7:08 PM, sebb <se...@gmail.com> wrote:

> I think this is a known bug to do with incompatible Java XSLT libraries.
> I assume you are using Java 1.5 or later?
>
> Have a look at the current extras/build.xml for a solution:
>
> http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml
>
>
>
> On 31/03/2010, prasanna bhat <pr...@gmail.com> wrote:
> > Hi,
> >
> >  I'm running a sample test plan using ant, and in the generated report
> min
> >  and max time values are missing
> >
> >  The html report table has following values (i have highlighted min and
> max
> >  time values i.e NaN)
> >
> >  URLTestsFailuresSuccess RateAverage TimeMin TimeMax Time  HTTP Request50
> >  100.00%1688 ms*NaN**NaN*  HTTP Request50100.00%1688 ms*NaN**NaN*
> >
> >  I have the following *build.xml* (
> >  http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php):
> >
> >  <?xml version="1.0" encoding="utf-8"?>
> >  <project name="ant-jmeter" basedir=".">
> >     <property name="jmeter_dir" value="C:\jakarta-jmeter-2.3.4" />
> >     <property name="testplan_dir" value="C:\My_Jmeter_Scripts\" />
> >     <taskdef name="jmeter"
> >  classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" />
> >     <jmeter jmeterhome="${jmeter_dir}"
> >             testplan="${testplan_dir}/TestPlan.jmx"
> >             resultlog="${testplan_dir}/results/TestPlan.jtl" >
> >         <property name="jmeter.save.saveservice.output_format"
> value="xml"/>
> >         <jvmarg value="-Xincgc" />
> >         <jvmarg value="-Xmx128m" />
> >         <jvmarg value="-Dproperty=value" />
> >     </jmeter>
> >     <xslt
> >         in="${testplan_dir}/results/TestPlan.jtl"
> >         out="${testplan_dir}/results/SampleRequest.html"
> >         style="${jmeter_dir}/extras/jmeter-results-report_21.xsl" />
> >  </project>
> >
> >  I'm using *aggregate report listener* in my test plan and i'm saving the
> >  results into a file (displaying the file content below)
> >
> >  <?xml version="1.0" encoding="UTF-8"?>
> >  <testResults version="1.2">
> >  <httpSample t="1602" lt="1087" ts="1270035912083" s="true" lb="HTTP
> Request"
> >  rc="200" rm="OK" tn="Thread Group 1-1" dt="text" by="19882"/>
> >  <httpSample t="1742" lt="1119" ts="1270035912279" s="true" lb="HTTP
> Request"
> >  rc="200" rm="OK" tn="Thread Group 1-2" dt="text" by="19882"/>
> >  <httpSample t="1746" lt="1135" ts="1270035912480" s="true" lb="HTTP
> Request"
> >  rc="200" rm="OK" tn="Thread Group 1-3" dt="text" by="19882"/>
> >  <httpSample t="1604" lt="1084" ts="1270035912679" s="true" lb="HTTP
> Request"
> >  rc="200" rm="OK" tn="Thread Group 1-4" dt="text" by="19882"/>
> >  <httpSample t="1744" lt="1112" ts="1270035912880" s="true" lb="HTTP
> Request"
> >  rc="200" rm="OK" tn="Thread Group 1-5" dt="text" by="19882"/>
> >
> >  </testResults>
> >
> >  Can some one point me why is the min time and max time values are not
> shown
> >  in html reports
> >
> >  Thanks,
> >
> > Prasanna
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Min Time and Max Time value does not appear in Ant-JMeter report

Posted by sebb <se...@gmail.com>.
I think this is a known bug to do with incompatible Java XSLT libraries.
I assume you are using Java 1.5 or later?

Have a look at the current extras/build.xml for a solution:

http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/extras/build.xml



On 31/03/2010, prasanna bhat <pr...@gmail.com> wrote:
> Hi,
>
>  I'm running a sample test plan using ant, and in the generated report min
>  and max time values are missing
>
>  The html report table has following values (i have highlighted min and max
>  time values i.e NaN)
>
>  URLTestsFailuresSuccess RateAverage TimeMin TimeMax Time  HTTP Request50
>  100.00%1688 ms*NaN**NaN*  HTTP Request50100.00%1688 ms*NaN**NaN*
>
>  I have the following *build.xml* (
>  http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php):
>
>  <?xml version="1.0" encoding="utf-8"?>
>  <project name="ant-jmeter" basedir=".">
>     <property name="jmeter_dir" value="C:\jakarta-jmeter-2.3.4" />
>     <property name="testplan_dir" value="C:\My_Jmeter_Scripts\" />
>     <taskdef name="jmeter"
>  classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" />
>     <jmeter jmeterhome="${jmeter_dir}"
>             testplan="${testplan_dir}/TestPlan.jmx"
>             resultlog="${testplan_dir}/results/TestPlan.jtl" >
>         <property name="jmeter.save.saveservice.output_format" value="xml"/>
>         <jvmarg value="-Xincgc" />
>         <jvmarg value="-Xmx128m" />
>         <jvmarg value="-Dproperty=value" />
>     </jmeter>
>     <xslt
>         in="${testplan_dir}/results/TestPlan.jtl"
>         out="${testplan_dir}/results/SampleRequest.html"
>         style="${jmeter_dir}/extras/jmeter-results-report_21.xsl" />
>  </project>
>
>  I'm using *aggregate report listener* in my test plan and i'm saving the
>  results into a file (displaying the file content below)
>
>  <?xml version="1.0" encoding="UTF-8"?>
>  <testResults version="1.2">
>  <httpSample t="1602" lt="1087" ts="1270035912083" s="true" lb="HTTP Request"
>  rc="200" rm="OK" tn="Thread Group 1-1" dt="text" by="19882"/>
>  <httpSample t="1742" lt="1119" ts="1270035912279" s="true" lb="HTTP Request"
>  rc="200" rm="OK" tn="Thread Group 1-2" dt="text" by="19882"/>
>  <httpSample t="1746" lt="1135" ts="1270035912480" s="true" lb="HTTP Request"
>  rc="200" rm="OK" tn="Thread Group 1-3" dt="text" by="19882"/>
>  <httpSample t="1604" lt="1084" ts="1270035912679" s="true" lb="HTTP Request"
>  rc="200" rm="OK" tn="Thread Group 1-4" dt="text" by="19882"/>
>  <httpSample t="1744" lt="1112" ts="1270035912880" s="true" lb="HTTP Request"
>  rc="200" rm="OK" tn="Thread Group 1-5" dt="text" by="19882"/>
>
>  </testResults>
>
>  Can some one point me why is the min time and max time values are not shown
>  in html reports
>
>  Thanks,
>
> Prasanna
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org