Repository navigation
feat(#97): CLI batch mode for sequential load tests - #101
Open
Allan-Nava wants to merge 2 commits into
Open
Allan-Nava wants to merge 2 commits into
Allan-Nava wants to merge 2 commits into
Conversation
added 2 commits
September 21, 2026 14:45
…d advanced reporting
- cmd_batch <config.json> runs multiple load tests in sequence - Each job specifies profile, target, peak rate - Exit 0 if all pass, 1 if any fail - Example config with 3 sequential tests (baseline, load, spike) Usage: crowdsim batch examples/batch-config.json
Allan-Nava
force-pushed
the
feat/cli-batch-runs
branch
from
September 21, 2026 13:11
860cdf5 to
3cec7ca
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
crowdsim batch <config.json>subcommand to run multiple load tests sequentially from a configuration file. Enables CI/CD automation and multi-stage test campaigns.Changes
bin/crowdsim: New
cmd_batch()functionexamples/batch-config.json (new): Example config
Config Format
{ "name": "Campaign name", "jobs": [ { "name": "test1", "profile": "...", "target": "...", "peak": 50, "shape": "mix", "steps": 4 }, { "name": "test2", "profile": "...", "target": "...", "peak": 100, "shape": "mix", "steps": 6 } ] }Usage
Output:
Testing
Related
Closes #97 (partial — webhooks/hooks deferred to v1.20.1)
🤖 Generated with Claude Code