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 2006/02/14 19:11:26 UTC
svn commit: r377791 - in /jakarta/jmeter/branches/rel-2-1:
src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
xdocs/changes.xml
Author: sebb
Date: Tue Feb 14 10:11:24 2006
New Revision: 377791
URL: http://svn.apache.org/viewcvs?rev=377791&view=rev
Log:
Bug 35792 - Fix WebService Sampler to allow functions/variables in string fields
Modified:
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
Modified: jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java?rev=377791&r1=377790&r2=377791&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java (original)
+++ jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java Tue Feb 14 10:11:24 2006
@@ -44,6 +44,7 @@
import org.apache.jmeter.protocol.http.control.Authorization;
import org.apache.jmeter.protocol.http.util.DOMPool;
import org.apache.jmeter.samplers.SampleResult;
+import org.apache.jmeter.testelement.property.StringProperty;
import org.apache.jmeter.util.JMeterUtils;
import org.apache.log.Logger;
import org.apache.soap.Envelope;
@@ -107,7 +108,7 @@
* Set the path where XML messages are stored for random selection.
*/
public void setXmlPathLoc(String path) {
- setProperty(XML_PATH_LOC, path);
+ setProperty(new StringProperty(XML_PATH_LOC, path));
}
/**
@@ -125,7 +126,7 @@
* @param filename
*/
public void setXmlFile(String filename) {
- setProperty(XML_DATA_FILE, filename);
+ setProperty(new StringProperty(XML_DATA_FILE, filename));
}
/**
@@ -193,7 +194,7 @@
* @param data
*/
public void setXmlData(String data) {
- setProperty(XML_DATA, data);
+ setProperty(new StringProperty(XML_DATA, data));
}
/**
@@ -211,7 +212,7 @@
* @param data
*/
public void setSoapAction(String data) {
- setProperty(SOAP_ACTION, data);
+ setProperty(new StringProperty(SOAP_ACTION, data));
}
/**
@@ -265,7 +266,7 @@
* @param proxy
*/
public void setUseProxy(boolean proxy) {
- setProperty(USE_PROXY, String.valueOf(proxy));
+ setProperty(new StringProperty(USE_PROXY, String.valueOf(proxy)));
}
/**
@@ -283,7 +284,7 @@
* @param host
*/
public void setProxyHost(String host) {
- setProperty(PROXY_HOST, host);
+ setProperty(new StringProperty(PROXY_HOST, host));
}
/**
@@ -302,7 +303,7 @@
* @param port
*/
public void setProxyPort(String port) {
- setProperty(PROXY_PORT, port);
+ setProperty(new StringProperty(PROXY_PORT, port));
}
/**
@@ -320,7 +321,7 @@
* @param url
*/
public void setWsdlURL(String url) {
- this.setProperty(WSDL_URL, url);
+ this.setProperty(new StringProperty(WSDL_URL, url));
}
/**
Modified: jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml?rev=377791&r1=377790&r2=377791&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml Tue Feb 14 10:11:24 2006
@@ -68,6 +68,7 @@
<li>Bug 38554 - Random function now uses long numbers</li>
<li>Bug 35224 - allow duplicate attributes for LDAP sampler</li>
<li>Bug 37278 - Fix Include controller to allow functions/variables in file name field</li>
+<li>Bug 35792 - Fix WebService Sampler to allow functions/variables in string fields</li>
</ul>
<h4>Other changes</h4>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org