node-seleniumgrid with tunnel to TestingBot?
Hi @testingbot,
I love how node-seleniumgrid supports connecting my own nodes to the TestingBot grid. Now I would like to test a local site. How can I configure node-seleniumgrid to use tunnelling?
I tried first starting the node-seleniumgrid and then start the tunnel, but the tunnel .jar seems to always setup a separate grid. (which kinda makes sense)
When I try the other way around: first setting up the testing-bot tunnel, and try to connect my nodes to that, it gives me a '403 forbidden'. (which also makes sense I guess)
Any ideas how I can test local pages, on a grid with both TestingBot and local nodes connected?
Thanks! @DV3D
Hi @DV3D
The problem is that our tunnel always connects to hub.testingbot.com https://github.com/testingbot/Testingbot-Tunnel/blob/b33cda4cc28e7c5282a0352cafdebf4546ea67ab/src/main/java/ssh/SSHTunnel.java#L76
So because of this, it can not be used by node-seleniumgrid - we'll add an option to our tunnel where you can overwrite the hub.testingbot.com to your own address.
Then you can run tests through the tunnel to node-seleniumgrid, which can then either run the tests on the grid or proxy it to TestingBot
Sounds great! Where can I follow the progress on this? / When can I use it? :P
Any update on this?
Hi @DV3D
We have not yet added an option for this, if you'd like to try this, please try adjusting https://github.com/testingbot/Testingbot-Tunnel/blob/b33cda4cc28e7c5282a0352cafdebf4546ea67ab/src/main/java/ssh/SSHTunnel.java#L76 modifying hub.testingbot.com to localhost
and then building the tunnel: mvn assembly:assembly
We've added an option for this in our newest tunnel version (1.19)
where you can specify a hubhost:
testingbot/testingbot-tunnel@9ea58cb1c8804be7d964791acfc90ec8a2635197