K6 summary - default missing when handleSummary exists

Hi

Is it possible to get both the current default summary and write the summary to json? When I define handleSummary the current summary isn’t outputted.

Thanks

Richard

Hi there,

sure, just make sure to also specify the stdout property in the returned object, and use the textSummary function from the jslib. See the docs example.