I need to get the current active VUs count within a test so I can track its count into a custom metrics.
I’ve tried the solution from here but it didn’t work because it turns out it wasn’t what I’m looking for.
I want to get the active vus that are running as seen on the console app when loadtest is running.
as seen on the screenshot above, I want to get the number 8 on a specific moment in the script. e.g. tracking the vus count before request and after request.