Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run multiple jmx scripts together in JMeter [closed]

Tags:

jmeter

Currently we are using Performance Center for the load test,eventually we will move to JMeter.

In Performance center we ran 200 scripts together.

In the Same way ,How to run multiple jmx scripts together in JMeter?

like image 655
rpagadala Avatar asked Oct 17 '25 14:10

rpagadala


2 Answers

Using non-ui mode you can run multiple jmx scripts by providing -t option like,

Jmeter.bat or Jmeter.sh -n -t scritp1.jmx script2.jmx ... 

or create multiple sessions using a wrapper script in shell or batch pgming which will run those scripts in parallel

like,

Jmeter.bat or Jmeter.sh -n -t scritp1.jmx &
Jmeter.bat or Jmeter.sh -n -t scritp2.jmx &
like image 170
Nachiket Kate Avatar answered Oct 19 '25 13:10

Nachiket Kate


You can use JMeter Ant Task or JMeter Maven Plugin to kick off tests execution. Both tools have capabilities to execute tasks in parallel.

If needed you can merge execution result files with MergeResults plugin.

For more options on how JMeter test can be started refer to 5 Ways To Launch a JMeter Test without Using the JMeter GUI guide.

like image 20
Dmitri T Avatar answered Oct 19 '25 13:10

Dmitri T