What I have to do:
1. Extract all customer ids from previous response.
2. Shuffle all ids.
3. Pass all ids in one request. (like : custPref - 9768,7651,3215,....)
I took all customer ids in one variable (custID) using regular expression (with set match no. = -1)
By using For Each controller, I am able to pass one customer id in one request.
But now I have to pass all customer ids in one request to set the preferences of customers after shuffle the customer ids with comma separated values.
Also, count of customer Ids are not fixed so could not use variable as ${custID}_g1, ${custID}_g0...
Can you please suggest any way to shuffle customer ids and pass all ids in one request.