Unable to launch appium server using a different port for parallel Android tests

Hi,
I have previously managed to run tests parallel on Android devices with previous Appium version (v 1.3.7) but not anymore with Appium version 1.4.0)

I started 2 Appium service using different port number (Appium port, bootstrap port and chromedriver port) as below, however when I run my tests, the tests are only run on the Appium server with default port (4723). When I run my tests against the Appium server running on non default port, it throws “Connection refused - connect(2) (Errno::ECONNREFUSED)” error.

appium -p 4727 -bp 4723 -U “05c98035f0d4db42” --chromedriver-port 9516
appium -p 4725 -bp 4731 -U “53db8955” --chromedriver-port 9518


Environments


Appium version : 1.4.0
OS : 10.9.5

Any idea if the latest version of Appium is still supporting the parallel running of Android tests?

Sorry guys. It was my own mistake that I made at the code level. I forgot to change the Appium server port no when initiating the driver. It works on Appium version 1.4.0.

I have two separate classes under my Package (one for an iOS test and another for an Android test). Usually I select iOS or Android from the Appium GUI and then run either class as TestNG from Eclipse. How can I run both classes simultaneously if both devices are plugged in (or can I even?). I can have them as part of my TestNG xml file but then what do I select at the Appium GUI?
On the same token can I run two iOS devices simultaneously ?

@ching or anyone else ?

This is what I just tried. Unfortunately it did not work.
I had two separate classes - one each for an iOS test, and an android test. I created an xml file to run the testng tests where I put both the classes (both devices were plugged in) to see if the tests will run on both devices. On the Appium GUI I would select either Android or iOS. And got a Configuration failure.

Would appreciate suggestions please.

any response would be greatly appreciated!