Having issues with VU's retaining history

I’m trying to create a k6 browser script to run an iteration for N entries in an array of users for the purposes of creating a lot of accounts. I am using per-vu-iterations for about 10 VU’s. The first pass is fine when I run the script, but upon the second pass, it gives me this error:

"Warning: Cannot update during an existing state transition (such as within render).

When running this in non-headless mode? (Where I can see what the script is doing in a browser), the issue seems to be the browser not discarding information, and logging back into the site with the old credentials when I go to the domain I have at the start of the script.

Any help would be greatly appreciated.

Hi @lordgwin1!

Welcome to the community forum.

Could you share the script with us?

1 Like