{"id":37044176,"url":"https://github.com/feature23/rucksack","last_synced_at":"2026-01-14T05:04:59.560Z","repository":{"id":252311574,"uuid":"838565660","full_name":"feature23/rucksack","owner":"feature23","description":"A simple load testing library for .NET","archived":false,"fork":false,"pushed_at":"2024-08-12T15:42:09.000Z","size":70,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-28T11:03:59.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/feature23.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-05T23:02:59.000Z","updated_at":"2024-08-18T23:43:32.000Z","dependencies_parsed_at":"2024-08-12T17:57:23.324Z","dependency_job_id":null,"html_url":"https://github.com/feature23/rucksack","commit_stats":null,"previous_names":["feature23/rucksack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feature23/rucksack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feature23%2Frucksack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feature23%2Frucksack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feature23%2Frucksack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feature23%2Frucksack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feature23","download_url":"https://codeload.github.com/feature23/rucksack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feature23%2Frucksack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28410136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":"2026-01-14T05:04:58.818Z","updated_at":"2026-01-14T05:04:59.555Z","avatar_url":"https://github.com/feature23.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rucksack\n\n[![CI Build](https://github.com/feature23/rucksack/actions/workflows/dotnet.yml/badge.svg)](https://github.com/feature23/rucksack/actions/workflows/dotnet.yml)\n[![NuGet](https://img.shields.io/nuget/vpre/Rucksack)](https://www.nuget.org/packages/Rucksack)\n\nA simple load testing library for .NET.\n\n---\n\n**What if your day job was contributing to open-source projects and custom AI solutions \u0026mdash; and you got paid for it?**\u003cbr /\u003e\nWe're hiring remote engineers to contribute to cutting-edge AI and custom software projects. 100% remote, 100% real impact. https://www.feature23.com/careers\n\n## Getting Started\n\nAdd Rucksack as a dependency via [NuGet](https://www.nuget.org/packages/Rucksack):\n\n```bash\ndotnet add package Rucksack --prerelease\n```\n\nDefine your options with your preferred strategy, and call `Run`:\n```c#\nusing Rucksack;\nusing Rucksack.LoadStrategies;\n\nvar options = new LoadTestOptions\n{\n    LoadStrategy = new RepeatBurstLoadStrategy(\n        countPerInterval: 10,\n        interval: TimeSpan.FromSeconds(1),\n        totalDuration: TimeSpan.FromSeconds(10)),\n};\n\nawait LoadTestRunner.Run(async () =\u003e\n{\n    // do something to put load on the system...\n    await Task.Delay(1000);\n}, options);\n```\n\n## Load Strategies\n\nThere are a couple built-in strategies for generating load, or you can implement `ILoadStrategy` yourself for custom logic.\n\n* `ConstantUserLoadStrategy`: Attempts to maintain a constant concurrent user load at each given check interval until the given duration has passed.\n* `OneShotBurstLoadStrategy`: Enqueue the given number of tasks all at once. Does not repeat.\n* `RepeatBurstLoadStrategy`: Repeat enqueueing the given count of tasks at each given interval until the given duration has passed.\n* `SequentialLoadStrategy`: An aggregate strategy that executes multiple load strategies in order. Great for creating scenarios like step up, then hold steady, then step down.\n* `SteppedBurstLoadStrategy`: Enqueue an increasing (or decreasing) burst of tasks in a stepwise manner, regardless of how many are still running.\n* `SteppedUserLoadStrategy`: Attempts to maintain an increasing (or decreasing) concurrent user load in a stepwise manner.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeature23%2Frucksack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeature23%2Frucksack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeature23%2Frucksack/lists"}