0
点赞
收藏
分享

微信扫一扫

14 使用集合对请求分类

Grouping requests in collections------用集合对请求分类

You can group your Postman requests and examples into collections to keep your workspace organized, to collaborate with teammates, to generate API documentation and API tests, and to automate request runs.

  • 你可以把请求和范例保存在集合中,和组员协作及生产API文档和API测试,自动执行请求
  • 创建集合--在侧边栏点+ 输入集合名称

14 使用集合对请求分类_侧边栏

  1. 配置集合
    (1)重命名集合
    (2)添加集合描述
    (3)配置集合的认证信息
    (4)配置集合前置脚本---前置脚本会在请求发送到服务器前执行
    (5)定义集合测试脚本---Test标签脚本会在服务器收到响应数据后执行
    (6)定义集合变量---集合变量对于本集合下所有请求共享



举报

相关推荐

0 条评论