{
  "_comment": "WalkGuide Spike Test — 0 → 200 VUs sudden spike. Simulasi viral event / banyak user pakai serentak.",
  "scenarios": {
    "spike": {
      "executor": "ramping-vus",
      "startVUs": 0,
      "stages": [
        { "duration": "10s", "target": 5 },
        { "duration": "1s", "target": 200 },
        { "duration": "2m", "target": 200 },
        { "duration": "10s", "target": 5 },
        { "duration": "3m", "target": 5 },
        { "duration": "10s", "target": 0 }
      ],
      "gracefulRampDown": "30s"
    }
  },
  "thresholds": {
    "http_req_duration": ["p(95)<3000"],
    "http_req_failed": ["rate<0.10"],
    "walkguide_error_rate": ["rate<0.10"],
    "walkguide_sos_latency_ms": ["p(95)<1000"]
  },
  "summaryTrendStats": ["min", "med", "avg", "p(90)", "p(95)", "p(99)", "max"],
  "summary_export": "k6-results/spike-test-summary.json"
}
