I have deployed webdriver script over Tomcat 7.0.29 with simple jsp pages for data punching of my applications from remote machines.For that i have launched nodes,registering with the hub on which tomcat is running.
But i think hub takes node's requests in a queue.Thats why when i hit jsp and launch a test it runs on another node,running on another machine but has been registered first with the hub.But i want it to run on the requesting client.
Now i think i have to set my remotewebdriver's capability with the ip address of the requesting client(would be captured in servlet),which will match the ip with the JSON parameter's host address on node.But not able to do that.Can anyone tell how to do that??
Thanks