Asanka Vithanage
1 min readMay 24, 2020

--

Hello,

here We were using the JMeter maven plugin to execute the JMeter scripts. Or you can run them in command line with the shell as well.

If your requirement is running multiple .jmx files, You can do that following “Reference JMX files and CSV data” section on doc https://github.com/jmeter-maven-plugin/jmeter-maven-plugin

or If you want to run multiple tests via command line

You can replace the sh ‘mvn clean verify’ line with

sh ‘jmeter -n -t A.jmx -l resultfile.jtl

sh ‘jmeter -n -t B.jmx -l resultfile.jtl

Let me know if you need further clarifications.

--

--

Asanka Vithanage
Asanka Vithanage

Written by Asanka Vithanage

Software Quality Assurance Professional, Problem Solver, SOA Tester, Automation Engineer, CI/CD Practitioner, DevOps enthusiast

No responses yet