Highlighted
Frequent Contributor.
Frequent Contributor.
491 views

Performance Center and Jenkins Integration Issues

 

 

We have installed Performance Center 12.x in a test environment and i am trying to integrate Jenkins with PC 12. We have PC and ALM server installed on the same machine.

 

I created a brand new project in PC 12. Uploaded one VuGen script, created a performance test and selected the Vugen script. Created  a new testset and added performance test to this testset. Execution of this performance test works in PC 12. 

 

Now i want to kick off this performance tests through Jenkins. So i installed Jenkin server and HP Application Automation Tools plugin( version 3.0.7) on the same machine( windows 32 bit).

 

 

1. Installed Jenkins and its running on ly local windows machine at http://localhost:8080/

2. I have created new free style project and  in Build section  i selected  "Execute HP tests using Performance Center"

    Description:   HP-PC-Test

    PC Server: http://<server-name>/qcbin

    UserName:  <valid user id>

    Password:   <correct password>

    Domain: <PC_DOMAIN>

    Project:  <PC_PROJECT>

    TestID : 1

    Test  Instance ID: 1

 

3. Saved all changes

4. Clicked on Build now and in console output i keep getting the following error.

 

 

Started by user anonymous
Building in workspace C:\Program Files\Jenkins\jobs\HP-Test\workspace
- - -
Test description: HP-Test
Validating parameters before run
Trying to login
[PCServer='http://<server-name>/qcbin', User='<userid>']
java.net.UnknownHostException: http
Login failed
Empty Results
Result Status: UNSTABLE
- - -
Build step 'Execute HP tests using HP Performance Center' changed build result to UNSTABLE
Report not found
Build step 'Publish HP tests result' changed build result to FAILURE
Finished: FAILURE

 

Not sure what i missed but cant make progress with Jenkin and PC integration

  

0 Likes
5 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Performance Center and Jenkins Integration Issues

Hello Yash,

 

Jenkins as open source and integration tool allows the possibility to execute HP Test using the Jenkins - HP Application Automation Tools Plugin.

This plug-in trigger the different available Test sets available in ALM platform, Unified Functional Testing, QuickTest Professional, or Service Test, LoadRunner scenarios and Performance Center.

Is important to keep present that Performance Center and LoadRunner are different products and just the specified versions explained in the next list are supported.

This plugin allows you to trigger an HP test as a build step and present the results in the Jenkin's UI, similar to JUnit.

This plugin currently supports:
 * HP Unified Functional Testing 11.5x and 12.0x (QuickTest Professional and Service Test 11.50 capabilities)
 * HP Service Test 11.20 and 11.50
 * HP LoadRunner 11.52 and 12.0x
 * HP Performance Center 12.xx
 * HP QuickTest Professional 11.00
 * HP Application Lifecycle Management 11.00, 11.52, and 12.xx
 * HP ALM Lab Management 11.50, 11.52, and 12.xx
 * HP Quality Center 10.00, with the QuickTest Professional Add-in for triggering test sets

If you are working with Quality Center 10.00 or earlier, and QuickTest Professional 9.x or 10.x, use the Quality Center Plugin.

For more information about the Jenkins Plug-in and the required connection configurations please make reference to the next link:

https://wiki.jenkins-ci.org/display/JENKINS/HP+Application+Automation+Tools?focusedCommentId=74876567#HPApplicationAutomationTools-RunningPerformanceTestsusingHPPerformanceCenter

For additional information about how to use the HP Performance Center 12 REST API and Jenkins Plugin please make reference to the next video:

https://www.youtube.com/watch?v=VIDOcaU9JPM

 

Regards,

 

Regards,

Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Performance Center and Jenkins Integration Issues

Thanks Dani but i have already gone through both the links but could not find information related to my problem. My basic questions are

 

1. Does Jenkin works if Performance Center and ALM are installed on same server ?
2. Does Jenkin works over HTTPS protocol?
3. Which username should be entered in username field? Will any of the user added to the project work or only 'sa' user account should be used?

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Performance Center and Jenkins Integration Issues

Yash,

 

Regarding your concerns,

 

1. Does Jenkin works if Performance Center and ALM are installed on same server ?

        It's not recommended to have ALM Server on the same machine of the PC Server, however the integration with Jenkins   could be work properly.

 

On the other hand, unfortunately we only work with the integration of Jenkins with Performance Center and this other questions are out of our scope.

What I can suggest you is to contact Jenkins support, in order to answer your concerns properly.

 

Regards,

 

 

Regards,

Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Performance Center and Jenkins Integration Issues

Yash,

2. I hope you are referring to HTTPS on Jenkins. It shouldn't be a problem.

3. It is the user name you enter while logging into the project. The user who has permissions to execute the test can be used.

Madan

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Performance Center and Jenkins Integration Issues

Thanks Dani.

 

Madan, i was referring to HTTPS connection to PC server when we specify the performance center server name.

 

 

https://<pc-server-name>/qcbin

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.