jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: SFTP - Send Multiple Files over a connection
Date Tue, 21 Jun 2016 14:54:56 GMT
Hi
you'll have to modify the code in
https://github.com/yciabaud/jmeter-ssh-sampler/blob/master/src/main/java/org/apache/jmeter/protocol/ssh/sampler/SSHSFTPSampler.java
The sampler you are using always opens a new connection whenever there is a
request and you'd have to tweak that code  (if you know java)
The rest of this is probably offtopic for this mailing list
regards
deepak

On Mon, Jun 20, 2016 at 3:12 PM, Murilo Alves <muriloalves@gmail.com> wrote:

> Sorry Deepak, I guess I forgot to mention what I'm using here.
>
> https://github.com/linkeshkanna/Jmeter.SSH.FTP.Request
>
> which uses JSch library.
>
> I was under the impression that if I used number of loops greater than 1
> let's say 10, it would use the same thread it would use the same connection
> to send 10 files. But I believe there maybe a thread/loop misunderstanding
> from my side.
>
>
>
>
> On Mon, Jun 20, 2016 at 5:17 PM, Deepak Shetty <shettyd@gmail.com> wrote:
>
> > JMeter doesnt support SFTP in the FTP sampler (please check the docs!)-
> > you'll have to roll out our own using java sampler (or any of the ones
> that
> > let you write your own code), In which case you can open or close
> > connection based on your needs.
> > For java there are a couple of open source libarries that let you perform
> > SFTP.
> >
> > On Mon, Jun 20, 2016 at 11:52 AM, Murilo Alves <muriloalves@gmail.com>
> > wrote:
> >
> > > Guys, any help you can share on this?
> > >
> > > On Fri, Jun 17, 2016 at 3:45 PM, Murilo Alves <muriloalves@gmail.com>
> > > wrote:
> > >
> > > > Guys, has anyone done a SFTP test to send multiple files thru the
> same
> > > > connection.
> > > > I'm doing some testing but actually I'm stressing the system with too
> > > many
> > > > concurrent connections.
> > > >
> > > > I want to open a connection send 10 files and close it. And so on...
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message