作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 postman 中有一个集合,其中包含很多请求, Newman 中是否有任何选项可以运行该集合中的特定请求,而不是为该特定请求创建新文件夹并运行
最佳答案
是的,您可以使用选项--folder
在newman CLI中的收集运行器中运行特定请求。
说明文件:
CLI option : --folder "name"
Run requests within a particular folder/folders or specific requests in a collection. Multiple folders or requests can be specified by using --folder multiple times, like so: --folder f1 --folder f2 --folder r1 --folder r2.
newman run "postman-collection-API" --environment "postman-environment-API" --folder request-name
关于api - 如何在newman中运行来自集合的单个请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60057009/
我是一名优秀的程序员,十分优秀!