You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ruchit Rami <ru...@ei-india.com> on 2013/04/22 10:33:47 UTC

Distributed testing with user login

Hello all,

I am trying to use JMeter to run distributed stress test. I have executed a
simple test plan with 2 remote servers. My test plan was configured to run
one thread. Now when I choose to "Remote start all", the requests for the
test plan are executed twice. So, remote servers execute complete test
individually.

Now, the real test plan i want to execute needs user login. And our system
does not allow multiple sessions for same username. I need to use
distributed testing for my test plan as i need to test for 10K users. How
can i ensure that every single remote server uses unique username to login
to the system during distributed stress test? Test plan reads the username
and password from CSV file.

Regards,
Ruchit Rami

Re: Distributed testing with user login

Posted by Niraj <ni...@gmail.com>.
No issue. Good to know that your issues is resolved.


On Mon, Apr 22, 2013 at 2:29 PM, Ruchit Rami <ru...@ei-india.com>wrote:

> Thanks Niraj. I just had figured it out. Thanks anyways, this can be useful
> for others who might face this situation in future.
>
> Thanks & Regards,
> Ruchit
>
>
> On Mon, Apr 22, 2013 at 2:17 PM, Niraj <ni...@gmail.com> wrote:
>
> > Hey Ruchit,
> >
> > Try with two CSV each containing 5K users (Total 10K). Copy the CSV on
> each
> > machine. By doing this you will achieve single user session per user. As
> > both the CSV contains different users.
> >
> > Thanks,
> > Niraj
> >
> >
> > On Mon, Apr 22, 2013 at 2:03 PM, Ruchit Rami <ruchit.rami@ei-india.com
> > >wrote:
> >
> > > Hello all,
> > >
> > > I am trying to use JMeter to run distributed stress test. I have
> > executed a
> > > simple test plan with 2 remote servers. My test plan was configured to
> > run
> > > one thread. Now when I choose to "Remote start all", the requests for
> the
> > > test plan are executed twice. So, remote servers execute complete test
> > > individually.
> > >
> > > Now, the real test plan i want to execute needs user login. And our
> > system
> > > does not allow multiple sessions for same username. I need to use
> > > distributed testing for my test plan as i need to test for 10K users.
> How
> > > can i ensure that every single remote server uses unique username to
> > login
> > > to the system during distributed stress test? Test plan reads the
> > username
> > > and password from CSV file.
> > >
> > > Regards,
> > > Ruchit Rami
> > >
> >
>

Re: Distributed testing with user login

Posted by Ruchit Rami <ru...@ei-india.com>.
Thanks Niraj. I just had figured it out. Thanks anyways, this can be useful
for others who might face this situation in future.

Thanks & Regards,
Ruchit


On Mon, Apr 22, 2013 at 2:17 PM, Niraj <ni...@gmail.com> wrote:

> Hey Ruchit,
>
> Try with two CSV each containing 5K users (Total 10K). Copy the CSV on each
> machine. By doing this you will achieve single user session per user. As
> both the CSV contains different users.
>
> Thanks,
> Niraj
>
>
> On Mon, Apr 22, 2013 at 2:03 PM, Ruchit Rami <ruchit.rami@ei-india.com
> >wrote:
>
> > Hello all,
> >
> > I am trying to use JMeter to run distributed stress test. I have
> executed a
> > simple test plan with 2 remote servers. My test plan was configured to
> run
> > one thread. Now when I choose to "Remote start all", the requests for the
> > test plan are executed twice. So, remote servers execute complete test
> > individually.
> >
> > Now, the real test plan i want to execute needs user login. And our
> system
> > does not allow multiple sessions for same username. I need to use
> > distributed testing for my test plan as i need to test for 10K users. How
> > can i ensure that every single remote server uses unique username to
> login
> > to the system during distributed stress test? Test plan reads the
> username
> > and password from CSV file.
> >
> > Regards,
> > Ruchit Rami
> >
>

Re: Distributed testing with user login

Posted by Niraj <ni...@gmail.com>.
Hey Ruchit,

Try with two CSV each containing 5K users (Total 10K). Copy the CSV on each
machine. By doing this you will achieve single user session per user. As
both the CSV contains different users.

Thanks,
Niraj


On Mon, Apr 22, 2013 at 2:03 PM, Ruchit Rami <ru...@ei-india.com>wrote:

> Hello all,
>
> I am trying to use JMeter to run distributed stress test. I have executed a
> simple test plan with 2 remote servers. My test plan was configured to run
> one thread. Now when I choose to "Remote start all", the requests for the
> test plan are executed twice. So, remote servers execute complete test
> individually.
>
> Now, the real test plan i want to execute needs user login. And our system
> does not allow multiple sessions for same username. I need to use
> distributed testing for my test plan as i need to test for 10K users. How
> can i ensure that every single remote server uses unique username to login
> to the system during distributed stress test? Test plan reads the username
> and password from CSV file.
>
> Regards,
> Ruchit Rami
>