# stress-tester > Comprehensive stress testing skill for FlowState. Runs reliability, backup, container, security, and performance tests. Use before releases, after major refactoring, or when reliability is questioned. - Author: endlessblink - Repository: endlessblink/pomo-flow - Version: 20260206230619 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/endlessblink/pomo-flow - Web: https://mule.run/skillshub/@@endlessblink/pomo-flow~stress-tester:20260206230619 --- --- name: stress-tester version: "1.0" description: Comprehensive stress testing skill for FlowState. Runs reliability, backup, container, security, and performance tests. Use before releases, after major refactoring, or when reliability is questioned. triggers: - "stress test" - "run stress tests" - "test reliability" - "security audit" - "container health" - "backup verification" - "performance test" - "before release" - "system health check" --- # Stress Testing Skill **TASK-338** | **Priority: P0 Critical** Rigorously test FlowState to find issues that other testing and agents missed. Covers reliability, backup systems, container stability, security, and data integrity. --- ## Quick Start ```bash # Run all stress tests npm run test:stress # Quick smoke test (5 min) npm run test:stress -- --grep "@quick" # Full test suite npm run test:stress -- --timeout=120000 # By category npm run test:stress -- --grep "Security" npm run test:stress -- --grep "Data Integrity" npm run test:stress -- --grep "Restore" ``` --- ## Pre-Flight Checks Before running stress tests, verify prerequisites: ```bash # 1. Dev server running curl -s http://localhost:5546 > /dev/null && echo "OK: Dev server" || echo "FAIL: Run npm run dev" # 2. Docker containers healthy docker ps --filter "name=supabase" --format "{{.Names}}: {{.Status}}" 2>/dev/null | head -3 # 3. Recent backup exists ls -la public/shadow-latest.json 2>/dev/null || echo "WARN: No shadow backup" ``` --- ## Test Categories ### 1. Data Integrity Tests (`data-integrity.spec.ts`) | Test | Description | Command | |------|-------------|---------| | Rapid Task Creation | Create 20 tasks rapidly, verify no duplicates | `--grep "Rapid Creation"` | | Canvas Position | Drag, refresh, verify position persists | `--grep "Position Persistence"` | | Concurrent Edits | Edit same task in 2 tabs simultaneously | `--grep "Concurrent Edit"` | | Network Instability | Create tasks offline, verify sync on reconnect | `--grep "Network Instability"` | ### 2. Security Tests (`security.spec.ts`) | Test | Description | Command | |------|-------------|---------| | XSS Script Tag | Inject `