728x90

Automation/Postman 6

Postman Flows

요즘 링크드인 사이트 접속이 잦은 상태에서 우연히, 보게 된 "The Infinite Canvas: Building Applications with Postman Flows" https://www.youtube.com/watch?v=liy0WVwC86s (링크는 유툽 ㅎㅎ) 흥미롭게, 내 Collection에 구성 된 Request를 Flows를 구성해서, 여러가지를 할 수 있는 것처럼 보임. 위에 예제로 Flow(흐름)을 보아하니, sitemap이 200인지 확인하고 Failgure면 slack-urgent를 통해 바로 알람이 오는 듯 하다. Sucess이면 다음 Evalute 로 이동 그리고 또 이동 하는 진짜 Flow 형태인거같다. 잠깐 써봤는데, Flow에서 다음 Flow는 꼭 하나 뿐만 아닌 여..

Automation/Postman 2023.04.28

Postman - validation

Chai 란 TDD/ BDD 스타일의 Assertion Library 이다. 공식 문서 https://www.chaijs.com/ Chai Powered by Open Source Chai is hosted on GitHub. Have a suggestion or found a bug? Fork this project to help make Chai even better. Even this documentation site is open source and available for contribution. www.chaijs.com Should, Expect, Assert 세가지 스타일의 인터페이스를 제공함. Should chai.should(); foo.should.be.a('string'); foo...

Automation/Postman 2023.02.18

Tests

javascript를 수동으로 입력하거나, Snippets를 이용하여 여러 기능을 사용할 수 있다. 상단의 스크린 샷 처럼, Response의 Status가 200인지 체크 후, Test Results에 결과를 보여준다. 또한 Postman에서 제공되는 pm 객체를 통해 다양하게 사용할 수 있다. 주로 사용하는 것은, 응답 값 체크 pm.test("Status code is 200", function () { pm.response.to.have.status(200); }); 응답 값을 저장하여 사용 pm.environment.set("access_token", pm.response.json().access_token) 응답 체크 (Response time, 또는 String, Number 등 타입까지 )..

Automation/Postman 2020.09.22

Postman

www.postman.com/ Postman | The Collaboration Platform for API Development Simplify each step of building an API and streamline collaboration so you can create better APIs—faster www.postman.com API 개발과 협업을 위한 툴 REST, SOAP, GraphQL 다양한 지원과, Automate Manual Test, CI/CD pipeline, Monitoring, 등 다양한 업무까지 지원 현재 상황 - REST API 에 대한 테스트 진행 - Live 상 User Scenario에서 요청되는 API를 주기적으로 Monitoring 일부 사용하는 기능들에 ..

Automation/Postman 2020.09.22
728x90