With 1.5 new features says, you can start multiple sessions in 1 server. Or did i understand badly?
At the moment I'm using 2 emulators in paralel with selenium grid. It works fine but I have to open a new appium server for all emulators I need. So if I want to run with 20 different device emulators, I need to launch 20 appium server, which is not cool. My configuration is like this;
appium -a 172.20.0.196 -p 4723 --session-override --nodeconfig appiumnodeconfig1.json
appium -a 172.20.0.196 -p 4724 --session-override --nodeconfig appiumnodeconfig2.json
appiumnodeconfig1.json:
{
"capabilities": [
{
"browserName": "android",
"version": "5.1",
"platform": "ANDROID",
"maxInstances": 1,
"deviceName": "192.168.56.101:5555"
}
],
"configuration": {
"nodeTimeout" : 120,
"port": 4723,
"hubPort": 4444,
"url": "http://172.20.0.196:4723/wd/hub",
"hub": "172.20.0.196:4444/grid/register",
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"hubHost": "172.20.0.196",
"nodePolling": 2000,
"registerCycle": 10000,
"register": true,
"cleanUpCycle": 2000,
"timeout": 30000,
"maxSession": 1
}
}
appiumnodeconfig2.json:
{
"capabilities": [
{
"browserName": "android",
"version": "5.1",
"platform": "ANDROID",
"maxInstances": 1,
"deviceName": "192.168.56.102:5555"
}
],
"configuration": {
"nodeTimeout" : 120,
"port": 4724,
"hubPort": 4444,
"url": "http://172.20.0.196:4724/wd/hub",
"hub": "172.20.0.196:4444/grid/register",
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"hubHost": "172.20.0.196",
"nodePolling": 2000,
"registerCycle": 10000,
"register": true,
"cleanUpCycle": 2000,
"timeout": 30000,
"maxSession": 1
}
}
The thing is, I want to start only 1 appium server and connect multiple emulators to it. Can I do it and how?
Thanks in advance