How to create HTML reports using Jmeter Maven Plug

2019-09-14 18:25发布

问题:

Jmeter Maven plugin 1.4 used to generate nice HTML reports but the latest plugin 2.1.0 does not create. I know for the latest plugin by default enableReports are set to false.

I would like to know how HTML reports can be enabled without usage of any other plugin in pom.xml?

or

which plugin is compatible with Jmeter Maven plugin 2.1.0 which can be used to generate HTML reports?

Thanks in advance.

回答1:

the HTML reports in 1.4 were removed because they were horrifically inefficient.

In version 2.6.0 of the plugin you can use JMeter's native report generation, just add in a config setting of:

<configuration>
    <generateReports>true</generateReports>
</configuration>