You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
at Yl.toAggregate (output.html:18:35128)
at Eu.onEvent (output.html:18:41236)
at Tu (output.html:18:42494)Understand this errorAI
The text was updated successfully, but these errors were encountered:
Brief summary
When running the aggregate command on a result.json generated by k6 produces an output that is not recognized by the report command
The issue is when the sse event file is generated, the event
param
lacks the aggregates field.Generated event:
Expected event:
Most likely, issue is with this line:
https://github.com/grafana/xk6-dashboard/blob/master/dashboard/aggregate.go#L105
k6 version
v0.52.0 (xk6-dashboard plugin build from releases: v0.7.5)
xk6-dashboard version
v0.7.5
OS
Windows 11
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Steps to reproduce:
Note: This can also be replicated using the result.json used in the tests found at: https://github.com/grafana/xk6-dashboard/blob/master/dashboard/testdata/result.json
Expected behaviour
The dashboard loads with the data.
Actual behaviour
The html file fails to load with the error
The text was updated successfully, but these errors were encountered: