I get "Remote execution connection failure - check you config" error when executing a test case takes longer time.
I'm pretty sure nothing wrong with the configuration as I can execute another test case with the same set up/configuration. I guess there is a timeout issue. Any idea?
Is there any timeout in remote execution/automation?
Moderators: Amaradana, TurboPT, TL Developers
Re: Is there any timeout in remote execution/automation?
Regardless of what the timeout is set, Test link get disconnected from XMLRPC server after 1 min.
Is there any way to change timeout?
Is there any way to change timeout?
Re: Is there any timeout in remote execution/automation?
Any updates on this topic?
Re: Is there any timeout in remote execution/automation?
I hit the same problem while working on testing automation (Testlink + Robot Framework + Git), PHP's own timeout limit caused that problem in my case. You need to change session.gc_maxlifetime and max_execution_time values in php.ini, which is located in /etc/php5/apache2/ -folder on Linux system. Also if you are using several machines, like Testlink on one computer and testing environment on another, you need to edit php.ini on both machines.
Re: Is there any timeout in remote execution/automation?
It worked, thank you very much!
Re: Is there any timeout in remote execution/automation?
Actually i have to take that previous post back. I modified php.ini on testlink server and now it takes more than 1 minute to timeout but still not enough. My XMLRPC server is running as java servlet in tomcat so I don't have php installed on that server. Does anybody know how I can extend timeout in this situation? Is there timeout setting in servlet web.xml or in xmlrpc?
Re: Is there any timeout in remote execution/automation?
Whoop, same here, got more timeouts. I found a third value from the php.ini that solved the issue, try editing default_socket_timeout in php.ini. This was only needed to be done on the machine that is running Testlink.