-
Notifications
You must be signed in to change notification settings - Fork 30
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
Dasboard does not display data using setup() function #185
Comments
Hi @EmpreLuc , I tried to reproduce it, but it didn't work for me. Could you send me a zip file that contains everything for reproduction? |
Hi @szkiba , The test I tried is the next: `import { check } from "k6"; export const options = { export function setup() { export default function() { xk6-dashboard builded with next command: the command to execute the test: before this comment I tried to upgrade k6 to v0.51.0 but have same result, when the stup function is on the test the dashboard doesnt show graphics, but when comment the setup the graphics appears. |
Hi @EmpreLuc , Thanks for the example script. I managed to find the problem and the fix is almost complete. I will merge soon and then make a release. |
Thank you @szkiba! |
@EmpreLuc,Thank you for your help. |
Brief summary
When execute test with 'export default setup()' the dashboard does not shows data.
k6 version
v0.50.0
xk6-dashboard version
v0.7.3-alpha.1
OS
Windows 11
Docker version and image (if applicable)
No response
Steps to reproduce the problem
Executing with export default function setup()
Executing without export default function setup()
Expected behaviour
That dashboard shows data with export default function setup()
Actual behaviour
When execute test with 'export default setup()' the dashboard does not shows data.
The text was updated successfully, but these errors were encountered: