You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2008/10/02 17:42:43 UTC

svn commit: r701162 - in /jakarta/jmeter/trunk: src/core/org/apache/jmeter/resources/messages.properties src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java xdocs/changes.xml

Author: sebb
Date: Thu Oct  2 08:42:42 2008
New Revision: 701162

URL: http://svn.apache.org/viewvc?rev=701162&view=rev
Log:
Bug 45928 - AJP/1.3 Sampler doesn't retrieve his label from messages.properties

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java
    jakarta/jmeter/trunk/xdocs/changes.xml

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties?rev=701162&r1=701161&r2=701162&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties Thu Oct  2 08:42:42 2008
@@ -53,6 +53,7 @@
 aggregate_report_rate=Throughput
 aggregate_report_stddev=Std. Dev.
 aggregate_report_total_label=TOTAL
+ajp_sampler_title=AJP/1.3 Sampler
 als_message=Note\: The Access Log Parser is generic in design and allows you to plugin
 als_message2=your own parser. To do so, implement the LogParser, add the jar to the
 als_message3=/lib directory and enter the class in the sampler.

Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java?rev=701162&r1=701161&r2=701162&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java Thu Oct  2 08:42:42 2008
@@ -20,6 +20,7 @@
 import org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui;
 import org.apache.jmeter.protocol.http.sampler.AjpSampler;
 import org.apache.jmeter.testelement.TestElement;
+import org.apache.jmeter.util.JMeterUtils;
 
 public class AjpSamplerGui extends HttpTestSampleGui {
 
@@ -34,7 +35,11 @@
     }
 
     public String getStaticLabel() {
-        return "AJP/1.3 Sampler"; //$NON-NLS-1$
+        return JMeterUtils.getResString(getLabelResource());
+    }
+    
+    public String getLabelResource() {
+        return "ajp_sampler_title"; // $NON-NLS-1$
     }
 
     public String getDocAnchor() {// reuse documentation

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=701162&r1=701161&r2=701162&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Thu Oct  2 08:42:42 2008
@@ -109,6 +109,7 @@
 <li>HTTPSamplers can now use variables in POSTed file names</li>
 <li>Bug 45831 - WS Sampler reports incorrect throughput if SOAP packet creation fails</li>
 <li>Bug 45887 - TCPSampler: timeout property incorrectly set</li>
+<li>Bug 45928 - AJP/1.3 Sampler doesn't retrieve his label from messages.properties</li>
 </ul>
 
 <h3>Improvements</h3>



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org