public class ProxyControl extends GenericController
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static String |
DEFAULT_PORT_S |
current, subControllersAndSamplersCOMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS| Constructor and Description |
|---|
ProxyControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigElement(ConfigElement config) |
void |
addExcludedPattern(String pattern) |
void |
addIncludedPattern(String pattern) |
boolean |
canRemove()
Called by Remove to determine if it is safe to remove the element.
|
void |
clearExcludedPatterns() |
void |
clearIncludedPatterns() |
void |
deliverSampler(HTTPSamplerBase sampler,
TestElement[] subConfigs,
SampleResult result)
Receives the recorded sampler from the proxy server for placing in the
test tree. param serverResponse to be added to allow saving of the
server's response while recording.
|
boolean |
getAssertions() |
boolean |
getCaptureHttpHeaders() |
String |
getContentTypeExclude() |
String |
getContentTypeInclude() |
int |
getDefaultPort() |
CollectionProperty |
getExcludePatterns() |
int |
getGroupingMode() |
CollectionProperty |
getIncludePatterns() |
int |
getPort() |
String |
getPortString() |
boolean |
getRegexMatch() |
boolean |
getSamplerDownloadImages() |
boolean |
getSamplerFollowRedirects() |
boolean |
getSamplerRedirectAutomatically() |
String |
getSamplerTypeName() |
JMeterTreeNode |
getTarget() |
boolean |
getUseKeepalive() |
void |
setAssertions(boolean b) |
void |
setCaptureHttpHeaders(boolean capture) |
void |
setContentTypeExclude(String contentTypeExclude) |
void |
setContentTypeInclude(String contentTypeInclude) |
void |
setExcludeList(Collection<String> list) |
void |
setGroupingMode(int grouping) |
void |
setIncludeList(Collection<String> list) |
void |
setPort(int port) |
void |
setPort(String port) |
void |
setRegexMatch(boolean b) |
void |
setSamplerDownloadImages(boolean b) |
void |
setSamplerFollowRedirects(boolean b) |
void |
setSamplerRedirectAutomatically(boolean b) |
void |
setSamplerTypeName(int samplerTypeName)
Deprecated.
|
void |
setSamplerTypeName(String samplerTypeName) |
void |
setTarget(JMeterTreeNode target)
Sets the target node where the samples generated by the proxy have to be
stored.
|
void |
setUseKeepAlive(boolean b) |
void |
startProxy() |
void |
stopProxy() |
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoopaddPropertiesValues, addProperty, addProperty, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitclear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traversepublic static final int DEFAULT_PORT
public static final String DEFAULT_PORT_S
public void setPort(int port)
public void setPort(String port)
public void setCaptureHttpHeaders(boolean capture)
public void setGroupingMode(int grouping)
public void setAssertions(boolean b)
@Deprecated public void setSamplerTypeName(int samplerTypeName)
public void setSamplerTypeName(String samplerTypeName)
public void setSamplerRedirectAutomatically(boolean b)
public void setSamplerFollowRedirects(boolean b)
public void setUseKeepAlive(boolean b)
b - public void setSamplerDownloadImages(boolean b)
public void setIncludeList(Collection<String> list)
public void setExcludeList(Collection<String> list)
public void setRegexMatch(boolean b)
b - public void setContentTypeExclude(String contentTypeExclude)
public void setContentTypeInclude(String contentTypeInclude)
public boolean getAssertions()
public int getGroupingMode()
public int getPort()
public String getPortString()
public int getDefaultPort()
public boolean getCaptureHttpHeaders()
public String getSamplerTypeName()
public boolean getSamplerRedirectAutomatically()
public boolean getSamplerFollowRedirects()
public boolean getUseKeepalive()
public boolean getSamplerDownloadImages()
public boolean getRegexMatch()
public String getContentTypeExclude()
public String getContentTypeInclude()
public void addConfigElement(ConfigElement config)
public void startProxy()
throws IOException
IOExceptionpublic void addExcludedPattern(String pattern)
public CollectionProperty getExcludePatterns()
public void addIncludedPattern(String pattern)
public CollectionProperty getIncludePatterns()
public void clearExcludedPatterns()
public void clearIncludedPatterns()
public JMeterTreeNode getTarget()
public void setTarget(JMeterTreeNode target)
public void deliverSampler(HTTPSamplerBase sampler, TestElement[] subConfigs, SampleResult result)
public void stopProxy()
public boolean canRemove()
AbstractTestElementcanRemove in interface TestElementcanRemove in class AbstractTestElementCopyright © 1998-2013 Apache Software Foundation. All Rights Reserved.