Package org.apache.jmeter.protocol.http.sampler

Examples of org.apache.jmeter.protocol.http.sampler.SoapSampler


   * (non-Javadoc)
   *
   * @see org.apache.jmeter.gui.JMeterGUIComponent#createTestElement()
   */
  public TestElement createTestElement() {
    SoapSampler sampler = new SoapSampler();
    modifyTestElement(sampler);
    return sampler;
  }
View Full Code Here


   * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)
   */
  public void modifyTestElement(TestElement s) {
    this.configureTestElement(s);
    if (s instanceof SoapSampler) {
      SoapSampler sampler = (SoapSampler) s;
      sampler.setURLData(urlField.getText());
      sampler.setXmlData(soapXml.getText());
            sampler.setXmlFile(soapXmlFile.getFilename());
      sampler.setSOAPAction(soapAction.getText());
      sampler.setSendSOAPAction(sendSoapAction.isSelected());
      sampler.setUseKeepAlive(useKeepAlive.isSelected());
    }
  }
View Full Code Here

    add(mainPanel, BorderLayout.CENTER);
  }

  public void configure(TestElement el) {
    super.configure(el);
    SoapSampler sampler = (SoapSampler) el;
    urlField.setText(sampler.getURLData());
    sendSoapAction.setSelected(sampler.getSendSOAPAction());
    soapAction.setText(sampler.getSOAPAction());
    soapXml.setText(sampler.getXmlData());
        soapXmlFile.setFilename(sampler.getXmlFile());
        useKeepAlive.setSelected(sampler.getUseKeepAlive());
  }
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.apache.jmeter.gui.JMeterGUIComponent#createTestElement()
   */
  public TestElement createTestElement() {
    SoapSampler sampler = new SoapSampler();
    modifyTestElement(sampler);
    return sampler;
  }
View Full Code Here

   * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)
   */
  public void modifyTestElement(TestElement s) {
    this.configureTestElement(s);
    if (s instanceof SoapSampler) {
      SoapSampler sampler = (SoapSampler) s;
      sampler.setURLData(urlField.getText());
      sampler.setXmlData(soapXml.getText());
    }
  }
View Full Code Here

    add(mainPanel, BorderLayout.CENTER);
  }

  public void configure(TestElement el) {
    super.configure(el);
    SoapSampler sampler = (SoapSampler) el;
    urlField.setText(sampler.getURLData());
    soapXml.setText(sampler.getXmlData());
  }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.protocol.http.sampler.SoapSampler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.