Can you share a minimal script that reproduces this?
Which specific k6 metric are you interested in?
If the “Transaction” tab loads via Ajax and no navigation happens, you wouldn’t get metrics like browser_dom_content_loaded or browser_first_paint. In that case, consider using page.waitForSelector() in the 3rd group and checking the group_duration metric.
You are running 2 iterations, which is why you have 2 metrics for each group. You can consider either of them if you want a single result. Otherwise, you can aggregate the result from both (or more) iterations however you like. You can do this directly in Excel, or in another metric output system, or even in the script itself with handleSummary().
i cannot see any goup duration stats in the json output obtained through handle summary, its available in csv file. loom video attached
I am interested in metrics for a specific group, which is available through csv
@jithin I’m confused. In your previous post you mentioned you wanted avg, min and max group duration. These are aggregated statistics across all groups in your script, which are available in the data passed to handleSummary(), as your last video shows. This is the same data you see in the end-of-test summary output by default. You can create HTML reports from it or do whatever you like in handleSummary().
If you want to see unagreggated metric samples for each group, then you’ll have to use an output, like CSV or JSON. See the documentation. You can then aggregate this data however you like by processing the raw output metric samples.