apache / apache/jmeter

CookieManager cleanup in postprocessor behaves strangely

Open
#5,241 1 comment 1 reaction 0 assignees View on GitHub
os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

@FSchumacher ([Bug 64145](https://bz.apache.org/bugzilla//show_bug.cgi?id=64145&redirect=false)):
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.

Severity: normal
OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.