当前位置:网站首页>【Postman】Collections配置运行过程
【Postman】Collections配置运行过程
2022-07-06 05:59:00 【lichong951】
配置
要配置收集运行:
在边栏中选择集合,然后选择要运行的集合。
在概览选项卡上,选择 Run图标 运行

在开始收集运行之前,您可以选择可选的配置参数:
- Iterations - 集合运行的迭代次数。您还可以针对不同的数据集多次运行集合以构建工作流。
- Delay 延迟- 每个请求之间的间隔延迟(以毫秒为单位)。
- data 数据- 收集运行的数据文件。
- save responses 保存响应- 将响应标头和正文保存到日志中以供以后查看。对于大型收集运行,此设置可能会影响性能。
- Keep variable values 保留变量值- 保留运行中使用的变量,以便运行更新的任何变量在运行完成后保持更改。如果您不保留变量,则在运行完成后不会保存更改。请注意,收集运行中的持久变量只会更新当前值。
- Run collection without using stored cookies 在不使用存储的 cookie 的情况下运行收集- 如果您的请求使用 cookie,您可以选择停用它们以进行收集运行。
- Save cookies after collection run 收集运行后保存 cookie - 将此会话中使用的 cookie 保存到 cookie 管理器。运行期间受请求影响的任何值将在运行完成后保留。

如果您希望您的集合在环境中运行,请使用 Postman 右上角的环境选择器选择它。您还可以在边栏中选择环境,然后选择要使用的环境。
默认情况下,您的请求按照它们在集合中列出的顺序运行。如果您需要更改执行顺序,请选择一个请求并拖动它以将其移动到新顺序。您还可以通过清除其名称旁边的复选框来从运行中删除单个请求。
setNextRequest您可以使用创建工作流的请求脚本更改执行流程。
完成配置后,选择Start Run。
Run
Postman 实时显示您的请求执行和测试结果。要访问有关请求执行时发生的情况的更多数据,请从结果列表中选择其名称。
要查看更多详细信息,包括您的集合中使用的任何日志语句,请 从页脚中选择控制台图标 控制台。
要查看有关运行的详细信息,请选择查看摘要。该摘要还为您的收集运行的每次迭代列出一列,因此您可以一目了然地查看整个运行的测试输出。
要返回运行概览,请选择查看结果。
查看测试结果
如果您的集合有测试,您将看到每个请求是通过还是失败。您还可以使用顶部的“通过”和“失败”选项卡对每个选项进行过滤。如果在收集运行期间请求脚本中的任何测试失败,则整个请求都会失败。
查看迭代
如果您为收集运行设置了迭代次数,则可以通过从右侧列表中选择一个来查看每次迭代的概览。
共享集合运行
您可以通过从 Collection Runner 导出结果来与其他人共享收集运行结果。
要导出集合运行:
在Runner中打开集合运行。如果您没有打开运行,您还可以使用侧栏中的历史记录访问集合运行。
选择右上角的导出结果以下载运行。
选择一个位置来保存您下载的集合运行,然后选择保存。
边栏推荐
- 【课程笔记】编译原理
- Request forwarding and redirection
- Configuring OSPF GR features for Huawei devices
- [C language syntax] the difference between typedef struct and struct
- 实践分享:如何安全快速地从 Centos迁移到openEuler
- properties文件
- Application du Groupe Li dans gtsam
- Commodity price visualization
- Station B Liu Erden linear regression pytoch
- Expose the serial fraudster Liu Qing in the currency circle, and default hundreds of millions of Cheng Laolai
猜你喜欢
![Buuctf-[gxyctf2019] no dolls (xiaoyute detailed explanation)](/img/0a/054b994b29d4c50ede8b23514cf4ee.jpg)
Buuctf-[gxyctf2019] no dolls (xiaoyute detailed explanation)

Station B Liu Erden linear regression pytoch

What are the test sites for tunnel engineering?

【C语言】字符串左旋

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

C language learning notes (mind map)

华为路由器如何配置静态路由

Database: ODBC remote access SQL Server2008 in oracel

Leetcode 701 insertion operation in binary search tree -- recursive method and iterative method

IDEA 新UI使用
随机推荐
Mysql database master-slave cluster construction
[C language syntax] the difference between typedef struct and struct
[ram IP] introduction and experiment of ram IP core
C language bubble sort
Implementation of linked list in address book management system
The usage and difference between strlen and sizeof
Accélération de la lecture vidéo de l'entreprise
H3C防火墙RBM+VRRP 组网配置
IP day 16 VLAN MPLS configuration
通讯录管理系统链表实现
Analysis report on development trends and investment planning of China's methanol industry from 2022 to 2028
A complete collection of necessary learning websites for office programmers
【论文阅读】NFlowJS:基于鲁棒学习的合成负数据密集异常检测
Luogu p1460 [usaco2.1] healthy Holstein cows
如何在业务代码中使用 ThinkPHP5.1 封装的容器内反射方法
实践分享:如何安全快速地从 Centos迁移到openEuler
[Thesis code] SML part code reading
Baidu online AI competition - image processing challenge: the 8th program of handwriting erasure
Dynamic programming -- knapsack problem
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning