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/06/07 03:34:41 UTC

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

woolfel     2005/06/06 18:34:40

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/control/gui
                        WebServiceSamplerGui.java
  Log:
  cleaned up the code a bit, still need to make sure the webservice will work correctly
  in console mode.
  
  peter
  
  Revision  Changes    Path
  1.17      +3 -20     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.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- WebServiceSamplerGui.java	1 Jun 2005 01:28:43 -0000	1.16
  +++ WebServiceSamplerGui.java	7 Jun 2005 01:34:40 -0000	1.17
  @@ -172,24 +172,7 @@
       {
           WebServiceSampler sampler = new WebServiceSampler();
           this.configureTestElement(sampler);
  -        sampler.setDomain(domain.getText());
  -        if (port.getText() != null && port.getText().length() > 0){
  -            sampler.setPort(Integer.parseInt(port.getText()));
  -        } else {
  -            sampler.setPort(80);
  -        }
  -        sampler.setPath(path.getText());
  -        sampler.setMethod(HTTPSamplerBase.POST);
  -        sampler.setSoapAction(soapAction.getText());
  -        sampler.setXmlData(soapXml.getText());
  -        sampler.setXmlFile(soapXmlFile.getFilename());
  -        sampler.setXmlPathLoc(randomXmlFile.getText());
  -        sampler.setMemoryCache(memCache.isSelected());
  -        sampler.setReadResponse(readResponse.isSelected());
  -        sampler.setUseProxy(useProxy.isSelected());
  -        sampler.setProxyHost(proxyHost.getText());
  -        sampler.setProxyPort(proxyPort.getText());
  -
  +        this.modifyTestElement(sampler);
   		return sampler;
       }
   
  
  
  

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