This step is used to verify that the contents of a particular URL match an expected pattern. If the desired pattern is not matched, the step fails and execution stops.
The <urlTest> step has the following attributes:
delaySecs – A required attribute of type positiveInteger, which is the number of seconds to wait before testing the URL contents.
timeoutSecs – A required attribute of type positiveInteger, which is the number of seconds to wait to receive the URL contents before failing. Time starts after the delay has completed.
URL – A required attribute that is the URL whose contents should be tested. Currently, only the HTTP protocol is supported. This attribute can reference simple substitution variables.
pattern – A required attribute that is a glob-style pattern that is expected to match the contents of the URL that is being tested. This value supports multibyte encoding. This attribute can reference simple substitution variables.