groupon / Selenium-Grid-Extras

Simplify the management of the Selenium Grid Nodes and stabilize said nodes by cleaning up the test environment after the build has been completed
BSD 3-Clause "New" or "Revised" License
536 stars 209 forks source link

Improvement | Grid Console to show total number of connected nodes #206

Open mstankovic86 opened 8 years ago

mstankovic86 commented 8 years ago

It would be great if we can see total number of connected nodes in Grid Console web page (https(s)://hub_ip:hub_port/grid/console)

smccarthy commented 8 years ago

@mstankovic86 Right now you can just do a search for "WebDriver" (or anything else that is the same for each node), right ?

mstankovic86 commented 8 years ago

yes, i can, but there could be scenario where node is attached but it is not connected on the hub (picture bellow)

screen shot 2016-05-03 at 10 48 27 am it would be good if I can see total (reserved) number of nodes (browsers). For example:

nodes: 33 chrome: 99 (5) firefox: 5 (1) . . .

smccarthy commented 8 years ago

I like this idea.

smccarthy commented 8 years ago

Need to make sure we have an api available to get this information, to fulfill : https://github.com/groupon/Selenium-Grid-Extras/issues/200

mitchloudenbeck commented 7 years ago

There is an endpoint in the stock selenium hub that can give you some of this info. Do a get to http://yourHub:4444/grid/api/hub and you should see the free/total slotCounts (look at newSessionRequestCount to see queued tests). It doesn't have the granularity to show different browsers but you can get overview to determine if your grid is saturated.