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 wo...@apache.org on 2005/08/05 06:13:33 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui WebServiceSamplerGui.java

woolfel     2005/08/04 21:13:33

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/control/gui
                        WebServiceSamplerGui.java
  Log:
  fixes the bug I accidentally introduced. already fixed in 2.1 branch. now making the
  change in HEAD
  peter
  
  Revision  Changes    Path
  1.20      +3 -8      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java
  
  Index: WebServiceSamplerGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- WebServiceSamplerGui.java	12 Jul 2005 20:50:45 -0000	1.19
  +++ WebServiceSamplerGui.java	5 Aug 2005 04:13:33 -0000	1.20
  @@ -170,7 +170,7 @@
   		WebServiceSampler sampler = (WebServiceSampler) s;
   		this.configureTestElement(sampler);
   		sampler.setDomain(domain.getText());
  -		sampler.setPort(80);
  +		sampler.setProperty(HTTPSamplerBase.PORT,port.getText());
   		sampler.setPath(path.getText());
   		sampler.setWsdlURL(wsdlField.getText());
   		sampler.setMethod(HTTPSamplerBase.POST);
  @@ -280,12 +280,7 @@
   		WebServiceSampler sampler = (WebServiceSampler) el;
   		wsdlField.setText(sampler.getWsdlURL());
   		domain.setText(sampler.getDomain());
  -		String portstring = sampler.getPropertyAsString(HTTPSamplerBase.PORT);
  -		if (portstring.equals("" + HTTPSamplerBase.UNSPECIFIED_PORT)) {
  -			port.setText("");
  -		} else {
  -			port.setText(portstring);
  -		}
  +        port.setText(sampler.getPropertyAsString(HTTPSamplerBase.PORT));
   		path.setText(sampler.getPath());
   		soapAction.setText(sampler.getSoapAction());
   		soapXml.setText(sampler.getXmlData());
  
  
  

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