- 개발팀 전용 폴더 dev/ 생성 (standards, guides, quickstart, changes, deploys, data, history, dev_plans 이동) - 프론트엔드 전용 폴더 frontend/ 생성 (api/ → frontend/api-specs/) - 기획팀 폴더 requests/ 생성 - plans/ → dev/dev_plans/ 이름 변경 - README.md 신규 (사람용 안내), INDEX.md 재작성 (Claude Code용) - resources.md 신규 (노션 링크용, assets/brochure 이관 예정) - CURRENT_WORKS.md 삭제, TODO.md → dev/ 이동 - 전체 참조 경로 업데이트 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
198 lines
4.4 KiB
JSON
198 lines
4.4 KiB
JSON
{
|
|
"name": "ItemMaster Init & Structure API Flow Test",
|
|
"description": "품목기준관리 초기화 및 구조 조회 API 테스트 - 로그인, 초기화, 페이지구조조회",
|
|
"version": "1.0",
|
|
"config": {
|
|
"baseUrl": "",
|
|
"timeout": 30000,
|
|
"stopOnFailure": true
|
|
},
|
|
"variables": {
|
|
"user_id": "{{$env.FLOW_TESTER_USER_ID}}",
|
|
"user_pwd": "{{$env.FLOW_TESTER_USER_PWD}}"
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": "login",
|
|
"name": "1. 로그인",
|
|
"method": "POST",
|
|
"endpoint": "/login",
|
|
"body": {
|
|
"user_id": "{{user_id}}",
|
|
"user_pwd": "{{user_pwd}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.access_token": "@isString"
|
|
}
|
|
},
|
|
"extract": {
|
|
"token": "$.access_token"
|
|
}
|
|
},
|
|
{
|
|
"id": "init",
|
|
"name": "2. ItemMaster 초기화 데이터 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/init",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_pages_fg",
|
|
"name": "3. 페이지 목록 조회 (완제품 FG)",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/pages",
|
|
"params": {
|
|
"item_type": "FG"
|
|
},
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
},
|
|
"extract": {
|
|
"fg_pages": "$.data"
|
|
}
|
|
},
|
|
{
|
|
"id": "list_pages_sm",
|
|
"name": "4. 페이지 목록 조회 (부자재 SM)",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/pages",
|
|
"params": {
|
|
"item_type": "SM"
|
|
},
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_pages_rm",
|
|
"name": "5. 페이지 목록 조회 (원자재 RM)",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/pages",
|
|
"params": {
|
|
"item_type": "RM"
|
|
},
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_sections",
|
|
"name": "6. 독립 섹션 목록 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/sections",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_fields",
|
|
"name": "7. 독립 필드 목록 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/fields",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_bom_items",
|
|
"name": "8. BOM 항목 목록 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/bom-items",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_section_templates",
|
|
"name": "9. 섹션 템플릿 목록 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/section-templates",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_custom_tabs",
|
|
"name": "10. 커스텀 탭 목록 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/custom-tabs",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "list_unit_options",
|
|
"name": "11. 단위 옵션 목록 조회",
|
|
"method": "GET",
|
|
"endpoint": "/item-master/unit-options",
|
|
"headers": {
|
|
"Authorization": "Bearer {{login.token}}"
|
|
},
|
|
"expect": {
|
|
"status": [200],
|
|
"jsonPath": {
|
|
"$.success": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|