A sample showing how to deploy an application and perform performance tests with JMeter
<profile> <id>performance</id> <build> <plugins> <!-- DEPLOYIT--> <plugin> <groupId>com.xebialabs.deployit</groupId> <artifactId>maven-deployit-plugin</artifactId> <version>3.9.1</version> <executions> <execution> <id>deployit-plugin-test</id> <phase>pre-integration-test</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> <configuration> <environmentId>Environments/MyProjectEnvironment</environmentId> </configuration> </plugin> <!-- JMeter plugin --> <plugin> <groupId>org.apache.jmeter</groupId> <artifactId>maven-jmeter-plugin</artifactId> <version>1.0</version> <executions> <execution> <id>jmeter-tests</id> <phase>integration-test</phase> <goals> <goal>jmeter</goal> </goals> </execution> </executions> <configuration> <reportDir>C:\Users\Jasper\Code\maven-deployit-plugin\target/jmeter-reports</reportDir> <jmeterUserProperties> </jmeterUserProperties> </configuration> <dependencies> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile>