grafana / k6-cloud-feature-requests

The place to propose, dicuss and vote for k6 Cloud features and ideas.
9 stars 1 forks source link

Add test run note from options.ext.loadimpact sent by k6 #4

Closed robingustafsson closed 3 years ago

robingustafsson commented 3 years ago

This is an idea submitted to our previous ideas portal

When using cloud output, k6 sends "options.ext.loadimpact" to LoadImpact so that it can match the projectID.

It would also be helpful if we could set "options.ext.loadimpact.testnote" to set the test run note for the test, rather than having to set it manually.

robingustafsson commented 3 years ago

This issue is related to https://github.com/k6io/cloud-feature-requests/issues/2 (ability to tag individual test runs).

robingustafsson commented 3 years ago

This has now been implemented and shipped to production. You use it as follows:

export let options = {
    ...
    ext: {
        loadimpact: {
            note: "Some note I want to attach to a test run!"
        }
    }
};