728x90

Postman 8

Ollama - Postman

https://19880811.tistory.com/entry/Ollama-%EC%82%AC%EC%9A%A9%EB%B2%95-Windows Ollama 사용법 (Windows)llama 좀 써볼랬더니 뭐가 복잡하다.. 설치할랬더니, 링크를 발급받았는데, 들어가보면 access denied .. Window로 돌리는 방법좀 고민해봤는데, Ollama가 그나마 쉬워보여서 공유 해봄. Ollama OllamaGet up a19880811.tistory.com Ollama 설치 후, 정말 간단하게 Postman으로 문의 및 답변 받는 형태를 남겨보면,  /api/generatePost로 http://localhost:11434/api/generate를 보내는데, body를 { "model": "llama3..

AI/llama 2024.09.02

Wiremock

Mock API를 만들 수 있는 고마운 사이트 일전에 QA 분들 대상으로 Postman API 테스트 공부할때 잠시 사용했었다. https://app.wiremock.cloud/ WireMock Cloud app.wiremock.cloud  홈에서 Create new mock API를 하고 나면 base URL이 주어지는데, 저게 내 mock의 주소이다. 내부가 조금 복잡하지만, 금방 익숙해지는데 GET, POST, PUT 등 다양한 메소드를 사용할 수 있고, JSON, XML 등 다양한 response 형태로 값을 내려보낼 수 있다. 심지어 아래처럼 내가 응답값을 적어두고 내려보낼 수 있기 때문에 테스트나, 공부나 여러모로 쓸모가 있음물론 유로 버전이 아니라면 한달에 1000 call만 무료이기 때문에..

QA 2024.07.02

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