|
Apache JMeter 2.0.1.20050615 |
|||||||||
| 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
org.apache.jmeter.protocol.tcp.sampler.TCPSampler
A sampler which understands Tcp requests.
| Field Summary | |
static String |
CLASSNAME
|
static String |
FILENAME
|
static String |
NODELAY
|
static String |
PORT
|
static String |
REQUEST
|
static String |
SERVER
|
static String |
TIMEOUT
|
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
TCPSampler()
|
|
| Method Summary | |
String |
getFilename()
|
String |
getLabel()
Returns a formatted string label describing this sampler Example output: Tcp://Tcp.nowhere.com/pub/README.txt |
boolean |
getNoDelay()
|
String |
getPassword()
|
int |
getPort()
|
String |
getRequestData()
|
String |
getServer()
|
int |
getTimeout()
|
String |
getUsername()
|
SampleResult |
sample(Entry e)
Obtains statistics about the given Entry, and packages the information into a SampleResult. |
void |
setFilename(String newFilename)
|
void |
setNoDelay(String newNoDelay)
|
void |
setPort(String newFilename)
|
void |
setRequestData(String newRequestData)
|
void |
setServer(String newServer)
|
void |
setTimeout(String newTimeout)
|
void |
testEnded()
Called once for all threads after the end of a test |
void |
testEnded(String host)
|
void |
testIterationStart(LoopIterationEvent event)
Each time through a Thread Group's test script, an iteration event is fired. |
void |
testStarted()
Called just before the start of the test Note that not all the test variables will have been set up at this point. |
void |
testStarted(String host)
|
| Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.testelement.TestElement |
addTestElement, canRemove, clear, clone, getProperty, getPropertyAsBoolean, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse |
| Field Detail |
public static final String SERVER
public static final String PORT
public static final String FILENAME
public static final String CLASSNAME
public static final String NODELAY
public static final String TIMEOUT
public static final String REQUEST
| Constructor Detail |
public TCPSampler()
| Method Detail |
public String getUsername()
public String getPassword()
public void setServer(String newServer)
public String getServer()
public void setPort(String newFilename)
public int getPort()
public void setFilename(String newFilename)
public String getFilename()
public void setRequestData(String newRequestData)
public String getRequestData()
public void setTimeout(String newTimeout)
public int getTimeout()
public void setNoDelay(String newNoDelay)
public boolean getNoDelay()
public String getLabel()
public SampleResult sample(Entry e)
Sampler
sample in interface Samplerpublic void testStarted()
TestListener
testStarted in interface TestListenerStandardJMeterEngine.run()public void testEnded()
TestListener
testEnded in interface TestListenerStandardJMeterEngine.stopTest()public void testStarted(String host)
testStarted in interface TestListenerpublic void testEnded(String host)
testEnded in interface TestListenerpublic void testIterationStart(LoopIterationEvent event)
TestListener
testIterationStart in interface TestListenerevent -
|
Apache JMeter 2.0.1.20050615 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||