{"id":19244935,"url":"https://github.com/andreasneuber/locust-python-example","last_synced_at":"2026-04-17T08:31:03.230Z","repository":{"id":211473906,"uuid":"729255487","full_name":"andreasneuber/locust-python-example","owner":"andreasneuber","description":"Performance testing with Python Locust - simple example.","archived":false,"fork":false,"pushed_at":"2026-04-04T07:00:51.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T09:06:30.908Z","etag":null,"topics":["locust","locustio","python"],"latest_commit_sha":null,"homepage":"","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/andreasneuber.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-08T18:24:00.000Z","updated_at":"2026-04-04T07:00:55.000Z","dependencies_parsed_at":"2026-04-04T09:02:47.301Z","dependency_job_id":null,"html_url":"https://github.com/andreasneuber/locust-python-example","commit_stats":null,"previous_names":["andreasneuber/locust-python-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreasneuber/locust-python-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Flocust-python-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Flocust-python-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Flocust-python-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Flocust-python-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasneuber","download_url":"https://codeload.github.com/andreasneuber/locust-python-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasneuber%2Flocust-python-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31921731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["locust","locustio","python"],"created_at":"2024-11-09T17:25:51.826Z","updated_at":"2026-04-17T08:31:03.225Z","avatar_url":"https://github.com/andreasneuber.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Locust Python Example\nA sample implementation of Locust performance testing in Python.\n\n## Application under test\nThe tests were written for https://github.com/andreasneuber/automatic-test-sample-site\nThe README in that repo has further details on how to set it up.\n\n\n## Setup\nClone the repo and set up the virtual environment and dependencies as follows:\n\n```powershell\n# Clone the repository\ngit clone \u003crepo-url\u003e\ncd locust-python-example\n\n# Create virtual environment\npython -m venv .venv\n\n# Activate virtual environment (Windows PowerShell)\n.venv\\Scripts\\activate\n\n# Install dependencies\npip install -r requirements.txt\n\n# Verify Locust installation\nlocust -V\n```\n\nAfter activation, you should see a `(.venv)` prefix in your terminal prompt.\n\n## Run tests via WebUI\nTests are located in `locustfile.py`\n\nMake sure you are in the root folder of the project, execute in terminal: `locust` then open http://localhost:8089/ in a browser, \nand add http://localhost:8000 as the host URL.\n\n## Run tests in terminal\n`locust -f locustfile.py --headless --host http://localhost:8000 --users 100 --spawn-rate 5`\n\n## CI\nAs a matter of principle - whatever can be run in a terminal can be run in a pipeline ;-)\n\n## Documentation\n[https://docs.locust.io/en/stable/quickstart.html](https://docs.locust.io/en/stable/quickstart.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasneuber%2Flocust-python-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasneuber%2Flocust-python-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasneuber%2Flocust-python-example/lists"}