You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/02/15 13:19:22 UTC

[Bug 64145] New: CookieManager cleanup in postprocessor behaves strangely

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: issues@jmeter.apache.org
          Reporter: felix.schumacher@internetallee.de
  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.

[Bug 64145] CookieManager cleanup in postprocessor behaves strangely

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64145

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Linking to what would be a nice enhancement:
https://bz.apache.org/bugzilla/show_bug.cgi?id=53976

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