-
Notifications
You must be signed in to change notification settings - Fork 846
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
Cookie control with collection runs #1228
Comments
I agree. I would love to be able to see the cookies and clear or edit them. |
+1 |
This is currently a limitation of the Chrome platform - packaged apps do not have access to Cookies that have been set, nor is there a way to edit/delete them. There are 2 bugs filed on crbug - https://code.google.com/p/chromium/issues/detail?id=236585, https://code.google.com/p/chromium/issues/detail?id=152758 Still waiting for a response on these. |
+1 to have the option to send a request without cookies. |
+1 |
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
Hey guys, cookie management is a limitation of the Chrome platform, but it is possible in the native apps. Could you give them a shot and check if that is easier? You can download our native apps for OSX/Windows/Linux here. |
I've been using the native application for some time now. While you can delete cookies manually I can't find any setting or preference to prevent cookies being stored in the first place. This makes it seemingly impossible to use the collection runner and not have the results affected by the cookies that are stored. |
Hey, could you add possibility to disable cookies in Mac OS native app? I can delete them manually, but this is very inconvenient. |
+1 |
I've been using the native application. I can't find any setting or preference to prevent cookies being stored in the first place. This makes it apparently impossible to use the collection runner without affecting the results ( by the erstwhile cookies ). |
Actually this extension is useless for rails REST testing, though it could be convenient tool, because many cool useful UI-features implemented. |
@madebysid Any update on this? |
Work on making cookies manageable from pre-request / test scripts is underway, I'll let you guys know here when we have something :) |
+1 |
@codenirvana based on our last review of cookie related issues, let’s add cookie syncing / persisting controls before and after runs. that would unblock a number of related use cases. |
We were thinking of ways to address all use cases in this and take this up ASAP. So, here are the thoughts: We solve it in two parts: (1) Add session control on runner start and stop (2) Add cookie control API within scripts
|
HOW TO DO THIS? |
@Bluscream better not using all caps, please edit your message |
Hello everyone, We have added the following options in collection runner to provide more control over cookies while running a collection:
These options are available in Postman App version 7.1.0 or later. Below is a screenshot showing off these options in runner window. Screenshot: |
@vikiCoder This does not help when you need to clear the cookies as part of a request. It would be very nice just to add cookie manipulation to the script |
@regisbsb We are working on improving cookies UI in the App with more options to manage cookies as well as allowing cookies control from scripts. There is no final release date for those features yet. Stay tuned for the updates. |
@vikiCoder As a user who rarely uses the Collection Runner, but test individual requests instead, I find this to be a very niche-focused improvement. I'm not saying it's a bad feature, but we could have this setting for each request.. Maybe a simple checkbox inside the existing "Cookies" window. |
Is there an ETA for that feature? It will be a huge help to some of the workflows I have. |
We've added support for programmatic cookie access in our Canary channel https://www.getpostman.com/canary Refer #3312 (comment) for detailed documentation. Everyone, please try it out and share the feedback. |
@brettsamann @KrilMun @regisbsb - would greatly appreciate any feedback around the programmatic access before we roll it out to production in weeks. |
We've added support for programmatic cookie access in the latest version of the Postman app (v7.6.0). Refer #3312 (comment) for more details. |
Whoever switch it on by default for all the users made a huge mistake. This is super annoying and cause a lot of troubles already. |
I'm testing with a service that sets an unwanted session cookie in the response. If I visit that service in Postman, the cookie is being saved and replayed for later requests.
I've identified several ways to submit a new request without the cookie...
None of these are very convenient. Is there a better way to forcibly disable any sort of cookie header being sent?
edit: 2018-04-20 This was originally logged against the Chrome app which has since been deprecated in favor of the native apps. The native apps don't appear to have the same browser-level constraint that made cookie management in Chrome a non-starter. There's now a Cookies link that pops a
MANAGE COOKIES
modal where cookies can be added or removed. This is an improvement as it's now possible to directly remove an unwanted cookie. Unfortunately there still doesn't seem to be a way to disable cookies entirely. However, thePre-request Script
option is promising as a way to run script to configure things that aren't supported in the UI. This does not appear to support cookie manipulation, but there's a recent issue suggesting it. If that's possible and gets done, then that will become a way to (finally) address this use case.An aside to all the +1-ers out there, Github has had reactions for over 2 years now; please use them!
The text was updated successfully, but these errors were encountered: