{"id":22173684,"url":"https://github.com/stefruseva88/performance-tests-k6","last_synced_at":"2026-02-16T09:32:10.560Z","repository":{"id":243836439,"uuid":"813592200","full_name":"StefRuseva88/performance-tests-k6","owner":"StefRuseva88","description":"Different Types of Performance Testing and Monitoring with k6 and Grafana","archived":false,"fork":false,"pushed_at":"2024-12-18T18:04:32.000Z","size":115,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T06:37:07.654Z","etag":null,"topics":["grafana","k6","load-testing","performance-monitoring","performance-testing","smoke-tests","soak-testing","spike-testing","stress-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StefRuseva88.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-11T11:18:20.000Z","updated_at":"2025-02-06T17:33:34.000Z","dependencies_parsed_at":"2024-11-26T15:00:50.366Z","dependency_job_id":null,"html_url":"https://github.com/StefRuseva88/performance-tests-k6","commit_stats":null,"previous_names":["stefruseva88/performance-testing-k6","stefruseva88/performance-tests-k6"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StefRuseva88/performance-tests-k6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Fperformance-tests-k6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Fperformance-tests-k6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Fperformance-tests-k6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Fperformance-tests-k6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefRuseva88","download_url":"https://codeload.github.com/StefRuseva88/performance-tests-k6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefRuseva88%2Fperformance-tests-k6/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29504746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grafana","k6","load-testing","performance-monitoring","performance-testing","smoke-tests","soak-testing","spike-testing","stress-testing"],"created_at":"2024-12-02T07:34:43.016Z","updated_at":"2026-02-16T09:32:10.502Z","avatar_url":"https://github.com/StefRuseva88.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Performance Testing with K6\n[![JavaScript](https://img.shields.io/badge/Made%20with-JavaScript-F7DF1E.svg)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)\n[![Grafana](https://img.shields.io/badge/Monitoring-Grafana-F46800.svg)](https://grafana.com/)\n[![k6](https://img.shields.io/badge/Load%20Testing-k6-2E8BC0.svg)](https://k6.io/)\n[![Prometheus](https://img.shields.io/badge/Monitoring-Prometheus-E6522C.svg)](https://prometheus.io/)\n\n### This is a test project for **Back-End Test Automation** March 2024 Course @ SoftUni\n\n---\n\n## 📋 Types of Performance Tests Covered\nThis project demonstrates different types of Performance Testing with K6:\n\n- **Smoke Testing:** Quick tests to check the basic functionality of the application.\n- **Load Testing:** Evaluates how the system behaves under expected load conditions.\n- **Stress Testing:** Determines the system's robustness by testing beyond normal operational capacity.\n- **Spike Testing:** Assesses system performance under sudden, sharp increases in load.\n- **Soak (Endurance) Testing:** Tests the system's stability and performance over an extended period.\n- **Breakpoint Testing:** Identifies the point at which the system fails or its performance degrades significantly.\n\n## 📊 Grafana for Monitoring\nGrafana is used for real-time monitoring and visualization of performance test results.\n\n## 🛠️ Setting Up Grafana\n1. **Install Grafana:** Download and install Grafana from the [official site](https://grafana.com/).\n2. **Set Up Dashboards:**\n   - Create a new dashboard and add panels for metrics like response time, throughput, and error rate.\n   - Connect to data sources like Prometheus or k6 Cloud for real-time data.\n3. **Integration with k6:**\n   - Export metrics from k6 to Grafana by configuring output plugins like `--out influxdb` or `--out prometheus`.\n\n## ☁️ Grafana Cloud\nIf you prefer a hosted solution, Grafana Cloud provides easy setup and integration with k6.  \n- **Sign Up:** Register for a Grafana Cloud account [here](https://grafana.com/products/cloud/).\n- **Connect to k6:** Link your k6 metrics to Grafana Cloud for live visualization.\n\n## ☁️ k6 Cloud\nk6 Cloud simplifies running performance tests and provides detailed reports.\n\n## 🛠️ Setting Up k6 Cloud\n1. **Create a Grafana Cloud account:**\n   - Use an existing account or register at [Grafana Cloud](https://grafana.com/products/cloud/).\n2. **Navigate to k6 Cloud:**\n   - After registration, access the k6 Cloud section at [k6 Cloud](https://grafana.com/products/k6-cloud/).\n\n## 🧪 Running Tests on k6 Cloud\n1. **Log in to k6 Cloud:**\n   - Use the k6 CLI to connect to your account with an API token.\n   ```sh\n   k6 login cloud --token {your-token}\n\n## 📈 Monitoring Test Results\n- View metrics like latency, throughput, and error rates in real time on Grafana dashboards.  \n- Analyze trends and identify performance bottlenecks using Grafana's visualization tools.\n\n## 🔍 Further Studies\n- [Official k6 YouTube channel](https://www.youtube.com/c/k6test)  \n- [Official k6 Documentation](https://grafana.com/docs/k6/latest/)  \n- [Grafana Documentation](https://grafana.com/docs/)\n\n## 🤝 Contact\nFor any questions or suggestions, please open an issue in the repository.\n\n## 📄 License\nThis project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Happy Testing! 🚀\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefruseva88%2Fperformance-tests-k6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefruseva88%2Fperformance-tests-k6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefruseva88%2Fperformance-tests-k6/lists"}