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

Issue with HPE Application Automation Tools plugin

    Details

    • Similar Issues:

      Description

      When using this plugin, I run a scenario, for some test cases in my scenario I get the desired results while for others I get 
      status : NoData
       

      whereas when I run this scenario in Load Runner, the scenario runs absolutely fine and results are displayed for all the tests in the scenario.

       

      Here are 2 examples of a expected result and no data result:

       
      Percentile : 90
      Full Name : Transaction Response Time (Percentile)
      Measurement : PercentileTRT
      Goal Value : 0.15
      Actual value : 0.126
      status : Passed
      ================================
      ================================
      Transaction Name : COLP_getLicense
      Percentile : 90
      Full Name : Transaction Response Time (Percentile)
      Measurement : PercentileTRT
      Goal Value : 0.06
      Actual value : 0
      status : NoData

        Attachments

        1. HTML.html
          0.5 kB
        2. jenkins_output.txt
          54 kB
        3. LRA.lra
          0.9 kB
        4. Screen Shot 2018-01-29 at 7.05.29 PM.png
          Screen Shot 2018-01-29 at 7.05.29 PM.png
          23 kB
        5. Session1.lra
          1 kB

          Activity

          Hide
          harry002300 Harsimrat Khattra added a comment -

          I'm running my scenario using the "Execute HPE test using file system"

          And then under Test, i give my scenario {complete path}

          And under Errors to ignore i give the following:

          "was not found in the server response"

          and then for Post build action, I do "Always archive and publish HPE test reports"

          Show
          harry002300 Harsimrat Khattra added a comment - I'm running my scenario using the "Execute HPE test using file system" And then under Test, i give my scenario {complete path} And under Errors to ignore i give the following: "was not found in the server response" and then for Post build action, I do "Always archive and publish HPE test reports"
          Hide
          harry002300 Harsimrat Khattra added a comment -

          Ofir Shaked any updates on this?

          Show
          harry002300 Harsimrat Khattra added a comment - Ofir Shaked any updates on this?
          Hide
          yafim_kazak Yafim Kazak added a comment -

          Hi,
          could you please add the following:
          1. Jenkins plugin version you are using?
          2. The length of the used scenario and the different parameters you've set for the run in Jenkins.

          Show
          yafim_kazak Yafim Kazak added a comment - Hi, could you please add the following: 1. Jenkins plugin version you are using? 2. The length of the used scenario and the different parameters you've set for the run in Jenkins.
          Hide
          harry002300 Harsimrat Khattra added a comment -

          HPE Application Automation Tools version 5.3

          Length approx 1hr 10 mins

          Controller Polling Interval 10 sec

          Scenario Execution Timeout 75 min

          Errors to Ignore "was not found in the server response"

           

           

          Show
          harry002300 Harsimrat Khattra added a comment - HPE Application Automation Tools  version 5.3 Length approx 1hr 10 mins Controller Polling Interval 10 sec Scenario Execution Timeout 75 min Errors to Ignore "was not found in the server response"    
          Hide
          yafim_kazak Yafim Kazak added a comment - - edited

          Hi,
          did you write in Scenario execution timeout is in seconds - did you write there the amount of time in seconds or minutes?

          Could you please attach the whole console log to examine? if you prefer you may send it to [kazak] [at] [hpe] [dot] [com]

          Show
          yafim_kazak Yafim Kazak added a comment - - edited Hi, did you write in Scenario execution timeout is in seconds - did you write there the amount of time in seconds or minutes? Could you please attach the whole console log to examine? if you prefer you may send it to [kazak] [at] [hpe] [dot] [com]
          Hide
          harry002300 Harsimrat Khattra added a comment -

          Hi Kazak,

           

          I'm attaching the screen shot for the values set.

          Additionally, I've sent the console output to your email id.

          Show
          harry002300 Harsimrat Khattra added a comment - Hi Kazak,   I'm attaching the screen shot for the values set. Additionally, I've sent the console output to your email id.
          Hide
          yafim_kazak Yafim Kazak added a comment -

          Hi
          it appears from the log that there are additional errors in your script which aren't in the errors to ignore.

          Show
          yafim_kazak Yafim Kazak added a comment - Hi it appears from the log that there are additional errors in your script which aren't in the errors to ignore.
          Hide
          harry002300 Harsimrat Khattra added a comment -

          Hi so i fixed all the issues and now i get a clean log, but still i get NoData for a lot fo tests. Also I see that the hits/sec are not as much when i run the scenario manually. Running manually, i get about 350 hits/sec on average. here the hits/sec are just 62.

          Show
          harry002300 Harsimrat Khattra added a comment - Hi so i fixed all the issues and now i get a clean log, but still i get NoData for a lot fo tests. Also I see that the hits/sec are not as much when i run the scenario manually. Running manually, i get about 350 hits/sec on average. here the hits/sec are just 62.
          Hide
          harry002300 Harsimrat Khattra added a comment -

          Attached the output and the html report generated.

          Show
          harry002300 Harsimrat Khattra added a comment - Attached the output and the html report generated.
          Hide
          harry002300 Harsimrat Khattra added a comment -

          Hi Yafim Kazak, any updates on this?

          Show
          harry002300 Harsimrat Khattra added a comment - Hi Yafim Kazak , any updates on this?
          Hide
          rolandomihaivlad Rolando-Mihai Vlad added a comment -

          Hello Harsimrat,

           

          Can you please provide two .lra files for the same scenario one time by running your scenario on LR controller and analyzing the result with analysis and another time by using the jenkins plugin.

           

          Best regards,

          Vlad Rolando-Mihai

          Show
          rolandomihaivlad Rolando-Mihai Vlad added a comment - Hello Harsimrat,   Can you please provide two .lra files for the same scenario one time by running your scenario on LR controller and analyzing the result with analysis and another time by using the jenkins plugin.   Best regards, Vlad Rolando-Mihai
          Hide
          gront Daniel Gront added a comment -

          No response from the reporter, If the problem arises again please reopen and provide the requested files

          Show
          gront Daniel Gront added a comment - No response from the reporter, If the problem arises again please reopen and provide the requested files
          Hide
          edwin_avedian Edwin Avedian added a comment -

          Rolando-Mihai Vlad, I apologize for the long delay.  I am picking up this issue from my colleague Harsimrat and I am attaching the 2 .lra files requested, LRA.lra from the Jenkins run and Session1.lra from the LR controller run.  What I notice is that NoData is showing up for missing transactions when run from Jenkins.  The question is why some transactions are missing when the scenario is run using Jenkins plugin.

           

          Session1.lra

          LRA.lra

          Show
          edwin_avedian Edwin Avedian added a comment - Rolando-Mihai Vlad , I apologize for the long delay.  I am picking up this issue from my colleague Harsimrat and I am attaching the 2 .lra files requested, LRA.lra from the Jenkins run and Session1.lra from the LR controller run.  What I notice is that NoData is showing up for missing transactions when run from Jenkins.  The question is why some transactions are missing when the scenario is run using Jenkins plugin.   Session1.lra LRA.lra
          Hide
          rolandomihaivlad Rolando-Mihai Vlad added a comment -

          Hello Edwin,

           

          I forgot to ask you to add the LoadRunner version and plugin version. Also, please add the whole LRA folder for both cases.

           

          Regards,

          Rolando

          Show
          rolandomihaivlad Rolando-Mihai Vlad added a comment - Hello Edwin,   I forgot to ask you to add the LoadRunner version and plugin version. Also, please add the whole LRA folder for both cases.   Regards, Rolando
          Hide
          edwin_avedian Edwin Avedian added a comment -

          Rolando,

           

          The plugin version is 5.5 and LoadRunner version is 12.55.  I think I may have figured out part of the problem which is some scenarios weren't configured with 'Continue on Error' and that caused some of them to stop and fail and hence not have any data.

          Now for some of the projects we are getting the following errors in the logs which points to some kind of COM error.  If you could help us figure out how to resolve these then we should be able to get back on track:

           

          Error: Com error. CoCreateInstance Mercury.LR.WSNetReplay failed. -2147221164. [MsgId: MERR-108908]

          Error: Com error. CoCreateInstance Mercury.LR.WSNetReplay failed. -2147221008. [MsgId: MERR-108908]

           

           

          Thanks,
          Edwin

          Show
          edwin_avedian Edwin Avedian added a comment - Rolando,   The plugin version is 5.5 and LoadRunner version is 12.55.  I think I may have figured out part of the problem which is some scenarios weren't configured with 'Continue on Error' and that caused some of them to stop and fail and hence not have any data. Now for some of the projects we are getting the following errors in the logs which points to some kind of COM error.  If you could help us figure out how to resolve these then we should be able to get back on track:   Error: Com error. CoCreateInstance Mercury.LR.WSNetReplay failed. -2147221164. [MsgId: MERR-108908] Error: Com error. CoCreateInstance Mercury.LR.WSNetReplay failed. -2147221008. [MsgId: MERR-108908]     Thanks, Edwin
          Hide
          rolandomihaivlad Rolando-Mihai Vlad added a comment -

          Hello Edwin,

           

          Could you please check if only the scripts that are using WebServices protocol are failing ?

           

          Regards,

          Rolando

          Show
          rolandomihaivlad Rolando-Mihai Vlad added a comment - Hello Edwin,   Could you please check if only the scripts that are using WebServices protocol are failing ?   Regards, Rolando
          Hide
          edwin_avedian Edwin Avedian added a comment -

          Rolando,

           

          So I would say most that are failing are JAVA HTTP vusers.  Some of the JAVA vusers are also failing due to issues with not finding the correct version of Java.  We have a mix of C based HTTP and JAVA HTTP vusers And I would say most use WebServices protocol.

           

           

          Thanks,

          Edwin

           

          Show
          edwin_avedian Edwin Avedian added a comment - Rolando,   So I would say most that are failing are JAVA HTTP vusers.  Some of the JAVA vusers are also failing due to issues with not finding the correct version of Java.  We have a mix of C based HTTP and JAVA HTTP vusers And I would say most use WebServices protocol.     Thanks, Edwin  
          Hide
          rolandomihaivlad Rolando-Mihai Vlad added a comment -

          Hello Edwin,

          I will try to reproduce this issue and will keep you updated.

           

          Regards,

          Rolando

          Show
          rolandomihaivlad Rolando-Mihai Vlad added a comment - Hello Edwin, I will try to reproduce this issue and will keep you updated.   Regards, Rolando
          Hide
          rolandomihaivlad Rolando-Mihai Vlad added a comment - - edited

          Hello Edwin,

          Sorry for the delay. You might have some registry issues. Please register the LrWsNetClient.dll using the following commands:

          > cd <LR_Install_Directory>\bin

          > C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe LrWsNetClient.dll /regfile:LrWsNetClient.reg /codebase

           

          Regards,

          Rolando

          Show
          rolandomihaivlad Rolando-Mihai Vlad added a comment - - edited Hello Edwin, Sorry for the delay. You might have some registry issues. Please register the LrWsNetClient.dll using the following commands: > cd <LR_Install_Directory>\bin > C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe LrWsNetClient.dll /regfile:LrWsNetClient.reg /codebase   Regards, Rolando

            People

            • Assignee:
              rolandomihaivlad Rolando-Mihai Vlad
              Reporter:
              harry002300 Harsimrat Khattra
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: