Road to jmeter test execution with maven

In this post I explain the procedure of Jmeter test execution using maven build tool. 


1. Download and setup java path in your system environment path.
2. Download and install Jmeter.
3. Download and setup maven bin path in your system environment path

After set up above points create a maven project having folder structure “src > test >jmeter”.
Put created Jmeter “.jmx” project in “src > test >jmeter” folder.
Below is pom.xml maven build file which need to put parallel src folder under project

<project xmlns=""     xmlns:xsi=""

Open command prompt and go to project and run command “mvn install”. You should see that all maven plugin install in your maven repository.
Run command “mvn verify” to execute Jmeter test.

After execution jmeter test report is generated under target>Jmeter>report folder in html format as below screen.

No comments:

Post a Comment

Leave your comments, queries, suggestion I will try to provide solution