Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readme_k6 = """# ⚡ k6 Performance & Load Testing Framework

k6 CI k6 JavaScript Docker Grafana

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.


🎯 Target Application

Tests are executed against the ServeRest ecosystem:

  • API REST: https://serverest.dev

🏗️ Architecture & Features

  • 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

About

Performance, load, stress, and spike testing framework for REST APIs built with k6, InfluxDB, Grafana, and Docker. Features automated SLAs, real-time observability dashboards, and CI/CD integration

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages