Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28787

Number Format exception while using Performance Plugin

XMLWordPrintable

      Initially Jmeter csv was reporting 100 % errors , then referred this link( https://issues.jenkins-ci.org/browse/JENKINS-28426) which solved the this issue but still in Jmeter field is "timeStamp" where as in the plugin it is "timestamp". Then am facing Number format exception with "timestamp".Please use below details as reference.

      Performance: Recording JMeterCsv reports '/appl/linux_jmeter/apache-jmeter-2.13/bin/FunctionalTestResults.jtl'
      Performance: Parsing JMeter report file '/appl/jenkins/jobs/Etapi/jobs/Enterprise_Transport_API_Dev_Functional_Testing/builds/39/performance-reports/JMeterCSV/FunctionalTestResults.jtl'.
      Performance: Failed to parse file '/appl/jenkins/jobs/Enterprise_Transport_API/jobs/Enterprise_Transport_API_Dev_Functional_Testing/builds/39/performance-reports/JMeterCSV/FunctionalTestResults.jtl': For input string: "timestamp"
      java.lang.NumberFormatException: For input string: "timestamp"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Long.parseLong(Long.java:589)
      at java.lang.Long.valueOf(Long.java:803)
      at hudson.plugins.performance.JMeterCsvParser.getSample(JMeterCsvParser.java:154)
      at hudson.plugins.performance.JMeterCsvParser.parse(JMeterCsvParser.java:124)
      at hudson.plugins.performance.AbstractParser.parse(AbstractParser.java:66)
      at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:348)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      at hudson.model.Run.execute(Run.java:1743)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)
      Finished: SUCCESS

            Unassigned Unassigned
            harrish harrish thangavel
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: