Codeception - “ Curl error thrown for http POST to /session with params:”

三世轮回 提交于 2020-01-05 05:32:05

问题


first of all, sorry for my poor english. I have a problem with the test automation.

I am a beginner. I have virtual box instance with my app, where is set a standard address with VirtualBox outside (192.168.56.101). I connect netbeans with this instance, and i have project with my app on this. And the last thing - I'm trying to biuld test automation for it.

Unfortunately, I have a problem,. Test is created, selenium started, PhantomJs also started. I go to the project folder, "codecept run" and...

acceptance.suite config:

class_name: AcceptanceTester
modules:
enabled:
- WebDriver
- \Helper\Acceptance
- Db:
dsn: 'mysql:host=localhost;dbname=xxx'
user: 'root'
password: 'xxx'
dump: 'tests/_data/dump.sql'
populate: true
cleanup: false
reconnect: true
config:
WebDriver:
url: 'http://xxx.app/'
browser: chrome
host: '192.168.56.101'
port: 22
window_size: 'maximize'

env:
phantom:
modules:
config:
- WebDriver:
browser: 'phantomjs'

Please help.

来源:https://stackoverflow.com/questions/41146554/codeception-curl-error-thrown-for-http-post-to-session-with-params

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!