Getting Synthetics Right: How To Design Synthetic Tests with Purpose

Key Takeaways

  • Map short, critical user flows that reflect real behavior. Group steps into structured transactions for clarity.
  • Connect tests to backend systems to keep RUM and APM data flowing.
  • Build a proactive, always-on signal, especially when user traffic is low.

Synthetic browser tests are one of the most powerful tools in your observability stack. When they reflect real user flows and backend interactions, these tests help teams to:

This article covers Best Practice #1 in the Getting Synthetics Right Series: Design with Purpose.

What “design with purpose” means for synthetic tests

This best practice is about intentionally designing each synthetic test for clarity, measurability, and business value. Start by mapping short, critical user journeys that reflect the flows most important to your customers and your business. The key is to build journeys from authentic user interactions like clicks, form fills, and menu selections.

While it can be tempting to use shortcuts by directly calling a final URL, this approach bypasses the actual user experience. By simulating the full clickstream, your tests ensure that critical components like search bars and navigation menus are working as expected, not just that the final page loads.

Once you have your steps, group them into synthetic transactions so you can measure metrics like duration, requests, and size for each business-critical workflow. Finally, design your tests to invoke key backend services so that passive monitoring tools like RUM and APM continue to receive meaningful data, even during low-traffic periods.

We’ll dive into each of these steps in detail, below.

Why this matters

Poorly structured synthetic tests can create noise, break for unrelated reasons, and leave you guessing about the root cause of a failure. By designing with purpose, you:

This approach turns synthetic monitoring from simple uptime checks into a powerful, always-on signal for both frontend and backend health.

Putting it into practice: How to design synthetic tests

1. Draft short, critical user journeys

Sit with a user or product manager to understand common and critical clickstreams. Document these clickstreams or record the session using a tool like Webex to map actual user behavior. Remember: the goal is to capture and understand the critical user journeys, not everything a user might do (we have RUM for that).

Examples of CUJs by industry:

Industry
Example Critical User Journey
Retail
Homepage → Search for product → Add to cart → Checkout
Finance
Login → View accounts → Transfer funds
Healthcare
Login → View test results → Message provider
SaaS / B2B
Login → Load dashboard → Create report
Travel
Search flights → Select option → Book and pay

With this understanding, you can build your synthetic test and take advantage of Splunk Observability Cloud’s out-of-the-box support for importing from the Chrome Recorder to capture interactions directly from your browser and import them into Splunk. These short flows are built from steps that make up individual interactions like clicking a link, entering data, or selecting a value from a drop-down menu.

Once your test is live, Splunk captures a real-time video of the transaction execution and provides a filmstrip view with screenshots at 100ms, 500ms, or 1-second intervals. See this in action:

Pro-tip: Save these videos or step captures into a knowledge base article and reference it in your detector alert message runbook URL. This ensures the KB article is linked in the alert when incidents are generated, giving on-call responders immediate context into what should be happening.

2. Group steps by purpose using transactions

Next, organize your steps into synthetic transactions. Each transaction represents a business-critical user flow, such as login or checkout.

This is a key part of designing with purpose. Instead of creating a single, massive test for an entire end-to-end workflow (like searching, adding to cart, and checking out), you should break it into separate, focused transactions. This allows you to isolate, test, and monitor each critical part of the user journey more effectively.

By combining both perspectives, you can pinpoint whether an issue is isolated to a specific page or is caused by the cumulative steps in a workflow. Multiple transactions in a test let you measure separate workflows without losing context.

3. Feed passive monitoring and invoke services

Synthetic browser tests are interval based and run 24×7×365, so it does not matter if real users are actively interacting with your front end. This active monitoring approach means your critical user journeys are tested continuously, providing coverage even when user activity is low or nonexistent.

When configured correctly, synthetics allow you to detect issues impacting these journeys in real time. This enables proactive response so your teams can start investigating and remediating problems before customers report them.

Once an issue is detected, responders can confirm it by reviewing the filmstrip from the synthetic run. The next step is to identify the root cause and assess the impact, if any, to real users.

Splunk ties this all together with deep links from synthetic runs directly into related RUM sessions and APM traces. This lets you follow the full journey from detection to impact assessment to root cause, in real-time, without losing context.

Design your tests for success

Designing with purpose means building synthetic tests that are short, structured, and aligned to your most critical user journeys. By capturing realistic steps, grouping them into meaningful transactions, and integrating them with your passive monitoring tools, you create a feedback loop that is proactive, precise, and actionable.

If your synthetics setup can tell you what is broken, how it impacts users, and where to start fixing it (all before your first support ticket arrives) you have turned it into one of the most valuable assets in your observability stack.

Next step: Take one critical user journey in your environment and apply this approach. Use Splunk Synthetic Monitoring to record it, define transactions, and connect it to RUM and APM for end-to-end visibility. You can try it yourself right now with this free trial of Splunk Observability Cloud.

Related Articles

What the North Pole Can Teach Us About Digital Resilience
Observability
3 Minute Read

What the North Pole Can Teach Us About Digital Resilience

Discover North Pole lessons for digital resilience. Prioritise operations, just like the reliable Santa Tracker, for guaranteed outcomes. Explore our dashboards for deeper insights!
The Next Step in your Metric Data Optimization Starts Now
Observability
6 Minute Read

The Next Step in your Metric Data Optimization Starts Now

We're excited to introduce Dimension Utilization, designed to tackle the often-hidden culprit of escalating costs and data bloat – high-cardinality dimensions.
How to Manage Planned Downtime the Right Way, with Synthetics
Observability
6 Minute Read

How to Manage Planned Downtime the Right Way, with Synthetics

Planned downtime management ensures clean synthetic tests and meaningful signals during environment changes. Manage downtime the right way, with synthetics.
Smart Alerting for Reliable Synthetics: Tune for Signal, Not Noise
Observability
7 Minute Read

Smart Alerting for Reliable Synthetics: Tune for Signal, Not Noise

Smart alerting is the way to get reliable signals from your synthetic tests. Learn how to set up and use smart alerts for better synthetic signaling.
How To Choose the Best Synthetic Test Locations
Observability
6 Minute Read

How To Choose the Best Synthetic Test Locations

Running all your synthetic tests from one region? Discover why location matters and how the right test regions reveal true customer experience.
Advanced Network Traffic Analysis with Splunk and Isovalent
Observability
6 Minute Read

Advanced Network Traffic Analysis with Splunk and Isovalent

Splunk and Isovalent are redefining network visibility with eBPF-powered insights.
Conquer Complexity, Accelerate Resolution with the AI Troubleshooting Agent in Splunk Observability Cloud
Observability
4 Minute Read

Conquer Complexity, Accelerate Resolution with the AI Troubleshooting Agent in Splunk Observability Cloud

Learn more about how AI Agents in Observability Cloud can help you and your teams troubleshoot, identify root cause, and remediate issues faster.
Instrument OpenTelemetry for Non-Kubernetes Environments in One Simple Step
Observability
2 Minute Read

Instrument OpenTelemetry for Non-Kubernetes Environments in One Simple Step

The OpenTelemetry Injector makes implementation incredibly easy and expands OpenTelemetry's reach and ease of use for organizations with diverse infrastructure.
Resolve Database Performance Issues Faster With Splunk Database Monitoring
Observability
3 Minute Read

Resolve Database Performance Issues Faster With Splunk Database Monitoring

Introducing Splunk Database Monitoring, which helps you identify and resolve slow, inefficient queries; correlate application issues to specific queries for faster root cause analysis; and accelerate fixes with AI-powered recommendations.