I’m trying to sign into my company’s new app using K6. I can sign in fine, but when it hits the redirect to the landing page, I get a 302. I wasn’t too concerned about that, since I can just add a GET request to the landing page and it would be fine. However, when I add that GET in, I get a 401 back.
I’m not really sure what to add in to prevent this error: cookies appear to be maintained internally by K6, I’m using all of the right headers and values, and within the same test I am getting a successful login.
I’m fairly new to testing, so I figure this is an easily solved error and I’m just missing something. Thanks!