https://bz.apache.org/bugzilla/show_bug.cgi?id=64145

            Bug ID: 64145
           Summary: CookieManager cleanup in postprocessor behaves
                    strangely
           Product: JMeter
           Version: 5.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_6.0.0

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to