To run JMeter test in Jenkins please setup your maven project from Running JMeter Script from Eclipse in Maven project
After setting up project, to run test in JMeter we have to:
Please refer Performance Plugin Wiki for more details
Go to Jenkins > Manage Jenkins > Manage Plugin > Search and Install the Performance plugin
After setting up project, to run test in JMeter we have to:
- Install Performance Plugin in Jenkins
- Create Free style project and specify Maven Goals
Install Performance Plugin in Jenkins
Please refer Performance Plugin Wiki for more details
Go to Jenkins > Manage Jenkins > Manage Plugin > Search and Install the Performance plugin
Create Free style project
- Go to Jenkins > New Item
- Enter Job Name and select Freestyle Project > Click Ok
- Add Build Step > Invoke top-level Maven Targets
- Define Maven Goals > clean verify (as per your POM targets/goals)
- Click Advance > add path to POM
- Add Post Build Action > Publish Performance test report
- Specify Source Data file and Error Threshold
- Save the project and Build it.
No comments:
Post a Comment