Re: FTP load test tools

2010-03-03 Thread Niklas Gustavsson
On Wed, Mar 3, 2010 at 11:37 PM, DevNull43 wrote: > Before I build my own solution, does anybody know for a good tool for > stress / load test FTP? I would also be interested in something like this. In my tests, I've been using the commons-net FTP client, but that's requires a fair amount of codi

Re: FTP load test tools

2010-03-03 Thread DevNull43
On Wed, 2010-03-03 at 20:48 -0300, Vinicius Carvalho wrote: > Jmeter may be the solution for you: > http://jakarta.apache.org/jmeter/usermanual/build-ftp-test-plan.html > > Regards Yes as I said, already tried Jmeter, however besides login and put/get files I don't see how to simulate site comman

Re: FTP load test tools

2010-03-03 Thread Vinicius Carvalho
Jmeter may be the solution for you: http://jakarta.apache.org/jmeter/usermanual/build-ftp-test-plan.html Regards On Wed, Mar 3, 2010 at 7:37 PM, DevNull43 wrote: > I need to do some load testing, and currently I use lftp client on linux > doing a set of commands and log out, I start several thr

RE: Blocking during/after upload

2010-03-03 Thread DevNull43
On Wed, 2010-03-03 at 17:32 -0500, Dan wrote: > That isn't exactly what we need since our clients aren't expecting any delay > and won't know to look for a .ok file (or other file trick). Also, right > after the upload they might want to download but of course the processing is > still running. >

FTP load test tools

2010-03-03 Thread DevNull43
I need to do some load testing, and currently I use lftp client on linux doing a set of commands and log out, I start several threads from a script with: lftp -f client1 & lftp -f client2 & lftp -f client3 & .. lftp -f clientN & It works and I can detect several problems I'm working on, however w

RE: Blocking during/after upload

2010-03-03 Thread Dan
That isn't exactly what we need since our clients aren't expecting any delay and won't know to look for a .ok file (or other file trick). Also, right after the upload they might want to download but of course the processing is still running. We tried creating our own OutputStream that overrides th

Re: Blocking during/after upload

2010-03-03 Thread Vinicius Carvalho
We have the same scenario here. What we do is delegate to a ExecutorService the execution (pardon me) of the given task. Since it's an asynchronous job, you can reply to the client and process it on a separate thread. The client then gets the response from the ftp, and since the execution is still

Blocking during/after upload

2010-03-03 Thread Dan
We would like to perform some file processing once a file has been uploaded but it seems that if we use an Ftplet and implement onUploadEnd() then that won't block (i.e. the client will think the file has been successfully uploaded) We need something like: 1. Client uploads a file 2. File upload