I'm using selenium grid with 13 nodes, each one is limited to one chrome instance. My project uses most of those nodes on different times.
In the future, I will need to add more nodes - due to more tests, parallel exec., different browsers , etc. The problem is that I can't tell exactly what is the utilization of the grid's nodes.
is there a way to get the following statistics from the grid:
thanks Tizki
You may create a Servlet on the hub so that you can check those statistics directly from a browser just by loading the URL. Check the class RegistryBasedServlet.
Then on the node's launch script you will launch that node directly from a launcher java class that contains a loop that collects all the information you neeed on that node.
You could also use that loop to update that node configuration and re-register on the hub.
Then from the servlet, you may process all node and collect all the information. From the hub's registry and/or the servlet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With