jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <p.moua...@ubik-ingenierie.com>
Subject Weird behaviour of CookieManager.clear()
Date Tue, 28 Jan 2020 20:04:57 GMT
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.

Regards
Philippe
<https://www.openstreetmap.org/#map=18/50.69454/3.16455>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message