{"id":19818827,"url":"https://github.com/sloppycoder/api-load-gen","last_synced_at":"2026-05-11T01:17:20.272Z","repository":{"id":90083312,"uuid":"375070694","full_name":"sloppycoder/api-load-gen","owner":"sloppycoder","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-23T07:45:33.000Z","size":7319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T08:14:08.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sloppycoder.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":"2021-06-08T16:10:04.000Z","updated_at":"2021-08-23T07:42:52.000Z","dependencies_parsed_at":"2023-03-13T18:00:02.418Z","dependency_job_id":null,"html_url":"https://github.com/sloppycoder/api-load-gen","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fapi-load-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fapi-load-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fapi-load-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sloppycoder%2Fapi-load-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sloppycoder","download_url":"https://codeload.github.com/sloppycoder/api-load-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241175002,"owners_count":19922425,"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":[],"created_at":"2024-11-12T10:17:00.621Z","updated_at":"2026-05-11T01:17:20.237Z","avatar_url":"https://github.com/sloppycoder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Load Generator\n\n[![Build a container image and publish to GitHub package](https://github.com/sloppycoder/api-load-gen/actions/workflows/build.yaml/badge.svg)](https://github.com/sloppycoder/api-load-gen/actions/workflows/build.yaml)\n\n\nUse [Locust.io](http://locust.io) to generate continous calls to microservices for performance testing.\nThe load generation uses [Boomer](https://github.com/myzhan/boomer) for ability to generate large amount of requests with load CPU oerhead.\n\n\n\n### Quick Start\nThis project requires (Poetry Python package manager)[https://python-poetry.org/].\n```\n# install all needed dependencies\npoetry install\n\n# start up the venv\npoetry shell\n\n# start locust with web console enabled\n./entry_point.sh\n\n# open browser to http://localhost:8089 to see the results\n\n# to run it in minikube\nskaffold dev\n```\n\n### To work with prometheus in Minikube\nSee [this README](misc/minikube/README.md) for instruction to run locust, Prometheus and Grafana in Minkube.\n\n### Test Data\nThis script reads test data from CSV file at run time. The name of the csv file is /data/data.csv and can be overriden by API_DATA_FILE environment variable. When running inside K8S environment, to use new data for testing, just copy the data file into the persistent volume, e.g. ''' kubectl cp data.csv api-load-gen-7cc7899d78-vkxcs:/data/. ''' and then kill the pod. A new pod will be started which will use new data file for testing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloppycoder%2Fapi-load-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsloppycoder%2Fapi-load-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsloppycoder%2Fapi-load-gen/lists"}