如何用 Newman 读取两个文件夹 [英] How to read two folder with Newman

查看:11
本文介绍了如何用 Newman 读取两个文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与 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

这篇关于如何用 Newman 读取两个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆