{"id":32522078,"url":"https://github.com/droxer/wrk-runner","last_synced_at":"2025-10-28T06:51:11.121Z","repository":{"id":308529712,"uuid":"1033130565","full_name":"droxer/wrk-runner","owner":"droxer","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-06T12:44:03.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-06T13:07:39.450Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/droxer.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-06T10:46:19.000Z","updated_at":"2025-08-06T12:44:07.000Z","dependencies_parsed_at":"2025-08-06T13:21:53.772Z","dependency_job_id":null,"html_url":"https://github.com/droxer/wrk-runner","commit_stats":null,"previous_names":["droxer/wrk-runner"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/droxer/wrk-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droxer%2Fwrk-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droxer%2Fwrk-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droxer%2Fwrk-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droxer%2Fwrk-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droxer","download_url":"https://codeload.github.com/droxer/wrk-runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droxer%2Fwrk-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281397302,"owners_count":26493908,"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-10-28T02:00:06.022Z","response_time":60,"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":[],"created_at":"2025-10-28T06:51:10.444Z","updated_at":"2025-10-28T06:51:11.113Z","avatar_url":"https://github.com/droxer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wrk-runner\n\nGeneric performance testing using wrk.\n\n- **Easy CLI**: One-command testing with `wrk-runner test https://httpbin.org/get`\n- **JSON/YAML Config**: Structured test definitions with endpoints and parameters\n- **Rich Reports**: Auto-generated markdown reports with metrics and charts\n- **Multiple Formats**: JSON, CSV, HTML reports for CI/CD integration\n- **Lua Support**: Custom scripts for complex testing scenarios\n\n## Install\n\n```bash\npip install wrk-runner\n```\n\n## Usage\n\n### CLI Commands\n```bash\nwrk-runner [COMMAND] [OPTIONS]\n\nCommands:\n  test [URL]       Quick test with URL or config file test\n  init-config      Generate sample configuration\n  validate FILE    Validate configuration file\n  visualize        Scan and visualize results\n```\n\n### Quick Test\n```bash\n# Basic quick test\nwrk-runner test https://httpbin.org/get\n\n# With parameters\nwrk-runner test https://api.com -d 60 -c 1000 -t 8 -w 5 -o results/\n```\n\n### Configuration Test\n```bash\n# JSON config\nwrk-runner test -c config.json\n\n# YAML config\nwrk-runner test -c config.yaml\n\n# Custom output\nwrk-runner test -c config.json --output custom_results/\n\n# Override config parameters\nwrk-runner test -c config.json -d 60 -c 2000\n```\n\n### Options\n```bash\n-d, --duration SECONDS    Test duration (default: 30)\n-c, --connections NUM     Number of connections (default: 1000)\n-t, --threads NUM         Number of threads (default: 8)\n-w, --warmup SECONDS      Warmup time (default: 5)\n-o, --output DIR          Output directory (default: results)\n-s, --lua-script FILE     Lua script for wrk\n-f, --format FORMAT       Output format: html, json, md (default: md)\n--verbose                 Enable verbose logging\n--help                    Show help message\n```\n\n## Config\n\n```json\n{\n  \"duration\": 30,\n  \"connections\": 1000,\n  \"threads\": 8,\n  \"tests\": [\n    {\n      \"name\": \"api\",\n      \"url\": \"http://localhost:3000/api\"\n    }\n  ]\n}\n```\n\n## Dev Setup\n\n```bash\ngit clone https://github.com/droxer/wrk-runner\ncd wrk-runner\nmake install-dev\nmake check\n```\n\n## Make Commands\n\n| Command | Description |\n|---------|-------------|\n| `make test` | Run tests |\n| `make build` | Build package |\n| `make publish` | Publish to PyPI |\n| `make check` | Run all checks |\n| `make all` | Full pipeline |\n\n## Requirements\n- Python 3.10+\n- wrk (`brew install wrk`)\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroxer%2Fwrk-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroxer%2Fwrk-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroxer%2Fwrk-runner/lists"}