Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Performance Center Integration with TeamCity

hilale Honored Contributor.
Honored Contributor.
4 0 1,199

This post was written by Hanan Bar Lev from Performance Center R&D team

 Hanan Bar Lev.jpg

 

When developing software, performance testing plays a major role in the Continuous Integration (CI) process, since you need to test every change to your codebase as early as possible.

To ensure that each new build works seamlessly without introducing errors, it is highly recommended that you have a natural integration between a CI server and a performance testing tool.

We are proud to announce that we have added a plug-in for integrating Performance Center with TeamCity, enabling performance and load tests to be run as part of your TeamCity CI process.

TC.jpg

TeamCity is a CI Server from JetBrains which allows you to build, test, and integrate your code. It supports multiple VC systems such as Subversion and Git.


PClogo.png

Performance Center is the leading enterprise performance management and testing tool from Micro Focus.

 

Let’s see how to install and use the TeamCity plugin (named Performance Center CI):

  1. Installation

    Download the plugin from https://plugins.jetbrains.com/plugin/10694-performance-center-ci.                   In your TeamCity CI system, navigate to Administration > Plugins List > Upload plugin zip, and upload the plugin.

  2. Create a build step

    After installing the plugin, create a new step and select the Performance Center Test build runner type:Build step.png                                                                                                                                                                                                                                                                                                                                                                         

  3. Configuration

    After adding the build step, enter the relevant configuration details:                                                     

    Authentication Details:
    • PC Server – requires the Performance Center server name only, without the http prefix or virtual directory
    • User Name and Password
    • Domain and Project
    • Local Proxy (optional)
    Test Details:
    • Test ID
    • Test instance ID - we recommend letting Performance Center select the test instance ID for you
    Test Results Handling:
    • Post Run Action - we recommend using Collate and Analyze to get all reports created
    • Trending - we recommend selecting Automatic Trending at the test level for faster configuration of your job
    • SLA - we also recommend defining an SLA at the test level to get a passed/failed status based on test results.
    config.png
                                                                                                                                                                                                                         

4. Build Execution

Save the build step. You are now ready to run the build.

During the run you can see the status of the test in the Build Log tab:Exec.png                                                                                                                                                                                                                                                        

5. Results

After the build has finished, open the Artifacts tab and view the reports. Different reports are available according to the build configuration you selected (Collate and Analyze, Trending, etc.):

Res.png
HTML Report:                                                                                                                                                                                                                                                                                                                                          HTML.png

  Trending Report:

  1. Trend.png

     

    Trend2.png

     

     

    For more details, see the Performance Center help page.

         

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.