Pravesh wrote:
Hi Team,
I have 3 queries related to running tests of jmeter in non gui mode.
1.How can we run multiple jmeter tests in Pipeline?
Let's say for eg:- Tp1.jmx, Tp2.jmx, Tp3.jmx, Tp4.jmx.
I have these 4 tests and I wanted to run all in the pipeline and reneragte
report once the build is triggered.
2.Can we just give a folder path and it will execute tests present in that
folder?
3.How can we create master slave architecture so that I can run those tests
on different slaves in the pipeline at 1 go?
1. Take a look at your CI/CD server documentation, it might be the case
it provides parallel steps like Jenkins does
<https://www.jenkins.io/blog/2017/09/25/declarative-1/>. Also it's
possible to run commands in parallel using your operating system
scripting mechanisms or JMeter Maven Plugin
<https://www.blazemeter.com/blog/how-use-jmeter-maven-plugin> or
Taurus <https://www.blazemeter.com/blog/how-use-jmeter-maven-plugin>
tool.
2. With JMeter Plugin it's possible, just put your files into
"src/test/jmeter" folder
<https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Selecting-Tests-To-Run#running-all-tests>
3. 1 slave can only execute only 1 test plan (.jmx script) at a time,
you will need to either have multiple slaves machines or run
multiple JMeter slave processes on a same machine to handle this
situation. See Remote hosts and RMI configuration
<https://jmeter.apache.org/usermanual/properties_reference.html#remote>
user manual chapter for more details on how to specify hostnames and
ports.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org