摘要: postman_09 当一个接口发送请求有返回结果后,如何知道返回的结果符合预期?可以在 postman 里面的 Tests 写脚本断言符合结果符合预期。Tests 是接口返回 response 之后的脚本操作,可以使用 JavaScript 为 Postman API 请求编写 Tests 脚本 阅读全文
posted @ 2021-07-18 16:52 walkerpython 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 官网 https://learning.postman.com/docs/writing-scripts/script-references/variables-list/ 阅读全文
posted @ 2021-07-18 10:44 walkerpython 阅读(45) 评论(0) 推荐(0) 编辑