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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

woolfel
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: [hidden email]
For additional commands, e-mail: [hidden email]