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

[Bug]: WARN messages can print megabytes of text #2217

Closed
sniku opened this issue Nov 2, 2021 · 0 comments · Fixed by #2219
Closed

[Bug]: WARN messages can print megabytes of text #2217

sniku opened this issue Nov 2, 2021 · 0 comments · Fixed by #2219
Labels
Milestone

Comments

@sniku
Copy link
Collaborator

sniku commented Nov 2, 2021

k6 version

master

OS

Linux

Docker version and image

No response

Expected Behaviour

WARN messages produced by #1876 should trim the values.

Actual Behaviour

WARN messages can be megabytes long.
image

Steps to Reproduce the Problem

import http from 'k6/http';
import { Counter } from 'k6/metrics';

let my_counter = Counter("my_counter");

export default function () {
  my_counter.add(http.get('https://test.k6.io').body)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants