Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
665 views
by The go-to Tester (222 points)
retagged by
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 like 0 dislike
by The go-to Tester (222 points)

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>
+---+


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...