Please post your Web Driver questions in official Web Driver forum

Monday, October 26, 2015

JMeter maven project


Maven JMeter project is a simple load test project which demonstrates jmeter and maven integration. Please don't execute it with more than 5 threads as it uses publicly available application
You can set up a CI build based on this project and parameterize build as -
Parameterized CI build
And now you can provide these values from building the job -
Execute CI Build
To execute test locally execute following command -

DAPP_URL=newtours.demoaut.com -DUSERS=$USERS -DDURATION=$DURATION 
-DRAMPUP_PERIOD=$RAMPUP_PERIOD -DSTARTUP_DELAY=$STARTUP_DELAY verify

Replace $USERS with number of users you want to run test with. Specify required values for other parameters and execute the tests
Once test execution is over then you can browse through test results under -
 
/target/jmeter/results/index.html directory
Fork me on GitHub