1526 lines
67 KiB
JSON
1526 lines
67 KiB
JSON
{
|
||
"start_time": "2025-07-02T22:08:56.411884",
|
||
"end_time": "2025-07-02T22:08:56.464463",
|
||
"duration_seconds": "0.05",
|
||
"overall_summary": {
|
||
"total_endpoints_defined": 6,
|
||
"endpoints_tested": 6,
|
||
"endpoints_passed": 0,
|
||
"endpoints_failed": 6,
|
||
"endpoints_error": 0,
|
||
"endpoints_skipped": 0,
|
||
"endpoints_partial_success": 0,
|
||
"endpoint_success_rate": "0.00%",
|
||
"total_test_cases_applicable": 120,
|
||
"total_test_cases_executed": 120,
|
||
"test_cases_passed": 0,
|
||
"test_cases_failed": 12,
|
||
"test_cases_error": 0,
|
||
"test_cases_skipped_in_endpoint": 108,
|
||
"test_case_success_rate": "0.00%",
|
||
"total_stages_defined": 1,
|
||
"total_stages_executed": 1,
|
||
"stages_passed": 0,
|
||
"stages_failed": 1,
|
||
"stages_error": 0,
|
||
"stages_skipped": 0,
|
||
"stage_success_rate": "0.00%"
|
||
},
|
||
"errors": [],
|
||
"endpoint_results": [
|
||
{
|
||
"endpoint_id": "POST /api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}",
|
||
"endpoint_name": "数据推送接口",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.016804,
|
||
"start_time": "2025-07-02T22:08:56.413478",
|
||
"end_time": "2025-07-02T22:08:56.430282",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-HEADER-001",
|
||
"test_case_name": "必需请求头Schema验证",
|
||
"test_case_severity": "HIGH",
|
||
"status": "失败",
|
||
"message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain",
|
||
"duration_seconds": 0.013455791980959475,
|
||
"timestamp": "2025-07-02T22:08:56.427241",
|
||
"validation_points": [
|
||
{
|
||
"header": "X-Tenant-ID",
|
||
"possible_names": [
|
||
"X-Tenant-ID"
|
||
],
|
||
"endpoint": "POST /api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}"
|
||
},
|
||
{
|
||
"header": "X-Data-Domain",
|
||
"possible_names": [
|
||
"X-Data-Domain"
|
||
],
|
||
"endpoint": "POST /api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-STATUS-001",
|
||
"test_case_name": "基本状态码 200 检查",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "失败",
|
||
"message": "期望状态码 200,但收到 503。",
|
||
"duration_seconds": 0.0021363749401643872,
|
||
"timestamp": "2025-07-02T22:08:56.429439",
|
||
"validation_points": [
|
||
{
|
||
"expected_status": 200,
|
||
"actual_status": 503,
|
||
"request_url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/message/push/example_schema/example_version",
|
||
"response_body_sample": ""
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-002",
|
||
"test_case_name": "敏感字段加密检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.6666017472743988e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429521",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-LLM-COMPLIANCE-001",
|
||
"test_case_name": "LLM合规性综合检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4082994312047958e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429568",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-001",
|
||
"test_case_name": "核心命名与结构规范检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3874960131943226e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429613",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-PAGINATION-001",
|
||
"test_case_name": "分页参数检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3792072422802448e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429657",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-004",
|
||
"test_case_name": "资源集合复数命名检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.325004268437624e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429700",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-002",
|
||
"test_case_name": "资源路径名词检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3125012628734112e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429743",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-CORE-SCHEMA-001",
|
||
"test_case_name": "DMS核心存储服务API响应格式检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.308403443545103e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429785",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-001",
|
||
"test_case_name": "返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3167038559913635e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429827",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-003",
|
||
"test_case_name": "时间字段ISO 8601格式检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4459015801548958e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429871",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-URL-VERSION-001",
|
||
"test_case_name": "DMS API URL版本号检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.300009898841381e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429914",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-002",
|
||
"test_case_name": "灵活的返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3375072740018368e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429956",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-001",
|
||
"test_case_name": "HTTPS 协议强制性检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3166922144591808e-05,
|
||
"timestamp": "2025-07-02T22:08:56.429999",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-QUERY",
|
||
"test_case_name": "查询参数类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2875068932771683e-05,
|
||
"timestamp": "2025-07-02T22:08:56.430041",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-BODY",
|
||
"test_case_name": "请求体字段类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3833981938660145e-05,
|
||
"timestamp": "2025-07-02T22:08:56.430084",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4002",
|
||
"test_case_name": "数值参数越界检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3333046808838844e-05,
|
||
"timestamp": "2025-07-02T22:08:56.430126",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4006",
|
||
"test_case_name": "非法枚举值检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3666925951838493e-05,
|
||
"timestamp": "2025-07-02T22:08:56.430169",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "缺失必填请求体字段检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2999982573091984e-05,
|
||
"timestamp": "2025-07-02T22:08:56.430211",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "缺失必填查询参数检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3082986697554588e-05,
|
||
"timestamp": "2025-07-02T22:08:56.430253",
|
||
"validation_points": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}",
|
||
"endpoint_name": "地质单元列表查询",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.006253,
|
||
"start_time": "2025-07-02T22:08:56.430391",
|
||
"end_time": "2025-07-02T22:08:56.436644",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-HEADER-001",
|
||
"test_case_name": "必需请求头Schema验证",
|
||
"test_case_severity": "HIGH",
|
||
"status": "失败",
|
||
"message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain",
|
||
"duration_seconds": 0.0028069590916857123,
|
||
"timestamp": "2025-07-02T22:08:56.433492",
|
||
"validation_points": [
|
||
{
|
||
"header": "X-Tenant-ID",
|
||
"possible_names": [
|
||
"X-Tenant-ID"
|
||
],
|
||
"endpoint": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}"
|
||
},
|
||
{
|
||
"header": "X-Data-Domain",
|
||
"possible_names": [
|
||
"X-Data-Domain"
|
||
],
|
||
"endpoint": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-STATUS-001",
|
||
"test_case_name": "基本状态码 200 检查",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "失败",
|
||
"message": "期望状态码 200,但收到 503。",
|
||
"duration_seconds": 0.002268250100314617,
|
||
"timestamp": "2025-07-02T22:08:56.435817",
|
||
"validation_points": [
|
||
{
|
||
"expected_status": 200,
|
||
"actual_status": 503,
|
||
"request_url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit/1.0.0",
|
||
"response_body_sample": ""
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-002",
|
||
"test_case_name": "敏感字段加密检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4499993994832039e-05,
|
||
"timestamp": "2025-07-02T22:08:56.435890",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-LLM-COMPLIANCE-001",
|
||
"test_case_name": "LLM合规性综合检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4166929759085178e-05,
|
||
"timestamp": "2025-07-02T22:08:56.435936",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-001",
|
||
"test_case_name": "核心命名与结构规范检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.333397813141346e-05,
|
||
"timestamp": "2025-07-02T22:08:56.435979",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-PAGINATION-001",
|
||
"test_case_name": "分页参数检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3082986697554588e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436022",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-004",
|
||
"test_case_name": "资源集合复数命名检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2875068932771683e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436065",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-002",
|
||
"test_case_name": "资源路径名词检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.308403443545103e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436107",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-CORE-SCHEMA-001",
|
||
"test_case_name": "DMS核心存储服务API响应格式检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3042008504271507e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436149",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-001",
|
||
"test_case_name": "返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3249926269054413e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436192",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-003",
|
||
"test_case_name": "时间字段ISO 8601格式检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.395796425640583e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436236",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-URL-VERSION-001",
|
||
"test_case_name": "DMS API URL版本号检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.300009898841381e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436277",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-002",
|
||
"test_case_name": "灵活的返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2792064808309078e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436319",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-001",
|
||
"test_case_name": "HTTPS 协议强制性检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2582982890307903e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436361",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-QUERY",
|
||
"test_case_name": "查询参数类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3208016753196716e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436402",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-BODY",
|
||
"test_case_name": "请求体字段类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.337495632469654e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436444",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4002",
|
||
"test_case_name": "数值参数越界检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2750038877129555e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436486",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4006",
|
||
"test_case_name": "非法枚举值检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2875068932771683e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436527",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "缺失必填请求体字段检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3292068615555763e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436571",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "缺失必填查询参数检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.295795664191246e-05,
|
||
"timestamp": "2025-07-02T22:08:56.436613",
|
||
"validation_points": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "PUT /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"endpoint_name": "地质单元数据修改",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.004116,
|
||
"start_time": "2025-07-02T22:08:56.436758",
|
||
"end_time": "2025-07-02T22:08:56.440874",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-HEADER-001",
|
||
"test_case_name": "必需请求头Schema验证",
|
||
"test_case_severity": "HIGH",
|
||
"status": "失败",
|
||
"message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain",
|
||
"duration_seconds": 0.0015863339649513364,
|
||
"timestamp": "2025-07-02T22:08:56.438662",
|
||
"validation_points": [
|
||
{
|
||
"header": "X-Tenant-ID",
|
||
"possible_names": [
|
||
"X-Tenant-ID"
|
||
],
|
||
"endpoint": "PUT /api/dms/{dms_instance_code}/v1/cd_geo_unit"
|
||
},
|
||
{
|
||
"header": "X-Data-Domain",
|
||
"possible_names": [
|
||
"X-Data-Domain"
|
||
],
|
||
"endpoint": "PUT /api/dms/{dms_instance_code}/v1/cd_geo_unit"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-STATUS-001",
|
||
"test_case_name": "基本状态码 200 检查",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "失败",
|
||
"message": "期望状态码 200,但收到 503。",
|
||
"duration_seconds": 0.0012454170500859618,
|
||
"timestamp": "2025-07-02T22:08:56.439958",
|
||
"validation_points": [
|
||
{
|
||
"expected_status": 200,
|
||
"actual_status": 503,
|
||
"request_url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit",
|
||
"response_body_sample": ""
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-002",
|
||
"test_case_name": "敏感字段加密检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3749930076301098e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440025",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-LLM-COMPLIANCE-001",
|
||
"test_case_name": "LLM合规性综合检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2999982573091984e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440069",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-001",
|
||
"test_case_name": "核心命名与结构规范检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.325004268437624e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440112",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-PAGINATION-001",
|
||
"test_case_name": "分页参数检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2790900655090809e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440154",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-004",
|
||
"test_case_name": "资源集合复数命名检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.283304300159216e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440196",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-002",
|
||
"test_case_name": "资源路径名词检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2499978765845299e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440237",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-CORE-SCHEMA-001",
|
||
"test_case_name": "DMS核心存储服务API响应格式检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.266703475266695e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440279",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-001",
|
||
"test_case_name": "返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2791948392987251e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440320",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-003",
|
||
"test_case_name": "时间字段ISO 8601格式检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2874952517449856e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440362",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-URL-VERSION-001",
|
||
"test_case_name": "DMS API URL版本号检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2709060683846474e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440403",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-002",
|
||
"test_case_name": "灵活的返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3042008504271507e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440445",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-001",
|
||
"test_case_name": "HTTPS 协议强制性检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2542004697024822e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440487",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-QUERY",
|
||
"test_case_name": "查询参数类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2583914212882519e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440528",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-BODY",
|
||
"test_case_name": "请求体字段类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.283304300159216e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440569",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4002",
|
||
"test_case_name": "数值参数越界检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2625008821487427e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440610",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4006",
|
||
"test_case_name": "非法枚举值检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2582982890307903e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440652",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "缺失必填请求体字段检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.5042023733258247e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440802",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "缺失必填查询参数检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3042008504271507e-05,
|
||
"timestamp": "2025-07-02T22:08:56.440845",
|
||
"validation_points": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "DELETE /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"endpoint_name": "地质单元数据删除",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.004974,
|
||
"start_time": "2025-07-02T22:08:56.440964",
|
||
"end_time": "2025-07-02T22:08:56.445938",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-HEADER-001",
|
||
"test_case_name": "必需请求头Schema验证",
|
||
"test_case_severity": "HIGH",
|
||
"status": "失败",
|
||
"message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain",
|
||
"duration_seconds": 0.002021125052124262,
|
||
"timestamp": "2025-07-02T22:08:56.443702",
|
||
"validation_points": [
|
||
{
|
||
"header": "X-Tenant-ID",
|
||
"possible_names": [
|
||
"X-Tenant-ID"
|
||
],
|
||
"endpoint": "DELETE /api/dms/{dms_instance_code}/v1/cd_geo_unit"
|
||
},
|
||
{
|
||
"header": "X-Data-Domain",
|
||
"possible_names": [
|
||
"X-Data-Domain"
|
||
],
|
||
"endpoint": "DELETE /api/dms/{dms_instance_code}/v1/cd_geo_unit"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-STATUS-001",
|
||
"test_case_name": "基本状态码 200 检查",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "失败",
|
||
"message": "期望状态码 200,但收到 503。",
|
||
"duration_seconds": 0.0013473329599946737,
|
||
"timestamp": "2025-07-02T22:08:56.445104",
|
||
"validation_points": [
|
||
{
|
||
"expected_status": 200,
|
||
"actual_status": 503,
|
||
"request_url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit",
|
||
"response_body_sample": ""
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-002",
|
||
"test_case_name": "敏感字段加密检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4291959814727306e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445179",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-LLM-COMPLIANCE-001",
|
||
"test_case_name": "LLM合规性综合检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.7249956727027893e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445229",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-001",
|
||
"test_case_name": "核心命名与结构规范检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3625016435980797e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445273",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-PAGINATION-001",
|
||
"test_case_name": "分页参数检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3459008187055588e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445318",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-004",
|
||
"test_case_name": "资源集合复数命名检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2791948392987251e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445361",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-002",
|
||
"test_case_name": "资源路径名词检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2708012945950031e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445403",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-CORE-SCHEMA-001",
|
||
"test_case_name": "DMS核心存储服务API响应格式检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2999982573091984e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445445",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-001",
|
||
"test_case_name": "返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.295795664191246e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445487",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-003",
|
||
"test_case_name": "时间字段ISO 8601格式检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3625016435980797e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445530",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-URL-VERSION-001",
|
||
"test_case_name": "DMS API URL版本号检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2665987014770508e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445573",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-002",
|
||
"test_case_name": "灵活的返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3584038242697716e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445615",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-001",
|
||
"test_case_name": "HTTPS 协议强制性检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2708944268524647e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445658",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-QUERY",
|
||
"test_case_name": "查询参数类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2625008821487427e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445700",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-BODY",
|
||
"test_case_name": "请求体字段类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2834090739488602e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445742",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4002",
|
||
"test_case_name": "数值参数越界检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2499978765845299e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445784",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4006",
|
||
"test_case_name": "非法枚举值检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.266703475266695e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445826",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "缺失必填请求体字段检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2834090739488602e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445868",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "缺失必填查询参数检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2874952517449856e-05,
|
||
"timestamp": "2025-07-02T22:08:56.445909",
|
||
"validation_points": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"endpoint_name": "地质单元数据添加",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.004633,
|
||
"start_time": "2025-07-02T22:08:56.446035",
|
||
"end_time": "2025-07-02T22:08:56.450668",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-HEADER-001",
|
||
"test_case_name": "必需请求头Schema验证",
|
||
"test_case_severity": "HIGH",
|
||
"status": "失败",
|
||
"message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain",
|
||
"duration_seconds": 0.0015349580207839608,
|
||
"timestamp": "2025-07-02T22:08:56.447858",
|
||
"validation_points": [
|
||
{
|
||
"header": "X-Tenant-ID",
|
||
"possible_names": [
|
||
"X-Tenant-ID"
|
||
],
|
||
"endpoint": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit"
|
||
},
|
||
{
|
||
"header": "X-Data-Domain",
|
||
"possible_names": [
|
||
"X-Data-Domain"
|
||
],
|
||
"endpoint": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-STATUS-001",
|
||
"test_case_name": "基本状态码 200 检查",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "失败",
|
||
"message": "期望状态码 200,但收到 503。",
|
||
"duration_seconds": 0.0018918749410659075,
|
||
"timestamp": "2025-07-02T22:08:56.449802",
|
||
"validation_points": [
|
||
{
|
||
"expected_status": 200,
|
||
"actual_status": 503,
|
||
"request_url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit",
|
||
"response_body_sample": ""
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-002",
|
||
"test_case_name": "敏感字段加密检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.5083001926541328e-05,
|
||
"timestamp": "2025-07-02T22:08:56.449888",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-LLM-COMPLIANCE-001",
|
||
"test_case_name": "LLM合规性综合检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4416058547794819e-05,
|
||
"timestamp": "2025-07-02T22:08:56.449936",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-001",
|
||
"test_case_name": "核心命名与结构规范检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4166929759085178e-05,
|
||
"timestamp": "2025-07-02T22:08:56.449982",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-PAGINATION-001",
|
||
"test_case_name": "分页参数检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.354096457362175e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450026",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-004",
|
||
"test_case_name": "资源集合复数命名检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3334094546735287e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450070",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-002",
|
||
"test_case_name": "资源路径名词检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3582990504801273e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450114",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-CORE-SCHEMA-001",
|
||
"test_case_name": "DMS核心存储服务API响应格式检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.637497916817665e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450160",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-001",
|
||
"test_case_name": "返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3291952200233936e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450204",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-003",
|
||
"test_case_name": "时间字段ISO 8601格式检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3416982255876064e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450247",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-URL-VERSION-001",
|
||
"test_case_name": "DMS API URL版本号检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.325004268437624e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450291",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-002",
|
||
"test_case_name": "灵活的返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4499993994832039e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450335",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-001",
|
||
"test_case_name": "HTTPS 协议强制性检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.325004268437624e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450378",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-QUERY",
|
||
"test_case_name": "查询参数类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2999982573091984e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450421",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-BODY",
|
||
"test_case_name": "请求体字段类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.750001683831215e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450468",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4002",
|
||
"test_case_name": "数值参数越界检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.295795664191246e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450511",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4006",
|
||
"test_case_name": "非法枚举值检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3167038559913635e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450554",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "缺失必填请求体字段检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.2999982573091984e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450596",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "缺失必填查询参数检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3125012628734112e-05,
|
||
"timestamp": "2025-07-02T22:08:56.450639",
|
||
"validation_points": []
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"endpoint_id": "GET /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}",
|
||
"endpoint_name": "地质单元查询详情",
|
||
"overall_status": "失败",
|
||
"duration_seconds": 0.005346,
|
||
"start_time": "2025-07-02T22:08:56.450774",
|
||
"end_time": "2025-07-02T22:08:56.456120",
|
||
"executed_test_cases": [
|
||
{
|
||
"test_case_id": "TC-HEADER-001",
|
||
"test_case_name": "必需请求头Schema验证",
|
||
"test_case_severity": "HIGH",
|
||
"status": "失败",
|
||
"message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain",
|
||
"duration_seconds": 0.002136582974344492,
|
||
"timestamp": "2025-07-02T22:08:56.453219",
|
||
"validation_points": [
|
||
{
|
||
"header": "X-Tenant-ID",
|
||
"possible_names": [
|
||
"X-Tenant-ID"
|
||
],
|
||
"endpoint": "GET /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}"
|
||
},
|
||
{
|
||
"header": "X-Data-Domain",
|
||
"possible_names": [
|
||
"X-Data-Domain"
|
||
],
|
||
"endpoint": "GET /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-STATUS-001",
|
||
"test_case_name": "基本状态码 200 检查",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "失败",
|
||
"message": "期望状态码 200,但收到 503。",
|
||
"duration_seconds": 0.001972666010260582,
|
||
"timestamp": "2025-07-02T22:08:56.455244",
|
||
"validation_points": [
|
||
{
|
||
"expected_status": 200,
|
||
"actual_status": 503,
|
||
"request_url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit/1.0.0/example_id",
|
||
"response_body_sample": ""
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-002",
|
||
"test_case_name": "敏感字段加密检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.5291967429220676e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455322",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-LLM-COMPLIANCE-001",
|
||
"test_case_name": "LLM合规性综合检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4375080354511738e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455369",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-001",
|
||
"test_case_name": "核心命名与结构规范检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.383305061608553e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455414",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-PAGINATION-001",
|
||
"test_case_name": "分页参数检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3875076547265053e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455459",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-004",
|
||
"test_case_name": "资源集合复数命名检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3249926269054413e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455502",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-002",
|
||
"test_case_name": "资源路径名词检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3125012628734112e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455545",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-CORE-SCHEMA-001",
|
||
"test_case_name": "DMS核心存储服务API响应格式检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.4041084796190262e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455589",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-001",
|
||
"test_case_name": "返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.40840420499444e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455648",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-RESTful-003",
|
||
"test_case_name": "时间字段ISO 8601格式检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3750046491622925e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455693",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-DMS-URL-VERSION-001",
|
||
"test_case_name": "DMS API URL版本号检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3542012311518192e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455736",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-CORE-FUNC-002",
|
||
"test_case_name": "灵活的返回体JSON Schema验证",
|
||
"test_case_severity": "CRITICAL",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3334094546735287e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455780",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-SECURITY-001",
|
||
"test_case_name": "HTTPS 协议强制性检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 2.545793540775776e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455835",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-QUERY",
|
||
"test_case_name": "查询参数类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3499986380338669e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455877",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4001-BODY",
|
||
"test_case_name": "请求体字段类型不匹配检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3166922144591808e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455920",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4002",
|
||
"test_case_name": "数值参数越界检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.295795664191246e-05,
|
||
"timestamp": "2025-07-02T22:08:56.455962",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4006",
|
||
"test_case_name": "非法枚举值检查",
|
||
"test_case_severity": "MEDIUM",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.3375072740018368e-05,
|
||
"timestamp": "2025-07-02T22:08:56.456005",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-BODY",
|
||
"test_case_name": "缺失必填请求体字段检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.333397813141346e-05,
|
||
"timestamp": "2025-07-02T22:08:56.456048",
|
||
"validation_points": []
|
||
},
|
||
{
|
||
"test_case_id": "TC-ERROR-4003-QUERY",
|
||
"test_case_name": "缺失必填查询参数检查",
|
||
"test_case_severity": "HIGH",
|
||
"status": "跳过",
|
||
"message": "由于关键的前置测试失败而被跳过: 关键测试 'TC-STATUS-001' 失败 (状态: 失败)。消息: ",
|
||
"duration_seconds": 1.383305061608553e-05,
|
||
"timestamp": "2025-07-02T22:08:56.456091",
|
||
"validation_points": []
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"stage_results": [
|
||
{
|
||
"stage_id": "generic_crud_validation_stage",
|
||
"stage_name": "Generic CRUD Validation Stage",
|
||
"description": "Performs a generic CRUD (Create, List, Read, Update, Delete) flow. It tries to dynamically discover API operations based on common keywords and HTTP methods. Field names for IDs, names, features, and JSON paths for list/detail objects are configurable via class attributes or can be set in `before_stage` based on `api_group_name`.",
|
||
"api_group_name": "地质单元",
|
||
"tags": [
|
||
"crud",
|
||
"generic_validation"
|
||
],
|
||
"overall_status": "失败",
|
||
"duration_seconds": "0.00",
|
||
"start_time": "2025-07-02T22:08:56",
|
||
"end_time": "2025-07-02T22:08:56",
|
||
"message": "测试阶段因步骤 'Create New Resource' 的状态 (失败) 而中止.",
|
||
"executed_steps_count": 1,
|
||
"executed_steps": [
|
||
{
|
||
"step_name": "Create New Resource",
|
||
"description": null,
|
||
"lookup_key": "地质单元数据添加",
|
||
"resolved_endpoint": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit",
|
||
"status": "失败",
|
||
"message": "预期状态码为 [200, 201], 实际为 503.",
|
||
"duration_seconds": "0.0000",
|
||
"timestamp": "2025-07-02T22:08:56+0800",
|
||
"validation_points": [
|
||
{
|
||
"passed": false,
|
||
"message": "预期状态码为 [200, 201], 实际为 503."
|
||
}
|
||
],
|
||
"api_call_curl": "N/A",
|
||
"request_details": {
|
||
"method": "POST",
|
||
"url": "http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/your_dms_instance_code/v1/cd_geo_unit",
|
||
"headers": {
|
||
"tenant-id": "your-tenant-id",
|
||
"Content-Type": "application/json",
|
||
"Accept": "application/json",
|
||
"Authorization": "Bearer your-test-token"
|
||
},
|
||
"params": {},
|
||
"json_data": {
|
||
"version": "1.0.0",
|
||
"data": [
|
||
{
|
||
"wellCommonName": "TestResource_1751465336_da0670",
|
||
"dataRegion": "Feature_1751465336"
|
||
}
|
||
]
|
||
},
|
||
"body": {
|
||
"version": "1.0.0",
|
||
"data": [
|
||
{
|
||
"wellCommonName": "TestResource_1751465336_da0670",
|
||
"dataRegion": "Feature_1751465336"
|
||
}
|
||
]
|
||
},
|
||
"data": null,
|
||
"timeout": 30
|
||
},
|
||
"extracted_outputs": {},
|
||
"context_after_step_summary": {
|
||
"unique_resource_name": "TestResource_1751465336_da0670",
|
||
"updated_resource_name": "TestResource_1751465336_da0670_UPDATED",
|
||
"unique_feature_value": "Feature_1751465336",
|
||
"updated_feature_value": "Feature_1751465336_UPDATED",
|
||
"cfg_list_path_in_listresponse": "data.list",
|
||
"cfg_name_field_in_listitem": "wellCommonName",
|
||
"cfg_id_field_in_listitem": "dsid",
|
||
"cfg_resource_object_path_in_detailresponse": "data.list.0",
|
||
"cfg_name_field_in_detailresponse": "wellCommonName",
|
||
"cfg_id_field_in_detailresponse": "dsid",
|
||
"cfg_resource_object_path_in_updateresponse": "data.list.0",
|
||
"cfg_feature_field_name_for_validation": "dataRegion",
|
||
"dms_instance_code": "your_dms_instance_code",
|
||
"api_version": "1.0.0"
|
||
}
|
||
}
|
||
],
|
||
"final_stage_context_summary": {
|
||
"unique_resource_name": "TestResource_1751465336_da0670",
|
||
"updated_resource_name": "TestResource_1751465336_da0670_UPDATED",
|
||
"unique_feature_value": "Feature_1751465336",
|
||
"updated_feature_value": "Feature_1751465336_UPDATED",
|
||
"cfg_list_path_in_listresponse": "data.list",
|
||
"cfg_name_field_in_listitem": "wellCommonName",
|
||
"cfg_id_field_in_listitem": "dsid",
|
||
"cfg_resource_object_path_in_detailresponse": "data.list.0",
|
||
"cfg_name_field_in_detailresponse": "wellCommonName",
|
||
"cfg_id_field_in_detailresponse": "dsid",
|
||
"cfg_resource_object_path_in_updateresponse": "data.list.0",
|
||
"cfg_feature_field_name_for_validation": "dataRegion",
|
||
"dms_instance_code": "your_dms_instance_code",
|
||
"api_version": "1.0.0"
|
||
}
|
||
}
|
||
],
|
||
"api_call_details_summary": []
|
||
} |