{"id":19714901,"url":"https://github.com/moeen/load-test","last_synced_at":"2025-08-21T09:04:26.726Z","repository":{"id":65518346,"uuid":"591939531","full_name":"moeen/load-test","owner":"moeen","description":"An HTTP concurrent load tester with graceful shutdown","archived":false,"fork":false,"pushed_at":"2023-01-22T12:27:16.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T21:49:57.806Z","etag":null,"topics":["concurrency","golang","graceful-shutdown","http","load-testing"],"latest_commit_sha":null,"homepage":"","language":"Go","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/moeen.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}},"created_at":"2023-01-22T12:23:33.000Z","updated_at":"2024-10-20T18:34:15.000Z","dependencies_parsed_at":"2023-02-12T16:01:33.175Z","dependency_job_id":null,"html_url":"https://github.com/moeen/load-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moeen/load-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen%2Fload-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen%2Fload-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen%2Fload-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen%2Fload-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moeen","download_url":"https://codeload.github.com/moeen/load-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moeen%2Fload-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271454821,"owners_count":24762698,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"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":["concurrency","golang","graceful-shutdown","http","load-testing"],"created_at":"2024-11-11T22:36:30.345Z","updated_at":"2025-08-21T09:04:26.699Z","avatar_url":"https://github.com/moeen.png","language":"Go","readme":"# Load Test\nLoad test given URL concurrently and print the returned status codes.\n\n## Build\nBuild the cmd:\n```sh\ngo build -o load-test\n```\n\n## Usage\n```\nUsage: load-test [options] [http[s]://]hostname[:port]/path\n\nOptions:\n\t-requests Number of requests to make. Default is 500.\n\t-concurrency Number of multiple requests to make at a time. Default is 100.\n\t-method HTTP Method. Default is GET.\n\t-user-agent User-Agent header to send requests with. Default is moeen/load-test.\n\t-time-out Timeout for HTTP requests (in seconds). Use 0 for no timeouts. Default is 10 seconds.\n```\n\n### Example\nRunning 100 requests with 20 concurrent requests:\n```sh\n./load-test -requests 100 -concurrency 20 \"https://jsonplaceholder.typicode.com/todos/1\"\n```\n\n## Run Uint Tests\n```sh\n## Run the tests and save the coverage result\ngo test -coverprofile=coverage.out ./...\n\n## Analyze the result and see the coverage\ngo tool cover -func=coverage.out\n```\n\n## TODO\n- [ ] Support HTTP Body\n- [ ] Support Basic Authentication\n- [ ] Support Custom Headers","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeen%2Fload-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoeen%2Fload-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoeen%2Fload-test/lists"}