-
-
Notifications
You must be signed in to change notification settings - Fork 76
Continuous Integration Build Comparison
Anthony Gauthier edited this page Mar 28, 2018
·
2 revisions
In a continuous integration context, your performance/load tests should be integrated in your build pipeline. Well we provide you with a way to compare two test runs (or more) in the visualization tool of choice (Grafana, Kibana).
Defining your build number is as simple as it gets. All you need to do is use the environment variables of your CI solution and provide the build number to your jmeter test execution. Here are examples for three different CI solutions.
sh "jmeter -t someTest.jmx -JBuildNumber=${env.BUILD_NUMBER}"
- run:
shell: /bin/sh
command: |
jmeter -t someTest.jmx -JBuildNumber=CIRCLE_BUILD_NUM
script: jmeter -t someTest.jmx -JBuildNumber=TRAVIS_BUILD_NUMBER
Whether you use Grafana or Kibana, you can then compare the builds by splitting the series with the BuildNumber field.
For any suggestions/corrections to the documentation, feel free to create an issue. Regards, delirius325.