{"id":20038665,"url":"https://github.com/defra/cdms-backend-perf-tests","last_synced_at":"2025-03-02T06:26:15.878Z","repository":{"id":261398241,"uuid":"884192062","full_name":"DEFRA/cdms-backend-perf-tests","owner":"DEFRA","description":"Git repository for service cdms-backend-perf-tests","archived":false,"fork":false,"pushed_at":"2024-12-03T10:51:18.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-12T19:10:28.261Z","etag":null,"topics":["cdp","performance","test","test-suite"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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-06T10:11:26.000Z","updated_at":"2024-12-03T10:50:42.000Z","dependencies_parsed_at":"2024-12-03T11:39:06.779Z","dependency_job_id":null,"html_url":"https://github.com/DEFRA/cdms-backend-perf-tests","commit_stats":null,"previous_names":["defra/cdms-backend-perf-tests"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-backend-perf-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-backend-perf-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-backend-perf-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DEFRA%2Fcdms-backend-perf-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DEFRA","download_url":"https://codeload.github.com/DEFRA/cdms-backend-perf-tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241469100,"owners_count":19967989,"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":"2024-11-13T10:31:45.314Z","updated_at":"2025-03-02T06:26:15.860Z","avatar_url":"https://github.com/DEFRA.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdms-backend-perf-tests\n\nA JMeter based test runner for the CDP Platform.\n\n- [Licence](#licence)\n  - [About the licence](#about-the-licence)\n\n## Build\n\nTest suites are built automatically by the [.github/workflows/publish.yml](.github/workflows/publish.yml) action whenever a change are committed to the `main` branch.\nA successful build results in a Docker container that is capable of running your tests on the CDP Platform and publishing the results to the CDP Portal.\n\n## Run\n\nThe performance test suites are designed to be run from the CDP Portal.\nThe CDP Platform runs test suites in much the same way it runs any other service, it takes a docker image and runs it as an ECS task, automatically provisioning infrastructure as required.\n\n## Local Testing with LocalStack\n\n### Build a new Docker image\n```\ndocker build . -t my-performance-tests\n```\n### Create a Localstack bucket\n```\naws --endpoint-url=localhost:4566 s3 mb s3://my-bucket\n```\n\n### Run performance tests\n\n```\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' \\\nmy-performance-tests\n```\n\ndocker run -e S3_ENDPOINT='http://host.docker.internal:4566' -e RESULTS_OUTPUT_S3_PATH='s3://cdp-infra-dev-test-results/cdp-portal-perf-tests/95a01432-8f47-40d2-8233-76514da2236a' -e AWS_ACCESS_KEY_ID='test' -e AWS_SECRET_ACCESS_KEY='test' -e AWS_SECRET_KEY='test' -e AWS_REGION='eu-west-2' -e ENVIRONMENT='perf-test' my-performance-tests\n\n\n## Licence\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%2Fcdms-backend-perf-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefra%2Fcdms-backend-perf-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefra%2Fcdms-backend-perf-tests/lists"}