Sharing cookie values between thread groups in JMeter

前端 未结 8 2154
暗喜
暗喜 2020-12-08 11:32

I have the following setup:

Thread A
  - Http Cookie Manager
  - Login Page
Thread B
  - Http Cookie Manager
  - Page to hit
  - Another page to hit
         


        
8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 11:59

    Why not to add Http Cookie Manager to the Test Plan level instead of Thread Group one and group all the samplers in one thread group?

    Test Plan
        Http Cookie Manager
        Thread Group
            - Login Page
            - Page to hit
            - Another page to hit
    

    This should solve your problem without any other extra samplers.
    Or maybe there are some objective reasons to implement the way you've done?

    ...Please look onto this too.

提交回复
热议问题