- Notifications
You must be signed in to change notification settings - Fork80
A lightweight load balancer used to create big Selenium clusters
License
aerokube/ggr
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
UNMAINTAINED. Considerhttps://aerokube.com/moon/latest as alternative.
Go Grid Router (aka Ggr) is a lightweight active load balancer used to create scalable and highly-availableSelenium clusters.
To use Go Grid Router do the following:
- InstallDocker to host
- Create configuration directory:
$ mkdir -p /etc/grid-router/quota
- Create
users.htpasswd
file:
$ htpasswd -bc /etc/grid-router/users.htpasswd test test-password
- Start Selenium standalone server on port 4445:
$ java -jar selenium-server-standalone.jar -port 4445
You can also startSelenoid instead.
- Create quota file (use correct browser name and version):
$ cat /etc/grid-router/quota/test.xml<qa:browsers xmlns:qa="urn:config.gridrouter.qatools.ru"><browser name="firefox" defaultVersion="59.0"> <version number="59.0"> <region name="1"> <host name="localhost" port="4445" count="1"/> </region> </version></browser></qa:browsers>
Note: file name should correspond to username you added to htpasswd file. For usertest
we added on previous steps you should createtest.xml
.
- Start Ggr container:
# docker run -d --name ggr -v /etc/grid-router/:/etc/grid-router:ro --net host aerokube/ggr:latest-release
- Access Ggr on port 4444 in the same way you do for Selenium Hub but using the following url:
http://test:test-password@localhost:4444/wd/hub
Complete reference guide (including build instructions) can be found at:http://aerokube.com/ggr/latest/
About
A lightweight load balancer used to create big Selenium clusters
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors10
Uh oh!
There was an error while loading.Please reload this page.