{"id":13342865,"url":"https://github.com/dgzlopes/xk6-say","last_synced_at":"2025-03-23T22:33:09.758Z","repository":{"id":47528837,"uuid":"313279717","full_name":"dgzlopes/xk6-say","owner":"dgzlopes","description":"A k6 extension to say hello.","archived":false,"fork":false,"pushed_at":"2021-10-07T15:12:01.000Z","size":60,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-24T13:58:34.505Z","etag":null,"topics":["k6","k6-extension","xk6"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgzlopes.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}},"created_at":"2020-11-16T11:25:52.000Z","updated_at":"2023-04-16T06:39:26.000Z","dependencies_parsed_at":"2022-07-21T02:48:52.567Z","dependency_job_id":null,"html_url":"https://github.com/dgzlopes/xk6-say","commit_stats":null,"previous_names":["dgzlopes/k6-plugin-say","dgzlopes/k6-extension-say"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgzlopes%2Fxk6-say","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgzlopes%2Fxk6-say/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgzlopes%2Fxk6-say/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgzlopes%2Fxk6-say/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgzlopes","download_url":"https://codeload.github.com/dgzlopes/xk6-say/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221919595,"owners_count":16901810,"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":["k6","k6-extension","xk6"],"created_at":"2024-07-29T19:30:06.368Z","updated_at":"2024-10-28T19:34:40.472Z","avatar_url":"https://github.com/dgzlopes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xk6-say\n\nThis is a [k6](https://go.k6.io/k6) extension using the\n[xk6](https://github.com/grafana/xk6) system.\n\n| :exclamation: This is a proof of concept, isn't supported by the k6 team, and may break in the future. USE AT YOUR OWN RISK! |\n|------|\n\n## Build\n\nTo build a `k6` binary with this extension, first ensure you have the prerequisites:\n\n- [Go toolchain](https://go101.org/article/go-toolchain.html)\n- Git\n\nThen:\n\n1. Install `xk6`:\n  ```shell\n  $ go install go.k6.io/xk6/cmd/xk6@latest\n  ```\n\n2. Build the binary:\n  ```shell\n  $ xk6 build --with github.com/dgzlopes/xk6-say@latest\n  ```\n\n## Example\n\n```javascript\n// script.js\nimport say from 'k6/x/say';\n\nexport default function () {\n  console.log(say.hello(\"Daniel\"));\n}\n```\n\nResult output:\n\n```\n$ ./k6 run script.js\n          /\\      |‾‾| /‾‾/   /‾‾/   \n     /\\  /  \\     |  |/  /   /  /    \n    /  \\/    \\    |     (   /   ‾‾\\  \n   /          \\   |  |\\  \\ |  (‾)  | \n  / __________ \\  |__| \\__\\ \\_____/ .io\n\n  execution: local\n     script: ../example.js\n     output: -\n\n  scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):\n           * default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)\n\nINFO[0000] Hello Daniel                                  source=console\n\nrunning (00m00.0s), 0/1 VUs, 1 complete and 0 interrupted iterations\ndefault ✓ [======================================] 1 VUs  00m00.0s/10m0s  1/1 iters, 1 per VU\n\n    data_received........: 0 B 0 B/s\n    data_sent............: 0 B 0 B/s\n    iteration_duration...: avg=72.55µs min=72.55µs med=72.55µs max=72.55µs p(90)=72.55µs p(95)=72.55µs\n    iterations...........: 1   73.974827/s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgzlopes%2Fxk6-say","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgzlopes%2Fxk6-say","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgzlopes%2Fxk6-say/lists"}