The Cookie Manager has an option to "Clear cookies each iteration".
Unfortunately,when the code was updated in 2.3.1 to allow pre-defined
cookies to be preserved, a bug was introduced.
The bug caused cookie handling to break - all threads end up sharing
the same cookies. [If "clear each iteration" is not selected, then
cookies are handled OK]
==
The code has been fixed, and will be in the next release. In the
meantime, if you need the feature, some workrounds are:
- use JMeter 2.3
-- or --
- add a BeanShell Pre-Processor to the FIRST sampler with the script:
sampler.getCookieManager().clear();
-- or --
- add a User Parameters Pre-Processor to the FIRST sampler:
Name: DUMMY
User_1: ${__jexl(sampler.getCookieManager().clear())}
[The name DUMMY could be any variable that you are not currently using]
Apologies for any inconvenience.
S///
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]