HttpRequestTask

This task will make an HTTP request to the provided URL and match the response against the provided regular expression. If an regular expression is provided and doesn't match the build will fail. You need an installed version of HTTP_Request2 to use this task.

Table 90. Attributes

Name Type Description Default Required
url String The request URL n/a Yes
responseRegex String The regular expression for matching the response n/a No
authUser String The authentication user name n/a No
authPassword String The authentication password n/a No
authScheme String The authentication scheme basic No
verbose Boolean Whether to enable detailed logging false No
observerEvents String Comma-separated list of events to log when verbose is set to true connect, sentHeaders, sentBodyPart, receivedHeaders, receivedBody, disconnect No
method String The HTTP method of the request, currently only GET or POST supported GET No