Live Tail
-Must load data manually first
-Verifies event count and server messages
open /core/tail
comment (open the main interface)
pause 1000
comment Wait for tail to initialize and create a stream connection
type //input[@name='q'] HTTPStreamer services
comment Enter sample search text
clickAndWait //form[@id='searchForm']//input[@type='submit'] submit
comment Submit the new search term
pause 4000
comment Wait for tail to initialize and establish a connection
verifyTextPresent splunk> started...
comment Check to see that the connection was successfully made
pause 3000
verifyTextPresent HTTPServer - METHOD = GET /streams?name=_dynamic&filter=test HTTP/1.0
comment Verify that a tail event was piped to console
pause 20000
verifyTextNotPresent splunk> connection closed...
comment Verify that the tail process has not been lost in the last 10 seconds