Any way to access the amount of vUsers created? #1504
eliezercazares
started this conversation in
Artillery
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have developed a function in my processor file to get remote server's statistics of cpu usage via SSH top command on a linux server.
I call this function a couple times during my Artillery.io scenario...
however, I would like to add a bit more of info to this statistics I am storing in a text file for now, then appending to the HTML report with a shell script...
I.e. I would like to store additional info like:
${vUsers.created}, ${vUsers.completed}, ${vUsers.failed}, ${remoteServer.cpu}, ${remoteServer.memory}
Of course this needs to be the amount of vusers at the moment, not after execution.
I only need to know how to access the vUsers object in this faux code I provided above.
Beta Was this translation helpful? Give feedback.
All reactions