1. Support
  2. Knowledge base
  3. Synthetic Monitoring
  4. Monitor settings
  5. Error conditions
  6. Error conditions - Check URLs loaded by the page

Error conditions - Check URLs loaded by the page

Browser based monitoring types, such as Full Page Checks, load your page(s) in an actual browser. The result of that is, in most cases, a waterfall chart which lists all of the elements and resources that were loaded as part of the page.

The elements that are loaded in the browser include first-party content, such as the original HTML document or images hosted in the same network, but can also include third-party content, such as external monitoring scripts or analytics. Each of these elements will be a separate entry in the waterfall chart, with its own request URL and load time metrics, as outlined in the waterfall chart article.

The Check URLs loaded by the page error condition allows a monitor to check whether or not any elements in the waterfall chart have a certain request URL. For example, a browser based monitor can be configured to confirm that Uptrends' Real User Monitoring is running on a page by checking whether the request URL of any of the waterfall elements matches hit.uptrends.com.

Configuring a waterfall element request URL check

To configure the ‘Check URLs loaded by the page’ error condition:

  1. Navigate to the monitor settings of the monitor in question. Either click its name in the list of monitors accessible via Monitoring > Monitor setup in the menu, or click ‘Edit’ in the quickinfo panel that appears when you hover over the monitor’s name.
  2. Open the Error conditions tab.
  3. Click the + New check button under Check URLs loaded by the page.
  4. Select whether the monitor should return an error when the specified URL does or does not appear as the request URL in any of the waterfall chart entries.
  5. Enter the (partial) URL. The entered value can be a regular expression.
  6. Click Save in the bottom left to save the monitor.

The following example shows the error condition checking whether the Uptrends RUM script has been correctly implemented, by confirming that hit.uptrends.com/.* (note the regular expression) is in the list of loaded elements. If this particular URL is not in the list of loaded elements, the monitor will generate an error.

The Check URLs loaded by the page error condition

By using the Uptrends website, you consent to the use of cookies in accordance with our Cookie Policy.