{"id":16485876,"url":"https://github.com/fabsrc/artillery-plugin-faker","last_synced_at":"2025-07-12T16:06:15.526Z","repository":{"id":33168714,"uuid":"105435864","full_name":"fabsrc/artillery-plugin-faker","owner":"fabsrc","description":"🎲 Makes faker.js available for Artillery loadtest configurations.","archived":false,"fork":false,"pushed_at":"2025-02-23T10:41:32.000Z","size":857,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T11:06:48.029Z","etag":null,"topics":["artillery","artillery-faker","faker","hacktoberfest","loadtest","plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabsrc.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":"2017-10-01T10:54:42.000Z","updated_at":"2025-02-23T10:41:30.000Z","dependencies_parsed_at":"2023-01-14T23:45:51.036Z","dependency_job_id":"4ebfd13d-ca51-4951-a1aa-1bd3bc4a9f2e","html_url":"https://github.com/fabsrc/artillery-plugin-faker","commit_stats":{"total_commits":57,"total_committers":3,"mean_commits":19.0,"dds":"0.14035087719298245","last_synced_commit":"b2b2df3186d9393f5fb3a7f3d6eeab272ab922ce"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/fabsrc/artillery-plugin-faker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fartillery-plugin-faker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fartillery-plugin-faker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fartillery-plugin-faker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fartillery-plugin-faker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabsrc","download_url":"https://codeload.github.com/fabsrc/artillery-plugin-faker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabsrc%2Fartillery-plugin-faker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261870120,"owners_count":23222264,"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":["artillery","artillery-faker","faker","hacktoberfest","loadtest","plugin"],"created_at":"2024-10-11T13:27:34.786Z","updated_at":"2025-07-12T16:06:15.495Z","avatar_url":"https://github.com/fabsrc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Artillery Plugin Faker\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/fabsrc/artillery-plugin-faker/ci.yml?style=flat-square)](https://github.com/fabsrc/artillery-plugin-faker/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/npm/v/artillery-plugin-faker.svg?style=flat-square)](https://www.npmjs.com/package/artillery-plugin-faker)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](https://standardjs.com)\n\nMakes [faker.js](https://github.com/faker-js/faker) available for [Artillery](https://artillery.io/) load test configurations.\n\n## Install\n\n```sh\n$ npm install -g artillery-plugin-faker\n```\n\n## Usage\n\nAdd the plugin to your load test configuration:\n\n```yaml\nconfig:\n  plugins:\n    faker:\n      locale: en\n```\n\n### Options\n\n- `locale` (default: `en`) sets the locale of _faker.js_.\n\n### Example\n\nUsing a string prefixed with `$faker.` as variable value will result in a random variable value returned by the indicated _faker.js_ function.\n\n```yaml\nconfig:\n  target: \"http://localhost:3000\"\n  phases:\n    - duration: 10\n      arrivalRate: 1\n  plugins:\n    faker:\n      locale: en\n  variables:\n    firstName: \"$faker.name.firstName\"\n\nscenarios:\n  - flow:\n      - log: \"Making request with query: {{ firstName }}\"\n      - get:\n          url: \"/search?q={{ firstName }}\"\n```\n\nFor a complete list of available _faker.js_ functions, have a look at the [faker.js documentation](https://fakerjs.dev/api/). Please note that no parameters can be passed to the _faker.js_ functions at this time.\n\n_Have a look at the `example.yml` file for a fully working example._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabsrc%2Fartillery-plugin-faker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabsrc%2Fartillery-plugin-faker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabsrc%2Fartillery-plugin-faker/lists"}