I have a setup that is kinda weird, as there is a lot of requests per each url a user visits on the site (~300 unique requests on less than 10 pages). These are done in batches and I would like to get request duration data on each endpoint separately. Is there a built in option to report this? If not, what would be the easiest way to implement it, taking into consideration that most of the tests are generated from HAR files and modified only if/when needed.
These are done in batches and I would like to get request duration data on each endpoint separately.
k6 annotates the measurements it makes for every HTTP request with a bunch of tags, including method
, url
, etc. You don’t see them in the end-of-test summary, unless you’ve defined a threshold based on them.
However, if you use an external output, you can usually explore the results for individual URLs.