You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 046f7d2
Browse filesBrowse the repository at this point in the historyBrowse files
Hidden prompt for the access key so it stays out of bash/zsh and
PSReadLine history (CodeRabbit); note the variables last for the current
session and how to spot an unset one; per-repo fixes from the code review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,24 +8,29 @@ This repo contains samples for running [WebdriverIO](https://webdriver.io/) test
8
8
* Clone the repo `git clone https://github.com/browserstack/browserstack-webdriverio-load-testing-sample.git`.
9
9
* Set your credentials as environment variables, as described in [Set your credentials](#set-your-credentials).
10
10
* Run `npm i` to install the dependencies.
11
-
* Open the browserstack-load.yaml file and update it with the relevant load test configurations.
11
+
* Open `browserstack-load.yml`and update it with the relevant load test configurations. Leave `userName` and `accessKey` as they are.
12
12
13
13
## Set your credentials
14
14
15
15
The BrowserStack CLI reads your credentials from environment variables. Copy your username and access key from [Account Settings](https://www.browserstack.com/accounts/settings) and export them in the shell you run the test from:
These variables last only for the current terminal session. If the CLI reports an authentication error, check that both are set in the terminal you run it from.
33
+
29
34
**Never commit your credentials.** Leave the `userName` and `accessKey` placeholders in `browserstack-load.yml` as they are (the environment variables override them), and keep your access key out of every file you push. If a key is ever exposed, regenerate it from Account Settings.
0 commit comments