요청 데이터 정보 (언니가 줄 body 정보)
끝까지 성공했을 때
{
"success": true, // 끝까지 성공했는지
"lastApiId": 4, // 마지막으로 실행한 API ID
"lastApiResponse": { // 마지막으로 실행한 API 응답메세지
"headers": {
"X-Frame-Options": "SAMEORIGIN",
"Transfer-Encoding": "chunked",
"Keep-Alive": "timeout=60",
"Cache-Control": "no-cache, no-store, max-age=0, must-revalidate",
"X-Content-Type-Options": "nosniff",
"Connection": "keep-alive",
"Pragma": "no-cache",
"Expires": "0",
"X-XSS-Protection": "1; mode=block",
"Date": "Fri, 12 May 2023 06:02:33 GMT",
"Content-Type": "application/json"
},
"body": {
"result": "post 성공: id: 1, userId: 1, longParams: 11, strParams:슨러ㅣㅏㅓㄴㅁ, body:TmpUserDto(id=null, name=민초현, age=27, address=null, orderList=null), file1 :서울_5반_민초현.JPG"
},
"statusCode": "OK",
"statusCodeValue": 200
}
}
중간에 에러났을때
{
"success": false,
"lastApiId": 4,
"lastApiResponse": {
"headers": null,
"body": "401 401 : [no body]",
"statusCode": "UNAUTHORIZED",
"statusCodeValue": 401
}
}
{
"usecaseTest": {
"rootApiId": "1",
"testDetails": {
"1": {
"additionalUrl": "/api/tmp/user/:userName",
"parent": null,
"child": "2",
"request": {
"headers": {
"Content-Type": {
"type": 1,
"desc": "Define request data type",
"mapped": false,
"value": "application/json"
},
"Authorization": {
"type": 1,
"desc": "access token",
"mapped": false,
"value": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJleHAiOjE2ODQwNzcwNTUsInN1YiI6ImFjY2Vzcy10b2tlbiIsImVtYWlsIjoiY2hvaHllb245NzA4QGdtYWlsLmNvbSJ9._PX4j0HKSWxTu0B_1Hwpz1HLRaV5ObNDyr2-dXLlYCXOiJxNpHrzqocft5Guv4U79oBynYOFUqrmgFmmkPTxfQ"
}
},
"pathVars": {
"userName": {
"type": 1,
"desc": "패스 벨류 보내기",
"mapped": false,
"constraints": [
"NotEmpty"
],
"value": "민초현"
}
},
"params": {
"pTest": {
"type": 1,
"desc": "쿼리 파람 보내기",
"itera": true,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "[\\"쿠리\\", \\"파라\\", \\"미터\\"]"
}
},
"body": {
"fields": {
"name": {
"type": 1,
"desc": "사람 이름",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "민초현"
},
"age": {
"type": 2,
"desc": "사람 나이",
"itera": false,
"constraints": [
"NotNull"
],
"mapped": false,
"value": 27
}
},
"nestedDtos": {
"address": {
"dtoName": "Address",
"desc": "사용자 주소",
"fields": {
"street": {
"type": 1,
"desc": "길",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "테헤란로"
},
"city": {
"type": 1,
"desc": "시군구",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "서울"
},
"state": {
"type": 1,
"desc": "주",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "서울"
}
},
"nestedDtos": null,
"nestedDtoList": null
}
},
"nestedDtoLists": {
"orderList": [
{
"dtoName": "Order",
"desc": "사용자 주문",
"fields": {
"num": {
"type": 1,
"desc": "주문번호",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "11111111111111"
}
},
"nestedDtos": null,
"nestedDtoList": null
},
{
"dtoName": "Order",
"desc": "사용자 주문",
"fields": {
"num": {
"type": 1,
"desc": "주문번호",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "202305081445861"
}
},
"nestedDtos": null,
"nestedDtoList": null
}
]
}
}
},
"response": {
"headers": {
"Authorization": {
"type": 1,
"desc": "access token"
}
},
"body": {
"fields": null,
"nestedDtos": {
"user": {
"dtoName": "User",
"fields": {
"name": {
"type": 1,
"desc": "사람 이름",
"itera": false
},
"age": {
"type": 2,
"desc": "사람 나이",
"itera": false
}
},
"nestedDtos": {
"address": {
"dtoName": "Address",
"fields": {
"street": {
"type": 1,
"desc": "길",
"itera": false
},
"city": {
"type": 1,
"desc": "시군구",
"itera": false
},
"state": {
"type": 1,
"desc": "주",
"itera": false
}
},
"nestedDtos": null,
"nestedDtoLists": null
}
},
"nestedDtoLists": {
"orderList": [
{
"dtoName": "Order",
"fields": {
"num": {
"type": 1,
"desc": "주문번호",
"itera": false
}
},
"nestedDtos": null,
"nestedDtoLists": null
},
{
"dtoName": "Order",
"fields": {
"num": {
"type": 1,
"desc": "주문번호",
"itera": false
}
},
"nestedDtos": null,
"nestedDtoLists": null
}
]
}
}
},
"nestedDtoLists": null
}
}
},
"2": {
"additionalUrl": "/api/tmp/order/:orderId",
"parent": "1",
"child": "3",
"request": {
"headers": {
"Content-Type": {
"type": 1,
"desc": "Define request data type",
"mapped": false,
"value": "application/json"
},
"Authorization": {
"type": 1,
"desc": "access token",
"mapped": true,
"value": "1.headers.Authorization"
}
},
"pathVars": {
"orderId": {
"type": 3,
"desc": "주문 id",
"mapped": true,
"constraints": [
"NotEmpty"
],
"value": "1.body.user.orderList[0].id"
}
},
"params": {
"orderNum": {
"type": 1,
"desc": "주문번호",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": true,
"value": "1.body.user.orderList[0].id"
},
"userAddressStreet": {
"type": 1,
"desc": "사용자 주소들",
"itera": true,
"constraints": [
"NotEmpty"
],
"mapped": true,
"value": "[\\"쿠리\\", \\"파라\\", \\"미터\\"]"
}
},
"body": {
"fields": null,
"nestedDtos": null,
"nestedDtoLists": {
"orderItemList": [
{
"dtoName": "OrderItem",
"desc": "사용자 주문 상품",
"fields": {
"orderId": {
"type": 3,
"desc": "주문 pk",
"itera": false,
"constraints": [
"NotNull"
],
"mapped": true,
"value": "1.body.user.orderList[0].id"
},
"name": {
"type": 1,
"desc": "주문 아이템 이름",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "모나미 볼펜"
},
"price": {
"type": 5,
"desc": "가격",
"itera": false,
"constraints": [
"NotNull"
],
"mapped": false,
"value": 5000
}
},
"nestedDtos": null,
"nestedDtoList": null
},
{
"dtoName": "OrderItem",
"desc": "사용자 주문 상품",
"fields": {
"orderId": {
"type": 3,
"desc": "주문 pk",
"itera": false,
"constraints": [
"NotNull"
],
"mapped": true,
"value": "1.body.user.orderList[0].id"
},
"name": {
"type": 1,
"desc": "주문 아이템 이름",
"itera": false,
"constraints": [
"NotEmpty"
],
"mapped": false,
"value": "우럭"
},
"price": {
"type": 5,
"desc": "가격",
"itera": false,
"constraints": [
"NotNull"
],
"mapped": false,
"value": 1545450
}
},
"nestedDtos": null,
"nestedDtoList": null
}
]
}
}
},
"response": {
"headers": {
"Authorization": {
"type": 1,
"desc": "access token"
}
},
"body": {
"fields": null,
"nestedDtos": null,
"nestedDtoLists": {
"orderItemList": [
{
"dtoName": "OrderItem",
"fields": {
"id": {
"type": 3,
"desc": "주문 item pk",
"itera": false
},
"orderId": {
"type": 3,
"desc": "주문 pk",
"itera": false
},
"name": {
"type": 1,
"desc": "주문 아이템 이름",
"itera": false
},
"price": {
"type": 5,
"desc": "가격",
"itera": false
}
},
"nestedDtos": null,
"nestedDtoLists": null
},
{
"dtoName": "OrderItem",
"fields": {
"id": {
"type": 3,
"desc": "주문 item pk",
"itera": false
},
"orderId": {
"type": 3,
"desc": "주문 pk",
"itera": false
},
"name": {
"type": 1,
"desc": "주문 아이템 이름",
"itera": false
},
"price": {
"type": 5,
"desc": "가격",
"itera": false
}
},
"nestedDtos": null,
"nestedDtoLists": null
}
]
}
}
}
},
"3": {
"additionalUrl": "/api/tmp/item/:itemId",
"parent": "2",
"child": null,
"request": {
"headers": {
"Content-Type": {
"type": 1,
"desc": "Define request data type",
"mapped": false,
"value": "application/json"
},
"Authorization": {
"type": 1,
"desc": "access token",
"mapped": true,
"value": "1.headers.Authorization"
}
},
"pathVars": {
"itemId": {
"type": 3,
"desc": "item id",
"mapped": true,
"constraints": [
"NotNull"
],
"value": "2.body.orderItemList[0].id"
}
},
"params": null,
"body": null
},
"response": {
"headers": {
"Authorization": {
"type": 1,
"desc": "access token"
}
},
"body": {
"fields": null,
"nestedDtos": {
"orderItem": {
"dtoName": "OrderItem",
"fields": {
"id": {
"type": 3,
"desc": "주문 item pk",
"itera": false
},
"orderId": {
"type": 3,
"desc": "주문 pk",
"itera": false
},
"name": {
"type": 1,
"desc": "주문 아이템 이름",
"itera": false
},
"price": {
"type": 5,
"desc": "가격",
"itera": false
}
},
"nestedDtos": null,
"nestedDtoLists": null
}
},
"nestedDtoLists": null
}
}
}
}
}
}