readme_k6 = """# ⚡ k6 Performance & Load Testing Framework
Performance, Load, Stress, and Spike testing framework for REST APIs built with k6, Docker Compose, InfluxDB, and Grafana. Designed to measure SLAs, identify bottlenecks, and validate system reliability under high concurrency.
Tests are executed against the ServeRest ecosystem:
- API REST:
https://serverest.dev
- Performance-as-Code: Modular JavaScript scripts structured for maintainability and reusability.
- SLAs & Thresholds: Automated quality gates ensuring p(95) response times and error rate thresholds.
- Multiple Load Profiles: Dedicated test scenarios covering Smoke, Load, Stress, and Spike testing strategies.
- Real-time Observability: Fully configured Docker stack running k6 + InfluxDB + Grafana for real-time visual metrics dashboarding.
- CI/CD Integration: Automated performance checks via GitHub Actions.
├── .github/workflows/ # CI/CD pipeline execution
├── config/ # Thresholds, SLAs, and load profiles
├── dash/ # Pre-configured Grafana dashboard JSON
├── src/
│ ├── api/ # Encapsulated API requests
│ ├── data/ # Dynamic payload generators
│ └── tests/ # Performance test scenarios (Load, Stress, Spike)
├── docker-compose.yml # Stack definition (k6 + InfluxDB + Grafana)
└── README.md