[Feature Request] - Enable to manage cookies in Inso CLI
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
**Is your feature request related to a problem? Please describe.**
In Insomnia Designer there is an interface to manage cookies, which allows debugging and unit testing requests to send and store cookies automatically using this interface. You can even create global variables in the environments to dynamically set the cookie value.

But in Inso CLI the Cookie management interface does not exist, therefore a rebuild must be done from Insomnia Designer avoiding using the cookie management interface and having to send each cookie in the request headers, thus losing this great capability of Insomnia Designer which can not be transmitted to the Inso command line, having to perform more dirty steps to achieve the sending and storing of cookies.


**Describe the solution you'd like**
It would be very similar to how Insomnia Designer builds the git project (.insomnia) of the environments configured in the desktop application. From what is configured in the manage cookies interface of Insomnia Designer create this same coding in the .insomnia project whether the folder that is created is called Cookies or as deemed appropriate, and that can be easily called from the Request folder, this to handle cookies automatically as intended by the Insomnia Designer desktop application, it would help a lot in the "cleaning" of the debug build and unit tests transmitted to Inso CLI.

**Describe alternatives you've considered**
An alternative could be for them to create an Inso command that allows setting the cookie that is required to be sent in the execution of the automated tests. Example: _Inso run test utf_xxxxx --env env_xxxxxx --cookie cookie=xxxxx_
**Additional context**
It is of utmost importance to manage cookies in an automated way as it was thought in Insomnia Designer but it does not work in Inso CLI thus losing a great capacity in the command line to automate the tests, having to avoid using the manage cookies interface because it does not exist in .insomnia and therefore Inso does not have it.
Contributor guide
Research direction
The issue names Inso CLI, .insomnia projects, Request folders, and automated tests but no files or tests. Start by tracing how Inso loads project requests and executes tests, then compare that flow with the Designer cookie-management behavior; done means CLI requests can manage cookies without manually adding Cookie headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, cli, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100