Santhy
3 years agoNew Contributor
Test Case should not fails when connection with the server refused
Hi, I have a test case that will reboot the server. After the reboot call, a soap API call will invoked followed by a groovy script which check whether the API has a response or not(This is to verif...
- 3 years ago
Hi,
It sounds like you got this working with the delay.
The timeouts are for long-running calls, or calls that take too long. Either based on calling app or a requirement. E.g. all calls within 10secs.
The timeout won't help in this case as the server is rebooting. E.g. is not there or refused because the server is still coming up.
The timeout is not a retry until success.
However, you could loop the call until it does return a success though. At least then you don't have the full minute delay whilst waiting for the reboot. Only have to wait for as long as it takes the server to come up.