public class FTPSampler
extends org.apache.jmeter.samplers.AbstractSampler
implements org.apache.jmeter.samplers.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 |
| Constructor and Description |
|---|
FTPSampler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(org.apache.jmeter.config.ConfigTestElement configElement) |
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() |
boolean |
isBinaryMode() |
boolean |
isSaveResponse() |
boolean |
isUpload() |
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry e) |
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, 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, removed, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traversepublic 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 org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry e)
sample in interface org.apache.jmeter.samplers.Samplerpublic boolean interrupt()
interrupt in interface org.apache.jmeter.samplers.Interruptiblepublic boolean applies(org.apache.jmeter.config.ConfigTestElement configElement)
applies in interface org.apache.jmeter.engine.util.ConfigMergabilityIndicatorapplies in class org.apache.jmeter.samplers.AbstractSamplerAbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)Copyright © 1998-2021 Apache Software Foundation. All Rights Reserved.