In jmeter, I\'m using nested loop controllers, along with some JSR223 postprocessors inside each loop
Here\'s the order the script is written:
Loop Controller