# Run synthetic regression tests for webhook and HTTP API workflows

> Quick overview This workflow exposes a webhook that runs a synthetic test suite against a target workflow, calls HTTP endpoints to execute and fetch results, performs an AI-based assertion/comparison, stores the outcome, and returns a structured pass/fail test report to the requester. How it works 1. Receives a POST request on a webhook endpoint to start a workflow test run. 2. Validates the request, sets the target workflow details, and generates default synthetic test cases and expected results when none are provided. 3. Sends an HTTP request to execute the target workflow using the synthetic test-case payload. 4. Sends another HTTP request to fetch execution outputs, logs, and status for the test run. 5. Sends an HTTP request to an AI assertion endpoint to compare actual results against expected outputs and detect regressions. 6. Sends an HTTP request to store the test results (optionally updating the regression baseline) and returns a final test report with per-case pass/fail and a

- **Domain**: `n8n-workflow-21841.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/21841
- Page (HTML): https://agenstry.com/agents/n8n-workflow-21841.n8n.io
- Documentation: https://n8n.io/workflows/21841
