DEFAULT_PORT
public static final int DEFAULT_PORT
DEFAULT_PORT_S
public static final String DEFAULT_PORT_S
GROUPING_ADD_SEPARATORS
public static final int GROUPING_ADD_SEPARATORS
GROUPING_IN_CONTROLLERS
public static final int GROUPING_IN_CONTROLLERS
GROUPING_NO_GROUPS
public static final int GROUPING_NO_GROUPS
GROUPING_STORE_FIRST_ONLY
public static final int GROUPING_STORE_FIRST_ONLY
SAMPLER_TYPE_HTTP_SAMPLER
public static final int SAMPLER_TYPE_HTTP_SAMPLER
SAMPLER_TYPE_HTTP_SAMPLER2
public static final int SAMPLER_TYPE_HTTP_SAMPLER2
addConfigElement
public void addConfigElement(ConfigElement config)
addExcludedPattern
public void addExcludedPattern(String pattern)
addIncludedPattern
public void addIncludedPattern(String pattern)
canRemove
public boolean canRemove()
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.
- canRemove in interface TestElement
- canRemove in interface AbstractTestElement
- true if safe to remove the element
clearExcludedPatterns
public void clearExcludedPatterns()
clearIncludedPatterns
public void clearIncludedPatterns()
deliverSampler
public 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. A future consideration.
getAssertions
public boolean getAssertions()
getCaptureHttpHeaders
public boolean getCaptureHttpHeaders()
getContentTypeExclude
public String getContentTypeExclude()
getContentTypeInclude
public String getContentTypeInclude()
getDefaultPort
public int getDefaultPort()
getGroupingMode
public int getGroupingMode()
getGuiClass
public Class getGuiClass()
getHttpsSpoof
public boolean getHttpsSpoof()
getHttpsSpoofMatch
public String getHttpsSpoofMatch()
getPort
public int getPort()
getPortString
public String getPortString()
getRegexMatch
public boolean getRegexMatch()
getSamplerDownloadImages
public boolean getSamplerDownloadImages()
getSamplerFollowRedirects
public boolean getSamplerFollowRedirects()
getSamplerRedirectAutomatically
public boolean getSamplerRedirectAutomatically()
getSamplerTypeName
public int getSamplerTypeName()
getUseKeepalive
public boolean getUseKeepalive()
setAssertions
public void setAssertions(boolean b)
setCaptureHttpHeaders
public void setCaptureHttpHeaders(boolean capture)
setContentTypeExclude
public void setContentTypeExclude(String contentTypeExclude)
setContentTypeInclude
public void setContentTypeInclude(String contentTypeInclude)
setExcludeList
public void setExcludeList(Collection list)
setGroupingMode
public void setGroupingMode(int grouping)
setHttpsSpoof
public void setHttpsSpoof(boolean b)
setHttpsSpoofMatch
public void setHttpsSpoofMatch(String s)
setIncludeList
public void setIncludeList(Collection list)
setPort
public void setPort(String port)
setPort
public void setPort(int port)
setRegexMatch
public void setRegexMatch(boolean b)
setSamplerDownloadImages
public void setSamplerDownloadImages(boolean b)
setSamplerFollowRedirects
public void setSamplerFollowRedirects(boolean b)
setSamplerRedirectAutomatically
public void setSamplerRedirectAutomatically(boolean b)
setSamplerTypeName
public void setSamplerTypeName(int samplerTypeName)
setTarget
public void setTarget(JMeterTreeNode target)
Sets the target node where the samples generated by the proxy have to be
stored.
setUseKeepAlive
public void setUseKeepAlive(boolean b)
startProxy
public void startProxy()
throws IOException
stopProxy
public void stopProxy()