-
Notifications
You must be signed in to change notification settings - Fork 103
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
handleSummary() failed with error "TypeError: Not a function: [object Object]" #40
Comments
any update on this? |
Not touched k6 or this code in a few years, what is |
what does --compatibility-mode=base mean? |
tried with both - K6_COMPATIBILITY_MODE=base and K6_COMPATIBILITY_MODE=extended. its same error. |
Just a user here, but I had some success with using the import { textSummary } from 'https://jslib.k6.io/k6-summary/0.0.3/index.js';
export function handleSummary(data) {
// export a static HTML report _and_ make sure default output happens
return {
'results/index.html': htmlReport(data),
'stdout': textSummary(data, { indent: ' ', enableColors: true }),
};
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Bro, I am running with --compatibility-mode=base, got below error
handleSummary() failed with error "TypeError: Not a function: [object Object]", falling back to the default summary source=console
here is my code quiet simple just follow the demo
k6 v0.36.0 ((devel), go1.17.6, darwin/arm64)
The text was updated successfully, but these errors were encountered: