Parallel Android Tests
Appium provides a way for users to automate multiple Android sessions on a single machine on single server instance. All it involves is starting Appium server on any available port.
The important capabilities:
udidthe device idchromeDriverPortthe chromedriver port (if using webviews or chrome)systemPortIf you are using appium-uiautomator2-driver, set a different system port for each Appium instanceset withsystemPortcapability since sometimes there can be a port conflict if different ports aren't used, such as in this issue.
Parallel iOS Tests
With Xcode9 Appium supports parallel RealDevice and Simulator testing. Start your Appium Server on any available port.
The important capabilities:
RealDevice
udidthe device idwdaLocalPortunique wdaPort, as WDA defaults to 8100
Simulator
udidsimulator UDID,this can be retrieved from xcrun simctl list.deviceNameSimulator NameplatformVersionSimulator OS versionwdaLocalPortunique wdaPort, as WDA defaults to 8100
Parallel Safari/Webview sessions are not working due to an Apple bug
Refer: https://github.com/appium/appium/issues/9209
Parallel Safari Real device
udidthe device idwdaLocalPortunique wdaPort, as WDA defaults to 8100webkitDebugProxyPortunique webKitProxy, as IWDP defaults to 27753