how is step 1a different than step 1b1 and 1b2? you talking about logging in to an app which creates a session based on an user id. then creating additional user sessions while logged already logged in? If thread group 2 is a subset of actions taken by the initial user. you should probably use the loop controller to go through a file that contains the subset user data and use that to do the work. Those actions won't happen concurrently as if it were a thread group tho. Is it necessary that the actions in the thread group happen concurrently? Its kinda messy from a programming perspective to have threads creating more threads of which they are dependent upon, which is likely why they didn't allow that to begin with.
On Fri, Feb 22, 2019 at 10:36 AM Anil Kumar <[email protected]> wrote: > No, we cannot. If we increase, each thread starts invoking Step 1a: > (above) and consuming all licenses and also exhausting other resources. > Ex: Step 1a: should invoke once and later Step 1b1/Step 1b2: shoud invoke > concurrently.. > > > > > > On Fri, Feb 22, 2019 at 8:48 PM sebb <[email protected]> wrote: > > > Can't you just increase the number of threads in the thread group? > > > > On Fri, 22 Feb 2019 at 14:47, Anil Kumar <[email protected]> > wrote: > > > > > > Hi Indu, > > > > > > Thank you for taking you time... > > > > > > We have consider your scenario, but loop controller had a limitation of > > > exec samples sequentially. > > > We rather looking for a solution which pump load concurrently (i.e., > the > > > reason we are looking for an option of forking / threads ). > > > > > > Warm Regards > > > Anil > > > > > > On Fri, Feb 22, 2019 at 7:45 PM Indu Gupta <[email protected]> > > wrote: > > > > > > > Hi Anil, > > > > > > > > You can add "Loop Controller" within Thread Group (Right click > Thread > > > > Group -> Logic Controller -> Loop Controller). > > > > Set number of Loop Count as "2" for 2 user sessions. > > > > > > > > The test plan structure will look like: > > > > > > > > Thread Group > > > > -Login Request > > > > - Loop Controller > > > > - User sessions > > > > > > > > It will run 1 cycle of test like : 1 login request then 2 user > session. > > > > > > > > Hope your query is resolved now. > > > > > > > > > > > > Regards, > > > > Indu Gupta > > > > > > > > > > > > -----Original Message----- > > > > From: Anil Kumar [mailto:[email protected]] > > > > Sent: Friday, February 22, 2019 12:18 > > > > To: JMeter Users List <[email protected]> > > > > Cc: Naveen Nandwani <[email protected]>; Sanjeev Anand < > > > > [email protected]> > > > > Subject: Re: JMeter Query on Threads > > > > > > > > thank you for quick response, > > > > > > > > i am trying here > > > > > > > > Step 1 :start Thread Group 1 > > > > Step 1a: Create a Login Session > > > > Step 1b: start Thread Group 2 > > > > Step 1b1: Create a User Session 1 > > > > Step 1b2: Create a User Session 2 > > > > Step 1c: exit Thread Group 2 Step 2: exit Thread > > Group 1 > > > > > > > > Is this possible? assume which you mentioned above is different. > > > > > > > > > > > > > > > > On Fri, Feb 22, 2019 at 11:25 AM Indu Gupta < > [email protected]> > > > > wrote: > > > > > > > > > Hi Anil, > > > > > > > > > > You Can simply follow below steps: > > > > > > > > > > 1) Add a new thread group per your need basis. > > > > > 2) Select all the elements of the thread group -> copy them. > > > > > 3) Now right click the new thread group and click paste, your all > the > > > > > elements will come inside this new thread group. > > > > > 4) Now you can delete or Disable the old thread group and continue > > the > > > > > execution with new thread group. > > > > > > > > > > Regards, > > > > > Indu Gupta > > > > > > > > > > -----Original Message----- > > > > > From: Anil Kumar [mailto:[email protected]] > > > > > Sent: Friday, February 22, 2019 11:04 > > > > > To: [email protected] > > > > > Subject: JMeter Query on Threads > > > > > > > > > > Hi > > > > > > > > > > Is there a way to add thread group with in a thread group ? > > > > > > > > > > I have a scenario where a thread needs to run multiple threads, say > > > > > kind of forking.. > > > > > > > > > > regards > > > > > Anil > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > -- Thanks, Brian Wolfe https://www.linkedin.com/in/brian-wolfe-3136425a/
