This post was written by Hanan Bar Lev from Performance Center R&D team
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.
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.
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
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.
- Create a build step
After installing the plugin, create a new step and select the Performance Center Test build runner type:
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 ID
- Test instance ID - we recommend letting Performance Center select the test instance ID for you
- 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.
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:
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.):
For more details, see the Performance Center help page.