what are you trying to do?
I usually change this from ANT while invoking the test
<target name="runJMeter" depends="init">
....
<jmeter
jmeterhome=".."
testplan="${run.test.plan}"
resultlog="${report.dir}/${run.test.report}-${run.env}-${DSTAMP}${TSTAMP}.jtl">
<property name="jmeter.save.saveservice.output_format" value="xml"/>
<property name="run.server" value="${run.server}" />
<property name="run.server.port" value="${run.server.port}" />
<property name="sample_variables" value="${sample_variables}" />
</jmeter>
..........
</target>
<target name="runEvolutionSmokeTest" depends="init">
...........
<antcall target="runJMeter">
<param name="run.test.plan" value="Evolution.jmx"/>
<param name="run.test.report" value="EvolutionSmokeTest"/>
<param name="sample_variables" value="var1,var2"/>
<param name="xsl.file" value="jmeter-results-report_21.xsl" />
</antcall>
............
</target>
regards
deepak
On Mon, Nov 8, 2010 at 12:28 PM, thanh nguyen <[email protected]>wrote:
> Hi all,
>
> The sample_variables is currently set in the jmeter.properties file. Is
> there a way to set it in the testplan?
>
> Thank you
> Thanh
>