public class FTPSampler extends AbstractSampler implements Interruptible
Modifier and Type | Field and Description |
---|---|
static String |
BINARY_MODE |
static String |
INPUT_DATA |
static String |
LOCAL_FILENAME |
static String |
PORT |
static String |
REMOTE_FILENAME |
static String |
SAVE_RESPONSE |
static String |
SERVER |
static String |
UPLOAD_FILE |
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
FTPSampler() |
Modifier and Type | Method and Description |
---|---|
boolean |
applies(ConfigTestElement configElement)
Does configElement apply to Sampler
|
String |
getLabel()
Returns a formatted string label describing this sampler Example output:
ftp://ftp.nowhere.com/pub/README.txt
|
String |
getLocalFilename() |
String |
getPassword() |
String |
getPort() |
int |
getPortAsInt() |
String |
getRemoteFilename() |
String |
getServer() |
String |
getUsername() |
boolean |
interrupt()
Interrupt the current operation if possible.
|
boolean |
isBinaryMode() |
boolean |
isSaveResponse() |
boolean |
isUpload() |
SampleResult |
sample(Entry e)
Obtains statistics about the given Entry, and packages the information
into a SampleResult.
|
void |
setPort(String newPort) |
void |
setServer(String newServer) |
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
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
public static final String SERVER
public static final String PORT
public static final String REMOTE_FILENAME
public static final String LOCAL_FILENAME
public static final String INPUT_DATA
public static final String BINARY_MODE
public static final String UPLOAD_FILE
public static final String SAVE_RESPONSE
public String getUsername()
public String getPassword()
public void setServer(String newServer)
public String getServer()
public void setPort(String newPort)
public String getPort()
public int getPortAsInt()
public String getRemoteFilename()
public String getLocalFilename()
public boolean isBinaryMode()
public boolean isSaveResponse()
public boolean isUpload()
public String getLabel()
public SampleResult sample(Entry e)
Sampler
public boolean interrupt()
interrupt
in interface Interruptible
true
if there was an operation to interrupt.public boolean applies(ConfigTestElement configElement)
AbstractSampler
applies
in interface ConfigMergabilityIndicator
applies
in class AbstractSampler
configElement
- ConfigTestElement
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.