Hello,
i want to format result of my performance test as JUnit output. I found that k6 is able to make custom file format in handleSummary function. I tried it in my script and it generated output with thresholds if they were passed or not.
<?xml version="1.0"?>
<testsuites tests="1" failures="1">
<testsuite name="k6 thresholds" tests="1" failures="1">
<testcase name="http_req_duration{group:::GET /api/test}"><failure message="failed" /></testcase>
</testsuite >
</testsuites >
Is there any option how to generate JUnit output with another metrics (avg, median, percentiles, …) keep these thresholds (passed / failed) without creating XML file. I want to pass it as argument to python script.
Every API call is wrapped to group and there are set thresholds for these groups according to avg response time.
Thank you in advance.
1 post - 1 participant