如何用纽曼读取两个文件夹

pep*_*epe 5 postman newman

我与 Newman 有以下几行(工作正常),但我希望在同一个请愿书中执行两个文件夹。首先将执行 Login_full 然后另一个(这不是必需的)

newman run Example.postman_collection.json --folder "Login_full"  "" -e Environment1.json
Run Code Online (Sandbox Code Playgroud)

我怎么能读两个文件夹?

问候

小智 5

Newman v4.1.0 能够运行多个文件夹,如下所示:

newman run Example.postman_collection.json --folder "Login_full" --folder "another" -e Environment1.json
Run Code Online (Sandbox Code Playgroud)

有关更改的完整列表,请查看 Newman 更改日志:https://github.com/postmanlabs/newman/blob/develop/CHANGELOG.yaml