Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Learn

Synthetic monitoring: scripted checks from the outside

Synthetic monitoring runs scripted, automated requests against your site or app from outside on a schedule, so you learn about failures before real users hit them. It differs from real user monitoring, which records what actual visitors experience.

The short answer
  • Synthetic checks work at 3 a.m. with no traffic, because the monitor is the visitor.
  • Lab (synthetic) data finds regressions; field (real user) data shows what users actually get.
  • Start with the one path that earns money: homepage, login, checkout or the main API call.

Synthetic monitoring vs real user monitoring

Lab vs field measurement
AspectSynthetic monitoringReal user monitoring (RUM)
Data sourceScripted probes you controlBrowsers of actual visitors
Needs trafficNoYes
Detects an outage at nightYesOnly when someone visits
Shows device and network varietyNo, fixed test conditionsYes
Best forAvailability, regressions, SLAsReal-world speed and Core Web Vitals

Google web.dev makes the same split: lab tools for catching regressions, field data for the full user experience. See web.dev Web Vitals.

What can a synthetic check do?

Synthetic checks range from a simple request to a full scripted visit. Start simple and add depth where failures cost money.

Simple HTTP check

Request a URL on a schedule and verify the status code, response time and sometimes a keyword.

Multi-step transaction

Script a flow: load the product page, add to cart, reach checkout. Each step has its own assertion.

API check

Call an endpoint with credentials and verify the JSON body, not just the status code.

Multi-region probes

Run the same check from several locations to separate local network problems from real outages.

Page-load test

Load the page in a real browser engine and record load timings, comparable run to run.

Certificate and DNS checks

Verify the TLS handshake and DNS answer as part of the same schedule.

What should you script first?

  1. 01

    The revenue path

    The page or flow where a failure costs money: checkout, signup, login or the main API call.

  2. 02

    An assertion that proves the page is right

    A 200 status can hide an empty page or a PHP error message. Check for a phrase that only appears when the page renders correctly.

  3. 03

    A response-time limit

    Alert when the check passes but is much slower than its baseline.

  4. 04

    Two or more locations

    Confirm failures from a second region before paging someone.

Limits to know

Synthetic checks only test the paths you scripted, from the probe locations you chose. They will not see a bug that affects one browser version or one country. Pair them with field data for speed.

How do you keep scripted checks from breaking?

  • Use stable selectors or visible text, not generated class names that change on each build.
  • Give the test its own account and test data so real orders and emails are not created.
  • Set a timeout per step so one slow page does not hide the others.
  • Alert on repeated failures, because one failed run can be a network blip.
  • Update the script whenever the flow changes, and treat it as code in version control.

What do you need before you start?

  • A list of the three or four journeys that matter most to your business.
  • A test account with limited rights and test payment details if you sell online.
  • A place where alerts go and a person who owns the response.
  • A rule for what counts as a failure, such as two failed runs in a row.

Common questions

What is synthetic monitoring in simple terms?

A robot visitor. A monitoring service requests your pages or runs a scripted flow at fixed intervals from outside your network and alerts you if the result is wrong or slow.

Is uptime monitoring the same as synthetic monitoring?

Uptime monitoring is the simplest form: a scheduled request that checks the site responds. Synthetic monitoring is the broader category that also includes scripted multi-step transactions, browser-based tests and API assertions.

What is the difference between synthetic monitoring and RUM?

Synthetic uses scripted tests under controlled conditions and works without traffic. RUM collects measurements from real visitors, so it shows true device and network variety but only when people visit.

How often should synthetic checks run?

Critical pages every 1 to 5 minutes, secondary pages less often. The interval sets the worst-case delay before you learn of a failure. See the check interval guide for the trade-offs.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.