【发布时间】:2014-02-15 09:26:42
【问题描述】:
当我突然执行场景时,我收到如下错误消息:
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Connection refused - connect(2) (http://localhost:37265) (Errno::ECONNREFUSED)
/usr/local/rvm/gems/ruby-1.9.3-p429/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:803:in `initialize'
我该如何解决和克服这个问题。
我以前执行的评论是:
- 黄瓜功能/APP_PATH=...../.../../test.app DEVICE=ipad SDK_VERSION=6.1
【问题讨论】:
-
确保您确实有一个进程正在侦听您尝试连接的端口(错误表示您没有)。
-
你还在遇到这个问题吗?是在像詹金斯这样的环境中吗?见stackoverflow.com/a/24448375/1565615
标签: ruby selenium-webdriver cucumber calabash pageobjects