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

Performance Plugin error with HP Performance center test reporting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • performance-plugin
    • None
    • Test

      We are trying out Performance plugin to create trend reporting for tests executed with HPE automation plugin (HP Performance center 12.53)

      As per http://jenkinsci.github.io/performance-plugin/Reporting.html, HPE loadrunner is one of supported report format. HP performance center produces same html report file like loadrunner.

      Tried both autodetect and path to report.html file

      1. Auto detect source files option

      Test_JenkinsPC #38 Console [Jenkins]
      Build step 'Publish Performance test result report' changed build result to FAILURE
      Finished: FAILURE
      2. Path to report.html

      Source data file: C:\Program Files (x86)\Jenkins\jobs\Test_JenkinsPC\builds**\archive\performanceTestsReports\pcRun\Report.html

      Getting the following error which makes build as failed

      Test_JenkinsPC #37 Console [Jenkins]
      ERROR: Build step failed with exception
      org.xml.sax.SAXParseException; systemId: file:///C:/Program%20Files%20(x86)/Jenkins/jobs/Test_JenkinsPC/builds/37/temp/Report.html;
      lineNumber: 5; columnNumber: 3; The element type "meta" must be terminated by the matching end-tag "</meta>".
      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
      at hudson.plugins.performance.parsers.ParserDetector.detectXMLFileType(ParserDetector.java:124)
      Caused: java.lang.RuntimeException: XML parsing error:
      at hudson.plugins.performance.parsers.ParserDetector.detectXMLFileType(ParserDetector.java:137)
      at hudson.plugins.performance.parsers.ParserDetector.detect(ParserDetector.java:40)
      at hudson.plugins.performance.parsers.ParserFactory.getParserUsingAntPatternAbsolutePath(ParserFactory.java:116)
      at hudson.plugins.performance.parsers.ParserFactory.getParserWithAbsolutePath(ParserFactory.java:78)
      at hudson.plugins.performance.parsers.ParserFactory.getParser(ParserFactory.java:37)
      at hudson.plugins.performance.PerformancePublisher.getParsers(PerformancePublisher.java:312)
      at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:363)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1752)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Build step 'Publish Performance test result report' marked build as failure
       

       

            undera Andrey Pokhilko
            senyam08 Senthilkumar Rasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: