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]

Reply via email to