Loop Controller causes "Existing CookieManager HTTP Cookie Manager superseded by HTTP Cookie Manager"
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
### Expected behavior
When using a request which sets a Cookie inside a Loop no Warnings should be written to log.
If the same requests are executed outside the Loop no Warning is written in log - see Screenshot:

### Actual behavior
When using a request which sets a Cookie inside a Loop this Warning is written to log
`WARN o.a.j.p.h.s.HTTPSamplerBase: Existing CookieManager HTTP Cookie Manager superseded by HTTP Cookie Manager`

### Steps to reproduce the problem
Run `CookieManagerLoopWarning.jmx` (inside attached zip file)
compoare with running `CookieManagerNoWarning.jmx`
[CookieManagerWarning.zip](https://github.com/apache/jmeter/files/14199522/CookieManagerWarning.zip)
### JMeter Version
5.6.3
### Java Version
openjdk 11.0.21
### OS Version
Windows 10
Contributor guide
Assessment
This issue has not been assessed yet.