Skip to main content

SeeTest tests fail with Timeout

High latency between the client's environment, the cloud, and the device could occasionally test to fail due to XML-RPC timeout.
If this happens frequently, a user could set an XML-RPC connection timeout and reply timeout.

At the start of your test, add the following lines, where [TIMEOUT] is the new timeout, in milliseconds. 

System.setProperty("xmlrpc.connTimeout", "[TIMEOUT]");
System.setProperty("xmlrpc.replyTimeout", "[TIMEOUT]");

The default timeout is 60 seconds.

When there are delays between SeeTest command calls (more than 60 seconds), and tests fail with timeout status, the following option should be set in the cloud server application.properties file to bigger value:

cloud.server.grid-monitor-timeout-in-seconds=180

The default timeout is 60 seconds.