LTS-3294: make browserstack-load.yml runnable via browserstack-cli load run#16
Closed
amitsi-bs wants to merge 2 commits into
Closed
LTS-3294: make browserstack-load.yml runnable via browserstack-cli load run#16amitsi-bs wants to merge 2 commits into
amitsi-bs wants to merge 2 commits into
Conversation
…oad run` The shipped browserstack-load.yml (the fully-commented template) is rejected by `browserstack-cli load run` with "Validation error" and was also missing the required `duration`, so the sample could not run a load test out of the box. Replace it with a clean, minimal config the CLI accepts: required `duration`, active `language`, repo-relative file paths (no `./`), 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>
Preserve the full explanatory browserstack-load.yml template (comments intact) and add only `headless: false`, which the runnable config needs. Reverts the earlier over-aggressive comment stripping. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Closing — not needed. pw's merged browserstack-load.yml already has all required fields (testType, language, vus, duration, regions, files); |
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.
What
The shipped
browserstack-load.yml(fully-commented template) is rejected bynpx browserstack-cli load runwith "Validation error", and was also missing the requiredduration— so the sample could not run a load test out of the box.Replaced it with a clean, minimal config the CLI accepts:
duration: 1mlanguage: nodejs(was fine here; the wdio sample had it commented)./prefix)headless: falseCredentials still come from
BROWSERSTACK_USERNAME/BROWSERSTACK_ACCESS_KEYenv vars.Validation
This exact config structure ran green on the prod BLU pod multiple times today (e.g. Test 71b1f165 / ffd17daa — Playwright 2/2 tests passed, metrics + report generated). Follow-up to the LTS-3294 .npmrc hardening, which is already merged.
🤖 Generated with Claude Code