postman 导入数据报错 1 invalid import format(s) 解决方法

报错问题

 解决方法:

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

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
THE END
分享
二维码
< <上一篇

)">
下一篇>>