Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

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

Open 1 Answers 26 Views
0 1
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
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 by (200 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors

...