Context:
I'm running a test in distributed mode and I'm noticing the parameters that
I pass on the command line are not making to the slaves
My test reads values from the command line and loads Variables From CSV
File based on what is passed him
My variable is in the test plan as follows
Name: MY_TEST_ENV
Value: ${__property(MY_TEST_ENV, MY_TEST_ENV,dev)}
I later build a string to be used as a filename for Variables From CSV
CSV File = ${MY_TEST_ENV}.txt
I start my slaves ./jmeter-server
and from the controller
./jmeter -n -r -t TestWebStress.jmx -DMY_TEST_ENV=aws
on the controller i can see in the logs
2014/05/09 14:38:04 INFO - jmeter.JMeter: Setting System property:
MY_TEST_ENV=aws
on the slave i can see
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: MY_TEST_ENV
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: Replacement
result: MY_TEST_ENV
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty:
${__property(MY_TEST_ENV, MY_TEST_ENV,dev)}
2014/05/09 14:38:12 DEBUG - jmeter.testelement.property.AbstractProperty:
Not running version, return raw function string
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: Replacement
result: ${__property(MY_TEST_ENV, MY_TEST_ENV,dev)}
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: About to
replace in property of type: class
org.apache.jmeter.testelement.property.StringProperty: =
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: Replacement
result: =
2014/05/09 14:38:12 DEBUG - jmeter.testelement.property.AbstractProperty:
Not running version, return raw function string
2014/05/09 14:38:12 DEBUG - jmeter.engine.util.ValueReplacer: Replacement
result: MY_TEST_ENV=${__property(MY_TEST_ENV, MY_TEST_ENV,dev)}
My question is
how can ensure that what is passed on the command line at the controller
level is sent to the slaves
Any help would be appreciated