I have a while loop.In this while loop I have a call where a extract some variables. One of them is an Id.
Forearch iteration I need to save this id in an array or list and then when the while is finished I need to pick randomly an ID from the array/list I have created before during the while. How can I do that with Neoload?
Thanks
You could write it to a file, each VU could create a file named based on their id (vuid.csv) and access the file later. Or there is a put/get method in the VU api, something like context.currentvu.put. Either way, once you have the list, you randomly pick an element. There is a random number function now in the supplied JS library I think.