본문 바로가기
반응형

🎪 놀고있네145

[Postman] Test Script 사용하기 - jsonBody status, jsonBody 사용해보기 Test 탭에 스크립트 작성 후 Send 버튼 클릭 pm.test("response is ok", function () { pm.response.to.have.status(200); }); pm.test("response body has json with form data", function () { pm.response.to.have.jsonBody('form.foo1', 'bar1') .and.have.jsonBody('form.foo2', 'bar2'); }); Raw 데이터 추출 Send 버튼 클릭 https://learning.postman.com/docs/writing-scripts/test-scripts/ Home Postman Network Brow.. 2021. 9. 30.
[Postman] Pre-request Script, Test Script 차이 포스트맨에는 테스트 스크립트를 작성할 수 있는 기능이 있는데, 요청이 서버로 가기 전에 실행되는 Pre-request Script 요청이 서버로 간 이후 응답이 반환된 후에 실행되는 Test Script Pre-request Script Request 헤더에 key를 추가시키거나, URL 매개변수에 문자열을 추가하고자 할 때 사용할 수 있음 Test Script .test 함수를 사용하고, .response, .expect 객체 등에 접근이 가능함 https://learning.postman.com/docs/writing-scripts/intro-to-scripts/ Home Postman Network Browse APIs, workspaces, and collections inside Postman... 2021. 7. 23.
[Postman] API 테스트해보기 - GET Method 간단하게 GET 메소드 사용해서 응답 확인해보기 테스트해볼 수 있는 사이트 https://jsonplaceholder.typicode.com/ JSONPlaceholder - Free Fake REST API {JSON} Placeholder Free fake API for testing and prototyping. Powered by JSON Server + LowDB As of Dec 2020, serving ~1.8 billion requests each month. jsonplaceholder.typicode.com 기본 URL 입력하고 Send 보내면, html 읽어옴 테스트 사이트에서 공통 자원에 대해 아래와 같이 지원하길래 아무거나 한번 해봄 users 자원에 접근해서 body 값 가져오기.. 2021. 6. 11.
[Postman] postman 설치하기 https://www.postman.com/ Postman | The Collaboration Platform for API Development Postman makes API development easy. Our platform offers the tools to simplify each step of the API building process and streamlines collaboration so you can create better APIs faster. www.postman.com 가입하고 로그인 https://www.postman.com/downloads/ Download Postman | Try Postman for Free Try Postman for free! Join 13 mi.. 2021. 6. 11.
[Python] unicodedata 사용하기 Python에서 unicodedata 모듈을 사용해보자.이 모듈은 모든 유니코드 문자에 대한 문자 속성을 정의하는 유니코드 문자 데이터베이스(UCD – Unicode Character Database)에 대한 액세스를 제공한다. unicodedata 모듈에서 제공하는 메서드는 아래에서 확인한다.docs.python.org/ko/3/library/unicodedata.htmlunicodedata — 유니코드 데이터베이스 — Python 3.9.2 문서unicodedata — 유니코드 데이터베이스 이 모듈은 모든 유니코드 문자에 대한 문자 속성을 정의하는 유니코드 문자 데이터베이스(UCD – Unicode Character Database)에 대한 액세스를 제공합니다. 이 데이docs.python.orgun.. 2021. 4. 18.
[Katalon] Mobile Testing - List로 목록 저장하기 Test Scenario: Views > Radio Group 에서 라디오버튼으로 되어있는 radio element를 List에 저장하고, 임의의 라디오 버튼 클릭하기 Webdriver와 List를 사용해서 element 목록 저장하는 것을 해볼게요. 스크립트 시나리오는 Views > Radio Group 에서 라디오버튼으로 되어있는 radio element를 findElementClassName을 사용해서 찾아내고, List에 저장하여 리스트 중 임의의 라디오 버튼을 클릭하는 거에요. Record Mobile 기능사용하는 포스트는 아래를 참고하세요. 여기서 썼던 Object 들을 이번 포스팅에서도 똑같이 사용합니다. 2021/02/06 - [🎪 놀고있네/Katalon] - [Katalon] Mobile.. 2021. 2. 6.
[Katalon] Mobile Testing - Record Mobile Katalon Studio에서 Record Mobile 기능을 사용해볼게요 Android apk 파일은 Katalon에서 제공하니 다운로드 하시면 됩니다. docs.katalon.com/katalon-studio/docs/scroll_element_mobile_automation.html#scroll-to-text Handling Scroll to Element in Mobile Automation This tutorial illustrates the Scroll Element which contains the given text in the mobile automation via a sample project in Katalon Studio. docs.katalon.com 1. Test app 파일 위.. 2021. 2. 6.
[Katalon] Mobile Testing - Scroll to Text 안녕하세요 냥장판 입니다 모바일에서 element가 있다면 그 element의 text를 찾을 때 까지 스크롤을 다운하고, 해당 text에 도달하면 Tap하는 스크립트를 작성해보겠습니다. 이게 scroll to text 키워드입니다. Android apk 파일은 Katalon에서 제공하니 다운로드 하시면 됩니다. docs.katalon.com/katalon-studio/docs/scroll_element_mobile_automation.html#scroll-to-text Handling Scroll to Element in Mobile Automation This tutorial illustrates the Scroll Element which contains the given text in the mo.. 2021. 2. 6.
[Katalon] Mobile Testing 환경 구성(mac OS) 목표: Katalon Studio에서 Mobile Testing(Android) 환경 구성하기 요약 Appium, Node.js 설치 Android Studio, Android SDK 설치 샘플 apk 준비하기(Katalon 제공) 디바이스 세팅(Katalon) 안녕하세요 냥장판 입니다 Katalon Studio에서 Mobile Testing을 위한 환경을 구성해볼게요. Katalon Docs 사이트에 들어가보면, Android Mobile Testing을 위한 Configuration이 나옵니다. docs.katalon.com/katalon-studio/docs/mobile-on-macos.html#android Mobile on macOS docs.katalon.com 차례대로 해봅시다. 1. App.. 2021. 1. 29.
반응형