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

Failure to create results when "Automatically create a results directory" option is checked

XMLWordPrintable

      When "Automatically create a results directory" option is checked in LoadRunner scenario,
      plugin fails to generate results
      (according the my review of the code, the issue is in PerformanceTestRunner.cs. 
        runScenario method is capable to recognize folder's change and stores it to 
      currentScenario.ResultDir but generateAnalysisReport method still uses hardcoded 
      test's results location)

      runScenario's console output
      10:18:37 setting scenario result folder to D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\LRR*10:18:37* scenario result folder: D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\LRR*10:18:37* Starting scenario...10:18:38 controller failed to write to D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\LRR setting result folder to D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\240702_0*10:18:38* controller reult dir: 240702_0
      generateAnalysisReport  console output
      10:18:53 Analyzing results...10:18:53 closing Controller*10:19:08* Controller closed*10:19:08* calling analysis report generator*10:19:09* executing Analysis launcher with arguments : "D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\LRR\LRR.lrr" "D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\LRA\LRA.lra" "D:\Jenkins\workspace\RND_Devops\Tests\oleg-test\b74b5f\HTML\HTML.html" ""10:19:09 time for analysis: 00::00:10:00*10:19:09* starting analysis launcher*10:19:09* creating analysis COM object*10:19:11* creating analysis session*10:19:13* Result loading failed. Log has been saved to: "C:\Users\lruser\AppData\Local\Temp\1\Ana_3019095.log"10:19:13 at Analysis.ApiSL.ApiSlRuntimeErrors.Throw(Int32 aErrorCode, ApiException aException)10:19:13 at Analysis.ApiSL.ApiSlRuntimeErrors.UnsafeCode(UnsafeCodeHandlerBool aHandler, Int32 aLraErrorCode)10:19:13 at Analysis.Api.Session.CreateWithTemplateFile(String aSessionName, String aResultFileName, String aTemplateFileName)10:19:13 at LRAnalysisLauncher.Program.Main(String[] args)10:19:13 time passed: 00::00:00:04*10:19:13* Error: Error during Analysis run. See output console for details

            ptofan Paul-Adrian Tofan
            olegb Oleg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: