View Source

To publish [JMeter|] report, you only need two steps:
# Generate JMeter *XML* report from [Ant|] or [Maven|] or any other build tool.
# Add JMeter publish step by choosing _Publish -> JMeter Report_ from step menu.

h2. Generate JMeter Report

QuickBuild will NOT generate [JMeter|] report automatically, so first make sure the [JMeter|] report is produced by [ANT|] or by any other build tool. The following example shows how to generate JMeter XML report with Ant JMeter task:
{code:xml|title=Generate JMeter Report}
<project default="all">
<property name="jmeter-home" value="/your/jmeter/home" />
<!-- ant-jmeter.jar comes with jmeter, be sure this is the release you have -->
<path id="ant.jmeter.classpath">
location="${jmeter-home}/extras/ant-jmeter-1.1.1.jar" />
classpathref="ant.jmeter.classpath" />
<target name="clean">
<delete dir="results"/>
<delete file="jmeter.log"/>
<mkdir dir="results/jtl"/>
<mkdir dir="results/html"/>
<target name="test" depends="clean">
<testplans dir="test/jmeter" includes="*.jmx"/>
<property name="" value="xml"/>
<!-- This is not needed for the plugin, but it produces a nice html report
which can be saved usin jenkins's archive artifact feature -->
<target name="report" depends="test">
<target name="all" depends="test, report"/>


h2. Publish JMeter Report
Add _*Publish JMeter Report*_ step to your build workflow. You can category your JMeter report by adding multiple steps with different report set name(category name). Reference [this page|Publish Build Reports] for how to use report set.

If the JMeter is published successfully, the build overview page will display the summary for your JMeter requests,


h2. Aggregate JMeter Report

Like all other reports, JMeter data can be aggregated to current configuration and parent configuration, please refer to [Report Aggregation] for how to add aggregation based on your strategy.