Skip to content

LTS-3295: make browserstack-load.yml runnable via browserstack-cli load run#16

Open
amitsi-bs wants to merge 2 commits into
mainfrom
sec/LTS-3295-load-config-runnable
Open

LTS-3295: make browserstack-load.yml runnable via browserstack-cli load run#16
amitsi-bs wants to merge 2 commits into
mainfrom
sec/LTS-3295-load-config-runnable

Conversation

@amitsi-bs

Copy link
Copy Markdown
Contributor

What

The shipped browserstack-load.yml left language commented out, so npx browserstack-cli load run rejects it ("Missing required configuration 'language'" / "Validation error") — the sample could not run a load test out of the box.

Replaced it with a clean, minimal config the CLI accepts:

  • active language: nodejs
  • required duration: 1m
  • repo-relative file paths
  • headless: false

Credentials still come from BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY env vars.

Validation

This exact config structure ran green on the prod BLU pod today (Test 455475fa — WebdriverIO add-to-cart passed, metrics + report generated). Follow-up to the LTS-3295 .npmrc hardening, which is already merged.

🤖 Generated with Claude Code

…oad run`

The shipped browserstack-load.yml left `language` commented out, so
`browserstack-cli load run` rejects it ("Missing required configuration
'language'" / "Validation error") and the sample cannot run a load test out of
the box.

Replace it with a clean, minimal config the CLI accepts: active `language`,
required `duration`, repo-relative file paths, and `headless`. Credentials still
come from the BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY env vars.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@amitsi-bs amitsi-bs requested a review from a team as a code owner July 7, 2026 10:30
@amitsi-bs amitsi-bs requested a review from MihirR-BS July 7, 2026 10:30
Preserve the full explanatory browserstack-load.yml template (comments intact)
and just activate `language: nodejs` (it was commented out, which made
`browserstack-cli load run` reject the config). Reverts the earlier over-
aggressive comment stripping.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@amitsi-bs amitsi-bs requested a review from dheeren-gaud July 7, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant