Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 1.44 KB

README.md

File metadata and controls

74 lines (54 loc) · 1.44 KB


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