public class HTTPSampleResult extends SampleResult
BINARY, DEFAULT_ENCODING, DEFAULT_HTTP_ENCODING, EMPTY_BA, TEXT| Constructor and Description |
|---|
HTTPSampleResult() |
HTTPSampleResult(HTTPSampleResult res)
Construct a 'parent' result for an already-existing result, essentially
cloning it
|
HTTPSampleResult(long elapsed) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCookies() |
String |
getDataEncodingNoDefault()
Overrides the method from SampleResult - so the encoding can be extracted from
the Meta content-type if necessary.
|
String |
getHTTPMethod() |
String |
getQueryString()
Fetch the query string
|
String |
getRedirectLocation() |
String |
getSamplerData()
Overrides version in Sampler data to provide more details
|
boolean |
isRedirect()
Determine whether this result is a redirect.
|
void |
setCookies(String string) |
void |
setHTTPMethod(String method) |
void |
setQueryString(String string)
Save the query string
|
void |
setRedirectLocation(String redirectLocation) |
void |
setResponseNoContent() |
addAssertionResult, addRawSubResult, addSubResult, cleanAfterSample, createTestSample, createTestSample, currentTimeInMillis, getAllThreads, getAssertionResults, getBodySize, getBytes, getContentType, getDataEncodingWithDefault, getDataEncodingWithDefault, getDataType, getEndTime, getErrorCount, getGroupThreads, getHeadersSize, getIdleTime, getLatency, getMediaType, getParent, getRequestHeaders, getResponseCode, getResponseData, getResponseDataAsString, getResponseHeaders, getResponseMessage, getResultFileName, getSampleCount, getSampleLabel, getSampleLabel, getSaveConfig, getStartTime, getSubResults, getThreadName, getTime, getTimeStamp, getURL, getUrlAsString, isMonitor, isResponseCodeOK, isStampedAtStart, isStartNextThreadLoop, isStopTest, isStopTestNow, isStopThread, isSuccessful, latencyEnd, markFile, removeAssertionResults, removeSubResults, sampleEnd, samplePause, sampleResume, sampleStart, setAllThreads, setBodySize, setBytes, setContentType, setDataEncoding, setDataType, setEncodingAndType, setEndTime, setErrorCount, setGroupThreads, setHeadersSize, setIdleTime, setLatency, setMonitor, setParent, setRequestHeaders, setResponseCode, setResponseCodeOK, setResponseData, setResponseData, setResponseData, setResponseHeaders, setResponseMessage, setResponseMessageOK, setResponseOK, setResultFileName, setSampleCount, setSampleLabel, setSamplerData, setSaveConfig, setStampAndTime, setStartNextThreadLoop, setStartTime, setStopTest, setStopTestNow, setStopThread, setSuccessful, setThreadName, setTimeStamp, setURL, storeSubResult, toStringpublic HTTPSampleResult()
public HTTPSampleResult(long elapsed)
public HTTPSampleResult(HTTPSampleResult res)
res - existing sample resultpublic void setHTTPMethod(String method)
public String getHTTPMethod()
public void setRedirectLocation(String redirectLocation)
public String getRedirectLocation()
public boolean isRedirect()
public String getSamplerData()
getSamplerData in class SampleResultpublic String getCookies()
public void setCookies(String string)
string - representing the cookiespublic String getQueryString()
public void setQueryString(String string)
string - the query stringpublic String getDataEncodingNoDefault()
getDataEncodingNoDefault in class SampleResultpublic void setResponseNoContent()
Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.