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

LRR report not opening using the .tmp template mentioned in Jenkins job

      Hello,
       We are using ‘Execute Micro Focus tests from file system’ plugin to integrate the Load Runner Controller scenarios with Jenkins. In the ‘LoadRunner Settings’ we have the option of ‘Analysis Template’ where user can use customize template.

      Created a template (.tmp file) on the local drive. Used the path of .tmp file in the 'Analysis Template' of the job in Build section. Ran the job and when open the .LRR report it is opening in default format.

      I want the .LRR report to open uisng the template that I have designed.

      Thanks

        1. build_configuration.png
          build_configuration.png
          22 kB
        2. Scenario.zip
          54 kB
        3. props27062019032443247.txt
          7 kB
        4. Controller Logs.txt
          10 kB

          [JENKINS-58234] LRR report not opening using the .tmp template mentioned in Jenkins job

          Govind Sureka created issue -
          Daniel Gront made changes -
          Assignee Original: Daniel Gront [ gront ] New: Rolando-Mihai Vlad [ rolandomihaivlad ]
          Daniel Gront made changes -
          Labels New: LoadRunner

          Hello Goving Sureka,

          Please provide the console log. Can you see the applied template in the performance report section ?

           

          Regards,

          Rolando

          Rolando-Mihai Vlad added a comment - Hello Goving Sureka, Please provide the console log. Can you see the applied template in the performance report section ?   Regards, Rolando

          Govind Sureka added a comment -

          Hello Rolando,

          Here are the console logs. I don't see the applied template in the Performance report section.

           

          Started by user Dasari Rakesh (CVC8DZC)
          Building remotely on UFT_EntAutomation_N1 (uft-ent-n1) in workspace C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller
          No emails were triggered.
          [Test_Controller] $ "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\HpToolsLauncher.exe" -paramfile props27062019032443247.txt
          "Started..."
          Run build tests
          Launcher timeout is 10675199::02:48:05
          Controller Polling Interval: 30 seconds
          PerScenarioTimeout: 00::00:10:00 minutes
          FileSystemTestRunner timeout is 10675199.02:48:05.4775807
          Mc connection info is - Mc HostAddress: , McPort: 8080, Username: , TenantId: , UseSSL: 0, UseProxy: 0, ProxyType: 0, ProxyAddress: , ProxyPort: 0, ProxyAuth: 0, ProxyUser:
          1 tests found:
          D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs
          ============================================================================
          27/06/2019 03:24:45 Running: D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs
          D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs
          Cleaning up the environment...
          Preparing scenario D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs for execution.
          Load Generator localhost connected
          setting scenario result folder to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRR
          scenario result folder: C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRR
          Starting scenario...
          Scenario run has started
          Error: Scenario Execution timeout 00:00:10:00 (d:h:m:s) passed.
          Scenario D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs ended after 0:10:0.
          ============================================================================
          Analyzing results...
          closing Controller
          Controller closed
          calling analysis report generator
          executing Analysis launcher with arguments : "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRR\LRR.lrr" "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRA\LRA.lra" "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\HTML\HTML.html" "C:\Program Files (x86)\Micro Focus\LoadRunner\AnalysisTemplates\Test_test_template\Test_test_template.tem"
          time for analysis: 00::00:10:00
          starting analysis launcher
          creating analysis COM object
          creating analysis session
          analysis session created
          creating HTML reports
          HTML reports created
          loading errors, if any
          error count: 18
          Error(s) report:
          ID: 0 Name: Action.c(16) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          ID: 1 Name: Action.c(16) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired
          ID: 2 Name: Action.c(16) Error -26377 No match found for the requested parameter "c_RequestToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. The total length of_2
          ID: 3 Name: CreateRentalRequest_Regular.c(11) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          ID: 4 Name: CreateRentalRequest_Regular.c(11) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired
          ID: 5 Name: CreateRentalRequest_Regular.c(11) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes_5
          ID: 6 Name: CreateRentalRequest_UPSAdmin.c(11) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          ID: 7 Name: CreateRentalRequest_UPSAdmin.c(11) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired
          ID: 8 Name: CreateRentalRequest_UPSAdmin.c(11) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 byte_8
          ID: 9 Name: CreateEmergencyRentalRequest.c(13) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          ID: 10 Name: CreateEmergencyRentalRequest.c(13) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired
          ID: 11 Name: CreateEmergencyRentalRequest.c(13) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 byt_11
          ID: 12 Name: Action.c(11) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          ID: 13 Name: Action.c(11) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired
          ID: 14 Name: Action.c(11) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. The total length o_14
          ID: 15 Name: Action.c(13) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          ID: 16 Name: Action.c(13) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired
          ID: 17 Name: Action.c(13) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. The total length o_17
          Gathering Run statistics
          closing session
          SLA report:
          calculating SLA
          SLA calculation done
          WholeRunRules : 6
          ================================
          Transaction Name : 01_CreateEmergencyRequest_Login
          Percentile : 90
          Full Name : Transaction Response Time (Percentile)
          Measurement : PercentileTRT
          Goal Value : 200
          Actual value : 0
          status : NoData
          ================================
          ================================
          Transaction Name : 01_CreateRentalReuqest_Login
          Percentile : 90
          Full Name : Transaction Response Time (Percentile)
          Measurement : PercentileTRT
          Goal Value : 200
          Actual value : 0
          status : NoData
          ================================
          ================================
          Transaction Name : 01_DeclineRequest_Login
          Percentile : 90
          Full Name : Transaction Response Time (Percentile)
          Measurement : PercentileTRT
          Goal Value : 200
          Actual value : 0
          status : NoData
          ================================
          ================================
          Transaction Name : 01_SearchAllRequests_Login
          Percentile : 90
          Full Name : Transaction Response Time (Percentile)
          Measurement : PercentileTRT
          Goal Value : 200
          Actual value : 0
          status : NoData
          ================================
          ================================
          Transaction Name : 02_SearchAllRequest_Rental_ManageRequest
          Percentile : 90
          Full Name : Transaction Response Time (Percentile)
          Measurement : PercentileTRT
          Goal Value : 200
          Actual value : 0
          status : NoData
          ================================
          ================================
          Transaction Name : 03_CreateEmergencyRequest_ClickNewEmergencyRequest
          Percentile : 90
          Full Name : Transaction Response Time (Percentile)
          Measurement : PercentileTRT
          Goal Value : 200
          Actual value : 0
          status : NoData
          ================================
          TimeRangeRules : 0
          saving RunReport.xml to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\RunReport.xml
          saving SLA.xml to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\SLA.xml
          closing analysis session
          time passed: 00::00:00:54
          analysis report generator finished
          Error: Action.c(16) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"
          Error: total number of errors: 1
          Error(s) summary:
          0 ignored , 1 errors

          Error summary:
          1 : Action.c(16) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login"

          Error: Test FAILED. 1 errors occurred during scenario execution.
          Test result: Failed
          27/06/2019 03:36:52 Test complete: D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs
          -------------------------------------------------------------------------------------------------------
          Cleaning up the environment...
          ================================================
          Run status: Job failed, total tests: 1, succeeded: 0, failures: 1, errors: 0
          Failed : D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs
          ================================================
          Build step 'Execute Micro Focus tests from file system' changed build result to FAILURE
          Email was triggered for: Failure - Any
          Sending email for trigger: Failure - Any
          Sending email to: abc@xyz.com
          Finished: FAILURE

          Govind Sureka added a comment - Hello Rolando, Here are the console logs. I don't see the applied template in the Performance report section.   Started by user Dasari Rakesh (CVC8DZC) Building remotely on UFT_EntAutomation_N1 (uft-ent-n1) in workspace C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller No emails were triggered. [Test_Controller] $ "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\HpToolsLauncher.exe" -paramfile props27062019032443247.txt "Started..." Run build tests Launcher timeout is 10675199::02:48:05 Controller Polling Interval: 30 seconds PerScenarioTimeout: 00::00:10:00 minutes FileSystemTestRunner timeout is 10675199.02:48:05.4775807 Mc connection info is - Mc HostAddress: , McPort: 8080, Username: , TenantId: , UseSSL: 0, UseProxy: 0, ProxyType: 0, ProxyAddress: , ProxyPort: 0, ProxyAuth: 0, ProxyUser: 1 tests found: D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs ============================================================================ 27/06/2019 03:24:45 Running: D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs Cleaning up the environment... Preparing scenario D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs for execution. Load Generator localhost connected setting scenario result folder to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRR scenario result folder: C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRR Starting scenario... Scenario run has started Error: Scenario Execution timeout 00:00:10:00 (d:h:m:s) passed. Scenario D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs ended after 0:10:0. ============================================================================ Analyzing results... closing Controller Controller closed calling analysis report generator executing Analysis launcher with arguments : "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRR\LRR.lrr" "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\LRA\LRA.lra" "C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\HTML\HTML.html" "C:\Program Files (x86)\Micro Focus\LoadRunner\AnalysisTemplates\Test_test_template\Test_test_template.tem" time for analysis: 00::00:10:00 starting analysis launcher creating analysis COM object creating analysis session analysis session created creating HTML reports HTML reports created loading errors, if any error count: 18 Error(s) report: ID: 0 Name: Action.c(16) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" ID: 1 Name: Action.c(16) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired ID: 2 Name: Action.c(16) Error -26377 No match found for the requested parameter "c_RequestToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. The total length of_2 ID: 3 Name: CreateRentalRequest_Regular.c(11) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" ID: 4 Name: CreateRentalRequest_Regular.c(11) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired ID: 5 Name: CreateRentalRequest_Regular.c(11) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes_5 ID: 6 Name: CreateRentalRequest_UPSAdmin.c(11) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" ID: 7 Name: CreateRentalRequest_UPSAdmin.c(11) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired ID: 8 Name: CreateRentalRequest_UPSAdmin.c(11) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 byte_8 ID: 9 Name: CreateEmergencyRentalRequest.c(13) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" ID: 10 Name: CreateEmergencyRentalRequest.c(13) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired ID: 11 Name: CreateEmergencyRentalRequest.c(13) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 byt_11 ID: 12 Name: Action.c(11) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" ID: 13 Name: Action.c(11) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired ID: 14 Name: Action.c(11) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. The total length o_14 ID: 15 Name: Action.c(13) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" ID: 16 Name: Action.c(13) Error -27789 Proxy "proxy.njc.ups.com" failed to connect to server "test.upssupplierdirectconnect.com" – returned status code 407 authenticationrequired ID: 17 Name: Action.c(13) Error -26377 No match found for the requested parameter "c_RequetsToken". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. The total length o_17 Gathering Run statistics closing session SLA report: calculating SLA SLA calculation done WholeRunRules : 6 ================================ Transaction Name : 01_CreateEmergencyRequest_Login Percentile : 90 Full Name : Transaction Response Time (Percentile) Measurement : PercentileTRT Goal Value : 200 Actual value : 0 status : NoData ================================ ================================ Transaction Name : 01_CreateRentalReuqest_Login Percentile : 90 Full Name : Transaction Response Time (Percentile) Measurement : PercentileTRT Goal Value : 200 Actual value : 0 status : NoData ================================ ================================ Transaction Name : 01_DeclineRequest_Login Percentile : 90 Full Name : Transaction Response Time (Percentile) Measurement : PercentileTRT Goal Value : 200 Actual value : 0 status : NoData ================================ ================================ Transaction Name : 01_SearchAllRequests_Login Percentile : 90 Full Name : Transaction Response Time (Percentile) Measurement : PercentileTRT Goal Value : 200 Actual value : 0 status : NoData ================================ ================================ Transaction Name : 02_SearchAllRequest_Rental_ManageRequest Percentile : 90 Full Name : Transaction Response Time (Percentile) Measurement : PercentileTRT Goal Value : 200 Actual value : 0 status : NoData ================================ ================================ Transaction Name : 03_CreateEmergencyRequest_ClickNewEmergencyRequest Percentile : 90 Full Name : Transaction Response Time (Percentile) Measurement : PercentileTRT Goal Value : 200 Actual value : 0 status : NoData ================================ TimeRangeRules : 0 saving RunReport.xml to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\RunReport.xml saving SLA.xml to C:\Program Files\Jenkins\UFT_EntAutomation_N1\workspace\jenkinsmaster-5\ENT\EntAutomation\Performance_Jobs\Test_Controller\3137b7\SLA.xml closing analysis session time passed: 00::00:00:54 analysis report generator finished Error: Action.c(16) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" Error: total number of errors: 1 Error(s) summary: 0 ignored , 1 errors Error summary: 1 : Action.c(16) Error -26624 HTTP Status-Code=407 (authenticationrequired) for "https//test.upssupplierdirectconnect.com/Account/Login" Error: Test FAILED. 1 errors occurred during scenario execution. Test result: Failed 27/06/2019 03:36:52 Test complete: D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs ------------------------------------------------------------------------------------------------------- Cleaning up the environment... ================================================ Run status: Job failed, total tests: 1, succeeded: 0, failures: 1, errors: 0 Failed : D:\LRC_Test App\SDC_Scripts\SDC_Scenario2.lrs ================================================ Build step 'Execute Micro Focus tests from file system' changed build result to FAILURE Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Sending email to: abc@xyz.com Finished: FAILURE

          Hello,

          Does props27062019032443247.txt contain the analysisTemplate key with your specified path? Can you reproduce this issue with a simple script and a template containing an extra graph?

           

          Regards,

          Rolando

          Rolando-Mihai Vlad added a comment - Hello, Does props27062019032443247.txt contain the analysisTemplate key with your specified path? Can you reproduce this issue with a simple script and a template containing an extra graph?   Regards, Rolando
          Govind Sureka made changes -
          Attachment New: Controller Logs.txt [ 47828 ]
          Govind Sureka made changes -
          Attachment New: props27062019032443247.txt [ 47829 ]

          Govind Sureka added a comment -

          Hello Rolando,Controller Logs.txtprops27062019032443247.txt 

          Attached is the .txt file that contains path of analysis template. I did made change to template and ran the job, its still showing the Default template.

           

          Console attached for your reference.

           

          Thanks,

          Govind

           

           

           

          Govind Sureka added a comment - Hello Rolando, Controller Logs.txt props27062019032443247.txt   Attached is the .txt file that contains path of analysis template. I did made change to template and ran the job, its still showing the Default template.   Console attached for your reference.   Thanks, Govind      

          Hello,

          Input wise everything seems fine. What version of loadrunner and Micro Focus plugin are you using so I can see if it reproduces?

           

          Regards,

          Rolando

          Rolando-Mihai Vlad added a comment - Hello, Input wise everything seems fine. What version of loadrunner and Micro Focus plugin are you using so I can see if it reproduces?   Regards, Rolando

            rolandomihaivlad Rolando-Mihai Vlad
            grsureka Govind Sureka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: