用例3A原则:
arrange:初始化测试对象
act:操作。接口测试中通过不同的参数调用接口。
assert:断言

postman-3断言 snippets提供了一些断言的使用方法。 在新版的postman中,test中方法已经发生改变,默认使用chai,此处需要注意

如针对返回值进行测试:
postman-3断言

https://blog.csdn.net/zh123a/article/details/80085659
https://www.getpostman.com/docs/v6/postman/scripts/postman_sandbox_api_reference

相关文章:

  • 2021-11-13
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2022-02-28
  • 2021-07-07
  • 2021-12-23
猜你喜欢
  • 2021-06-24
  • 2021-10-12
  • 2021-06-25
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
相关资源
相似解决方案