报错问题
解决方法:
1、确认已安装node(建议配置环境变量);
2、 在cmd命令提示符窗口输入:
npm install -g postman-collection-transformer
postman-collection-transformer convert -i <path to input Postman collection file> -o <path where the output Postman file will be downloaded> -j 1.0.0 -p 2.0.0 -P
注释:
其中参数 <path to input Postman collection file> 需要转换的目录文件;
参数 <path where the output Postman file will be downloaded> 为转换后新的目录文件。
示例:
postman-collection-transformer convert -i 示例接口.postman_collection.json -o 新的接口.postman_collection.json -j 1.0.0 -p 2.0.0 -P