1,找到collections,选择要执行的用例

postman无限循环执行接口用例

2,在linux下安装newman

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

npm install -g newman

3,通过脚本执行导出的脚本

 命令行:

newman -c beta.postman_collection.json 

脚本:

#!/bin/bash
while true
do
sleep 10

  newman -c beta.postman_collection.json

done

 

相关文章:

  • 2021-09-11
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-11-19
  • 2021-11-04
  • 2021-12-18
  • 2021-10-21
猜你喜欢
  • 2021-08-21
  • 2022-12-23
  • 2021-06-12
  • 2022-01-22
  • 2021-10-15
相关资源
相似解决方案