Skip to content

isabella232/k6-azure-pipelines-extension

 
 

Repository files navigation


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

About

An Azure Pipelines Extension for easily integrating k6 performance testing into your existing CI/CD pipelines.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.9%
  • JavaScript 7.1%