sebb 2005/05/19 12:44:34
Modified: src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler
FTPSampler.java
Log:
Fix Sample label
Revision Changes Path
1.11 +5 -5
jakarta-jmeter/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java
Index: FTPSampler.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- FTPSampler.java 11 Feb 2004 23:59:31 -0000 1.10
+++ FTPSampler.java 19 May 2005 19:44:34 -0000 1.11
@@ -1,6 +1,6 @@
// $Header$
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@
SampleResult res = new SampleResult();
boolean isSuccessful = false;
//FtpConfig ftpConfig =
(FtpConfig)e.getConfigElement(FtpConfig.class);
- res.setSampleLabel(getLabel());
+ res.setSampleLabel(getName());
//LoginConfig loginConfig =
// (LoginConfig)e.getConfigElement(LoginConfig.class);
res.sampleStart();
@@ -93,7 +93,7 @@
// this should probably come from the setup dialog
String s = ftp.get(getFilename());
res.setResponseData(s.getBytes());
- // set the response code here somewhere
+ // TODO set the response code here somewhere
ftp.disconnect();
isSuccessful = true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]