|
Property
|
Required
|
Description
|
|
interval
|
Yes
|
The number of seconds to wait between the completion of one run of the Monitor Component and the start of the next run.
|
|
startupDelay
|
Yes
|
The number of seconds to wait before running tests after the Monitor Component starts.
|
|
Property
|
Required
|
Description
|
Default
|
|
type
|
Yes
|
Identifies the type of test.
Value: FileChanged.
|
|
|
url
|
Yes
|
The URL to test.
Example: http://localhost:8080/highway/http/SubmitMessage?HighwayEndpointId=SPSBB&HighwayMessage=HEARTBEAT_TEST&Synchronous=Yes
|
|
|
expected
|
Yes
|
The test string that is expected in the HTTP response. If this string does not exist, then the test fails.
|
|
|
method
|
No
|
Specify if a HTTP POST or GET is performed.
|
GET
|
|
timeout
|
No
|
The time (in seconds) that the test will wait for a response. If you do not specify a time, then the test waits until a response is returned.
|
0
|
|
description
|
No
|
A sentence suggesting what to do when the test fails. This description is included in the XML result when the test fails.
|
|
|
weekdayIgnore
|
No
|
The period during which the test does not run on weekdays.
Format: hh:mm-hh:mm, in 24 hour time.
Example: 10:00-14:00
|
|
|
weekendIgnore
|
No
|
The period during which the test does not run during weekends.
Format: hh:mm-hh:mm, in 24 hour time.
Example: 09:00-23:00
|
|
|
Property
|
Required
|
Description
|
|
type
|
Yes
|
Identifies the type of test.
Value: FileChanged.
|
|
file
|
Yes
|
The file to monitor.
Example: C:/PRECISION/WebUI/jboss/server/default/log/server.log
|
|
changeFrequency
|
Yes
|
The maximum amount of time, in seconds, that the file should be unchanged before the test is considered to have failed.
|
|
description
|
No
|
A sentence suggesting what to do when the test fails. This description is included in the XML results when the test fails.
|
|
weekdayIgnore
|
No
|
The period during which the test does not run on weekdays.
Format: hh:mm-hh:mm, in 24 hour time.
Example: 10:00-14:00
|
|
weekendIgnore
|
No
|
The period during which the test does not run during weekends.
Format: hh:mm-hh:mm, in 24 hour time.
Example: 09:00-23:00
|
|
Property
|
Required
|
Description
|
|
type
|
Yes
|
Identifies the type of test.
Value: FileChanged.
|
|
directory
|
Yes
|
The directory to search. For example:
C:/PRECISION/WebUI/service
|
|
expected
|
Yes
|
Do files in the directory match the matches condition or no.
Possible values:
no - a match should result in a test failure.
yes - a match is not expected.
|
|
matches
|
Yes
|
The match condition.
Example: *.hprof
|
|
description
|
No
|
A sentence suggesting what to do when the test fails. This description is included in the XML results when the test fails.
|
|
weekdayIgnore
|
No
|
The period during which the test does not run on weekdays.
Format: hh:mm-hh:mm, in 24 hour time.
Example: 10:00-14:00
|
|
weekendIgnore
|
No
|
The period during which the test does not run during weekends.
Format: hh:mm-hh:mm, in 24 hour time.
Example: 09:00-23:00
|