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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to