AnsweredAssumed Answered

Forcing Alfresco Benchmark tests to use selenium grid vs benchmark server

Question asked by dbiggins on Jun 2, 2015
Latest reply on Jun 3, 2015 by dbiggins
I am using the Alfresco Benchmark tests to simulate load and do some regression testing with some success.  Using the latest benchmark tests for share and cmis, I can create and run several tests, where everything (benchmark components AND selenium driver / browser instances) runs on the benchmark server.

I would like to be able to use a selenium grid to pull the browsers off to one or more other servers.  I can set up the selenium grid, where I have 1 or more nodes talking to a selenium hub.  I am pretty sure they are talking because they all post messages to stdout when a node or the hub are brought offline / online.  I can also run the hub console, and see the nodes and their config options.

The problem occurs in getting the benchmark tests to use the grid.  There is an entry in the share benchmark test for specifying the 'Selenium grid URL', and I am putting the url of the hub (http://hubserver:4444/wd/hub), but it doesn't seem to use it.  There is also an option for 'Run with local Selenium grid', but setting it to true or false doesn't seem to make a difference.  The tests will run, but all browser instances will launch on the benchmark server

Do I need to do anything else to tell a benchmark test to use a grid?  Any good places to look for logs?

Thanks all!