This repo contains samples for running WebdriverIO tests on BrowserStack using the browserstack-node-sdk.
- Clone the repo
git clone https://github.com/browserstack/browserstack-webdriverio-load-testing-sample.git
. - Set
BROWSERSTACK_USERNAME
andBROWSERSTACK_ACCESS_KEY
as environment variables with your BrowserStack Username and Access Key - Run
npm i
to install the dependencies. - Open the browserstack-load.yaml file and update it with the relevant load test configurations.
- Run the given command to start your test:
npx browserstack-cli load run
.
- You can view your test results on the BrowserStack Load Testing dashboard