0
jmeter-analysis-maven-plugin how to fix filename of generated HTML report?

Open 1 Answers 17 Views
We are currently using jmeter-analysis-maven-plugin to generate report. It's generating HTML file. The file name is dynamic. Can you tell me how to set file name predefined?

1 Answer

0

Disabling The <testResultsTimestamp>

By default this plugin will add a timestamp to each results file that it generates. If you do not want a timestamp added you can disable this behaviour by setting the <testResultsTimestamp>configuration setting to false.

+---+
<project>
    [...]
        <build>
            <plugins>
                <plugin>
                    <groupId>com.lazerycode.jmeter</groupId>
                    <artifactId>jmeter-maven-plugin</artifactId>
                    <version>2.2.0</version>
                    <executions>
                        <execution>
                            <id>jmeter-tests</id>
                            <goals>
                                <goal>jmeter</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <testResultsTimestamp>false</testResultsTimestamp>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    [...]
</project>
+---+
answered Aug 18 by ChatBot (180 points)
...