Author: sebb
Date: Wed Nov  7 10:56:33 2007
New Revision: 592852

URL: http://svn.apache.org/viewvc?rev=592852&view=rev
Log:
Check that function references work in file names

Modified:
    jakarta/jmeter/trunk/bin/testfiles/BatchTestLocal.jmx
    jakarta/jmeter/trunk/build.xml

Modified: jakarta/jmeter/trunk/bin/testfiles/BatchTestLocal.jmx
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/testfiles/BatchTestLocal.jmx?rev=592852&r1=592851&r2=592852&view=diff
==============================================================================
--- jakarta/jmeter/trunk/bin/testfiles/BatchTestLocal.jmx (original)
+++ jakarta/jmeter/trunk/bin/testfiles/BatchTestLocal.jmx Wed Nov  7 10:56:33 
2007
@@ -314,7 +314,7 @@
             </value>
             <name>saveConfig</name>
           </objProp>
-          <stringProp name="filename">BatchTestLocal.csv</stringProp>
+          <stringProp name="filename">${__P(CSVFILE)}</stringProp>
         </ResultCollector>
         <hashTree/>
         <ResultCollector guiclass="SimpleDataWriter" 
testclass="ResultCollector" testname="Write XML" enabled="true">

Modified: jakarta/jmeter/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/build.xml?rev=592852&r1=592851&r2=592852&view=diff
==============================================================================
--- jakarta/jmeter/trunk/build.xml (original)
+++ jakarta/jmeter/trunk/build.xml Wed Nov  7 10:56:33 2007
@@ -1573,9 +1573,11 @@
         <arg value="-j"/>
         <arg value="${batchtest.name}.log"/>
         <arg value="${remote}"/>
-       <!-- Check parameters can be passed to local/remote tests -->
+       <!-- Check properties can be passed to local/remote tests -->
         <arg value="-Jmodule=Module"/>
         <arg value="-Gmodule=Module"/>
+       <!-- Check property can be used for filenames in local/remote tests (no 
need to defined as -G) -->
+       <arg value="-JCSVFILE=${batchtest.name}.csv"/>
      </java>
 
        <checkfile type="output" file="${batchtest.out}/${batchtest.name}.csv"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to