Sharing cookie values between thread groups in JMeter

前端 未结 8 2153
暗喜
暗喜 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 12:01

    The answer above really helped me but the HTTP cookie Manager was missing the detail that I required to get it to work. By setting the cookie manager as below, it worked for me

    Http Cookie Manager
    NAME   $
    VALUE  ${COOKIE_}    
    DOMAIN ${SITE}   
    PATH    /
    Thread A - 1 Thread - 1 Loop Count
    ....
    Thread B - 50 Threads - Infinite Loop Count
    ....
    

提交回复
热议问题