288 lines
9.8 KiB
JSON
288 lines
9.8 KiB
JSON
{
|
||
"summary_metadata": {
|
||
"start_time": "2025-05-23T12:04:50.246346",
|
||
"end_time": "2025-05-23T12:04:51.085891",
|
||
"duration_seconds": "0.84"
|
||
},
|
||
"endpoint_stats": {
|
||
"total_defined": 6,
|
||
"total_tested": 6,
|
||
"passed": 3,
|
||
"failed": 3,
|
||
"partial_success": 0,
|
||
"error": 0,
|
||
"skipped": 0,
|
||
"success_rate_percentage": "50.00"
|
||
},
|
||
"test_case_stats": {
|
||
"total_applicable": 12,
|
||
"total_executed": 12,
|
||
"passed": 8,
|
||
"failed": 4,
|
||
"error_in_execution": 0,
|
||
"skipped_during_endpoint_execution": 0,
|
||
"success_rate_percentage": "66.67"
|
||
},
|
||
"detailed_results": [
|
||
{
|
||
"endpoint_id": "POST /api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}",
|
||
"endpoint_name": "数据推送接口",
|
||
"overall_status": "通过",
|
||
"duration_seconds": 0.208552,
|
||
"start_time": "2025-05-23T12:04:50.246523",
|
||
"end_time": "2025-05-23T12:04:50.455075",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.14286641706712544,
|
||
"timestamp": "2025-05-23T12:04:50.389451",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.06538325012661517,
|
||
"timestamp": "2025-05-23T12:04:50.454968",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}",
|
||
"endpoint_name": "地质单元列表查询",
|
||
"overall_status": "通过",
|
||
"duration_seconds": 0.149931,
|
||
"start_time": "2025-05-23T12:04:50.455128",
|
||
"end_time": "2025-05-23T12:04:50.605059",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.0675940418150276,
|
||
"timestamp": "2025-05-23T12:04:50.522809",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.08191158319823444,
|
||
"timestamp": "2025-05-23T12:04:50.604854",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "PUT /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"endpoint_name": "地质单元数据修改",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.093809,
|
||
"start_time": "2025-05-23T12:04:50.605172",
|
||
"end_time": "2025-05-23T12:04:50.698981",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation",
|
||
"test_case_severity": "高",
|
||
"status": "失败",
|
||
"message": "",
|
||
"duration_seconds": 0.05135583318769932,
|
||
"timestamp": "2025-05-23T12:04:50.656709",
|
||
"validation_points": [
|
||
{
|
||
"status_code": 200,
|
||
"response_body": {
|
||
"code": 46,
|
||
"message": "id sint voluptate dolor amet",
|
||
"data": false
|
||
},
|
||
"removed_field": "body.data.0.bsflag"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation",
|
||
"test_case_severity": "高",
|
||
"status": "失败",
|
||
"message": "",
|
||
"duration_seconds": 0.04197045904584229,
|
||
"timestamp": "2025-05-23T12:04:50.698867",
|
||
"validation_points": [
|
||
{
|
||
"status_code": 200,
|
||
"response_body": {
|
||
"code": 67,
|
||
"message": "Duis sint in",
|
||
"data": false
|
||
},
|
||
"removed_field": "query.id"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "DELETE /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"endpoint_name": "地质单元数据删除",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.085489,
|
||
"start_time": "2025-05-23T12:04:50.699033",
|
||
"end_time": "2025-05-23T12:04:50.784522",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.04377300012856722,
|
||
"timestamp": "2025-05-23T12:04:50.742882",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation",
|
||
"test_case_severity": "高",
|
||
"status": "失败",
|
||
"message": "",
|
||
"duration_seconds": 0.04126858292147517,
|
||
"timestamp": "2025-05-23T12:04:50.784281",
|
||
"validation_points": [
|
||
{
|
||
"status_code": 200,
|
||
"response_body": {
|
||
"code": 95,
|
||
"message": "deserunt et enim",
|
||
"data": true
|
||
},
|
||
"removed_field": "query.id"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"endpoint_name": "地质单元数据添加",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.167005,
|
||
"start_time": "2025-05-23T12:04:50.784657",
|
||
"end_time": "2025-05-23T12:04:50.951662",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation",
|
||
"test_case_severity": "高",
|
||
"status": "失败",
|
||
"message": "",
|
||
"duration_seconds": 0.06845587491989136,
|
||
"timestamp": "2025-05-23T12:04:50.853268",
|
||
"validation_points": [
|
||
{
|
||
"status_code": 200,
|
||
"response_body": {
|
||
"code": 76,
|
||
"message": "et sunt deserunt",
|
||
"data": false
|
||
},
|
||
"removed_field": "body.data.0.bsflag"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.09789391607046127,
|
||
"timestamp": "2025-05-23T12:04:50.951331",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "GET /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}",
|
||
"endpoint_name": "地质单元查询详情",
|
||
"overall_status": "通过",
|
||
"duration_seconds": 0.134108,
|
||
"start_time": "2025-05-23T12:04:50.951739",
|
||
"end_time": "2025-05-23T12:04:51.085847",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Request Body Field Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.08160599996335804,
|
||
"timestamp": "2025-05-23T12:04:51.033450",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "Error Code 4003 - Missing Required Query Parameter Validation",
|
||
"test_case_severity": "高",
|
||
"status": "通过",
|
||
"message": "",
|
||
"duration_seconds": 0.05193216586485505,
|
||
"timestamp": "2025-05-23T12:04:51.085646",
|
||
"validation_points": [
|
||
{
|
||
"passed": true,
|
||
"message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
} |