Kütüphane / Kod, Git ve Geliştirici Araçları
Kod, Git ve Geliştirici Araçları
Run synthetic regression tests for webhook and HTTP API workflows
When an API call/webhook arrives, it automates developer work.
Ne yapar
## Advanced Automated Workflow Testing Framework Enterprise-grade testing harness for n8n workflows. ### Capabilities - Accepts test-run requests via webhook - Validates payload & builds a full test plan - Supports multi-case suites with synthetic inputs - Executes target workflow (or simulates) - Collects outputs with timing - Performs structural assertions + optional AI regression analysis - Compares against stored baselines - Detects flakiness and can retry - Produces rich structured reports - Optional baseline update & notifications ### Request body example json { "testRunId": "TR-2026-001", "targetWorkflowId": "abc123", "targetWorkflowName": "Payment Processor", "environment": "staging", "updateBaseline": false, "maxRetries": 1, "testSuite": [ { "name": "happy_path", "input": { "amount": 100, "currency": "USD" }, "expected": { "status": "success" } } ] } ### Setup 1. Update URLs & credentials in Code - Load Config & Validate 2. Point your CI / test runner to the webhook path workflow-test 3. (Optional) Add Postgres or external store for baselines 4. Adjust wait times to match real workflow duration
Adımlar
- Webhook - Test Run Request
- Code - Load Config & Validate
- IF - Request Valid?
- Code - Build Invalid Response
- Wait - Pre Execution
- HTTP - Execute Target Workflow
- Wait - Pre Result Fetch
- HTTP - Fetch Execution Results
- Wait - Pre Assertion
- HTTP - AI Assertion (Optional)
- HTTP - Store Results & Baseline
- Code - Generate Advanced Report
- Respond to Webhook
- Respond - Invalid Request
Benzer otomasyonlar
Kod, Git ve Geliştirici AraçlarıApify ve Gemini ile Görsel Regresyon Testleri Çalıştırma24 adımKod, Git ve Geliştirici AraçlarıOpenAI ile GitHub pull request'leri için birim testleri oluşturma20 adımE-posta OtomasyonuTurn pool water tests into customer reports with Sheets, Gmail, Discord, and GPT-4o-mini34 adımYapı Taşları ve Yardımcı AraçlarKademeli veri erişim testleriyle n8n ifadelerini uygulama33 adım