public abstract class AbstractIPSampler extends org.apache.jmeter.samplers.AbstractSampler implements Serializable, Cloneable, org.apache.jmeter.samplers.Interruptible
| Modifier and Type | Field and Description |
|---|---|
static String |
CRLF |
static String |
DATA |
static String |
EMPTY |
static String |
HOSTNAME |
static String |
PORT |
static String |
RC200 |
static String |
RC500 |
static String |
RECV_BUFFER_LEN_PROPERTY |
protected static int |
recvBufSize |
protected int |
recvDataLimit |
static String |
RESULT_DATA_LIMIT |
static String |
TIMEOUT |
| Constructor and Description |
|---|
AbstractIPSampler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractSelectableChannel |
getChannel() |
String |
getHostName() |
String |
getPort() |
protected int |
getPortAsInt() |
ByteBuffer |
getRecvBuf() |
String |
getRequestData() |
String |
getTimeout() |
protected int |
getTimeoutAsInt() |
protected abstract byte[] |
processIO(org.apache.jmeter.samplers.SampleResult res) |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry entry) |
void |
setHostName(String text) |
void |
setPort(String text) |
void |
setRequestData(String text) |
void |
setTimeout(String text) |
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, traversePropertyfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddTestElement, 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, traversepublic static final String RECV_BUFFER_LEN_PROPERTY
public static final String RESULT_DATA_LIMIT
public static final String HOSTNAME
public static final String PORT
public static final String TIMEOUT
public static final String DATA
public static final String CRLF
public static final String EMPTY
public static final String RC200
public static final String RC500
protected static final int recvBufSize
protected final int recvDataLimit
public ByteBuffer getRecvBuf()
public final String getHostName()
public String getPort()
public String getRequestData()
public String getTimeout()
public void setHostName(String text)
public void setPort(String text)
public void setRequestData(String text)
public void setTimeout(String text)
protected int getPortAsInt()
protected int getTimeoutAsInt()
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry entry)
sample in interface org.apache.jmeter.samplers.Samplerprotected abstract AbstractSelectableChannel getChannel() throws IOException
IOExceptionCopyright © 2016. All rights reserved.