k6

Passing unique login credential to vusers

Hi Community,

In order to pass login credentials to the API calls, I am using json files to store data, call the data file in a json object and then pass with a random index.

However, now I need to pass unique data to each of the VUs. I was hoping to get some ideas. Please advise what the community is following in this situation.

Thanks in advance.

@sandyuce Here is a related topic that should help. In short you need to generate a unique number per VU, you should use __VU and __ITER together to do this.