Performance Engineering SIG
Group HomeGroup Home Blog Home Group Blogs
Search all posts for:   

 

View all (1) posts »

TFS - HP LR Integration

Posted By Stephanie Konkoy, Monday, May 8, 2017

Vivit Member Question:

I am facing a problem with Continuous Integration (CI) Testing wherein the Development Team is using Team Foundation Server (TFS) and my performance scripts are created in HP Loadrunner with HP - PC (Performance Center). I am unsure how this can be archived. Can the Jenkins Team Foundation Server Plug-in help here ?

Tags:  CI Testing  HPE Loadrunner  HPE Performance Center  Jenkins  TFS 

Share |
Permalink | Comments (1)
 

Comments on this post...

Richard Bishop says...
Posted Friday, May 12, 2017
This is a tricky question and the correct answer depends on what you want to achieve. I have assumed that you want to have an archive of the test scripts that ran against a particular Jenkins build stored with the other test artefacts associated with that build (such as test results and so on).

I haven’t used TFS with Jenkins but I have some experience of integrating LoadRunner and Performance Center tests with Jenkins as well as using Jenkins to control powershell scripts on remote servers and copy files to and from servers after tests. I’d recommend the following:

1. Create a Jenkins build job that checks for some sort of status update in TFS (using the TFS plugin for Jenkins). This could detect a “commit” of code or a deployment.

2. Create your initial performance test in LoadRunner which runs after step 1. Assuming that this test passes, you’ll have test results from that test copied into your Jenkins workspace.

3. Use the “PowerShell” plugin to zip the contents of your scripts folder into a file on the LoadRunner PC. You should “timestamp” this so you can associate it with the test that ran at the same time.

4. Use the Jenkins Plugin “Copy to Slave” to copy the zipped up scripts to your Jenkins Workspace.

5. Run your larger scale Performance Center under Jenkins control.

6. Use the TFS plugin to copy any test artefacts from the workspace that you wish to associate with your specific build.

Apart from steps 1 and 6, I’ve done all of the above. If anybody reading this has TFS experience that could give some TFS-specific advice, it would be great if they could contribute to this discussion.
Permalink to this Comment }

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: contact-us@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Micro Focus User
Community through
Advocacy, Community,
and Education.