A sampler which understands Tcp requests.
CLASSNAME
public static final String CLASSNAME
FILENAME
public static final String FILENAME
NODELAY
public static final String NODELAY
PORT
public static final String PORT
REQUEST
public static final String REQUEST
RE_USE_CONNECTION
public static final String RE_USE_CONNECTION
SERVER
public static final String SERVER
TIMEOUT
public static final String TIMEOUT
getClassname
public String getClassname()
getFilename
public String getFilename()
getLabel
public String getLabel()
Returns a formatted string label describing this sampler Example output:
Tcp://Tcp.nowhere.com/pub/README.txt
- a formatted string label describing this sampler
getNoDelay
public boolean getNoDelay()
getPassword
public String getPassword()
getPort
public int getPort()
getRequestData
public String getRequestData()
getServer
public String getServer()
getTimeout
public int getTimeout()
getUsername
public String getUsername()
isReUseConnection
public boolean isReUseConnection()
sample
public SampleResult sample(Entry e)
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
- sample in interface Sampler
setClassname
public void setClassname(String classname)
setFilename
public void setFilename(String newFilename)
setNoDelay
public void setNoDelay(String newNoDelay)
setPort
public void setPort(String newFilename)
setReUseConnection
public void setReUseConnection(String reuse)
setRequestData
public void setRequestData(String newRequestData)
setServer
public void setServer(String newServer)
setTimeout
public void setTimeout(String newTimeout)
threadFinished
public void threadFinished()
Called once for each thread at the end of a test
- threadFinished in interface ThreadListener
org.apache.jmeter.threads.JMeterThread.threadFinished()
threadStarted
public void threadStarted()
Called just before the start of the thread
- threadStarted in interface ThreadListener
org.apache.jmeter.threads.JMeterThread.threadStarted()