Bits Testing is not supported for your selected Datadog site ().
Overview
Bits Testing is an AI agent that explores your application to map its most critical user journeys. It recommends ways to increase test coverage, and it can generate the Synthetic tests needed to close coverage gaps.
Access Bits Testing
Open Bits Testing from Synthetic Monitoring & Testing using any of the following:
Bits Testing in the Synthetic Monitoring & Testing top navigation.
Cmd+K on macOS or Ctrl+K on Windows, then search for Bits Testing.
Bits Testing in the side navigation menu, under Digital Experience > Synthetic Monitoring & Testing.
To trigger a Bits Testing job, your role must include the synthetics_read and synthetics_writepermissions.
On the Bits Testing page, describe the coverage you want in plain language, or select a suggested prompt. For example, ask Bits Testing to increase coverage generally, or to focus on specific features.
Confirm the starting URL. Leave Restrict Discovery to the start URL domain enabled to keep Bits Testing from following links to a different domain. Turn it off if your application’s sign-in flow redirects off-site and back.
Select a location to run the Bits Testing job from:
Ask about every action: Pauses before a sensitive action that changes real data, until you approve or deny it. See Approve or deny sensitive actions.
Auto-approve actions: Never pauses. Use only in test environments.
Click Start Discovery, or Start Discovery Without a Profile if you didn’t select a profile.
If your application is behind bot protection or a WAF, see Troubleshooting.
Run Bits Testing from a private location
Select a private location to run Discovery against an internal application that only your private network can reach. Bits Testing reaches the application using remote execution. Your private location opens a short-lived tunnel to the application. The Bits Testing job itself runs on Datadog-managed infrastructure, not inside your environment. Job results list the private location you selected as the job’s location.
Prerequisites
Worker version: Private location worker v1.74.0 or later. Pull the latest image from the private location worker page on Docker Hub. Workers on earlier versions keep running but can’t be selected for Bits Testing.
Remote execution enabled: Set disableRemoteExecution to false in the private location’s configuration file, then deploy the workers. For an existing private location, upgrade the worker image first, then redeploy.
Profiles
A profile stores context that Bits Testing uses while interacting with your application, such as login credentials.
To create a profile:
Open the Profile dropdown menu and select + New Profile.
Name the profile.
Add one or more variables. For each variable, set:
Usage: The variable’s purpose, for example, username or password.
Value: Either a typed value, or an existing Global Variable.
Click Create Profile.
The new profile is automatically selected for the current job. Saved profiles can be reused in later Bits Testing jobs without redefining their variables.
Review results
Review a Bits Testing job while it’s in progress, as it pauses for approval, or after it completes.
View a job in progress
Bits Testing explores your application starting from the URL you provide. At each new page it encounters, it determines a set of actions to try, and it repeats this process as it moves through your application. Click a job under My Jobs to view it while it’s in progress or after it completes.
Approve or deny sensitive actions
When review mode is set to Ask about every action, Bits Testing pauses before a sensitive action. It displays an Approval needed card in the map that describes the action and why it needs review.
Click Approve to let Bits Testing continue down that path.
Click Deny to skip the action. Bits Testing stops exploring that branch, marks it as denied in the map, and continues exploring other paths.
If you don’t respond before the approval expires, Bits Testing treats it like a denial and stops exploring that branch.
Inspect an explored action
Click any node in the map to open a detail panel for that step. The panel shows:
Action: The action Bits Testing took.
Page: The URL where the action occurred.
Reasoning: Why Bits Testing chose this action.
Step: The specific interaction performed. For example, the action Add product to cart might correspond to the step Click Add to cart button.
Use the panel’s navigation controls to move between the screenshots captured during the job.
View a completed job
After a job completes, Bits Testing updates the map to distinguish two kinds of paths:
Exploration path: Every page and action Bits Testing tried while exploring your application.
Path to generated journey: The specific sequence of actions that produced a test suite.
If a job doesn’t complete successfully, the map shows the error that stopped it.
Generated test suites
Click a green journey card to open the AI-generated test suite for that journey. A test suite can include:
Browser tests that replay the interactions a user takes to complete the journey, with assertions along the way.
HTTP tests that validate the endpoints the journey calls to retrieve data.
Network path tests that check the hosts powering the journey are reachable.
Each test in the suite includes a free sample test run. Review the suite and either:
Click Ignore if the suite isn’t relevant, and optionally share feedback about why.
Click Start Testing to add the suite’s tests to your account. This requires the synthetics_writepermission.
After you start testing a suite, each test becomes a regular Synthetic test that you can edit or delete. By default, generated tests run every 5 minutes from the location you selected for the Bits Testing job.
Browser and HTTP tests generated by Bits Testing support the same locations as any other Synthetic test, including private locations. Generated network path tests can’t run from private locations. They run only from managed locations (excluding Azure) or from a Datadog Agent. See Network Path Testing.
Troubleshooting
Bot protection or a WAF blocks Bits Testing
If your application sits behind bot protection or a web application firewall (WAF), allow the Synthetic Monitoring IPs with your provider. Find them under synthetics in the Datadog IP ranges. To run Bits Testing from a single location, you can allow only that location’s IP range instead. For the locations Bits Testing can run from, see the Supported locations section.
Alternatively, run Bits Testing from a private location instead of a managed location. Traffic then reaches your application from inside your own network. Bot protection or a WAF that blocks public cloud traffic doesn’t block it.
Further reading
Additional helpful documentation, links, and articles: