您的位置:首页 > 其它

Postman 、Newman运行自动API测试

2016-08-26 16:22 274 查看

安装

Install newman

sudo apt-get install npm
npm install -g newman


Install node with version > 4.0

wget -qO- https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get install nodejs


运行

Postman

Postman contains a full-featured testing sandbox that lets you write and execute Javascript based tests for your API.




Newman

Newman as Postman’s Collection Runner engine that sends API requests, receives the response and then runs your tests against the response.


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  测试