Forum Discussion

shaileshgohel's avatar
shaileshgohel
New Contributor
10 years ago

How to set cookies

Hi,

My application is using OAuth2.0 authentication. Setting up username and password from Project/Testsuite/TestCase level is not working for me, giving authentication error. To run a particular REST service test case, i need to set two header properties named 'cookie' in the test case, as there are two cookies I need to use. Hence everyday I need to set those headers value to run my test. There are n number of test case and I have to change values in all. Alternatively I am using Project level properties but still have to change values in lot many different scripts.

Do anyone also using same application or encountered such problem ? Is there any solution for that ?