How to split a dataset among VUs without overlap in K6
I am using the K6 tool to perform some load test on some of my services. I have a dataset of captured requests that I'd like to replay that is quite big and thus I'd like to use the sharedArray component of K6 to load all that in the underlying memory once and then simply fetch from that in each Virtual User (VU). The problem I am facing is that I do not want two (or more) VUs to send the same request. K6 does not offer a way to handle global state (at least not in this regard) so each VU does not know which requests have already been sent by other VUs. An idea would be to assign VU_i the rows
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.