How to create devices and tasks

Creating a BrowserView task

During task configuration, you will be prompted to adjust the following basic settings:

URL(required)

Enter the URL that you wish to test. The address should be formed exactly as you would use it in a browser, such as http://www.example.com. You must include the http:// or https:// at the beginning of the address.  You may include any GET parameters at the end of your URL.

Completion Timeout (in seconds)

Enter the number of seconds the task should wait for a response from the web page before ending the task and returning an error. If this is left blank the default timeout for a task is 120 seconds.

Browser Type

Select the desired browser platform from the following choices: Internet Explorer, Firefox, Chrome, or a mobile device.

Browser Version

Depending upon which browser type you selected above, a field will appear that allows you to specify a specific version of the browser you wish to use in the test.

Ignore Certificates Errors

Allows you to disable the detection of any certificate issues.

Record Video on Each Run

Record Video on Each Run will record a video capture for every single monitoring session.  If this option is not turned on, the task will only record a video on the first session of a day that errors or on the first error detected from a location in a given error period.

Simulate a Return Visitor

If you want to see how a web page performs for a frequent visitor, or someone who already has elements from the page cached, you can turn on the return visitor flag on the task edit screen.

Simulate a Return Visitor immediately revisits the web page a second time and only records the results of the second visit. Results may differ from a first visit (which always starts with an empty cache) based upon how the browser handles certain items, such as the expiry of elements on the page.

Response Time Calculation

Response time is commonly considered as the time passed from the end user request in a real browser, to the particular event during the page loading process. 

Choose from the following options to calculate Response Time for:

  • Full Page Load. Calculation of Full Page Load time is started when a site visitor initiates a request and stops when the entire page’s content is displayed in the browser window (the loading spinner has stopped spinning). To put it in another way, the time includes server response time and download time of all sub-resources like images and CSS (the Load Complete End event). 
  • Network Times Only. Selecting Network Times Only is useful if you are interested in a pure server response and download time of the page elements, and not in how long it takes an arbitrary end user machine to render the page. It still sends a browser agent of the type specified above – and the server may send a different response based upon the agent specified. The time between network requests (e.g., JavaScript was executing) are not taken into account during the network time calculation, so verification for completion timeout is applied to pure response time.  
  • Navigation Timing Event. This option brings up a selection of particular time points in the page loading process. Some correspond to DOM events, others describe the time at which internal browser operations of interest took place. For descriptions of a particular event parameter, see https://www.w3.org/TR/navigation-timing/#sec-navigation-timing-interface.  
  • First Meaningful Paint. If this option is selected, the time to load a page’s primary visible content (the visible text, images, etc.) is calculated. The paint that follows the biggest layout change is taken into account. For example, the time to render the majority of the search results for a search engine page is calculated. Paints with only the page header, navigation bar, or loading indicator such as spinner icon don’t qualify.  

Content Validation

Content Validation Keywords are used to ensure that the expected content was loaded onto a web page.

In the Keyword fields, you can specify one or more words or phrases that you wish to search for in the web page content.  If the expected keywords are not found, the task will return an error.

You can enter multiple strings into the keyword fields.  The values you enter can be separated by logical expressions as follows:
{[(“keyword1″&”keyword2″)|!”keyword3″]}
]} – keyword expression end;
where
{[ – keyword expression start;
() – grouping brackets;
& – logical AND;
| – logical OR;
! – logical NOT;
“string” – a keyword;

A successful keyword expression must include the start and end brackets as follows:

{[“keyword”]}

Basic Authentication

Basic authentication is used to allow users to access content on some websites.

Username: this field contains a username for HTTP/S basic or digest access authentication.

User Password: the field contains a password for HTTP/S basic or digest access authentication.

Read the article on Authentication username and password for more information.

Download Filter 

Expand the network element filter section and add a filter rule to ignore certain elements, such as images, Flash, or CSS, so they are not downloaded. You can use this to filter out elements that return an error. For example, you could ignore files that end in .js, .css, or .png. Or you could ignore files that contain google or jquery, etc.

There are two types of rules:

  • Ignore elements corresponding to the mask.
  • Download only the elements that correspond to the mask.

Each “Download” and “Ignore” field has three possible values:

  • Start With. Each referenced object which starts with this string will be filtered.
  • Contain. Each referenced object which contains this string will be filtered.
  • End With. Each referenced object which ends with this string will be filtered.
  • Equals. Each referenced object which is equivalent to this string will be filtered.

Before applying, be sure that your root HTML element isn’t filtered.

DNS Options 

The DNS Options feature allows users to choose how domain name server (DNS) requests are conducted during a monitoring task.

To specify the mode of resolving hostnames, in the DNS Resolve Mode section, select one of the available modes. For more details on the feature configuration, see DNS Mode Options.

The Custom DNS Hosts section contains the mappings of IP addresses to hostnames.

To specify the mapping, enter the IP address and the host name in the corresponding fields.

Examples:

192.168.107.246   example.com user.example.com userauth.example.com tools.example.com
192.168.107.246   example.com
192.168.107.246   user.example.com
192.168.107.246   userauth.example.com