SCM (형상관리)/postman
postman import format 에러
뿌사리다
2022. 2. 19. 12:26
postman export로 출력된 v1.0대 postman.json 파일을 import 할때 하위 버전을 더이상 인식하지 못해아래과 같은 오류가 발생된다.
1 invalid import format(s)
Postman Collection Format v1 is no longer supported and can not be imported directly. You may
convert your collection to Format v2
and try importing again.
조치사항
아래 명령어 처럼 컨버터를 수행하면 v2.0 대로 변환할 수 있다.
$ sudo apt install npm
$ sudo npm install -g postman-collection-transformer
$ postman-collection-transformer convert -i postman_ori.json -o postman_new.json -j 1.0.0 -p 2.0.0 -P
이제 새로 만들어진 postman_new.json 파일을 import하면 된다.
728x90
반응형
LIST