{"id":24417221,"url":"https://github.com/defra/pha-import-notifications-perf","last_synced_at":"2025-10-29T12:17:58.558Z","repository":{"id":263437575,"uuid":"890410431","full_name":"DEFRA/pha-import-notifications-perf","owner":"DEFRA","description":"Git repository for service pha-import-notifications-perf","archived":false,"fork":false,"pushed_at":"2025-03-03T12:15:37.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-03T12:33:32.259Z","etag":null,"topics":["cdp","performance","test","test-suite"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DEFRA.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-11-18T14:19:15.000Z","updated_at":"2025-03-03T12:15:01.000Z","dependencies_parsed_at":"2025-02-11T17:22:33.101Z","dependency_job_id":"6858be21-5623-471c-865f-7f2f16423422","html_url":"https://github.com/DEFRA/pha-import-notifications-perf","commit_stats":null,"previous_names":["defra/pha-import-notifications-perf"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fpha-import-notifications-perf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fpha-import-notifications-perf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fpha-import-notifications-perf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fpha-import-notifications-perf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/pha-import-notifications-perf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243402286,"owners_count":20285192,"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":["cdp","performance","test","test-suite"],"created_at":"2025-01-20T08:15:55.515Z","updated_at":"2025-10-29T12:17:53.512Z","avatar_url":"https://github.com/DEFRA.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pha-import-notifications-perf\n\nPerformance tests for PHA import notifications service.\n\n## Pre-requisites\n\n### Environment variables\n\nEnvironment variables must be set as follows:\n\n- `K6_TARGET_URL` is the URL of the service.\n- `K6_WORKLOAD` is the target workload. Available values are smoke (default), load, stress, spike.\n- `K6_THRESHOLD` is the target threshold. Available values are low (default), medium or high.\n- `TEST_CLIENT_LOGIN_URL` is the authentication URL.\n- `TEST_CLIENT_APP_ID` is the allocated client id.\n- `TEST_CLIENT_SECRET` is the allocated client secret.\n\n## Usage\n\n### Local\n\nRun as follows:\n\n```bash\nk6 run src/tests/updates.js --summary-export=summary.json\n```\n\n### Build\n\nBuild as follows:\n\n```bash\ndocker build . -t my-performance-tests\n```\n\nRun as follows:\n\n```bash\ndocker run \\\n  -e S3_ENDPOINT='http://host.docker.internal:4566' \\\n  -e RESULTS_OUTPUT_S3_PATH='s3://my-bucket' \\\n  -e AWS_ACCESS_KEY_ID='test' \\\n  -e AWS_SECRET_ACCESS_KEY='test' \\\n  -e AWS_SECRET_KEY='test' \\\n  -e AWS_REGION='eu-west-2' \\\n  -e TEST_CLIENT_LOGIN_URL='\u003cvalue\u003e' \\\n  -e TEST_CLIENT_APP_ID='\u003cvalue\u003e' \\\n  -e TEST_CLIENT_SECRET='\u003cvalue\u003e' \\\n  my-performance-tests\n```\n\n## License\n\nTHIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:\n\n\u003chttp://www.nationalarchives.gov.uk/doc/open-government-licence/version/3\u003e\n\nThe following attribution statement MUST be cited in your products and applications when using this information.\n\n\u003e Contains public sector information licensed under the Open Government licence v3\n\n### About the licence\n\nThe Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable\ninformation providers in the public sector to license the use and re-use of their information under a common open\nlicence.\n\nIt is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fpha-import-notifications-perf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fpha-import-notifications-perf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fpha-import-notifications-perf/lists"}