Sharing sessions


In my page I have a iframe that calls a external resource. I authenticate the user in the back.

When i did the first test with a HAR it run w/o problem in a batch secuence. The thin is I have to check some stuff before call the iframe URL.

I know k6 is not a browser, it just read the doc response, so I manually will call my site, and after I login in to my site, call the iframe url in other request.

my question is, why with the har generated script it does not fails, and with my custom script fails. I was checking and the only difference is the batch (and I already try it but did’t work).


Sorry for the delayed response! Unfortunately, I’m not sure what exactly the issue is - can you post a minimal snippet of code (with important details anonymized) that demonstrates the issue?