newman安装2

 CLI模式(Command-line Interface:命令行模式)

一、预安装

该模式的Postman被命名为Newman,是用纯JS写的,所以它的运行需要NodeJS运行库的支持,因而该版本的下载前提是你的电脑上得提前安装NodeJS,然后再用NodeJS下载Newman。

装new之前要先装好下面两个:

1. .NET Framework4.5

2. NodeJS

二、镜像下载

(1).npm镜像替换成淘宝镜像

npm get registry 

> https://registry.npmjs.org/

设成淘宝的

npm config set registry http://registry.npm.taobao.org/

(2).换成原来的

npm config set registry https://registry.npmjs.org/

三、安装命令

npm install -g newman

四、查看结果

猜你喜欢

转载自blog.csdn.net/qwert789p/article/details/81354605