我正在使用代码接收运行API测试,但出现此错误
"[GuzzleHttp\Exception\ConnectException] cURL error 28: Operation timed out after 90001 milliseconds with 0 bytes received"
我已经浏览了互联网,发现这篇Codeception REST timeout issue文章我一直遵循,但仍然遇到相同的错误。请在下面查看我的api.suite.yml
class_name: ApiTester
modules:
enabled:
- \Helper\Api
- REST
- Laravel5
- Asserts
- Db
config:
REST:
depends: PhpBrowser
PhpBrowser:
url: 'http://localhost:8001'
curl:
CURLOPT_TIMEOUT: 90