Selenium Grid 4 max parallel session running

131 views
Skip to first unread message

hal kay

unread,
Apr 13, 2021, 3:08:44 AM4/13/21
to Selenium Users
I have a problem in docker-selenium.
the number of parallel session executions is blocked at 2, although there are session slots available(totally 16).

I have searched in the documentation, but there is no information about this.

can you help me to use all available slots/session?

Čamo

unread,
Apr 13, 2021, 2:21:31 PM4/13/21
to Selenium Users
In my case Selenium + Java/MVN it is defined in pom.xml. It is handled by maven-surfire-plugin or maven-failsafe-plugin. There are settings like forks, threadCount look at the documentation .
So the point is the parallel requests are handled by your code not by Selenium Grid.

Dátum: utorok 13. apríla 2021, čas: 9:08:44 UTC+2, odosielateľ: hal...@gmail.com

hal kay

unread,
Apr 13, 2021, 3:24:32 PM4/13/21
to Selenium Users
Hello,

Thank for your response.
I developpe with python not Java. I use the threads.
I can also see in the queue that there are elements waiting. 
when I use selenium grid 3, there is no problem, the tests in session are well executed in parallel

Regards,

Čamo

unread,
Apr 13, 2021, 4:40:25 PM4/13/21
to seleniu...@googlegroups.com
Do you use it like standalone or hub + nodes or do you handle sessions separately on your own? 

S pozdravom

Vladimír Čamaj


ut 13. 4. 2021 o 21:24 hal kay <hal...@gmail.com> napísal(a):
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/szHtxgBSFUQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/478780dd-5a1c-4646-9126-738f3d408781n%40googlegroups.com.

KAYSI Halit

unread,
Apr 13, 2021, 4:50:44 PM4/13/21
to seleniu...@googlegroups.com
I use the hub + nodes in the docker container.

You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CACBSb5at6sirPWoVJn-AV-9OLYC54qpQLCOd1tiyehf2XGeXmw%40mail.gmail.com.

Čamo

unread,
Apr 14, 2021, 4:53:30 AM4/14/21
to Selenium Users
How many cores (CPU) do you have on your machine? Is it VPC with vCPU ?

Dátum: utorok 13. apríla 2021, čas: 22:50:44 UTC+2, odosielateľ: hal...@gmail.com

Charles Fairbairn

unread,
Apr 23, 2021, 8:54:47 AM4/23/21
to Selenium Users
If you run Grid 4 on a 2 core machine, you get 2 slots, on a 4 core machine you get 4. It is automatically set. If you have a scaleable VPS you can scale up, get more slots then scale down again. 
Reply all
Reply to author
Forward
0 new messages