Maven + JMeter

  1. Use the following snippet in the pom.xml to integrate JMeter to Maven.
  2. Put your project.jmx under src/test/jmeter/ and then run ‘mvn verify’.
  3. Install HTML publisher plugin in your Jenkins and configure a post action to publish the report.
  4. Go to Manage Jenkins, Script Console section and type this command:
    System.setProperty(“hudson.model.DirectoryBrowserSupport.CSP”, “”)

Without step 4, your report will be shown up empty. (Very terrible).