Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>k6 Load Testing
k6 Load Testing

k6 Load Testing

k6

|
2,783 installs
| (4) | Preview
A modern load testing tool built for developer happiness.
Get it free

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft