Class HttpMirrorControl

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

public class HttpMirrorControl extends AbstractTestElement
Test element that implements the Workbench HTTP Mirror function
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
      Called by Remove to determine if it is safe to remove the element. The element can either clean itself up, and return true, or the element can return false.
      Specified by:
      canRemove in interface TestElement
      Overrides:
      canRemove in class AbstractTestElement
      Returns:
      true if safe to remove the element
    • isServerAlive

      public boolean isServerAlive()