1. 建立collection

Postman批量测试接口简介

  1. 在Clloection中,建立接口调用详情

变量用{{}}扩起来

Postman批量测试接口简介

  1. Pre-request Script中录入变量的取值

data表示数据文件

Postman批量测试接口简介

  1. Tests中写好希望测试的断言

Postman批量测试接口简介

  1. 点击Collection向右的箭头,然后点击Run

Postman批量测试接口简介

  1. 选择数据文件,点击Run

Postman批量测试接口简介

  1. 静静等待测试结果

Postman批量测试接口简介

相关文章: