cvs commit: jakarta-jmeter/bin jmetertest.properties

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cvs commit: jakarta-jmeter/bin jmetertest.properties

sebb-3
sebb        2005/06/15 15:06:38

  Modified:    test/src/org/apache/jmeter/save TestSaveService.java
               bin      jmetertest.properties
  Log:
  Add testsaveservice.saveout as a JMeter property
 
  Revision  Changes    Path
  1.3       +2 -1      jakarta-jmeter/test/src/org/apache/jmeter/save/TestSaveService.java
 
  Index: TestSaveService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/test/src/org/apache/jmeter/save/TestSaveService.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestSaveService.java 23 May 2005 23:51:13 -0000 1.2
  +++ TestSaveService.java 15 Jun 2005 22:06:38 -0000 1.3
  @@ -15,6 +15,7 @@
   import java.io.OutputStreamWriter;
   
   import org.apache.jmeter.junit.JMeterTestCase;
  +import org.apache.jmeter.util.JMeterUtils;
   import org.apache.jorphan.collections.HashTree;
   
   /**
  @@ -42,7 +43,7 @@
                  };
   
          private static boolean saveOut =
  -       System.getProperty("testsaveservice.saveout","false").equalsIgnoreCase("true");
  +       JMeterUtils.getPropDefault("testsaveservice.saveout",false);
         
          public TestSaveService(String name)
          {
 
 
 
  1.8       +3 -1      jakarta-jmeter/bin/jmetertest.properties
 
  Index: jmetertest.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/bin/jmetertest.properties,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jmetertest.properties 19 Mar 2005 00:32:45 -0000 1.7
  +++ jmetertest.properties 15 Jun 2005 22:06:38 -0000 1.8
  @@ -136,6 +136,8 @@
   # legitimate values: xml, csv, db.  Only xml and csv are currently supported.
   jmeter.save.saveservice.output_format=csv
   
  +# Define true to save the output files in TestSaveService.java
  +#testsaveservice.saveout=true
   
   # true when field should be saved; false otherwise
   
 
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]