Skip to content

LambdaTest/k6-browser-tests-sample

Repository files navigation

K6 Browser Tests Sample

Pre-requisites

  1. Clone the repository: git clone https://github.com/LambdaTest/k6-browser-tests-sample.git
  2. Install k6. Refer the installation guide here: https://k6.io/docs/get-started/installation/
  3. Set the LambdaTest user and access key in environment.

Windows

set LT_USERNAME = "YOUR_LAMBDATEST_USERNAME"
set LT_ACCESS_KEY = "YOUR_LAMBDATEST_ACCESS_KEY"

macOS/Linux

export LT_USERNAME = "YOUR_LAMBDATEST_USERNAME"
export LT_ACCESS_KEY = "YOUR_LAMBDATEST_ACCESS_KEY"

Running the test

Run the test with the following command:

K6_BROWSER_ENABLED=true k6 run k6_sample.js

Navigate to the LambdaTest dashboard to view the running test.

About

K6 browser tests sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •