How to share state between test processes?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to share state between test processes?

apurvjain17
Hi,

We have an api, which always expects unique userids. If a userid has already been used, it can't be used again or else the API will return 400.

So we created an array of userId's, Now what we need is all the threads across all the processes to access userId's from this array only once.

runNumber is not unique across the test, it's unique only for the thread.

Is there a way to do this in nGrinder?

Thanks,
Apurv