postman無限循環執行接口用例

1,找到collections,選擇要執行的用例node

2,在linux下安裝newmanlinux

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

npm install -g newman

3,經過腳本執行導出的腳本npm

 命令行:json

newman -c beta.postman_collection.json 

腳本:bash

#!/bin/bash
while true
do
sleep 10

  newman -c beta.postman_collection.json

done
相關文章
相關標籤/搜索