inter thread communication

84 views
Skip to first unread message

sheik Roshanzameer

unread,
Mar 4, 2024, 1:26:26 AM3/4/24
to jmeter-plugins
Hi All
 I am creating simple bussiness scenario like user has to login to the application in 1st thread group and do some actions in the second and third thread group so the thing i have used the inter thread post processors to fetch cookie and session values from the reg exp now i stored in the inter thread post processor and i retrive that value in the second thread group it is able to get the values now the issue i am facing is the same thing i am trying to get the values from the first thread group to third thread group it is able to get the values.

so please help me in this to how to pass that  variables in the third thread group 
below is the screen shot of my test plan

thanks regards
roshan

Screenshot (6).png

Dmitri T

unread,
Mar 4, 2024, 2:15:58 AM3/4/24
to jmeter-plugins
If you're using the PreProcessor it calls POP operation which means that the value is being removed from the FIFO queue after reading.

The options are in:
  1. Either put the value back into this (or another) queue in order to be able to use it in 3rd thread group
  2. Or use __fifoget() function which doesn't remove the item from the queue
  3. Or switch to JMeter Properties which are global and can be shared across threads no matter which thread group is hosting them

More information:

sheik Roshanzameer

unread,
Mar 4, 2024, 6:25:22 AM3/4/24
to jmeter-plugins
thanks 
Dmitri T it is working fine thanks for you suggestions and idea all of the above 3 options were working

thanks
roshan
Reply all
Reply to author
Forward
0 new messages