Hello again :)
I have another problem. Its: how to simulate timeout? I have following timeout.php script:
<?php
$timeout = 10;
sleep($timeout);
echo "We waited $timeout s.";
?>
and when running command:
webbot -n -depth 10 -prefix
http://localhost.localdomain/test/ -timeout 3 -l file-l-timeout.log
http://localhost.localdomain/test/index.htmlI can see, that webbot is waiting 10 secs (not 3 as specified with "-timeout" option). When command ends, there is a following line in file-l-timeout.log:
...
localhost - - [Fri, 01 Dec 2006 11:02:53] GET
http://localhost.localdomain/test/timeout.php 200 15
...
Will be happy for any comments.
Thanks,
Jan
--
Jan Hutar Quality Assurance Engineer
jhutar@... Red Hat, Inc.