Wednesday, August 15, 2018

Continuous Integration and LoadRunner / Performance Center



As we are moving towards CI / CD and Agile work model, there is always a question whether Performance testing can be done in this model.

The obvious answer is "Yes", then comes the next question in mind - "Which Tool" ? and what all CI Tools does it support.

Being in performance testing world, we generally tend to look for our familiar LoadRunner (LR) or Performance Center (PC) as the option of choice.
There are other open-source tools like Jmeter  which provide the flexibility and integration with other tools.

For LR / PC:

Does LoadRunner support Bamboo - Continuous integration tool? - The answer is currently NO. Currently LR only supports Jenkins as the CI Tool of choice.

 How can i integrate LoadRunner with Jenkins:

Jenkins 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.

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

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

https://wiki.jenkins.io/display/JENKINS/HPE+Application+Automation+Tools

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

1 comment:

  1. Just FYI, there is a supported LR plugin for Bamboo. See: https://marketplace.atlassian.com/apps/1217829/app-delivery-management-bamboo-ci-plugin.

    Apologies for not having any LR training to advertise in the comments section.

    ReplyDelete