Skip to content

feat: add load testing harness, coder loadtest command #4853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! feat: add coder loadtest command
  • Loading branch information
deansheather committed Nov 2, 2022
commit dde7ad8b1be8dfbf86fdb12bce7408774aaf0b15
7 changes: 5 additions & 2 deletions cli/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ func loadtest() *cobra.Command {
cmd := &cobra.Command{
Use: "loadtest --config <path>",
Short: "Load test the Coder API",
Long: "",
Args: cobra.ExactArgs(0),
// TODO: documentation and a JSON scheme file
Long: "Perform load tests against the Coder server. The load tests " +
"configurable via a JSON file.",
Hidden: true,
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
if configPath == "" {
return xerrors.New("config is required")
Expand Down