Synthetic monitoring is the practice of measuring a website or web application with scripted, automated visits that run on a schedule from controlled locations, devices and network profiles. In web performance, it provides a repeatable laboratory baseline: because every test uses the same conditions, a change in the result usually reflects a change in the site rather than a change in the audience.
The method is also called active monitoring or proactive testing, since the measuring agent generates its own traffic instead of waiting for visitors. It complements real user monitoring, which records what actual visitors experience, and the two together form the core of a mature performance practice.
How synthetic monitoring generates measurements
A synthetic monitoring system works by sending a test agent to load a page or complete a user journey at fixed intervals and recording what happens. The agent is typically a real browser engine such as headless Chromium or a full desktop browser, running in a data center, a cloud region or a dedicated device lab.
Each run follows a defined script: open a URL, wait for specific elements, click, type, submit a form and verify that the expected content appears. The agent captures a waterfall of network requests, a filmstrip of rendering frames, browser timing events and any errors. Results are stored as a time series, so engineers can compare today with yesterday or with the release before.
Control over conditions is the defining feature. A test can emulate a mid-range phone on a throttled 4G connection, a fast desktop on fiber or a user in another continent. Throttling is applied either by the browser or, more realistically, at the network packet level, which reproduces latency and bandwidth limits more faithfully.
The table below lists the main configuration parameters and how each one influences the results.
| Parameter | Typical values | What it affects |
|---|---|---|
| Test location | Cloud regions, ISP backbones, offices | Latency, DNS and CDN edge selection |
| Device profile | Desktop, mid-range Android, low-end phone | CPU-bound work such as JavaScript execution |
| Connection profile | Cable, 4G, slow 3G | Download time and round-trip delay |
| Test frequency | Every 1 to 60 minutes | Detection speed and monitoring cost |
| Cache state | First view or repeat view | Effect of browser caching and preload hints |
| Run count | 1 to 9 runs, median reported | Statistical stability of each data point |
Types of synthetic checks
Synthetic monitoring covers a range of check types, from a simple availability ping to a full multistep browser journey. Teams usually combine several types, because each one answers a different question at a different cost.
| Check type | What it does | Best suited for |
|---|---|---|
| Uptime check | Requests a URL and checks the HTTP status | Detecting outages within minutes |
| API check | Calls an endpoint and validates the response | Back-end availability and latency |
| Page load test | Loads one page in a real browser | Rendering metrics and waterfall analysis |
| Transaction script | Runs a multistep user journey | Login, search, cart and checkout flows |
| Lab audit in CI | Runs tests on each build before release | Catching regressions before deployment |
Transaction scripts are the most valuable and the most fragile. They verify that a business-critical path still works end to end, but they break when selectors, consent banners or login flows change, so they need ongoing maintenance like any other test code.
Metrics captured in a synthetic test
A browser-based synthetic test records the full set of lab performance metrics, many of which belong to the same Topic. Typical outputs include TTFB, FCP, LCP, CLS, Speed Index and Total Blocking Time, together with request counts, transferred bytes and the list of render-blocking resources.
One important limit applies to interaction metrics. INP measures how quickly a page responds to real user input across a whole visit, and a script that clicks a few predefined elements cannot reproduce that distribution. For this reason, lab tools rely on Total Blocking Time as a proxy for responsiveness, and the field value of INP must come from real user data.
Synthetic results are also used to enforce a performance budget. A pipeline can fail a build when, for example, total JavaScript exceeds an agreed size or LCP on the reference device rises above a threshold.
Synthetic monitoring compared with real user monitoring
Synthetic monitoring and real user monitoring measure the same site from opposite directions: one controls the conditions, the other observes reality. The comparison below shows why neither replaces the other.
| Aspect | Synthetic monitoring | Real user monitoring |
|---|---|---|
| Traffic source | Scripted agents | Actual visitors |
| Conditions | Fixed and repeatable | Varied and uncontrolled |
| Works without traffic | Yes, including staging sites | No, needs real visits |
| Diagnostic depth | Full waterfall, filmstrip, traces | Aggregated timings, limited detail |
| Representativeness | Only the tested scenarios | The real audience distribution |
| Core Web Vitals assessment | Lab estimates only | Field data used for the official assessment |
The practical rule is simple: use field data to find out what is wrong for real people and use synthetic tests to explain why and to verify the fix. Synthetic numbers often look better or worse than field numbers, because the chosen device and network rarely match the median visitor.
Designing a reliable synthetic monitoring setup
A good setup starts by mirroring the real audience: choose locations, devices and connection profiles that match the largest visitor segments shown in analytics or field data. Testing only from a fast server near the origin produces flattering numbers that nobody actually experiences.
Variance management is the second priority. Single runs fluctuate because of network jitter, third-party scripts and server load, so mature setups run several iterations and report the median, keep test agents on stable hardware and alert only after two or more consecutive failures from different locations.
| Situation | Recommended choice | Reason |
|---|---|---|
| Mostly mobile audience | Mid-range phone on throttled 4G | Exposes CPU and network bottlenecks |
| Global customer base | Tests from three or more regions | Reveals CDN and DNS differences |
| Frequent releases | Lab tests in the CI pipeline | Blocks regressions before production |
| Noisy results | Median of five or more runs | Reduces random variance |
| Critical checkout flow | Transaction script every 5 minutes | Detects broken journeys quickly |
Limitations and common mistakes
The main limitation of synthetic monitoring is that it measures only what it is told to measure. Pages, personalization paths, logged-in states and third-party variants that are not scripted remain invisible, so a green dashboard can coexist with a poor experience for real users.
- Unrealistic test conditions: fast desktop profiles hide problems that mid-range phones expose.
- Polluting analytics: synthetic traffic should be filtered or tagged so it does not distort visitor statistics or advertising data.
- Alert fatigue: alerting on a single slow run trains teams to ignore notifications.
- Stale scripts: unmaintained journeys produce false failures after every interface change.
- Cached results: testing only repeat views overstates the speed seen by first-time visitors.
A non-technical view
Synthetic monitoring is like a mystery shopper for a website. A robot visits the site every few minutes. It follows the same steps each time. It notes how long everything took and whether anything broke.
The robot always uses the same phone and the same connection. So any change in its notes points to a change in the website itself. The key takeaway is that it warns a team early, even at night. It only checks the paths it was taught to follow, though.
A concrete example
An online ticket retailer runs a checkout transaction script every five minutes from three regions, using a mid-range Android profile on a throttled 4G connection. The script searches for an event, selects two seats, enters test payment details in a sandbox and confirms that the confirmation page appears.
One evening, LCP on the event page jumps from about 2.4 seconds to 5.1 seconds in all three regions after a release. The waterfall shows a new, uncompressed hero image of 3 MB and a render-blocking font file. The team reverts the change within 20 minutes, and the regression never reaches the field data used for the site’s Core Web Vitals assessment.