This is my node config json:
{
"capabilities":
[
{
"browserName": "iphone",
"platform":"MAC",
"platformName":"iOS",
"deviceName":"iphone",
"newCommandTimeout":"15000"
}
],
"configuration":
{
"cleanUpCycle":8000,
"timeout":300000,
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"url": "hub url",
"host": "host ip",
"port": 4724,
"maxSession": 1,
"register": true,
"registerCycle": 10000,
"hubPort": 4444,
"hubHost": "hubhost url",
"hub": "hubhosturl:4444/grid/register",
"remoteHost": "remotehost:4724",
"role": "node"
}
}
This is command line used for appium server:
appium --nodeconfig ./iPhone6_1.json --tmp /tmp/ios6/ --port "4724" --newCommandTimeout "150000" --debug-log-spacing --platform-version "8.1" --platform-name "iOS" --udid "udidofmyphone" --show-ios-log --device-name "iPhone 6"
but this did not work so i used:
appium --nodeconfig ./iPhone6_1.json --tmp /tmp/ios6/ --port "4724" --command-timeout "150000" --debug-log-spacing --platform-version "8.1" --platform-name "iOS" --udid "udidofmyphone" --show-ios-log --device-name "iPhone 6"
Here i know command-timeout is deprecated.