Multiple VUs login once each throughout scenarios

Hi Everyone,

I’d like to design my test cases as such:

  • Multiple scenarios

  • Multiple VUs per scenario

  • For each VU, it only logs in once throughout many iterations because in reality, no user would log in repetitively

I tried to use “http.cookieJar()” but seems cookie was not reset upon 2nd login.

Thank you so much!

Found out one way to solve it.
Just reset the cookie in between logins
jar.set(response.url, "whatever_cookie_name", undefined)