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

Performance plugin don't work with my JTL file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • performance-plugin
    • Jenkins ver. 2.52 with performance plugin 2.2.
      Jmeter launched on a node of my jenkins server. (So jmeter is executed on an other server with a windows server 2012 R2 Datacenter).

      I have this error message with the performance-plugin :

      "c:\Jenkins\workspace\PerformanceTestError>exit 0
      ERROR: Step ‘Publish Performance test result report’ aborted due to exception:
      java.io.FileNotFoundException: c:\Jenkins\workspace\PerformanceTestError\Output\results\results.jtl (The system cannot find the path specified)
      at java.io.FileInputStream.open0(Native Method)
      at java.io.FileInputStream.open(Unknown Source)
      at java.io.FileInputStream.<init>(Unknown Source)
      at java.io.FileReader.<init>(Unknown Source)
      at hudson.plugins.performance.parsers.ParserDetector.detect(ParserDetector.java:21)
      at hudson.plugins.performance.parsers.ParserFactory.getParser(ParserFactory.java:26)
      at hudson.plugins.performance.PerformancePublisher.getParsers(PerformancePublisher.java:439)
      at hudson.plugins.performance.PerformancePublisher.perform(PerformancePublisher.java:481)
      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:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      at hudson.model.Run.execute(Run.java:1758)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)"

      But the report and the results of Jmeter are correctly executed by my command

      C:\IntegrationTools\Jmeter\apache-jmeter-3.1\bin\jmeter.bat -n -t C:\IntegrationTools\Jmeter\AlphadasPSok.jmx -JURL=http://test/Pages/Default.aspx -Jusername=UserName -Jpassword=Password -JUsers=1 -Jstudy=Studyname -Jchromedriverpath=C:\IntegrationTools\Jmeter\chromedriver.exe -l c:\Jenkins\workspace\PerformanceTest\Output\results\results.jtl -e -o c:\Jenkins\workspace\PerformanceTest\Output\Report

       

      what is the problem ? bug with the plugin or an issue with the setup ?

            undera Andrey Pokhilko
            beastostbg Yannick FRINDEL
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: