본문 바로가기

728x90

Postman

(4)
newman newman은 Postman의 Collection을 command line으로 실행 시킬 수 있게 해주는 Node.js module이다. GitHub - postmanlabs/newman: Newman is a command-line collection runner for Postman Newman is a command-line collection runner for Postman - GitHub - postmanlabs/newman: Newman is a command-line collection runner for Postman github.com 사실 사용 방법은 크게 어렵지 않다. Postman에서 실행 중인 Collection을 마우스 우클릭하면 Export 메뉴가 있는데, 그걸 선택한다. E..
environment 설정 아래 스크린샷의 빨간색 영역을 선택하면 Environment 영역이 출력된다. Enviroment나 workspace 전체적으로 사용 할 수 있는 Globals로 설정할 수 있다. 각 필요한 환경의 Add를 선택하면, Vaiable, Initial value, Current value 등 입력 할 수 있는 영역이 출력되며, Initial value에 내가 필요한 초기 값을 넣으므로 써 사용 할 수 있고, 추후 해당 변수에 다른 값을 넣음에 따라 Current value에 변경 된 값이 나온다. 사용법은 간단하게, 저장 된 environment를 선택하고 사용할 영역에서 {{Variable}} 로 통해, 값을 사용하면 된다.
Script with Postbot Script with Postbot 이란. Postbot이 Tests의 Script를 작성해주는 기능으로, 최근에 업데이트 되었다. 기본 Request 뿐 아니라, Collection에 Request 들의 Tests Script를 바로 작성해주는 장점이 있는듯 하다. 각 화면의 위치는 아래 참고 사용법 1. Send를 한번 요청해서, Body에 내용이 출력되게끔 한다. (Reques를 한번 하지 않을 경우에는, "You'll need a valid response before tests can be generated.") 안내 문구가 출력된다. Response가 있을 경우에는 Script with Postbot에 "Add tests to this request" 만 선택해도, 몇초 뒤 Script가 자동..
Postman 포스트맨 이란 Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster. API를 구축하고, 사용하기 위한 API 플랫폼이라고한다. API, GraphQL, gRPC 등.. 다양한 API를 지원하며, 각 API의 Request, Response를 쉽고, 다른 팀원들과 협업하게 좋게 만들어진 툴이다. Postman 다운로드 Download Postman | Get Started for Free Try Postman for free! Join 25 millio..

728x90