I am struggling with the cookies to clear after certain step. This is what I have in a sample test plan
I am getting a data from CSV file and then I have multiple cookies - which are location IDs which I need to pass for each row from CSV. I have tried using the Cookie Manager with option to clear iteration which works fine for next row from CSV but not to loop through cookie list defined in the user defined variable. I looked at this article I have tried adding this code at the same level as the HTTP request but get an error