question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some cookies are dropped and not passed to the next call

See original GitHub issue

The 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:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ptrthomascommented, Mar 30, 2022

@borzykin thanks ! I had to approve tests for first-time committers, next time it will be ok

0reactions
ptrthomascommented, May 9, 2022

1.2.0 released

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Keys to the Mystery of a Missing Cookie - Medium
There are a couple of reasons why a browser will not attach a cookie to the request. Cross-site requests, Chrome handling of SameSite ......
Read more >
Clear, enable, and manage cookies in Chrome - Google Support
Clear all cookies · On your computer, open Chrome Chrome . · At the top right, click More More and then Settings Settings...
Read more >
The Death of the Third-Party Cookie: What Marketers Need to ...
The way we use cookies could change dramatically when Google phases out Chrome's third-party cookies in 2022. Here's what you need to know....
Read more >
Sending browser cookies during a 302 redirect - Stack Overflow
To clarify a bit - the cookies do get saved. They just don't get sent to the next request, so it looks like...
Read more >
Tracking Cookies are Dead: What Marketers Can Do About It
The latest news and tactics that marketers can employ in a world without browser cookies in part two of our series on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found