Hi, I’m running into problems with my API tests timing out after 30 seconds. I get the error “Timeout: Host failed to respond after 30 seconds”. I’ve tried setting both the readTimeout and the URLTimeout properties to 60 but the API test still gives me the timeout error after 30 seconds. Is there a way to increase the timeout? I’m running Eggplant Functional version 20.0.0 on a Windows 10 machine. Thanks.
In case anyone else runs into this issue, support provided instructions for increasing the connection timeout:
- Close Eggplant Functional
- Open the cmd prompt
- Execute the following to increase the timeout to 60 seconds (choose a larger number if you need to):
C:\Program Files\eggPlant\defaults.bat write Eggplant ConnectionTimeout 60
You can also add a parameter to Jenkins executions:
runscript “/path/to/script” -ConnectionTimeout 60