Need steps how to parallel Appium on real devices iOS

Hi EveryOne! I need real help. I want to run one test on real devices(parallel) on planform iOS.
I know that i need to set up selenium grid then to start nodes which includes configurations for each devices.
What I have done!
I downloaded selenium-server-standalone, run it from the command line.
Then i made nodeconfig with this configuration
{ "capabilities": [ { "browserName": "iPhone 6", "udid":"89b0848183657c0b794090e291b54425510335b1", "version": "9.3", "maxInstances": 1, "platform": "MAC" } ], "configuration": { "cleanUpCycle":2000, "timeout":30000, "hub": "http://localhost/grid/register", "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy", "url":"http://localhost:4725/wd/hub", "host": "http://127.0.0.1", "role": "node", "port": 4725, "maxSession": 1, "register": true, "registerCycle": 5000, "hubPort": 4444, "hubHost": "localhost" } }

then i run appium with this command - appium --address "127.0.0.1" --port "4725" --nodeconfig /Users/*******/Downloads/GRID/nodeconfig.json --app "Path to file.ipa" --log-level debug --session-override --show-ios-log --full

In console where i launched appium i see error -
[HTTP] <-- GET /wd/hub/status 200 14 ms - 121 [debug] [Appium] Grid registration error: Cannot find proxy with ID =http://http:-1 in the registry. [debug] [Appium] Appium successfully registered with the grid on localhost:4444 debug] [Appium] Grid registration error: Cannot find proxy with ID =http://http:-1 in the registry. [HTTP] --> GET /wd/hub/status {} [MJSONWP] Calling AppiumDriver.getStatus() with args: [] [debug] [Appium] Appium successfully registered with the grid on localhost:4444 [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.2","revision":"c55da93ff390fc5863e6c2967f345676c4aad569"}}

Help me please.
P.S"Sorry for my bad English"

Hey Вадим Зданович

The host URL should be jus the IP Address.
say(127.0.0.1) or (0.0.0.0.) don’t give like “http://127.0.0.1”.

Jus give in the following format
“host”: “127.0.0.1”

1 Like

http://blog.zymr.com/configuring-appium-node-servers-with-selenium-grid

1 Like

Thanks. I wiil try it

Hello, Can you help me to understand error?
I tried to parallel test on real devices iOS and i have the error in my console

debug] [Instruments] And extra without-delay env: {} [debug] [Instruments] And launch timeouts (in ms): {"global":90000} [debug] [Instruments] [INST STDERR] 2016-05-27 19:56:36.113 instruments[5996:94207] WebKit Threading Violation - initial use of WebKit from a secondary thread. [debug] [Instruments] [INST STDERR] Instruments Trace Error : Failed to load document 'file:///var/folders/__/_xmb1l3121731mnfl6dws30h0000h4/T/appium-instruments/instrumentscli0.trace' : (Error Domain=Instruments Plug-in Error Code=-6 "Document Missing Template Error" UserInfo={NSLocalizedDescription=Document Missing Template Error}) [debug] [Instruments] Instruments exited with code 250 [Instruments] Error launching instruments: Instruments crashed on startup [UIAuto] Instruments is ready to receive commands [debug] [UIAuto] Socket data received (2 bytes) [debug] [UIAuto] Got a result when we were not expecting one! Ignoring it [debug] [Instruments] Attempting to launch instruments, this is try #2 [Instruments] Launching instruments [debug] [Instruments] Attempting to run app on real device with UDID '6c506be72fe668c02969bd473dc79247d50348f1' [debug] [Instruments] Found Insruments-Without-Delay: /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7 [debug] [Instruments] Spawning instruments with command: '/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/__/_xmb1l3121731mnfl6dws30h0000h4/T/appium-instruments/instrumentscli0.trace -w 6c506be72fe668c02969bd473dc79247d50348f1 com.filmon.ios.app -e UIASCRIPT "/Users/vadimzdanovich/Library/Application Support/appium/bootstrap/bootstrap-4deb3443dd216f6e.js" -e UIARESULTSPATH /var/folders/__/_xmb1l3121731mnfl6dws30h0000h4/T/appium-instruments' [debug] [Instruments] And extra without-delay env: {} [debug] [Instruments] And launch timeouts (in ms): {"global":90000} [debug] [Instruments] [INST STDERR] 2016-05-27 19:56:45.280 instruments[6003:94318] WebKit Threading Violation - initial use of WebKit from a secondary thread. [debug] [UIAuto] Socket data received (2 bytes) .
I use [email protected]

The application runs in parallel and opened on two devices and stops, i had error in console on both appium servers
Can you help me?

Solved a problem. :slight_smile: