How do I pass a variable from one Thread Group to another in JMeter

后端 未结 9 1612
星月不相逢
星月不相逢 2020-11-27 04:54

I have a JMeter test with 2 Thread Groups - the first is a single thread (which creates some inventory) and the second has multiple threads (which purchase all the inventory

9条回答
  •  长情又很酷
    2020-11-27 05:23

    This is not possible in JMeter, because it is not normal client behavior (sharing parameters between Threads). Instead of this use one Thread-Group with Controllers:

    Thread Group
    + Create inventory
    + + XPath
    + Loop
    + + Purchase inventory
    

提交回复
热议问题