落叶

Results 2 comments of 落叶

检查电脑是否下载了node。没有的话先下载node.js,下载地址:https://nodejs.org/en/download/ 打开cmd,安装命令:npm install -g postman-collection-transformer(安装postman转换器) 转换postman脚本文件的版本。转换命令:postman-collection-transformer convert -i “转换文件路径” -o “转换后文件路径” -j 1.0.0 -p 2.0.0 -P eg:postman-collection-transformer convert -i “D:\Postman脚本\a.postman_collection.json” -o “D:\Postman脚本\a1.postman_collection.json” -j 1.0.0 -p 2.0.0 -P (将文件a转换后放在“D:\Postman脚本\”路径下,新文件名为a1) https://learning.postman.com/docs/getting-started/importing-and-exporting-data/#converting-postman-collections-from-v1-to-v2

> postman-collection-transformer convert -i "C:\Users\user.DESKTOP-B10TK8C\Desktop\aa\a.postman_collection.json" -o "C:\Users\user.DESKTOP-B10TK8C\Desktop\aa\b.postman_collection.json" -j 2.0.0 -p 1.0.0 -P