Best way structure these scenarios using k6

what would be best way structure these scenarios using k6

100 vusers

Login once per user
50% will search for a document
~ and ~
25% create a document
~ and ~
15% publish document
but only 10% unpublish document

Hi @ryanrosello-og,
there are several discussions about the topic. You can find some solutions listed in the following topic: Assigning Weights in K6 - #4 by olegbespalov

The k6 documentation has also a dedicated page for it: Distribute workloads across VUs

Let me know if it helps.

2 Likes

Thanks, this is exactly what I was after