Encountering java.util.concurrent.TimeoutException while invoking Get API


#1

Hey,

I’m running Get API and while run time I’m getting an error “java.util.concurrent.TimeoutException”

Complete error message below :
java.util.concurrent.TimeoutException
at com.kms.katalon.execution.webservice.VariableEvaluator.waitForEvaluationFinished(VariableEvaluator.java:116)
at com.kms.katalon.execution.webservice.VariableEvaluator.evaluate(VariableEvaluator.java:75)
at com.kms.katalon.composer.webservice.parts.WebServicePart.evaluateRequestVariables(WebServicePart.java:758)
at com.kms.katalon.composer.webservice.parts.RestServicePart$6.run(RestServicePart.java:187)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Test data :
URI : https://reqres.in/api/users?page=2
Katalon Studio version : Katalon Studio
Version: 5.10.1
Build: 1

Can anybody please assist me here?

Thanks in advance…!

Prakash


#2

Does this occur occasionally or whenever you send the request?


#3

Hello, I have the same issue, for any request I tried, even a simple GET request to https://api.imgur.com/3/account/me/images


#4

Whenever I tried sending a request, I’m getting this error. Everytime its happening


#5

We will investigate the issue and get you all noticed ASAP. Thank you for your report.


#6

I am having the same issue at work. Will Try at home to see if I see the same issue.
I see this issue with public and in house API’s all the time.
Is that something to do with Firewall?


#7

Hi Katalon Team, This issue is open for 9 days. We need a resolution to use KS for API testing.
Please look into and update any ETA on Resolution.


#8

Hi @sandeep_kumar,
We have investigated the issue and found that it is caused by the default timeout being set too short. This maybe intolerable for some machines. We will fix this issue in the next release of Katalon.


#9

Thanks a lot for the update. Until we have the fix in the next version, do we have any interim workaround?


#10

@sandeep_kumar,
Unfortunately, there is no known workaround for this issue. The next release will be released soon with the fix for this issue.Sorry for any inconvenience this may cause to you.


#11

Please is there a date for the next release that will fix the issue?


#12

Any update when the fix would come? I may have to move to postman is no solution given soon:(


#13

@sandeep_kumar, sorry for my late response. The fix will be released in 1-2 weeks. Hope you don’t mind because of this inconvenience.
Regards.