org.apache.jmeter.protocol.ftp.sampler
Class FTPSampler
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
org.apache.jmeter.protocol.ftp.sampler.FTPSampler
- All Implemented Interfaces:
- Cloneable, Sampler, Serializable, TestElement
- public class FTPSampler
- extends AbstractSampler
A sampler which understands FTP file requests.
- Version:
- $Revision: 1.10 $ last updated $Date: 2004/02/11 23:59:31 $
- See Also:
- Serialized Form
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 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 |
SERVER
public static final String SERVER
- See Also:
- Constant Field Values
FILENAME
public static final String FILENAME
- See Also:
- Constant Field Values
FTPSampler
public FTPSampler()
getUsername
public String getUsername()
getPassword
public String getPassword()
setServer
public void setServer(String newServer)
getServer
public String getServer()
setFilename
public void setFilename(String newFilename)
getFilename
public String getFilename()
getLabel
public String getLabel()
- Returns a formatted string label describing this sampler
Example output:
ftp://ftp.nowhere.com/pub/README.txt
- Returns:
- a formatted string label describing this sampler
sample
public SampleResult sample(Entry e)
- Description copied from interface:
Sampler
- Obtains statistics about the given Entry, and packages the information
into a SampleResult.
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.