Skip to content

Commit 38000d3

Browse files
committed
wip
1 parent dc875b6 commit 38000d3

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This repo contains samples for running [WebdriverIO](https://webdriver.io/) test
66
## Setup
77

88
* Clone the repo `git clone https://github.com/browserstack/browserstack-webdriverio-load-testing-sample.git`.
9-
* Open the browserstack-load.yaml file and update it with the relevant load test configurations.(https://www.browserstack.com/accounts/settings)
9+
* Set `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` as environment variables with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
1010
* Run `npm i` to install the dependencies.
11-
* Update the same in `browserstack-load.yaml` file.
11+
* Open the browserstack-load.yaml file and update it with the relevant load test configurations.
1212

1313
## Running your tests
1414

15-
- To run the sample tests in parallel across the platforms specified in the `browserstack-load.yaml`, Run the given command to start your test: `npx browserstack-cli load run`.
15+
- Run the given command to start your test: `npx browserstack-cli load run`.
1616

1717
## Notes
18-
* You can view your test results on the [BrowserStack Load Testing dashboard](https://load.browserstack.com/projects)
18+
* You can view your test results on the [BrowserStack Load Testing dashboard](https://load.browserstack.com)

browserstack-load.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,15 @@ files:
4747
testConfigs:
4848
- wdio.conf.js
4949

50-
# Specify environment variabls in the following manner.
51-
# sources:
52-
# - path/to/env/file
50+
# Specify environment variables in the following manner.
5351
# env:
54-
# - name: variable1
55-
# value: value1
56-
# - name: variable2
57-
# value: value2
52+
# sources:
53+
# - path/to/env/file
54+
# env:
55+
# - name: variable1
56+
# value: value1
57+
# - name: variable2
58+
# value: value2
5859

5960
# Set 'headless' to false to run tests in headful mode. This option is supported only when testType is set to WebdriverIO or Playwright.
6061
headless: false

0 commit comments

Comments
 (0)