I’ve created a web service request in the Object repository that calls an endpoint and returns a list of selenium tests that ran on CrossBrowserTesting.com
When testing the request in Katalon by clicking on the test request button I receive a response containing all the requested data.
When calling the web service within a test case the response returns an internal error
hi, i have the same problem but my SO is Windows 10, i create the Request RestFul in the object repository when i click test request this working fine but fail when i use the sendrequest keyword in a test case
I just added the auth to parameters because I wanted to see if it would make a difference. I have deleted it from the parameters and just added to headers but I get the same error.
I have also added
“User-Agent”: “Mozilla/5.0”
“Content-Type”: “application/json”
works in Test Request but not in Send Request.
After investigating, it’s an issue from ‘Send Request’ keyword. It will be fixed in the next release soon. Can you wait until there or this is an urgent case you need to do?
‘500 internal error’ is the error generated by server.
I see you add ‘Authorization’ key in ‘Parameters’ section of that test object. That’s not correct because this key should be added to ‘HTTP Header’ section. Please remove it from ‘Parameters’ section.
When you click on ‘Apply to header’ button from Authorization section, the generated authorization key will be applied to the ‘HTTP Header’ section, so you don’t need to add Authorization key into ‘Parameters’ section.
I think they are the same. Do you have more info to provide such as the screenshot showing results from sending the request on web service object view or Katalon Studio logs?