Introducing BlazeMeter's Plugin to TeamCity:
Are you developing using the JetBrains' Continuous Integration (CI) solution,TeamCity (TC)? If you answered yes, you'll be happy to discover that BlazeMeter has released a new plugin to TeamCity to simplify your load testing needs.
Now, you only need to connect your BlazeMeter account to TeamCity, configure a simple build step and you are good to go. You can configure TeamCity to run the BlazeMeter build step whenever you want, and the test will start with your pre-configured settings.
Sit back and wait for the results to appear. Check the 'reports' tab to see the results of the test, and view the 'logs' tab for a summary of the test's stability or failure.
Get BlazeMeter's plugin for TeamCity (JetBrains):
Clone BlazeMeter's TeamCity plugin from GitHub and compile. Compilation instruction are available in the README file.
To install BlazeMeter’s plugin for TeamCity:
Copy the 'BlazeMeter.zip' file to the 'TeamCity Data Folder/plugins' directory, and restart the TeamCity server and agents.
To configure BlazeMeter’s plugin:
First, configure the BlazeMeter user key. You can get this key from your BlazeMeter user profile.
The user key configuration page is accessible from the ‘Administration’ page in the ‘BlazeMeter’ link under ‘Integration’.
This is also the place to configure your proxy server settings: Name, Port, User and Password.
To configure a build configuration using BlazeMeter’s plugin:
Add a new build step with type 'BlazeMeter'.
If your keys were pre-configured in the global settings, you will now see all your tests in the drop down. Select a test to run.
Enter the thresholds for the error percentage and response time, to specify when a build becomes unstable or fails.
Choose the test duration.
You can also opt to select a data folder to upload your files in order to mask the test with new parameters.
The Data folder: files from this folder will be uploaded to BlazeMeter.
Paths can be:
* Absolute path (ex': in Windows: C:/Test/DataFolder, in Linux: /mnt/share/datafolder)
* Relative path. This is relative to checkout directory. ex': DataFolder , this assumes that your checkout structure contains the DataFolder in the main node.
*Please Note, if you choose to upload the files, be sure to fill in the field ‘Main JMX’ with the ‘.jmx’ file name in the Data Folder.
Make sure to ‘Save’ your settings.
To run a build that uses BlazeMeter's plugin and see results:
Click on the build being run.
Click on ‘Build Log’ to see the build progress. You’ll see the test parameters and an update every minute.
When the test finishes, you will see a summary of the test results and their impact on the build.
You can now click on the ‘BlazeMeter Report Tab’ to see a report of the test.The results will look the same as they would on your dashboard on the BlazeMeter site.
You can also edit, run and compare test results to previous runs.
All reports, logs and data generated during any test runs are stored in an archive accessible directly in your BlazeMeter account.