VOOZH about

URL: https://marketplace.visualstudio.com/items?itemName=k6.k6-load-test

⇱ k6 Load Testing - Visual Studio Marketplace


Skip to content
👁 Image
Sign in
👁 k6 Load Testing

k6 Load Testing

A modern load testing tool built for developer happiness.

Open source load testing tool and SaaS for ambitious engineering teams.

Getting started

It's as easy as:

trigger:
 - master

pool:
 vmImage: 'ubuntu-latest'

steps:
 - task: k6-load-test@0
 inputs:
 filename: 'YOUR_K6_TEST_SCRIPT.js'

Inputs

These options are also available from the settings dialog in the pipelines editor.

Filename

steps:
 - task: k6-load-test@0
 inputs:
 filename: 'YOUR_K6_TEST_SCRIPT.js'

Sets the filename of the test script to execute. This property is relative to the workspace directory.

Cloud

steps:
 - task: k6-load-test@0
 inputs:
 cloud: true

Enables execution in the k6 cloud. Additional details on the k6 cloud offering are available at https://k6.io/cloud/. Using this requires you to also set up a secret variable in your pipeline named K6_CLOUD_TOKEN.

Args

steps:
 - task: k6-load-test@0
 inputs:
 args: --vus 10 --duration 10s

Any additional arguments to pass to the k6 cli. The full list of possible options is available at https://k6.io/docs/using-k6/options.

For additional information, and help getting started, see https://k6.io