Some cookies are dropped and not passed to the next call
See original GitHub issueThe issue is similar (or a result of a fix) to https://github.com/karatelabs/karate/issues/1759
Some cookies, like detectedTimeZoneId=FLE Standard Time
are not passed to the next call in a scenario
It works in version 0.9.5 but fails with 1.2.0.RC4
Repo to reproduce: https://github.com/borzykin/karate-demo-main
Test itself: https://github.com/borzykin/karate-demo-main/blob/master/src/test/java/mock/main.feature
You can see that after the first call both cookies are set in Set-Cookie
header, but with 2nd scenario it is not passed to the next call
I think changes https://github.com/karatelabs/karate/pull/1795/files made so if the cookie is considered invalid by netty - it gets skipped. Maybe changing decoder mode from STRICT to LAX will resolve that issue?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
@borzykin thanks ! I had to approve tests for first-time committers, next time it will be ok
1.2.0 released