安装
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.