red888
red888

Reputation: 31672

foreach controller not working correctly with variables

Im trying to loop over my user defined variables and add them to cookie manager.

Here is how I set it up:

enter image description here

enter image description here

enter image description here

But when I look at the results it only takes the FIRST var and uses that for ALL of the loops. So HTTP Cookie Manager is only replacing the first var.

This behavior is unexpected, have I set something up wrong? I added the debug sampler and I can see the vars are changing but for some reason http cookie manager is not replacing them

Upvotes: 2

Views: 1847

Answers (1)

UBIK LOAD PACK
UBIK LOAD PACK

Reputation: 34566

You need to define variable:

cookie_matchNr set to 3

See:

Upvotes: 1

Related Questions