开发者

JMeter NaN issue in reports

I have used jmeter 2.5 and ANT 1.8.2 and jdk 1.6. Also, I have used latest .xsl file path in build.xml.

Is开发者_运维百科sue is iam getting NaN value for Min, Max in html reports.

Please let me know any solutions.


This problem is encountered in newer versions of Java.

I faced the same problem and this solution worked for me - Copy xalan-2.7.1.jar and serializer-2.7.1.jar from the apache-jmeter/lib folder and include it in apache-ant/lib folder of ant.


Somehow it's a problem related to newer Java versions: If you use Java 1.5 or higher it wont work out of the box, unless you:

  1. Use the build file: http://svn.apache.org/repos/asf/jmeter/trunk/extras/build.xml
  2. Include xalan.jar and serializer.jar both in jmeter lib directory

There are two bugs in apache bugzilla regarding this issue. More info:

  • http://vishnuagrawal.blogspot.com/2009/04/jmeter-run-tests-using-ant.html
  • http://jmeter.512774.n5.nabble.com/Min-and-Max-times-are-returning-NaN-td525870.html


Given it works in XP and not windows 7, try running in either:

  • As Administrator
  • Compatibility mode
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜