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

Unable to run Performance Test in Jenkins - executeRequest exception: Operation failed. Error code: 1001

      I am unable to run a performance test via Jenkins.  I keep on getting the following message when I try to run a test:

      Test description: HP PC Test via Jenkins
      Validating parameters before run
      OK
      Trying to login
      [PCServer='http://SSS.com', User='SSS']
      Login succeeded

      Executing Load Test:
      ====================
      Test ID: 122
      Test Instance ID: 2401
      Timeslot Duration: 0:30(h:mm)
      Post Run Action: Collate and Analyze
      Use VUDS: false
      ====================

      Error: executeRequest exception: Operation failed. Error code: 1001
      Error: Run could not start!
      Logout succeeded
      Empty Results
      Result Status: UNSTABLE

      • - -
        Build step 'Execute performance test using Performance Center' changed build result to UNSTABLE
        No results xml File provided
        Finished: UNSTABLE

       

      When I try to run the test in HP Performance Center 12.53, everything is fine.  The test completes and I am able to view results.  But when I start it in Jenkins it fails with error executeRequest exception: Operation failed. Error code: 1001

       

      I hope you guys can help me with this.

       

      Your response is highly appreciated.

       

      Thanks in Advance!

          [JENKINS-53233] Unable to run Performance Test in Jenkins - executeRequest exception: Operation failed. Error code: 1001

          Mark Laurora created issue -
          Daniel Gront made changes -
          Labels New: PerformanceCenter
          Daniel Gront made changes -
          Assignee Original: Daniel Gront [ gront ] New: Daniel Danan [ danieldanan ]

          Mark Laurora added a comment -

          Hello Experts,

           

          Good day!

           

          Can someone help us with this please?  We are currently doing a Proof of Concept for the integration of HPE Performance Center and Jenkins and unable to move on.

           

          I hope someone can help us with this please?

           

          Your response is highly appreciated.

           

          Thanks in Advance!

           

           

          Mark Laurora added a comment - Hello Experts,   Good day!   Can someone help us with this please?  We are currently doing a Proof of Concept for the integration of HPE Performance Center and Jenkins and unable to move on.   I hope someone can help us with this please?   Your response is highly appreciated.   Thanks in Advance!    

          Daniel Danan added a comment -

          Hi Mark,
          From the log you sent, it could be a permission problem.
          The first operation performed after login is looking for all test instances existing for the specific test configured to be run. If this operation fails (normally, the search should provide a list of test instances, even empty, but it could be failing in case of lack of permission), the entire operation is aborted. So try to verify if the Performance Center credentials provided in the configuration is enough.
          Regards,
          Daniel

          Daniel Danan added a comment - Hi Mark, From the log you sent, it could be a permission problem. The first operation performed after login is looking for all test instances existing for the specific test configured to be run. If this operation fails (normally, the search should provide a list of test instances, even empty, but it could be failing in case of lack of permission), the entire operation is aborted. So try to verify if the Performance Center credentials provided in the configuration is enough. Regards, Daniel
          Daniel Danan made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Mark Laurora added a comment -

          Hi Daniel,

          Thank you for your inputs.  Unfortunately, I don't think this is a permission issue. My account is setup as Administrator on both Jenkins and HPE Performance Center so I should be able to do anything in the tools. Do you have any other suggestions Sir? If needed, I can setup a Skype Meeting for us to discuss further.

          Should you need any other information please let me know.

           

          Thanks and Regards,

          Mark Anthony Laurora

          Mark Laurora added a comment - Hi Daniel, Thank you for your inputs.  Unfortunately, I don't think this is a permission issue. My account is setup as Administrator on both Jenkins and HPE Performance Center so I should be able to do anything in the tools. Do you have any other suggestions Sir? If needed, I can setup a Skype Meeting for us to discuss further. Should you need any other information please let me know.   Thanks and Regards, Mark Anthony Laurora

          Daniel Danan added a comment -

          Hi Mark,
          I have surrounded the operation trying to retrieve the list of test instances by exception handling that will ignore the failure. This means that a new test instance will be created for the test each time you try to run the build.
          I made a local build and uploaded the hpi file to this reported issue as attachment spitted in two files (you will need both files to extract the hpi file).
          For uploading the plugin to Jira, you can go to Jenkins home -> Manage Jenkins -> Manage Plugins -> Advanced tab -> and use the Upload Plugin section to upload the hpi file. you might need to restart Jenkins and also recreate the build step from scratch.
          regards,
          Daniel

          Daniel Danan added a comment - Hi Mark, I have surrounded the operation trying to retrieve the list of test instances by exception handling that will ignore the failure. This means that a new test instance will be created for the test each time you try to run the build. I made a local build and uploaded the hpi file to this reported issue as attachment spitted in two files (you will need both files to extract the hpi file). For uploading the plugin to Jira, you can go to Jenkins home -> Manage Jenkins -> Manage Plugins -> Advanced tab -> and use the Upload Plugin section to upload the hpi file. you might need to restart Jenkins and also recreate the build step from scratch. regards, Daniel
          Daniel Danan made changes -
          Attachment New: hp-application-automation-tools-plugin.7z.001 [ 44300 ]
          Daniel Danan made changes -
          Attachment New: hp-application-automation-tools-plugin.7z.002 [ 44301 ]

            danieldanan Daniel Danan
            ml580k Mark Laurora
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: