
API 테스트 자동화 환경 구축하기3
1. Jenkins shell script 에 아래와 같이 리포트 기능 추가 스크립트 작성
newman run testAPI.json --reporters cli,junit --reporter-junit-export newman/report.xml
environments 설정 파일이 있다면 ex) testAPI.json 옆에 -e environments.json 넣는다
빌드 한번 실행시켜주면

리포트 폴더가 정상 생성 되었으면 빌드 후 조치 Junit 설정

다시 빌드를 해보면



정상적으로 테스트 결과 리포트를 받은걸 확인 할수 있다!