Unable to specify "jmeter.reportgenerator.exporter.html.property.output_dir"
See original GitHub issueJava: 8 Maven: 3.2.5 JMeter-Maven-Plugin: 2.7.0
I have tried to specify the report folder in a couple of ways but it doesn’t override the -o command. Basically I want to generate the report folder without the timestamp.
- created a new user.properties file specifying jmeter.reportgenerator.exporter.html.property.output_dir
- added jmeter.reportgenerator.exporter.html.property.output_dir to propertiesJmeter
LOGGING:
Starting process with:[java, -Xms512M, -Xmx512M, -jar, ApacheJMeter-4.0.jar, -d, C:\jmeter-tests\target\jmeter, -e, -j, C:\jmeter-tests\target\jmeter\logs\MyTests.jmx.log, -l, C:jmeter-tests\target\jmeter\results\MyTests.csv, -n, -o, C:\jmeter-tests\target\jmeter\reports\MyTests_20180501_153359, -t, C:\jmeter-tests\target\jmeter\testFil
es\MyTests.jmx]
POM:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mytest.jmeter</groupId>
<artifactId>jmeter</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>jmeter</name>
<profiles>
<profile>
<id>jmeter</id>
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.7.0</version>
<configuration>
<testResultsTimestamp>false</testResultsTimestamp>
<propertiesJMeter>
<jmeter.save.saveservice.thread_counts>true</jmeter.save.saveservice.thread_counts>
<jmeter.save.saveservice.assertion_results>true</jmeter.save.saveservice.assertion_results>
<jmeter.reportgenerator.exporter.html.property.output_dir>${project.build.directory}/jmeter/results/</jmeter.reportgenerator.exporter.html.property.output_dir>
</propertiesJMeter>
</configuration>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>verify</phase>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<goals><goal>results</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Unable to generate jmeter html report from java code
You need to set jmeter.reportgenerator.outputdir JMeter Property and provide the full path of the dashboard as the value, to wit before ...
Read more >user.properties issue? - Google Groups
JMeter : Setting property 'jmeter.reportgenerator.outputdir' ... "jmeter.reportgenerator.exporter.html.show_controllers_only" not found, ...
Read more >User's Manual: Generating Dashboard Report - Apache JMeter
Ensure you set property jmeter.reportgenerator.exporter.html.series_filter to keep only the transactions you want in the report if you don't want everything ...
Read more >jmeter.log
JMeter : Setting property 'jmeter.reportgenerator.outputdir' to:'c:\Jenkins\workspace\PerformanceTestError\Output\Report' 2017/04/15 13:41:45 INFO ...
Read more >jmeter.log – Keybase.pub
2018-08-31 12:08:54,464 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN ... Property 'jmeter.reportgenerator.exporter.html.show_controllers_only' not ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You understood correctly, we need this intermediate directory to support multiple JMX files scenario.
So in summary, it works since 2.8.2 .
Thanks for your feedback.
This is fixed in last released version of 2.8.2 of the maven plugin. Please confirm it is ok for you.