Forum OpenACS Q&A: tclwebtest hangs

Collapse
Posted by Dave McBride on
In tclwebtest is there a way to wait a certian amount of time for a response to a request, then timeout, even if the web site is there?

For example, a page is called that is taking longer than is expected to return due to a large query or site that is not working properly.

I am thinking of a timer that says after 1 minute the page should have come back with a result, even if the web site is found. If it does not return within that time frame then return error for that request to the tclwebtest test.

All I get now is a hang which means I can't be confident that all tests will run during an overnight run.  I have to breakup the tests due to the possible hang.

Dave