grafana / k6-cloud-feature-requests

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

`handleSummary()` support in k6 cloud #24

Closed na-- closed 7 months ago

na-- commented 3 years ago

The handleSummary() functionality (https://github.com/loadimpact/k6/pull/1768) that was recently released in k6 v0.30.0 only works in local k6 run tests for now, not in k6 cloud.

That means being able to view the exact same summary (including any custom output and files handleSummary() generates) on the local machine that executed the k6 cloud command, as if you had ran the same script with k6 run, despite the fact it might have been executed on hundreds of different instances in our cloud!

I'm adding this issue to gauge interest in k6 cloud support for this feature, so, please :+1: this issue if you'd like us to prioritize this task. We'll also use the issue to track the effort when we actually start implementing it.

ppcano commented 3 years ago

Ideally, the handleSummary in k6 cloud could also provide the cloud test URL -> http://app.k6.io/runs/xxxx.

Making available the cloud test URL will allow any handleSummary integration to link to the entire test results on the k6 Cloud web application.

adshead commented 2 years ago

I would really like this feature as we have a custom handleSummary method producing custom metrics in a csv file that runs on an Azure pipeline. However because handleSummary doesn't run in the cloud it means we can't run our tests in different regions and produce a csv file because of handleSummary not running. Please please add this feature

robingustafsson commented 2 years ago

Thanks @adshead for adding your vote!

imx-hcordero commented 7 months ago

My team and I are also facing the same issue, we would like to export the test results on the release pipeline. Please consider the change/fix.

markjmeier commented 7 months ago

@imx-hcordero thanks for the feedback - we absolutely have this in our head, however its strangely blocked by things which means we cant just implement it.

That said - Im also working to port ideas from this repo over to the process Grafana uses for FR. If you can work with support or your account team to raise this as a feature request, I'll make sure you are tracked appropriately!

Closing this issue as I have ported it.