{"id":18756229,"url":"https://github.com/simonberner/k6-starter","last_synced_at":"2025-11-29T21:30:13.191Z","repository":{"id":250325935,"uuid":"833790881","full_name":"simonberner/k6-starter","owner":"simonberner","description":"Performance Testing with k6","archived":false,"fork":false,"pushed_at":"2024-08-06T13:51:36.000Z","size":22,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T01:58:48.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/grafana/k6","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonberner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-25T18:52:49.000Z","updated_at":"2024-11-12T15:33:56.000Z","dependencies_parsed_at":"2024-11-07T17:52:32.421Z","dependency_job_id":null,"html_url":"https://github.com/simonberner/k6-starter","commit_stats":null,"previous_names":["simonberner/k6-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonberner%2Fk6-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonberner%2Fk6-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonberner%2Fk6-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonberner%2Fk6-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonberner","download_url":"https://codeload.github.com/simonberner/k6-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239644129,"owners_count":19673582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T17:35:43.389Z","updated_at":"2025-11-29T21:30:13.151Z","avatar_url":"https://github.com/simonberner.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Performance Testing with k6 - A Starter Project\n\nThis is a simple starter project which can be cloned to start performance testing with [k6](https://k6.io/). It is\ncurrently based on [k6 v0.52.0](https://github.com/grafana/k6/releases).\n\n## Setup\n\n- Install node.js on the machine -\u003e see [here](https://nodejs.org)\n- Install k6 on the machine -\u003e see [here](https://grafana.com/docs/k6/latest/set-up/install-k6/)\n- Clone this repo\n\n## How to run\n\n1. Build the test.ts with: `npm run build`\n2. Run the protocol test with: `npm run testp`\n3. Run the browser test with: `npm run testb`\n\n## Current issues ⚠️\n\nCheck the [issues page](https://github.com/simonberner/k6-starter/issues) to get an overview over the open issues I am\ncurrently struggling with or are in the making/backlog for this project.\n\n## Test APIs\n\n- https://test-api.k6.io/\n\n## Testing Essentials\n\n### Test Types\n\n- [Load test types](https://grafana.com/docs/k6/latest/testing-guides/test-types/#load-test-types)\n\n### Test Levels\n\n- [Protocol-Level Testing](https://grafana.com/docs/k6/latest/using-k6/http-requests/#http-requests)\n- [Browser-Level Testing](https://grafana.com/docs/k6/latest/using-k6-browser/#use-case-for-browser-testing)\n- [Here](https://grafana.com/docs/k6/latest/testing-guides/load-testing-websites/#recommendations) are some\n  recommendations on when choosing which test level, all with the thing in mind that you can tailor it to your specific\n  needs.\n\n### Hybrid Testing\n\nAs browser based testing with a lot of virtual users is resource-intensive, it may make sense to combine testing on the\nprotocol (http/backend) level and on the browser (frontend) and go with a hybrid approach.\n[Here](https://grafana.com/docs/k6/latest/using-k6-browser/recommended-practices/hybrid-approach-to-performance/#hybrid-performance-with-k6-browser)\nis an example how this can be achieved.\n\n### Browser-Level Tests\n\n- For debugging purposes, one\n  can [take screenshots for every action.](https://grafana.com/docs/k6/latest/testing-guides/load-testing-websites/#tips-for-writing-browser-level-scripts)\n\n### Test Reporting\n\n- All about how k6 emits metrics from a test-run and reports them, can be read\n  up [here](https://grafana.com/docs/k6/latest/results-output/).\n\n## Resources\n\n- [Official Website](https://k6.io/)\n- [Documentation](https://grafana.com/docs/k6/latest/)\n- [k6 browser testing](https://grafana.com/docs/k6/latest/using-k6-browser/)\n- [k6 browser options](https://grafana.com/docs/k6/latest/using-k6-browser/options/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonberner%2Fk6-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonberner%2Fk6-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonberner%2Fk6-starter/lists"}