| || |
Jmeter with Ant - results NaN
I have followed those steps, to set up Jmeter in my local machine.
OS - Windows 7
Java - JDK jdk1.7.0_55
Jmeter - 2.11
Apache Ant - apache-ant-1.9.4
Environment Variable set:
Under System Variable
1. Variable NAME - ANT_HOME
Variable Value - D:\apache-ant-1.9.4
in PATH variable - D:\apache-ant-1.9.4\bin;D:\apache-ant-1.9.4\lib;
2. Variable NAME - JAVA_HOME
Variable Value - C:\Program Files\Java\jdk1.7.0_55
in PATH variable - C:\Program Files\Java\jdk1.7.0_55\bin;
3. Variable NAME - JMETER_HOME
Variable Value - %JMETER_HOME%\lib;
using this link JMeter Ant Task | programmerplanet.org
Jmeter with Apache-Ant configured using Apache task
While running Jmeter in Non-Gui Mode:
D:\apache-jmeter-2.11\bin>jmeter -n -t ThreadGroup.jmx -l Test.jtl
Following output gots,
Creating summariser <summary>
Created the tree successfully using ThreadGroup.jmx
Starting the test @ Fri May 30 10:41:13 IST 2014 (1401426673073)
Waiting for possible shutdown message on port 4445
summary = 0 in 0s = ******/s Avg: 0 Min: 0 Max: 0 Err:
Tidying up ... @ Fri May 30 10:41:13 IST 2014 (1401426673949)
... end of run
in HTML output : NaN
I spent a lot time to find a solution. They have mentioned to change the java version and plus to include xalan/serializer in apache-ant/lib folder.
After doing this, did i needs to make any changes in apache-jmeter-2.11 build.xml.
what changes i should follow in build.xml ? In build.xml, i found a line
<!-- Use xalan copy from JMeter lib directory to ensure consistent processing with Java 1.4+ --> what is this ?
Please help me out, to solve my problem.
Thanks & Regards,