Mail from Philippe on the dev mailing list: Hello, I was looking into clearing cookies at some step of my scenario. So under an HTTP Request I added a JSR PostProcessor , I called: - sampler.getCookieManager().clear() But although it clears cookie it seems it breaks further iterations, Cookies are not added The workaround is to do this: - sampler.getCookieManager().testIterationStart(null); Don't have time to investigate more deeply for now, just reporting not to forget it.
Linking to what would be a nice enhancement: https://bz.apache.org/bugzilla/show_bug.cgi?id=53976
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5241