Method from org.apache.jmeter.protocol.ftp.config.FtpConfig Detail: |
public String getFilename() {
return getPropertyAsString(FTPSampler.FILENAME);
}
|
public String getLabel() {
return ("ftp://" + this.getServer() + "/" + this.getFilename());
}
Returns a formatted string label describing this sampler
Example output:
ftp://ftp.nowhere.com/pub/README.txt |
public String getServer() {
return getPropertyAsString(FTPSampler.SERVER);
}
|
public boolean isComplete() {
if ((getServer() != null)
&& (getFilename() != null)
&& (!getServer().equals(""))
&& (!getFilename().equals("")))
{
return true;
}
else
{
return false;
}
}
|
public void setFilename(String newFilename) {
this.setProperty(FTPSampler.FILENAME, newFilename);
}
|
public void setServer(String newServer) {
this.setProperty(FTPSampler.SERVER, newServer);
}
|