Add / Edit an HTTP/S Task

Device Type: ServerView Platform

Glossary Entry:  HTTP TaskHTTPS Task

How to create devices and tasks

How to Edit an HTTP Task

Once you have created a device and are adding or editing an HTTP task, you will be prompted to adjust the following settings:

HTTP-Task

image2013-2-28 16-28-52 The Rowdata Button leads to a page with a visually friendly summary of the monitoring task, including key request information.

Task Name: Provide a descriptive name for the task so that you would be able to identify the task later among a list of similar tasks.  For example, “www.example.com http full page load”

Maximum Connection Timeout (in seconds): Enter the number of seconds the task should wait for a response from the web page before aborting the task and returning an error.  If this is left blank the default timeout for a task is 120 seconds.

Request Type: You can send a GET or a POST request to the web page.  Selecting a GET request will simply retrieve data from the web server.  Selecting a POST request indicates that you are including a set of data for the server to act upon.  Note:  if you set the request type to POST but do not specify a POST parameter in the additional parameters section below, the POST value will default back to get upon saving the task.

URL: Enter the URL of the page you wish to perform the task on.  It should be formatted as such: www.example.com

Keyword Content Validation

Username: This field contain a username for HTTP basic or digest access authentication. 

User Password:  This field contain a password for HTTP basic or digest access authentication.

For an HTTPS task, the following additional options are available:

Secure Socket Layer SSL Certificate Monitoring is a standard aspect of HTTPS monitoring:
Check Certificate Authority (CA): verifies whether a certificate chain contains a root certificate that is trusted, or not trusted.
Check Certificate Common Name (CN): validates that an address you navigate to matches the address certificate the address was signed to.
Check Certificate Date: verifies the certificate expiration date.
Check Certificate Revocation: validates that the certificate’s chain of trust doesn’t contain a revoked certificate.
Check Certificate Usage: verifies a certificate chain for the improper use of an intermediate certificate.
Expiration Reminder in Days: is a reminder that notifies (as an error) about certificate expiration.

Secure Socket Layer SSL Certificate Monitoring is a standard aspect of HTTPS monitoring:
Check Certificate Authority (CA): verifies whether a certificate chain contains a root certificate that is trusted, or not trusted.
Check Certificate Common Name (CN): validates that an address you navigate to matches the address certificate the address was signed to.
Check Certificate Date: verifies the certificate expiration date.
Check Certificate Revocation: validates that the certificate’s chain of trust doesn’t contain a revoked certificate.
Check Certificate Usage: verifies a certificate chain for the improper use of an intermediate certificate.
Expiration Reminder in Days: is a reminder that notifies (as an error) about certificate expiration.

Full Page Download: Select whether you wish the task to perform a simple download of only the html, to download all of the elements on the page, or some subset of the elements.  If you select yes, a dropdown will appear that contains check boxes to choose which additional elements you wish to download along with the html.

Info
After activation the Performance Report with a waterfall chart is available in online reports in the “Reason” field by clicking “Details”

Additional Parameters: If you click the arrow next to additional parameters you are given four types of

     Get Parameters

          Name Specify the name of the parameter as it will appear in the request.

          Value Enter the value associated with the name of the parameter.

     Post Parameters

          Name Specify the name of the parameter as it will appear in the request.

          Value Enter the value associated with the name of the parameter.

     Headers

          Name Specify the name of the parameter as it will appear in the request.

Value Enter the value associated with the name of the parameter..

Prepare Script field can contain C# code, which can be used for specific POST, GET and URL data. For example, it could be a random-number generator, or for pulling atypical parameters. . It can be used, for example, to generate a dynamic URL depending on previous requests (for example, if it gives less than 1000 links – open URL “A”, if more than 1000 links then open URL “B”) Please contact technical support for more details on usage.
DNS Options are explained in detail in “DNS Mode Option” article

Info
User-Agent header used by the Dotcom-Monitor ServerView HTTP task: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705)

However, the IE6 user string can be replaced with any other string. To do this, go to the HTTP/HTTPS task setting page, open the additional parameters section and add a custom header with name “user-agent” and the specific value needed.