# Cookie Based Authentication
vREST fully supports cookie-based authentication. As the vREST test runner executes test cases on the client's side and cookie information will be automatically stored and will be used automatically in subsequent test cases. vrest-ng-cli also works in the same way. To use cookie-based authentication, simply follow the steps below:
- First create a test case to login into the test application. As a result, your test application will send a response header "Set-Cookie". vREST will store that cookie information automatically.
- Now start validating your APIs. The cookie will be automatically sent by vREST in the subsequent test cases. You don't have to provide any cookie-related information in the subsequent test cases.