Set up synthetic monitoring to automatically simulate real user journeys, API workflows, and critical business transactions to detect issues and validate performance.
Detailed implementations in the references/ directory:
Guide
Contents
Synthetic Tests with Playwright
Synthetic Tests with Playwright
API Synthetic Tests
API Synthetic Tests
Scheduled Synthetic Monitoring
Scheduled Synthetic Monitoring
Best Practices
✅ DO
Test critical user journeys
Simulate real browser conditions
Monitor from multiple locations
Track response times
Alert on test failures
Rotate test data
Test mobile and desktop
Include error scenarios
❌ DON'T
Test with production data
Reuse test accounts
Skip timeout configurations
Ignore test maintenance
Test too frequently
Hard-code credentials
Ignore geographic variations
Test only happy paths
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: aj-geddes-useful-ai-prompts-synthetic-monitoring3description: Synthetic Monitoring4---56# Synthetic Monitoring78## Table of Contents910- [Overview](#overview)11- [When to Use](#when-to-use)12- [Quick Start](#quick-start)13- [Reference Guides](#reference-guides)14- [Best Practices](#best-practices)1516## Overview1718Set up synthetic monitoring to automatically simulate real user journeys, API workflows, and critical business transactions to detect issues and validate performance.1920## When to Use2122- End-to-end workflow validation23- API flow testing24- User journey simulation25- Transaction monitoring26- Critical path validation2728## Quick Start2930Minimal working example:3132```javascript33// synthetic-tests.js34const { chromium } = require("playwright");3536class SyntheticMonitor {37 constructor(config = {}) {38 this.baseUrl = config.baseUrl || "https://app.example.com";39 this.timeout = config.timeout || 30000;40 }4142 async testUserFlow() {43 const browser = await chromium.launch();44 const page = await browser.newPage();45 const metrics = { steps: {} };46 const startTime = Date.now();4748 try {49 // Step 1: Navigate to login50 let stepStart = Date.now();51 await page.goto(`${this.baseUrl}/login`, { waitUntil: "networkidle" });52 metrics.steps.navigation = Date.now() - stepStart;5354 // Step 2: Perform login55 stepStart = Date.now();56 await page.fill('input[name="email"]', "test@example.com");57 await page.fill('input[name="password"]', "password123");58// ... (see reference guides for full implementation)59```6061## Reference Guides6263Detailed implementations in the `references/` directory:6465| Guide | Contents |66|---|---|67| [Synthetic Tests with Playwright](references/synthetic-tests-with-playwright.md) | Synthetic Tests with Playwright |68| [API Synthetic Tests](references/api-synthetic-tests.md) | API Synthetic Tests |69| [Scheduled Synthetic Monitoring](references/scheduled-synthetic-monitoring.md) | Scheduled Synthetic Monitoring |7071## Best Practices7273### ✅ DO7475- Test critical user journeys76- Simulate real browser conditions77- Monitor from multiple locations78- Track response times79- Alert on test failures80- Rotate test data81- Test mobile and desktop82- Include error scenarios8384### ❌ DON'T8586- Test with production data87- Reuse test accounts88- Skip timeout configurations89- Ignore test maintenance90- Test too frequently91- Hard-code credentials92- Ignore geographic variations93- Test only happy paths9495---96> Converted and distributed by [TomeVault](https://tomevault.io/claim/aj-geddes) — claim your Tome and manage your conversions.97<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/aj-geddes-useful-ai-prompts-synthetic-monitoring in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Synthetic Monitoring It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.