Hi everyone,
I am trying to do API testing in Katalon,
I am using the Katalon Studio-Version: 5.8.6.
I followed all steps in the Katalon Documentation for API testing(https://docs.katalon.com/katalon-studio/tutorials/create_first_api_test_katalon_studio.html) but when i try to send request I am getting an error. I have attached the screenshot of the error that i got.
I used the Demo Rest api for testing. https://reqres.in/

Can anyone please suggest me how to proceed?
api demo error.png
Also I am trying to use a Cookie in HTTP header.
We should Login to an Website to get the Cookie, which we have to use it in the API to send a request to the API url.
But even though we added a Cookie in HTTP Header in the format
cookie_name=cookie_value; path=/; domain=domain_name
I am getting response as “{“message”:“Authentication required to access this resource”,“reason”:“Unauthorized”,“status”:401,“path”:”
Can anyone suggest me a solution
1 Like
Hi @Ahamed Shaikh
I have tried setting up the cookie in HTTP Header
The format i used is
Cookie_name=cookie_value; path=/; domain=domain_name
Still i am getting an authentication error
1 Like