Even i have the same issue.....
Configuration failure,
if i start Appium programmatically using the program attached in Appiumstart.java file.
ptmt-mac-mini:workspace
Vinay$ java -cp bin:lib/* org.testng.TestNG testngiOS.xml
[TestNG] Running:
/Users/Shared/Jenkins/Home/jobs/MMLocalProject/workspace/testngiOS.xml
Trying to start Appium
Server
Test cases STARTED and
Testcase details are Test
Test cases SKIPPED and
Testcase details are project
Test cases SKIPPED and
Testcase details are PLANS
Test cases SKIPPED and
Testcase details are QuickSketch
Test cases SKIPPED and
Testcase details are WALLS
===============================================
Suite
Total tests run: 4,
Failures: 0, Skips: 4
Configuration Failures:
1, Skips: 1
===============================================
Passed tests for suite '
Suite 'is:[]
Failed tests for suite '
Suite 'is:[]
Skipped tests for suite
' Suite 'is:[[TestResult name=QuickSketch status=SKIP
method=MMiOSMobileTest.QuickSketch()[pri:3, instance:T.MMiOSMobileTest@5ae9a829]
output={null}], [TestResult name=project status=SKIP
method=MMiOSMobileTest.project()[pri:1, instance:T.MMiOSMobileTest@5ae9a829]
output={null}], [TestResult name=WALLS status=SKIP
method=MMiOSMobileTest.WALLS()[pri:4, instance:T.MMiOSMobileTest@5ae9a829]
output={null}], [TestResult name=PLANS status=SKIP
method=MMiOSMobileTest.PLANS()[pri:2, instance:T.MMiOSMobileTest@5ae9a829]
output={null}]]
If i start Appium
through node from command line in a batch file, it stops at [Appium] Appium REST http
interface listener started on 0.0.0.0:4723 and doesn't proceed further with my test cases.
Started by user anonymous
[EnvInject] - Loading
node environment variables.
Building in workspace
/Users/Shared/Jenkins/Home/jobs/MMLocalProject/workspace/
[] $ /bin/sh -xe
/Users/Shared/Jenkins/tmp/hudson8130735449869040556.sh
[Appium] Welcome to
Appium v1.5.3
[Appium] Non-default
server args:
[Appium]
defaultCommandTimeout: 200000
[Appium] app:
'/Users/Shared/Jenkins/Home/jobs/MMLocalProject/workspace/src/T/result/MeasuringMaster.app'
[Appium] Deprecated
server args:
[Appium] --app
=> --default-capabilities
'{"app":"/Users/Shared/Jenkins/Home/jobs/MMLocalProject/workspace/src/T/result/MeasuringMaster.app"}'
[Appium] Default
capabilities, which will be added to each request unless overridden by desired
capabilities:
[Appium] app:
'/Users/Shared/Jenkins/Home/jobs/MMLocalProject/workspace/src/T/result/MeasuringMaster.app'
[Appium] Appium REST http
interface listener started on 0.0.0.0:4723
JENKINS CONFIGURATION
So, I am building my
project in /Users/Shared/Jenkins/Home/jobs/MMLocalProject/workspace/
I have created a
freestyle project
In the build section
(Execute shell)