Explore RUM & Session Replay In Synthetics

Overview

If you don’t have Real User Monitoring, you can access a preview of RUM, Session Replay, Error Tracking, and additional performance data from your Synthetic browser test runs.

Synthetic browser tests embed the Real User Monitoring SDK, allowing you to explore:

  • Session Replay for all tests. You can access additional context beyond screenshots available for each step and Browser Dev Tools.
  • The session in the RUM Explorer.
  • Aggregated errors across your different steps, tests, and test runs with Error Tracking. You can scope the error impact and prioritize fixing the most severe issues.
  • Extra resources and timing information from RUM including additional search and monitor capabilities.

Allow Synthetic data on RUM applications

In your browser test recording, click Collect RUM Data on above the Start Recording button and select an application to collect data on. After saving your recording and test configuration, RUM gathers test data and generates session recordings from your browser test runs.

  1. Navigate to UX Monitoring > Settings > Integration Settings.
  2. Under Synthetic Data RUM Collection, click Enable Synthetic RUM data collection to enable Datadog to collect RUM data from your test runs.
  3. Click Save RUM Data Collection.
  4. Under Synthetic Data RUM Applications, select a default RUM application suggested in the Browser Test Recorder from the dropdown menu.
  5. Click Save RUM Data Applications.

Optionally, click Synthetic Tests Default and select another RUM application from the dropdown menu. This application is displayed in the browser test recording.

For more information, see Synthetic Monitoring Settings.

Synthetics to RUM Explorer

Navigate to your list of browser tests and click on a sample test run.

Test Step Details Side Panel

The step details side panel appears with This Synthetic test generated data in Real User Monitoring and includes the session ID and the Go to the View in RUM button.

Synthetics Explorer

To see this test step’s errors, resources, and performance data in the RUM Explorer, click Go to the View in RUM. Alternatively, click the Replay Session button or View all sessions in RUM to explore available session replays captured in your browser test.

RUM Explorer to Synthetics

In the RUM Explorer, navigate to your list of sessions and click on a session with a replay available.

Sessions Details Side Panel

The session panel appears with This event was generated by a Synthetic test run and includes the test ID and the View Synthetic Test Result button.

Sessions Details

To navigate back to Synthetics and your test’s results, click View Synthetic Test Result.

Further Reading

Additional helpful documentation, links, and articles: