I am getting below error, please help
Caused by: com.kms.katalon.core.exception.StepFailedException: Unable to send request (Root cause: java.lang.IllegalArgumentException: URI is not absolute
- at com.kms.katalon.core.webservice.common.HttpUtil.sendRequest(HttpUtil.java:127)*
Please use the full and correct url or if you are using global variables incorrectly
as @Monty_Bagati please use the Full Application URL
www.google.com should be given as https://www.google.com
Should start with http:// or https://
I tried by adding “https://” in the url but now I am getting below error:
Caused by: com.kms.katalon.core.exception.StepFailedException: Unable to send request (Root cause: com.kms.katalon.core.webservice.exception.SendRequestException: java.net.UnknownHostException: null
I think your initial error is resolved.
Your error message clearly states that it is something related to one of the below :-
1- Firewall issue
2- Server status
3- Hostname : Please double check the url you are using it in your API request
Thanks for the help.
Yes, first issue is resolved.
Same script was working fine in Katalon 8.3.5 but not working in Katalon 8.6.8
Do I need to change any configuration/setting in the latest version of Katalon?
Could you please test the whole url without using the global variable to ensure that there is nothing wrong with the API request. let me know
Request is in 2 part:
First I have to POST the data and pre-signed url will be generated. To this generated pre-signed url, I have to upload the file.
def response = WS.sendRequest(findTestObject(‘IRN’, [(‘irn’) : GlobalVariable.irn, (‘breederReference’) : GlobalVariable.breederReference
, (‘token’) : GlobalVariable.token, (‘attachmentUrl’) : GlobalVariable.attachmentUrl]))
I am unable to send API request due to sendRequest is not being recognized.
This keyword was working earllier. Am I missing something here?
Please do a smoke and check the URL Manually. and confirm the URL is valid
what the user should smoke?
any good recipe?