Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
$ svn checkout jmeter (username is 'guest' and password 'guest'
$ cd jmeter
$ mvn package
$ cp target/jmeter.hpi <path_to_hudson>/data/plugins



  • Added the possibility of using more than one jmeter-report file. In order to keep the last version behaviour, the trend graphs will appear on the front page of the Hudson job if only one report file is present, when several report files are present the graphs will appear only when you click on “Jmeter trend”.
  • Added a configuration page for the graphs, accessible form the “Jmeter trend” page. It permits to show only the n last builds or the builds within a range of dates, the configuration is saved in a cookie.
  • Added threshold parameters in order to report the build process as unstable or failed based on the error percentage.
  • Fixed some bugs related with the parsing of previous-builds not configured for jmeter tasks.
  • Improvement of the plugin's performance when generating the graphs.
  • Added support for non-http XML report files.

NOTE: There is an incompatibility with the previous version of the plugin, due to the way the JMeter result files are handled:

- The Maven JMeter plugin handles the test result in this way now:
  * A test myJmeterTest.jmx produces a result file myJmeterTest-yyMMdd.xml where the date is the execution date of the test.

- The last released version (0.2) of the Hudson JMeter plugin only handles one JMeter test: when
  * When the build finishes the JMeter result file myJmeterTest-yyMMdd.xml is copied to the root of the build directory and renamed to "jmeter.xml". This

- But version 0.3 introduces the possibility to handle several JMeter tests :
-   * When the build finishes the JMeter result files myJmeterTest-yyMMdd.xml and myOtherJmeterTest-yyMMdd.xml are copied to the build/jmeter-reports directory
  and renamed to "myJmeterTest.xml" and "myOtherJmeterTest.xml"
-   * The result file name is used to keep track of each test when building the trend graphs, we cannot use anymore the hardcoded file name "jmeter.xml"
-   * Unless the unique JMeter test file is called jmeter.jmx, there is no way to make the 2 versions of the plugin compatible.

- To keep the current test results obtained with the 0.2 plugin one has to apply the following migration procedure :
  - * Rename the result file jmeter.xml found at the build root to "nameOfTheJmeterTest.xml"
  - * Move the result file "nameOfTheJmeterTest.xml" to the build/jmeter-reports directory
  - * The procedure has to be performed for all the existing builds