IE8..11 WPT pooling / sharding for same location
|
06-12-2014, 12:30 AM
Post: #1
|
|||
|
|||
![]()
Hi,
I am trying to pool multiple servers running each the wptdriver for chrome, firefox and IE8..11, so that i see only 1 location and then choose between the browsers in the WPT webapp. To achieve that, i made sure that each wptdriver agent uses the same location "paris-wptdriver". This works well for Chrome and Firefox. Any server with its wptdriver doing nothing will pickup the job. But that does not work for IE: Each server and wptdriver uses a different version of IE ([IE8], [IE9], [IE10], and [IE11]), and many times, a wptdriver picks the job with the wrong IE version, and replies an error, eg. "Test Error: Invalid Browser Selected: IE8" Aren't the wptdriver agents detect which browser is requested and pick the job only if its IE version match ? From the reply http://www.webpagetest.org/forums/showth...4#pid23394 i would have assumed it should work. Here are my WPT webapp locations.ini: Code: [locations] And below is one of my wptdriver configuration. Other wptdriver on other servers use [IE9], [IE10], and [IE11] Code: [WebPagetest] |
|||
06-17-2014, 06:49 AM
Post: #2
|
|||
|
|||
RE: IE8..11 WPT pooling / sharding for same location
It's kind of convoluted but the way to do that is to set up different locations for all of the different IE versions and a shared location for Chrome and Firefox. On the agent side you can put a comma-delimited list of locations to pull from so an agent that has IE 10, Chrome and Firefox would pull from location=paris-wptdriver,paris-IE10
You also need to make sure that the IE version string in wptdriver matches the one defined in locations.ini for each of the different IE versions. WPT expects that any agent can handle every browser that a location is configured for and the agents don't do anything special for IE. locations.ini: Code: [locations] wptdriver.ini for IE10 machine: Code: [WebPagetest] |
|||
06-17-2014, 06:56 PM
Post: #3
|
|||
|
|||
RE: IE8..11 WPT pooling / sharding for same location
This works great, thank you
Nota that i think you made a mistake in the locations.ini: Code: [paris-wptdriver] |
|||
06-17-2014, 11:33 PM
Post: #4
|
|||
|
|||
RE: IE8..11 WPT pooling / sharding for same location
Oh yeah, left a few extra browsers in there, thanks :-)
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)