Browser Test Results
Datadog's Research Report: The State of Serverless Report: The State of Serverless

Browser Test Results

Overview

Test results are accessed from the Step Results section on your browser test’s status page.

Errors

The Errors panel shows the name of the error, description, type (js/network), and status (network status code).

The type of error is logged during interaction with the page. It corresponds to the errors collected between the time the page is opened and the time interaction with that page is realized.

The maximum number of errors that can be displayed is 8, for example 2 network + 6 js.

Resources

A resource corresponds to the combination of requests and assets. The Resources panel shows:

ItemDescription
ResourceThe URL of the resource
TypeThe type of resource (HTML, CSS, Image, Javascript, XHR, Other)
DurationThe time needed to perform the request
% Total TimeThe resource duration over the total interaction time
SizeThe size of the request response

The maximum number of resources that can be displayed is 50. Typically, the resources with the longest duration (slowest to load) are displayed first.

Resources can be filtered by resource type. Also, a search can be performed over the displayed URLs.

Traces

The traces panel shows your traces associated with the browser synthetics test. The UI is similar to the APM Trace View except for the following difference.

One browser step can make multiple requests to different URLs/endpoints, which results in several associated traces (dependent on tracing and whitelisting setup). Use the dropdown to choose the trace to view.

Test failure and errors

A test is considered FAILED if it does not satisfy its assertions or if the request failed for another reason. You can view specific browser test errors by clicking on the error in the step results.

Common failure reasons include:

ErrorDescription
Element located but it's invisibleThe element is on the page but cannot be clicked on—for instance, if another element is overlaid on top of it.
Cannot locate elementThe element cannot be found in the HTML.
Select did not have optionThe specified option is missing from the dropdown menu.
Forbidden URLThe test likely encountered a protocol that is not supported. Reach out to Datadog support for further details.
General test failureA general error message. Contact support for further details.

Further Reading

Additional helpful documentation, links, and articles: