postman——集合——执行集合——为集合添加脚本 PS: (1)、在请求发送到服务器之前,添加作为“pre-request script”选项卡下的预请求脚本; (2)、在收到响应后,添加作为“tests”选项卡下的测试脚本。