Handling multiple cookies from API response in Apickli

I would like to understand if there's any mechanism to validate and handle multiple cookies being returned in an API response using Apickli framework.

Scenario: API-1 when invoked, sets 2 cookies and returns back in response. I would want to validate that both cookies are not null and store them in scenario/global scope and re-use the values while sending the next request to API-2 with same cookies into request.

Active response will be appreciated.

0 1 370
1 REPLY 1

Though I've realised this is missing as a feature in Apickli existing release, and thus have fixed and raised a Pull Request at https://github.com/apickli/apickli/pull/155

@Saul Zukauskas , @Ozan Seymen please check it and if ok, please merge it and publish - so that we can use this as a feature in Apickli.

Note: I have also fixed security vulnerabilities as seems the repo wasn't up-to-date with latest security vulnerabilities released for npm packages.