jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1432502 - in /jmeter/trunk: bin/jmeter.properties src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java src/core/org/apache/jmeter/samplers/SampleSenderFactory.java xdocs/changes.xml
Date Sat, 12 Jan 2013 20:19:53 GMT
Author: pmouawad
Date: Sat Jan 12 20:19:53 2013
New Revision: 1432502

URL: http://svn.apache.org/viewvc?rev=1432502&view=rev
Log:
Bug 54412 - Changing JMeter defaults to ensure better performances by default 
Bugzilla Id: 54412

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/bin/jmeter.properties
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.properties?rev=1432502&r1=1432501&r2=1432502&view=diff
==============================================================================
--- jmeter/trunk/bin/jmeter.properties (original)
+++ jmeter/trunk/bin/jmeter.properties Sat Jan 12 20:19:53 2013
@@ -382,7 +382,7 @@ log_level.jorphan=INFO
 # The commented out values are the defaults.
 
 # legitimate values: xml, csv, db.  Only xml and csv are currently supported.
-#jmeter.save.saveservice.output_format=xml
+#jmeter.save.saveservice.output_format=csv
 
 
 # true when field should be saved; false otherwise
@@ -569,7 +569,10 @@ wmlParser.types=text/vnd.wap.wml 
 #sample_sender_client_configured=true
 
 # Remote batching support
-# default is Standard, which returns each sample synchronously
+# Since JMeter 2.9, default is MODE_STRIPPED_BATCH, which returns samples in
+# batch mode (every 100 samples or every minute by default)
+# Note also that MODE_STRIPPED_BATCH strips response data from SampleResult, so if you need
it change to
+# another mode
 # Hold retains samples until end of test (may need lots of memory)
 # Batch returns samples in batches
 # Statistical returns sample summary statistics

Modified: jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java?rev=1432502&r1=1432501&r2=1432502&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSaveConfiguration.java Sat Jan
12 20:19:53 2013
@@ -71,7 +71,7 @@ public class SampleSaveConfiguration imp
     private static final String XML = "xml"; // $NON_NLS-1$
 
     /** Indicates that the results file should be in CSV format. * */
-    //NOTUSED private static final String CSV = "csv"; // $NON_NLS-1$
+    private static final String CSV = "csv"; // $NON_NLS-1$
 
     /** Indicates that the results should be stored in a database. * */
     //NOTUSED private static final String DATABASE = "db"; // $NON_NLS-1$
@@ -378,7 +378,7 @@ public class SampleSaveConfiguration imp
             _assertionsResultsToSave = 0;
         }
 
-        String howToSave = props.getProperty(OUTPUT_FORMAT_PROP, XML);
+        String howToSave = props.getProperty(OUTPUT_FORMAT_PROP, CSV);
 
         if (XML.equals(howToSave)) {
             _xml = true;

Modified: jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java?rev=1432502&r1=1432501&r2=1432502&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java Sat Jan 12 20:19:53
2013
@@ -56,7 +56,7 @@ public class SampleSenderFactory {
         final boolean holdSamples = JMeterUtils.getPropDefault("hold_samples", false); //
$NON-NLS-1$
 
         // Extended property name
-         final String type = JMeterUtils.getPropDefault("mode", MODE_STANDARD); // $NON-NLS-1$
+         final String type = JMeterUtils.getPropDefault("mode", MODE_STRIPPED_BATCH); //
$NON-NLS-1$
 
         if (holdSamples || type.equalsIgnoreCase(MODE_HOLD)) {
             HoldSampleSender h = new HoldSampleSender(listener);

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1432502&r1=1432501&r2=1432502&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Sat Jan 12 20:19:53 2013
@@ -53,6 +53,12 @@ Earlier changes are detailed in the <a h
 <h4>Memory and performance improvements</h4>
 <p>Significant improvements have been done in this version on memory usage per Thread
and CPU when more than one Post Processor is used Sampler</p>
 <p>JSR223 Elements (enable using Groovy, Scala... as scripting languages) have been
improved to enable caching of Compilation when scripts are passed Text area</p>
+<p>Some configuration defaults have changed to improve performances by default(see
<bugzilla>54412</bugzilla>), see description in New and Noteworthy section.
+<ul>
+    <li>Distributed testing now uses MODE_STRIPPED_BATCH, which returns samples in
batch mode (every 100 samples or every minute by default). Note also that MODE_STRIPPED_BATCH
strips response data from SampleResult, so if you need it change to another mode (mode property
in jmeter.properties)</li>
+    <li>Result data are now saved to CSV by default (jmeter.save.saveservice.output_format
in jmeter.properties)</li>
+</ul>
+</p>
 
 
 <h3>GUI and ergonomy Improvements:</h3>
@@ -114,6 +120,7 @@ This does not affect JMeter operation.
 <!-- =================== Incompatible changes =================== -->
 
 <h2>Incompatible changes</h2>
+<p>Some configuration defaults have changed to improve performances by default(see
<bugzilla>54412</bugzilla>), see description in New and Noteworthy section.</p>
 
 <p>Webservice sampler now adds to request the headers that are set through Header Manager,
these were previously ignored</p>
 
@@ -254,6 +261,7 @@ to the elements View Results Tree, Asser
 <li><bugzilla>54258</bugzilla> - Proxy : Use Raw Post Body when Sampler
has one unnamed argument, useful for Samplers using POST method by of type JSON, XML, GWT
body</li>
 <li><bugzilla>54268</bugzilla> - Improve CPU and memory usage</li>
 <li><bugzilla>54376</bugzilla> - ScopePanel : Allow configuring more precisely
scopes</li>
+<li><bugzilla>54412</bugzilla> - Changing JMeter defaults to ensure better
performances by default</li>
 </ul>
 
 <h2>Non-functional changes</h2>



Mime
View raw message