Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling the cookie jar for 1 requests, disables it for subsequent requests #8293

Closed
jtonneyck opened this issue Apr 7, 2020 · 2 comments · Fixed by #8527
Closed

Disabling the cookie jar for 1 requests, disables it for subsequent requests #8293

jtonneyck opened this issue Apr 7, 2020 · 2 comments · Fixed by #8527

Comments

@jtonneyck
Copy link

jtonneyck commented Apr 7, 2020

Describe the bug
Switching"Disable cookie jar" to ON for a request should disable the cookie jar for that request only. However, in the runner all subsequent requests also seem to have the cookies disabled. The bug isn't triggered when the requests are executed manually. It seems to be a problem of the runner.

To Reproduce
Steps to reproduce the behavior:

  1. Create new collection.
  2. Create a request to an endpoint that has a set-cookie in the response header.
  3. Create another request to some other endpoint on the same domain.
  4. Create another request to some other endpoint on the same domain. Disable the cookie jar for this request in settings.
  5. Create another request to some other endpoint on the same domain. This should have the cookie jar enabled.
  6. Run the collection and save the response. You'll see that the cookie for the request made in step 5 is not set.

Expected behavior
I'm expecting that switching"Disable cookie jar" to on only disables cookies for that particular request, but in the runner it disables cookies for all subsequent requests.

App information (please complete the following information):

  • App Native App
  • Postman Version v7.21.2 and v7.21.1
  • OS: macOs Catalina and windows 10 (latest updates).

I've created a collection that demonstrates the bug: https://www.getpostman.com/collections/93ebb73ec3928df0fe96

@vikiCoder
Copy link

Duplicate of: postmanlabs/newman#2292

@vikiCoder vikiCoder self-assigned this Apr 8, 2020
@jtonneyck jtonneyck changed the title Disabling the cookie jar for 1 requests, disables it for a subsequent requests Disabling the cookie jar for 1 requests, disables it for subsequent requests Apr 9, 2020
@codenirvana
Copy link
Member

@Piepongwong This issue is fixed in the latest version of the Postman app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants