Hello,

I'd like to run jmeter in command line using two jmeter-server on two hosts
with parameters to set-up the number of Thread, the number of loops...
I put in my jmx script parameters like: ${__P(threadNb)} for the number of
Thread.
It is working well when I run in command line my script without host. But it
does not use the parameters when I run it with two hosts.

This is the command line I'm using in a shell script:
${JMETER_HOME}/bin/jmeter.sh -n  -t /home/jmeter/jmxScripts/${JMX_NAME}.jmx
-l /home/jmeter/jmeterResults/${JMX_NAME}_${BDATE}.jtl -R
${SERVER_1},${SERVER_2} -JthreadNb=${THREADNB}
Where all the variables are correctly initialized at the beginning.

Best regards,
Fred

Reply via email to