{"id":18684861,"url":"https://github.com/j-sephb-lt-n/api-load-testing","last_synced_at":"2026-04-16T02:31:56.592Z","repository":{"id":206297488,"uuid":"715619160","full_name":"J-sephB-lt-n/api-load-testing","owner":"J-sephB-lt-n","description":"Illustrates how to use locust for load-testing, using some toy Flask endpoints","archived":false,"fork":false,"pushed_at":"2023-11-09T20:11:12.000Z","size":880,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T18:06:24.779Z","etag":null,"topics":["api","backend","flask","gunicorn","load-testing","locust"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/J-sephB-lt-n.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}},"created_at":"2023-11-07T14:01:23.000Z","updated_at":"2023-11-09T20:15:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"4801c1b7-7027-4e4b-835b-005d0c57a3f6","html_url":"https://github.com/J-sephB-lt-n/api-load-testing","commit_stats":null,"previous_names":["j-sephb-lt-n/gunicorn-concurrency-optimisation","j-sephb-lt-n/api-load-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/J-sephB-lt-n/api-load-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-sephB-lt-n%2Fapi-load-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-sephB-lt-n%2Fapi-load-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-sephB-lt-n%2Fapi-load-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-sephB-lt-n%2Fapi-load-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J-sephB-lt-n","download_url":"https://codeload.github.com/J-sephB-lt-n/api-load-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-sephB-lt-n%2Fapi-load-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31868493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","backend","flask","gunicorn","load-testing","locust"],"created_at":"2024-11-07T10:19:33.442Z","updated_at":"2026-04-16T02:31:56.574Z","avatar_url":"https://github.com/J-sephB-lt-n.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Loading-Testing (Python+Locust+Gunicorn+Flask)\n\nThis repo illustrates how to use [locust](https://github.com/locustio/locust) for load-testing, using some toy Flask endpoints. \n\n![](./media/locust_screenshot.png)\n\n```bash\n# start local gunicorn server in background\ngunicorn \\\n--bind :5000 \\\n--workers 1 \\\n--threads 8 \\\n--timeout 10 \\\n--access-logfile \"-\" \\\n--log-level info \\\nflask_app:app \u0026\n\n# run load-test in locust #\nlocust --host http://localhost:5000\n# (then navigate to specified url in your browser)\n\n# stop gunicorn server #\nGUNICORN_PID=$(pgrep -f \"gunicorn .* flask_app:app\")\nkill -SIGTERM $GUNICORN_PID\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-sephb-lt-n%2Fapi-load-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj-sephb-lt-n%2Fapi-load-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-sephb-lt-n%2Fapi-load-testing/lists"}