[Dev] Ticket 171 - Timeouts not working

Frank Cohen fcohen at pushtotest.com
Thu Nov 8 07:55:55 PST 2007


Dear Luis Carlos:

I could not confirm that ticket 171 - the timeout function on test  
use cases - is functioning. See the ticket (http:// 
bugs.pushtotest.com/ticket/171) for the TestScenario and unit test  
script.

While the test operates I see the Output panel reporting successes.  
The unit test script calls:

http://examples.pushtotest.com/responder/htmlresponder?sleeptime=5000

This URL tells the htmlresponder servlet to sleep for 5000  
milliseconds before returning a response. The TestScenario <run>  
method has the timeout value set to 3000.

<run module="frankmodule" name="test1" testclass="franktest"  
method="runTest" langtype="jython" timeout="3000"/>

So the <run> should timeout and indicate that this test usecase is a  
failure.

Please confirm.

Thanks.

-Frank

--


	-	Stoping test			-
Stoping node: localhost
The node has been stopped
Test stopped!
	-	Test Scenario Error		-
Error reading the Scenario: Unexpected element {www.pushtotest.com/ 
tm5}:delayBetweenStartingUseCasses

	-	Validating test			-
The test is valid.
	-	Test Resources		-
XML Scenario:	/Applications/PushToTest_TestMaker/test/loadtest.xml
Module File:	./test/franktest.py
	-	Loading Scenario		-
The node localhost is valid
The node localhost has loaded the scenario
	-	Starting Monitors		-
Monitor for localhost started.
	-	Monitoring on Host is disabled	-
	-	Making Transactions		-
	-	Restarting monitors		-
	-	Recording Transaction		-
Node localhost update: Test done: 2. Success: 2. Failures: 0.
Node localhost update: Test done: 5. Success: 5. Failures: 0.
Node localhost update: Test done: 9. Success: 9. Failures: 0.
Node localhost update: Test done: 12. Success: 12. Failures: 0.
Node localhost update: Test done: 16. Success: 16. Failures: 0.
Node localhost update: Test done: 20. Success: 20. Failures: 0.
Node localhost update: Test done: 22. Success: 22. Failures: 0.
	-	Test Complete!			-
	-	Getting Result Files		-
Getting ./Results/Thu_Nov_08_07-43-07_PST_2007/docs/localhost- 
uc0crl0sz0.xml from localhost
	-	Fetching Monitor Information		-
	-	Restarting monitors		-
	-	Recording Transaction		-
Node localhost update: Test done: 4. Success: 4. Failures: 0.
Node localhost update: Test done: 11. Success: 11. Failures: 0.
Node localhost update: Test done: 19. Success: 19. Failures: 0.
Node localhost update: Test done: 27. Success: 27. Failures: 0.
Node localhost update: Test done: 34. Success: 34. Failures: 0.
Node localhost update: Test done: 42. Success: 42. Failures: 0.
Node localhost update: Test done: 44. Success: 44. Failures: 0.
	-	Test Complete!			-
	-	Getting Result Files		-
Getting ./Results/Thu_Nov_08_07-43-07_PST_2007/docs/localhost- 
uc0crl1sz0.xml from localhost
	-	Fetching Monitor Information		-
	-	Developing summary files and graphs	-
Saved Results : /Applications/PushToTest_TestMaker/Results/ 
Thu_Nov_08_07-43-07_PST_2007



--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 871 0122
TestMaker open-source test automation






More information about the Dev mailing list