Class HttpMirrorControl

java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.protocol.http.control.HttpMirrorControl
All Implemented Interfaces:
Serializable, Cloneable, Searchable, org.apache.jmeter.testelement.TestElement

public class HttpMirrorControl extends AbstractTestElement
Test element that implements the Workbench HTTP Mirror function For unit tests, @see TestHttpMirrorControl
See Also:
  • Field Details

  • Constructor Details

    • HttpMirrorControl

      public HttpMirrorControl()
    • HttpMirrorControl

      public HttpMirrorControl(int port)
  • Method Details

    • setPort

      public void setPort(int port)
    • setPort

      public void setPort(String port)
    • getPort

      public int getPort()
    • getPortString

      public String getPortString()
    • getMaxPoolSizeAsString

      public String getMaxPoolSizeAsString()
      Returns:
      Max Thread Pool size
    • setMaxPoolSize

      public void setMaxPoolSize(String maxPoolSize)
      Parameters:
      maxPoolSize - Max Thread Pool size
    • getMaxQueueSizeAsString

      public String getMaxQueueSizeAsString()
      Returns:
      Max Queue size
    • setMaxQueueSize

      public void setMaxQueueSize(String maxQueueSize)
      Parameters:
      maxQueueSize - Max Queue size
    • getDefaultPort

      public int getDefaultPort()
    • startHttpMirror

      public void startHttpMirror()
    • stopHttpMirror

      public void stopHttpMirror()
    • canRemove

      public boolean canRemove()
      Description copied from class: AbstractTestElement
      Specified by:
      canRemove in interface org.apache.jmeter.testelement.TestElement
      Overrides:
      canRemove in class AbstractTestElement
    • isServerAlive

      public boolean isServerAlive()