jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umesh prajapati <praumes...@gmail.com>
Subject Re: Run Multiple Thread group Simultaneously
Date Sat, 17 Aug 2013 13:58:06 GMT
Thank you
On Aug 16, 2013 11:53 PM, "sebb" <sebbaz@gmail.com> wrote:

> On 17 August 2013 01:24, umesh prajapati <praumesh86@gmail.com> wrote:
> > Requirement:
> >
> > Student logins 2000/hr
> > Teacher logins 1000/hr
> >
> > If I want to create a test suite for the above requirement and I would
> like
> > both teacher and students run simultaneously. How should I approach
> this? I
> > have tried the following way but I am not sure If my way of creating
> script
> > is making sure both students and teachers are loggin in simultaneously
> >
> > Test Plan
> >     |
> >     |- -Student Thread Group
> >     |               |
> >     |               |--Http Cookie Manager
> >     |               |
> >     |               |--CSV Data Set Config
> >     |               |
> >     |               |--Student Login Request Sampler
> >     |               |                        |
> >     |               |                        |--Synchronizing Timer
> >     |               |                        |
> >     |               |                        |--Constant Timer
> >     |               |                        |
> >     |               |                        |--Assertions
> >     |               |                        |
> >     |               |                        |--Summary Report
> >     |               |
> >     |               |--Student Logout Request Sampler
> >     |                                         |
> >     |                                         |--Summary Report
> >     |
> >     |
> >     |- - Teacher Thread Group
> >                       |
> >                       |--Http Cookie Manager
> >                       |
> >                       |--CSV Data Set Config
> >                       |
> >                       |--Teacher Login Request Sampler
> >                       |                         |
> >                       |                         |--Synchronizing Timer
> >                       |                         |
> >                       |                         |--Constant Timer
> >                       |                         |
> >                       |                         |--Assertions
> >                       |                         |
> >                       |                         |--Summary Report
> >                       |
> >                       |--Teacher Logout Request Sampler
> >                                                  |
> >                                                  |- - Summary Report
> >
> > So,
> > 1) will this test plan run both thread groups simultaneously?
>
> Yes, see
>
> http://jmeter.apache.org/usermanual/component_reference.html#Test_Plan
>
> > 2) Can I just have one Http Cookie manager under Tesplan rather than
> having
> > it as child under each Thread groups?
>
> Yes
>
> > 3) Can I have one CSV data set Config under Testplan and read usernames
> for
> > both teacher and student ?
>
> No.
>
> ==
>
> I suggest you start with a simplified plan using Debug Samplers (or
> Java Request Samplers that show the appropriate CSV variables) instead
> of real samplers.
>
> Build up the plan in stages, testing as you go. When it behaves as you
> expect (correct variables and transaction rates), replace the samplers
> with real ones.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

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