1338

JMeter NaN issue in reports

Question:

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.

Issue is iam getting NaN value for Min, Max in html reports.

Please let me know any solutions.

Answer1:

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.

Answer2:

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:

<ol><li>Use the build file: <a href="http://svn.apache.org/repos/asf/jmeter/trunk/extras/build.xml" rel="nofollow">http://svn.apache.org/repos/asf/jmeter/trunk/extras/build.xml</a></li> <li>Include xalan.jar and serializer.jar both in jmeter lib directory</li> </ol>

There are <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=51906" rel="nofollow">two</a> <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=51907" rel="nofollow">bugs</a> in apache bugzilla regarding this issue. More info:

<ul><li><a href="http://vishnuagrawal.blogspot.com/2009/04/jmeter-run-tests-using-ant.html" rel="nofollow">http://vishnuagrawal.blogspot.com/2009/04/jmeter-run-tests-using-ant.html</a></li> <li><a href="http://jmeter.512774.n5.nabble.com/Min-and-Max-times-are-returning-NaN-td525870.html" rel="nofollow">http://jmeter.512774.n5.nabble.com/Min-and-Max-times-are-returning-NaN-td525870.html</a></li> </ul>

Answer3:

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

<ul><li>As Administrator</li> <li>Compatibility mode</li> </ul>

Recommend

  • Using Oozie ssh action with private key
  • Automata with kleene star
  • Detect which app has been launched in android
  • How to use Xcode Extract refactoring feature?
  • How to export Selenium Test Suite/Case as C#
  • getFinancials (quantmod) and tq_get (tidy quant) not working?
  • XNU incudes in Kext
  • Java Application vs. Java Desktop Application in Netbeans [duplicate]
  • Retaining data after updating application
  • how to populate a SQLite database and use that database in phonegap?
  • Most efficient way to move table rows from one table to another
  • How to handle elastic beanstalk deployment so it uploads only changed files
  • Hibernate to update table schema
  • Creating a DropDownList
  • Filter strings with regex before casting to numeric
  • Implicit joins and Where in Doctrine - how?
  • Authentication in Play! and RestEasy
  • std::remove_copy_if_ valgrind bytes in block are possibly lost in loss record
  • Button text different than value submitted in query string
  • How to define custom class, title, and target in Link Browser for content elements and the new rte_c
  • How to match http request and response using Jersey ContainerRequestFilter and ContainerResponseFilt
  • Functions in global context
  • Excel - Autoshape get it's name from cell (value)
  • Cross-Platform Protobuf Serialization
  • Check if a string to interpolate provides expected placeholders
  • Running a C# exe file
  • Join two tables and save into third-sql
  • How to model a transition system with SPIN
  • ORA-29908: missing primary invocation for ancillary operator
  • Akka Routing: Reply's send to router ends up as dead letters
  • XCode can't find symbols for a specific iOS library/framework project
  • RestKit - RKRequestDelegate does not exist
  • Numpy divide by zero. Why?
  • Traverse Array and Display in markup
  • How to format a variable of double type
  • log4net write single file for each call to log.info
  • coudnt use logback because of log4j
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • JaxB to read class hierarchy
  • Converting MP3 duration time