This page last changed on Dec 06, 2009 by csut017.

HTTP Status Task

Sends an HTTP request to the specified URL.

Version

Available from version 1.5

Examples

Minimalist example
<checkHttpStatus>
  <httpRequest>
    <uri>http://somewhere.com</uri>
  </httpRequest>
</checkHttpStatus>
Full example
<checkHttpStatus>
  <dynamicValues />
  <includeContent>False</includeContent>
  <httpRequest>
    <method>GET</method>
    <uri>http://somewhere.com/</uri>
    <useDefaultCredentials>false</useDefaultCredentials>
  </httpRequest>
  <retries>3</retries>
  <successStatusCodes>200</successStatusCodes>
</checkHttpStatus>

Configuration Elements

Element Description Type Required Default Version
description Description used for the visualisation of the buildstage, if left empty the process name will be shown. String No The task/publisher name. 1.5
dynamicValues The dynamic values to use for the task. Dynamic Values array No None 1.5
includeContent Whether to include the content of the call in the log. Boolean No false 1.5
httpRequest The request settings. HTTP Settings Yes n/a 1.5
retries The number of retries to allow. Int32 No 3 1.5
retryDelay Gets or sets the retry delay. Timeout No    
successStatusCodes The list of exit codes that indicate success, separated by commas. String No 200 1.5
taskTimeout The timeout period to allow. Timeout No 5 seconds 1.5

Notes

Task supplied by Patrik Husfloen.

Automatically Generated

Documentation generated on Sunday, 6 Dec 2009 at 8:15:10 AM

Document generated by Confluence on Jan 23, 2011 08:52