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

0 like 0 dislike
303 views
by The go-to Tester (360 points)
retagged by

I am working on to integrate Jmeter with Maven and able to run test scripts and report in generate with jmeter-maven-plugin "1.4.0" but when we are using jmeter-maven-plugin "2.0.3" or latest html report is not generated.

Below is pom.xml file:

<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>jmeter-maven-test</groupId>
    <artifactId>jmeter-maven-test</artifactId>
    <packaging>jar</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>jmeter-maven-test</name>    

    <build>
            <plugins>
                <plugin>
                    <groupId>com.lazerycode.jmeter</groupId>
                    <artifactId>jmeter-maven-plugin</artifactId>
                    <version>2.0.3</version>
                    <executions>
                        <execution>
                            <id>jmeter-tests</id>
                            <goals>
                                <goal>jmeter</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
                        <ignoreResultFailures>true</ignoreResultFailures>                        
                        <suppressJMeterOutput>true</suppressJMeterOutput>
                        <resultsFileFormat>csv</resultsFileFormat>    
                        <appendResultsTimestamp>true</appendResultsTimestamp>                     
                    </configuration>
                </plugin>
            </plugins>
        </build>
</project>

Anyone please help me on same. 

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
edited by
 
Best answer

From jmeter-maven-plugin 1.5 version onwards reporting is removed. To get reports, you will have to make use of separate plugin.

jmeter-analysis-maven-plugin


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!

...