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

Issue with HPE Application Automation Tools plugin

      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

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

          [JENKINS-49033] Issue with HPE Application Automation Tools plugin

          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"

          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"

          ofirshaked any updates on this?

          Harsimrat Khattra added a comment - ofirshaked any updates on this?

          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.

          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.

          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"

           

           

          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"    

          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]

          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]

          Hi Kazak,

           

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

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

          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.

          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.

          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.

          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.

          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.

          Attached the output and the html report generated.

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

          Hi yafim_kazak, any updates on this?

          Harsimrat Khattra added a comment - Hi yafim_kazak , any updates on this?

          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

          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

          Daniel Gront added a comment -

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

          Daniel Gront added a comment - No response from the reporter, If the problem arises again please reopen and provide the requested files

          Edwin Avedian added a comment -

          rolandomihaivlad, 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

          Edwin Avedian added a comment - rolandomihaivlad , 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

          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

          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

          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

          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

          Hello Edwin,

           

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

           

          Regards,

          Rolando

          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

          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

           

          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  

          Hello Edwin,

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

           

          Regards,

          Rolando

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

          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

          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

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

              Created:
              Updated: