Package org.apache.jmeter.protocol.http.control.gui

Examples of org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui


    public HTTPSampler getSampler()
        throws MalformedURLException, IOException, ProtocolException
    {
      // Damn! A whole new GUI just to instantiate a test element?
      // Isn't there a beter way?
        HttpTestSampleGui tempGui = new HttpTestSampleGui();
        HTTPSampler result = createSampler();
        tempGui.configure(result);
        tempGui.modifyTestElement(result);
        result.setFollowRedirects(false);
        result.setUseKeepAlive(true);
        return result;
    }
View Full Code Here


    return manager;
  }
  public HTTPSampler getSampler()
    throws MalformedURLException, IOException, ProtocolException
  {
    HttpTestSampleGui tempGui = new HttpTestSampleGui();
    tempGui.configure(createSampler());
    HTTPSampler result = (HTTPSampler) tempGui.createTestElement();
    result.setFollowRedirects(false);
    result.setUseKeepAlive(true);
    return result;
  }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui

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.