Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xk6-dashboard no longer works as an extension #162

Closed
szkiba opened this issue Feb 5, 2024 · 2 comments · Fixed by #163
Closed

xk6-dashboard no longer works as an extension #162

szkiba opened this issue Feb 5, 2024 · 2 comments · Fixed by #163
Assignees
Labels
bug Something isn't working

Comments

@szkiba
Copy link
Collaborator

szkiba commented Feb 5, 2024

k6 v0.49.0 includes the xk6-dashboard extension as a built-in output extension. The name of the built-in module is the same as the output name (web-dashboard) registered by the extension. Therefore, if you try to use it as an extension (for example, a newer version), you will get the following error:

$ ./k6 run -o web-dashboard script.js
.
.
.
ERRO[0000] invalid output extension web-dashboard, built-in output with the same type already exists
@szkiba szkiba added the bug Something isn't working label Feb 5, 2024
@szkiba szkiba self-assigned this Feb 5, 2024
@szkiba szkiba linked a pull request Feb 5, 2024 that will close this issue
@ogxd
Copy link

ogxd commented Apr 14, 2024

Same issue with k6 run --out dashboard=export=/scenarios/report.html script.js when using the latest docker image (7.2.0). Using the 0.7.3-alpha.1 version works.

@szkiba
Copy link
Collaborator Author

szkiba commented Apr 14, 2024

Same issue with k6 run --out dashboard=export=/scenarios/report.html script.js when using the latest docker image (7.2.0). Using the 0.7.3-alpha.1 version works.

Thank you for reporting this. Yes, it is fixed on master. There is an alpha release with fix, but not released yet as normal release. It will be released soon (few weeks), until that plz use the alpha release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants