Is there any timeout in remote execution/automation?

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: TurboPT, Amaradana, TL Developers

Is there any timeout in remote execution/automation?

Postby aostad » Wed Jan 25, 2012 11:52 pm

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?
aostad
Member of TestLink Community
 
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

Re: Is there any timeout in remote execution/automation?

Postby aostad » Thu Jan 26, 2012 7:47 pm

Regardless of what the timeout is set, Test link get disconnected from XMLRPC server after 1 min.
Is there any way to change timeout?
aostad
Member of TestLink Community
 
Posts: 183
Joined: Wed Apr 01, 2009 8:32 pm

Re: Is there any timeout in remote execution/automation?

Postby nuuk » Mon Jun 04, 2012 9:50 am

Any updates on this topic?
nuuk
TestLink user
 
Posts: 3
Joined: Fri Apr 27, 2012 7:18 pm

Re: Is there any timeout in remote execution/automation?

Postby NikoK » Mon Jun 04, 2012 10:14 am

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.
NikoK
TestLink user
 
Posts: 2
Joined: Fri Apr 27, 2012 8:19 pm

Re: Is there any timeout in remote execution/automation?

Postby nuuk » Mon Jun 04, 2012 11:09 am

It worked, thank you very much!
nuuk
TestLink user
 
Posts: 3
Joined: Fri Apr 27, 2012 7:18 pm

Re: Is there any timeout in remote execution/automation?

Postby nuuk » Tue Jun 05, 2012 10:00 am

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?
nuuk
TestLink user
 
Posts: 3
Joined: Fri Apr 27, 2012 7:18 pm

Re: Is there any timeout in remote execution/automation?

Postby NikoK » Wed Jun 13, 2012 9:25 am

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.
NikoK
TestLink user
 
Posts: 2
Joined: Fri Apr 27, 2012 8:19 pm


Return to TestLink 1.9



Who is online

Users browsing this forum: No registered users and 3 guests