[Dev] <notification> messages

Frank Cohen fcohen at pushtotest.com
Fri Apr 27 13:30:34 PDT 2007


Luis Carlos is working on the <notifications> function TM5. I've done  
some more thinking about it and would like <email> to support two  
more attributes:

<email on="start" email="fcohen at pushtotest.com" subject="test started"
message="The test started. -Frank"/>

The resulting email message looks like this:

To: fcohen at pushtotest.com
Subject: test started
The test start. -Frank

Test Scenario: GeoTest
Started at: Feb 27 2007 00:36:45 AM GMT


For the other <email> types:


on="end"

appends this to the message:

Test Scenario: GeoTest
Started at: Feb 27 2007 00:36:45 AM GMT
Ended at: Feb 27 2007 00:36:45 AM GMT
Cause: Normal termination
Average response time: 100
Minimum response time: 15
Maximum response time: 3828
Count of test executions: 283728
All times in milliseconds


on="interrupted"

appends this to the message:

Started at: Feb 27 2007 00:36:45 AM GMT
Ended at: Feb 27 2007 00:36:45 AM GMT
Cause: Exception
Stack trace: ...


on="testcasestart"

appends this to the message:

Test Scenario: GeoTest
Test Case: insert_test, CR: 2, Size: 3
Started at: Feb 27 2007 00:36:45 AM GMT



on="hourly"

appends this to the message:

Test Scenario: GeoTest
Started at: Feb 27 2007 00:36:45 AM GMT
Currently Running Test Case: insert_test, CR: 2, Size: 3
Average response time: 100
Minimum response time: 15
Maximum response time: 3828
Count of test executions: 283728
All times in milliseconds


-Frank

--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
TestMaker: The open-source SOA governance and test automation tool






--
Frank Cohen, PushToTest, http://www.PushToTest.com, phone 408 374 7426
TestMaker: The open-source SOA test automation tool





More information about the Dev mailing list