Class HttpMirrorControl
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Cloneable,org.apache.jmeter.gui.Searchable,org.apache.jmeter.testelement.TestElement
public class HttpMirrorControl extends AbstractTestElementTest element that implements the Workbench HTTP Mirror function For unit tests, @see TestHttpMirrorControl
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringDEFAULT_PORT_Spublic final static StringPORTpublic final static StringMAX_POOL_SIZEpublic final static StringMAX_QUEUE_SIZEpublic final static intDEFAULT_MAX_POOL_SIZEpublic final static intDEFAULT_MAX_QUEUE_SIZEpublic transient JMeterContextthreadContextpublic transient StringthreadNamepublic final static TestElement.CompanionCompanionpublic final static StringNAMEpublic final static StringGUI_CLASSpublic final static StringENABLEDpublic final static StringTEST_CLASSpublic final static StringCOMMENTS
-
Constructor Summary
Constructors Constructor Description HttpMirrorControl()HttpMirrorControl(int port)
-
Method Summary
Modifier and Type Method Description voidsetPort(int port)voidsetPort(String port)intgetPort()StringgetPortString()StringgetMaxPoolSizeAsString()voidsetMaxPoolSize(String maxPoolSize)StringgetMaxQueueSizeAsString()voidsetMaxQueueSize(String maxQueueSize)intgetDefaultPort()voidstartHttpMirror()voidstopHttpMirror()booleancanRemove()booleanisServerAlive()-
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addTestElement, clear, clearTestElementChildren, clone, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse -
Methods inherited from class org.apache.jmeter.testelement.TestElement
get, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getProps, getSchema, getString, removed, set -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setPort
void setPort(int port)
-
getPort
int getPort()
-
getPortString
String getPortString()
-
getMaxPoolSizeAsString
String getMaxPoolSizeAsString()
- Returns:
Max Thread Pool size
-
setMaxPoolSize
void setMaxPoolSize(String maxPoolSize)
- Parameters:
maxPoolSize- Max Thread Pool size
-
getMaxQueueSizeAsString
String getMaxQueueSizeAsString()
- Returns:
Max Queue size
-
setMaxQueueSize
void setMaxQueueSize(String maxQueueSize)
- Parameters:
maxQueueSize- Max Queue size
-
getDefaultPort
int getDefaultPort()
-
startHttpMirror
void startHttpMirror()
-
stopHttpMirror
void stopHttpMirror()
-
canRemove
boolean canRemove()
-
isServerAlive
boolean isServerAlive()
-
-
-
-