Calculations Based on Metrics #817
Labels
enhancement
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
feature
I am using k6 to test a system the renders data based on requests. The full cycle involves making the request with some parameters and data, then asking for the rendered output until something is returned. Obviously not everything gets rendered by the time the test is complete.
I have two Counter metrics in my current test suite that do the following:
I would like to see the proportion of requests that have been successfully rendered, i.e. the result of the value of renderCounter divided by the value of requestCounter.
Is there a way to extract values from these counters? Otherwise is there any kind of summary block where you can specify calculations that need to be made at the end of a run (based on the results of the run)?
The text was updated successfully, but these errors were encountered: