Git and jMeter scripts

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Git and jMeter scripts



I have few jmeter scripts with me in my local. I have to keep them in my main Project in git so that I can integrate it to Jenkins.
Wanted to know how should be the project structure in Git.
So is it like:


Main Project Folder
Module1
TestPlan 1
TestPlan 2
Module 2
TestPlan1
TestPlan2



TestPlan1, TestPlan2 etc are the .jmx files which are the test scripts having multiple test cases?



Also, when we execute them through Jenkins, then we configure the main Project folder in Jenkins, will it pick all the scripts under it for execution?




1 Answer
1



Jenkins doesn't do any magic, it basically checks out configured Git repository and executes build steps (most likely you will run JMeter using command-line non-GUI mode)



So given the same command you use to run your JMeter test locally works - it should work in Jenkins as well. Just remember not to use full paths to modules, CSV files, etc.





What Dmitri said. Also you may need to use something like this so Jenkins interprets jmeter results correctly: wiki.jenkins.io/display/JENKINS/Log+Parser+Plugin
– joCha
Aug 13 at 15:27





Thanks for answering but let me reframe my question- My project has suppose 5 modules. Then the Performance Project Structure should be like? Main Project Folder Module1 TestPlan 1 - .jmx file TestPlan 2 - .jmx file Module 2 TestPlan1 TestPlan2 Like the structure mentioned in the above question
– Neha
Aug 14 at 4:45







By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard