{"id":13837007,"url":"https://github.com/ikruglov/slapper","last_synced_at":"2025-04-06T22:10:46.447Z","repository":{"id":46953704,"uuid":"92926721","full_name":"ikruglov/slapper","owner":"ikruglov","description":"Simple load testing tool with real-time updated histogram of request timings","archived":false,"fork":false,"pushed_at":"2021-09-20T14:55:21.000Z","size":1455,"stargazers_count":335,"open_issues_count":2,"forks_count":33,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-18T22:01:19.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/ikruglov.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}},"created_at":"2017-05-31T09:02:43.000Z","updated_at":"2024-09-20T06:18:52.000Z","dependencies_parsed_at":"2022-09-15T13:10:11.705Z","dependency_job_id":null,"html_url":"https://github.com/ikruglov/slapper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikruglov%2Fslapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikruglov%2Fslapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikruglov%2Fslapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikruglov%2Fslapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikruglov","download_url":"https://codeload.github.com/ikruglov/slapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"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-08-04T15:00:59.068Z","updated_at":"2025-04-06T22:10:46.417Z","avatar_url":"https://github.com/ikruglov.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# slapper\n\n__Simple load testing tool with real-time updated histogram of request timings__\n\n![slapper](https://raw.githubusercontent.com/ikruglov/slapper/master/img/example.gif)\n\n## Interface\n\n![interface](https://raw.githubusercontent.com/ikruglov/slapper/master/img/interface.png)\n\n## Usage\n```bash\n$ ./slapper -help\nUsage of ./slapper:\n  -H value\n    \tHTTP header 'key: value' set on all requests. Repeat for more than one header.\n  -base64body\n    \tBodies in targets file are base64-encoded\n  -maxY duration\n    \tmax on Y axe (default 100ms)\n  -minY duration\n    \tmin on Y axe (default 0ms)\n  -rate uint\n    \tRequests per second (default 50)\n  -targets string\n    \tTargets file\n  -timeout duration\n    \tRequests timeout (default 30s)\n  -workers uint\n    \tNumber of workers (default 8)\n\n```\n\n## Key bindings\n* q, ctrl-c - quit\n* r - reset stats\n* k - increase rate by 100 RPS\n* j - decrease rate by 100 RPS\n\n## Targets syntax\n\nThe targets file is line-based. Its syntax is:\n\n\tHTTP_METHOD url\n\t$ body\n\nThe body line is optional. The rules for what is considered to be a body\nline are:\n\n1. If something starts with `$ ` (dollar-sign and space), it's a body\n2. If the line is literally `{}`, it's an empty body\n\nA missing body line is taken to mean an empty request body. Point (2) is there\nfor backwards-compatibility.\n\n## Acknowledgement\n* Idea and initial implementation is by @sparky\n* This module was originally developed for Booking.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikruglov%2Fslapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikruglov%2Fslapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikruglov%2Fslapper/lists"}