Hi!
if I run the script on k6 as 'k6 run script.js ', then usually in the log I get a bounce on the execution status(example of a log for ramping-arrival-rate):
running (00m10.0s), 00003/00100 VUs, 96 complete and 0 interrupted iterations
scenarios [ 1% ] 00003/00100 VUs 00m10.0s/30m0s 10.00 iters/s
but if I integrate k6 into my application as a dependency, I only get what the script logic logs:
console.error('Message: ' + var)
=> I get in log =>
Message: value
the log itself works - it’s good.
but I don’t get the status of the script execution progress in the log. Can you tell me which entity is responsible for the output of this information in the k6 code?
expected:
Message: value
running (00m10.0s), 00003/00100 VUs, 96 complete and 0 interrupted iterations
scenarios [ 1% ] 00003/00100 VUs 00m10.0s/30m0s 10.00 iters/s