1.pre-request script

   request发送到服务器之前,是预请求脚本。

2.request

   收到响应后,是测试脚本

3.流程

   request                                                                     request

pre-request script    --      request   --  response   --   test script

  


新版postman测试脚本

4.运行结果可以通过view-dev tools来看

新版postman测试脚本

5.使用postman可以使用JavaScript语言为每个请求编写和运行测试

新版postman测试脚本新版postman测试脚本


相关文章:

  • 2021-08-08
  • 2021-08-23
  • 2021-06-26
  • 2021-08-13
  • 2022-12-23
  • 2021-08-17
  • 2021-09-22
  • 2021-11-29
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
相关资源
相似解决方案