|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
kg.apc.jmeter.samplers.AbstractIPSampler
kg.apc.jmeter.samplers.HTTPRawSampler
public class HTTPRawSampler
| Field Summary | |
|---|---|
protected static org.apache.log.Logger |
log
|
| Fields inherited from class kg.apc.jmeter.samplers.AbstractIPSampler |
|---|
CRLF, DATA, EMPTY, HOSTNAME, PORT, RC200, RC500, RECV_BUFFER_LEN_PROPERTY, recvBufSize, recvDataLimit, RESULT_DATA_LIMIT, TIMEOUT |
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
|---|---|
HTTPRawSampler()
|
|
| Method Summary | |
|---|---|
protected AbstractSelectableChannel |
getChannel()
|
String |
getFileToSend()
|
protected SocketChannel |
getSocketChannel()
|
boolean |
interrupt()
|
boolean |
isParseResult()
|
boolean |
isUseKeepAlive()
|
protected byte[] |
processIO(org.apache.jmeter.samplers.SampleResult res)
|
protected byte[] |
readResponse(SocketChannel channel,
org.apache.jmeter.samplers.SampleResult res)
|
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry entry)
|
void |
setFileToSend(String text)
|
void |
setParseResult(boolean selected)
|
void |
setUseKeepAlive(boolean selected)
|
| Methods inherited from class kg.apc.jmeter.samplers.AbstractIPSampler |
|---|
getHostName, getPort, getPortAsInt, getRecvBuf, getRequestData, getTimeout, getTimeoutAsInt, setHostName, setPort, setRequestData, setTimeout |
| Methods inherited from class org.apache.jmeter.samplers.AbstractSampler |
|---|
applies |
| Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
|---|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, 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, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
| Field Detail |
|---|
protected static final org.apache.log.Logger log
| Constructor Detail |
|---|
public HTTPRawSampler()
| Method Detail |
|---|
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry entry)
sample in interface org.apache.jmeter.samplers.Samplersample in class AbstractIPSampler
protected byte[] readResponse(SocketChannel channel,
org.apache.jmeter.samplers.SampleResult res)
throws IOException
IOException
protected byte[] processIO(org.apache.jmeter.samplers.SampleResult res)
throws Exception
processIO in class AbstractIPSamplerException
protected SocketChannel getSocketChannel()
throws IOException
IOExceptionpublic boolean isUseKeepAlive()
public void setUseKeepAlive(boolean selected)
protected AbstractSelectableChannel getChannel()
throws IOException
getChannel in class AbstractIPSamplerIOExceptionpublic boolean isParseResult()
public void setParseResult(boolean selected)
public String getFileToSend()
public void setFileToSend(String text)
public boolean interrupt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||