public class DummySampler
extends org.apache.jmeter.samplers.AbstractSampler
implements org.apache.jmeter.samplers.Interruptible
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECT |
static String |
IS_SUCCESSFUL |
static String |
IS_WAITING |
static String |
LATENCY |
static String |
REQUEST_DATA |
static String |
RESPONSE_CODE |
static String |
RESPONSE_DATA |
static String |
RESPONSE_MESSAGE |
static String |
RESPONSE_TIME |
| Constructor and Description |
|---|
DummySampler() |
| Modifier and Type | Method and Description |
|---|---|
int |
getConnectTime() |
int |
getLatency() |
String |
getRequestData() |
String |
getResponseCode() |
String |
getResponseData() |
String |
getResponseMessage() |
int |
getResponseTime() |
boolean |
interrupt() |
boolean |
isSimulateWaiting() |
boolean |
isSuccessfull() |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry e) |
void |
setConnectTime(String time) |
void |
setLatency(String time) |
void |
setRequestData(String text) |
void |
setResponseCode(String text) |
void |
setResponseData(String text) |
void |
setResponseMessage(String text) |
void |
setResponseTime(String time) |
void |
setSimulateWaiting(boolean selected) |
void |
setSuccessful(boolean selected) |
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 IS_SUCCESSFUL
public static final String RESPONSE_CODE
public static final String RESPONSE_MESSAGE
public static final String RESPONSE_DATA
public static final String REQUEST_DATA
public static final String RESPONSE_TIME
public static final String LATENCY
public static final String CONNECT
public static final String IS_WAITING
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry e)
sample in interface org.apache.jmeter.samplers.Samplerpublic void setSuccessful(boolean selected)
public void setSimulateWaiting(boolean selected)
public void setResponseCode(String text)
public void setResponseMessage(String text)
public void setResponseData(String text)
public void setRequestData(String text)
public boolean isSuccessfull()
public boolean isSimulateWaiting()
public String getResponseCode()
public String getResponseMessage()
public String getResponseData()
public String getRequestData()
public int getResponseTime()
public int getLatency()
public void setResponseTime(String time)
public void setLatency(String time)
public void setConnectTime(String time)
public boolean interrupt()
interrupt in interface org.apache.jmeter.samplers.Interruptiblepublic int getConnectTime()
Copyright © 2016. All rights reserved.