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

How to read two folder with Newman

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

newman run Example.postman_collection.json --folder "Login_full"  "" -e Environment1.json

如何读取两个文件夹?

此致

Newman v4.1.0 自带了运行多个文件夹的功能,像这样:

newman run Example.postman_collection.json --folder "Login_full" --folder "another" -e Environment1.json

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