如何用 Newman 读取两个文件夹如何用、文件夹、两个、Newman

由网友(爷的心ビ只属于你)分享简介:我与 Newman 有以下一行(工作正常),但我希望在同一个请愿书中执行两个文件夹.首先会执行Login_full,然后是另一个(不是必须的)I have the following line with Newman (works correctly), but I am looking to execute two...

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

I have the following line with Newman (works correctly), but I am looking to execute two folders at the same petition. First will be executed Login_full and then another (It is not essential)

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

如何读取两个文件夹?

问候

推荐答案

Newman v4.1.0 自带运行多个文件夹的功能,如下:

Newman v4.1.0 comes with the ability to run multiple folders, like so:

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

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

For a complete list of changes, check the Newman changelog: https://github.com/postmanlabs/newman/blob/develop/CHANGELOG.yaml

阅读全文

相关推荐

最新文章