【发布时间】:2019-03-21 06:24:18
【问题描述】:
尝试在 GitLab 的 docker 上运行我的邮递员脚本 (collection.json) 时,我遇到了两个错误,如随附的屏幕截图所示。以下是有关我的系统设置的详细信息:
1. Newman Version: 4.1.0
2. OS details: Windows 7, 64 bit
3. Expected behaviour: I should get the Status code as 200 and my assertion should pass.
4. Command/script used to run Newman: newman run Generate_Access_Token.postman_collection.json --reporters cli, html --reporter-html-export report.html
I'm getting two errors as shown in the attached screenshot while trying to run my postman script (collection.json) on a docker in GitLab
【问题讨论】:
-
您需要重新编辑此问题,以便任何人提供任何类型的答案。使用以 github 为中心的问题模板不是您在这个平台上提问的方式。
-
看起来像是证书问题,您是否在本地使用 Newman 运行该集合,而不使用 Docker 映像?
-
我的意思是,您面前的错误是关于问题所在 - 您从中获取令牌的 API 存在证书问题。不太确定还能说什么。