{"id":30743537,"url":"https://github.com/ukho/k6-workshop","last_synced_at":"2026-07-10T23:31:34.989Z","repository":{"id":223482797,"uuid":"423171183","full_name":"UKHO/k6-workshop","owner":"UKHO","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-20T16:38:47.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-22T10:55:43.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/UKHO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-10-31T14:30:42.000Z","updated_at":"2024-02-20T11:59:41.000Z","dependencies_parsed_at":"2024-02-20T14:04:43.761Z","dependency_job_id":null,"html_url":"https://github.com/UKHO/k6-workshop","commit_stats":null,"previous_names":["ukho/k6-workshop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UKHO/k6-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Fk6-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Fk6-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Fk6-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Fk6-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UKHO","download_url":"https://codeload.github.com/UKHO/k6-workshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Fk6-workshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35346644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-04T02:07:50.633Z","updated_at":"2026-07-10T23:31:34.964Z","avatar_url":"https://github.com/UKHO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# K6 Workshop\n\nThe workshop is designed for a novice to get started writing some load tests.  These are written using [K6](https://k6.io)\n\nThis repository contains the instructions for the UKHO K6 workshop, some example code for each exercise and the code for the mock API that will be load tested.\n\n## Pre-requisites\n\n- k6 [installed](https://k6.io/docs/getting-started/installation/)\n- Grafana Cloud [account](https://grafana.com/auth/sign-up/create-user?pg=prod-cloud\u0026plcmt=hero-btn-1) created\n- IDE (VS Code recommended)\n- This repo cloned onto your local dev environment\n- A running instance of the 'Cricket API'.  This will either be provided by the person running the workshop, or you can run this locally (open /sut/CricketAPI.sln in Visual Studio and run; it requires .Net 8).\n\nYou will need the following information to run exercise 2 onwards:\n\n- The host name of the system you are going to load (`SUT_HOSTNAME`) which will be given to you at the start of the workshop\n- Your personal API token which can be found in your Grafana Cloud account settings (`API_TOKEN`)\n\nYou will see these labels referenced in the exercises in {  }. Substitute in the correct values.\n\n\n## How to do the workshop\n\nThis workshop sets you some load testing challenges, in /exercises/EXERCISES.md, to be solved using K6\n\nIf you are confident with coding each exercise can be solved by reading the referenced documentation.  If you are less confident, or get stuck, each exercise has a suggested solution in the /exercises/src folder which you can play around with instead.\n\nMost of exercises involve calling a \"Cricket API\".  At the start of the workshop, you will be given the host name for this service (SUT_HOSTNAME).  More information on the API can be found at http://{SUT_HOSTNAME}/swagger\n\nIf you run the Cricket API locally from Visual Studio then SUT_HOSTNAME will be localhost:7258\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukho%2Fk6-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukho%2Fk6-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukho%2Fk6-workshop/lists"}