Open source load testing tool and SaaS for ambitious engineering teams.
It's as easy as:
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: k6-load-test@0
inputs:
filename: 'YOUR_K6_TEST_SCRIPT.js'
These options are also available from the settings dialog in the pipelines editor.
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.
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
.
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