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
Test element that implements the Workbench HTTP Mirror function
 For unit tests, @see TestHttpMirrorControl
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElementorg.apache.jmeter.testelement.TestElement.Companion
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.apache.jmeter.testelement.TestElementCOMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanintintgetPort()booleanvoidsetMaxPoolSize(String maxPoolSize) voidsetMaxQueueSize(String maxQueueSize) voidsetPort(int port) voidvoidvoidMethods inherited from class org.apache.jmeter.testelement.AbstractTestElementaddPropertiesValues, addProperty, addProperty, addTestElement, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElementget, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, set
- 
Field Details- 
DEFAULT_PORT_S
- 
PORT- See Also:
 
- 
MAX_POOL_SIZE- See Also:
 
- 
MAX_QUEUE_SIZE- See Also:
 
- 
DEFAULT_MAX_POOL_SIZEpublic static final int DEFAULT_MAX_POOL_SIZE- See Also:
 
- 
DEFAULT_MAX_QUEUE_SIZEpublic static final int DEFAULT_MAX_QUEUE_SIZE- See Also:
 
 
- 
- 
Constructor Details- 
HttpMirrorControlpublic HttpMirrorControl()
- 
HttpMirrorControlpublic HttpMirrorControl(int port) 
 
- 
- 
Method Details- 
setPortpublic void setPort(int port) 
- 
setPort
- 
getPortpublic int getPort()
- 
getPortString
- 
getMaxPoolSizeAsString- Returns:
- Max Thread Pool size
 
- 
setMaxPoolSize- Parameters:
- maxPoolSize- Max Thread Pool size
 
- 
getMaxQueueSizeAsString- Returns:
- Max Queue size
 
- 
setMaxQueueSize- Parameters:
- maxQueueSize- Max Queue size
 
- 
getDefaultPortpublic int getDefaultPort()
- 
startHttpMirrorpublic void startHttpMirror()
- 
stopHttpMirrorpublic void stopHttpMirror()
- 
canRemovepublic boolean canRemove()Description copied from class:AbstractTestElement- Specified by:
- canRemovein interface- org.apache.jmeter.testelement.TestElement
- Overrides:
- canRemovein class- AbstractTestElement
 
- 
isServerAlivepublic boolean isServerAlive()
 
-