You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by "Witt, Joseph" <jw...@covisint.com> on 2003/06/02 20:31:04 UTC
Creating FTP sessions
I am trying to extend JMeter to handle creating FTP sessions (one associated with each thread from the Thread Group), and then performing either FTP 'put' or 'get' multiple times with the single FTP session. What is the best approach, creating a controller and extending Entry to carry the FTP session information (ie. control socket, etc)? Or is there another approach? I have also been considering extending ThreadGroup and creating the FTP Sessions then. Can anyone help?
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: Creating FTP sessions
Posted by ms...@apache.org.
What I would do is extend JMeterContext to help you hold arbitrary objects (JMeterContext
keeps information that belongs to a specific thread). Then you could use it to hold your open
session and your FTPClient could retrieve the session, use it, and forget about it.
-Mike
On 2 Jun 2003 at 14:31, Witt, Joseph wrote:
> I am trying to extend JMeter to handle creating FTP sessions (one associated with each thread from the Thread Group), and then performing either FTP 'put' or 'get' multiple times with the single FTP session. What is the best approach, creating a controller and extending Entry to carry the FTP session information (ie. control socket, etc)? Or is there another approach? I have also been considering extending ThreadGroup and creating the FTP Sessions then. Can anyone help?
>
> Joe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org