{ "start_time": "2025-06-27T17:56:31.836392", "end_time": "2025-06-27T17:56:54.766889", "duration_seconds": "22.93", "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": 114, "total_test_cases_executed": 114, "test_cases_passed": 78, "test_cases_failed": 36, "test_cases_error": 0, "test_cases_skipped_in_endpoint": 0, "test_case_success_rate": "68.42%", "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": 3.836802, "start_time": "2025-06-27T17:56:31.837278", "end_time": "2025-06-27T17:56:35.674080", "executed_test_cases": [ { "test_case_id": "TC-HEADER-001", "test_case_name": "必需请求头Schema验证", "test_case_severity": "严重", "status": "失败", "message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain", "duration_seconds": 0.09537200001068413, "timestamp": "2025-06-27T17:56:31.932820", "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": "严重", "status": "通过", "message": "响应状态码为 200,符合预期 200。", "duration_seconds": 0.027583332965150476, "timestamp": "2025-06-27T17:56:31.960453", "validation_points": [ { "passed": true, "message": "响应状态码为 200,符合预期 200。" } ] }, { "test_case_id": "TC-SECURITY-002", "test_case_name": "敏感字段加密检查", "test_case_severity": "高", "status": "通过", "message": "未在响应中找到需要检查的敏感字段。", "duration_seconds": 0.01708004204556346, "timestamp": "2025-06-27T17:56:31.977612", "validation_points": [ { "passed": true, "message": "未在响应中找到需要检查的敏感字段。" } ] }, { "test_case_id": "TC-LLM-COMPLIANCE-001", "test_case_name": "LLM合规性综合检查", "test_case_severity": "中", "status": "失败", "message": "[API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除] 不通过: 该接口使用POST方法,路径中包含'push',语义上可能表示数据的推送。但根据描述和请求体内容,其行为更接近查询操作(包含filter、sort、group等字段),应考虑使用GET方法。", "duration_seconds": 3.3780123330652714, "timestamp": "2025-06-27T17:56:35.355728", "validation_points": [ { "criterion": "API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除", "llm_reason": "该接口使用POST方法,路径中包含'push',语义上可能表示数据的推送。但根据描述和请求体内容,其行为更接近查询操作(包含filter、sort、group等字段),应考虑使用GET方法。" } ] }, { "test_case_id": "TC-RESTful-001", "test_case_name": "核心命名与结构规范检查", "test_case_severity": "高", "status": "通过", "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。;规范中未找到响应码 200 或其类别(2XX, default)的匹配定义,跳过空数组与null的检查。", "duration_seconds": 0.046261000097729266, "timestamp": "2025-06-27T17:56:35.402153", "validation_points": [ { "passed": true, "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。" }, { "passed": true, "message": "规范中未找到响应码 200 或其类别(2XX, default)的匹配定义,跳过空数组与null的检查。" } ] }, { "test_case_id": "TC-DMS-PAGINATION-001", "test_case_name": "分页参数检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:API不符合分页参数检查的准入规则(需包含'查询'/'列表'等关键词,且不包含'详情'等关键词)", "duration_seconds": 0.03222058294340968, "timestamp": "2025-06-27T17:56:35.434498", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}", "method": "POST", "summary": "数据推送接口", "contains_include_keyword": false, "contains_exclude_keyword": false } ] }, { "test_case_id": "TC-RESTful-004", "test_case_name": "资源集合复数命名检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}' 的最后一个路径分段 'push' 是动词,不需要使用复数形式。", "duration_seconds": 0.01998033293057233, "timestamp": "2025-06-27T17:56:35.454638", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}' 的最后一个路径分段 'push' 是动词,不需要使用复数形式。" } ] }, { "test_case_id": "TC-RESTful-002", "test_case_name": "资源路径名词检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}' 符合资源名词命名规范。", "duration_seconds": 0.02070112491492182, "timestamp": "2025-06-27T17:56:35.475459", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}' 符合资源名词命名规范。" } ] }, { "test_case_id": "TC-DMS-CORE-SCHEMA-001", "test_case_name": "DMS核心存储服务API响应格式检查", "test_case_severity": "高", "status": "通过", "message": "字段'code'在schema中未标记为必填(required);字段'message'在schema中未标记为必填(required);字段'data'在schema中未标记为必填(required);响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", "duration_seconds": 0.017494792002253234, "timestamp": "2025-06-27T17:56:35.493098", "validation_points": [ { "status_code": "201", "required_fields": [] }, { "status_code": "201", "required_fields": [] }, { "status_code": "201", "required_fields": [] }, { "status_code": "201" } ] }, { "test_case_id": "TC-CORE-FUNC-001", "test_case_name": "Response Body JSON Schema Validation", "test_case_severity": "严重", "status": "通过", "message": "Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。", "duration_seconds": 0.018646084005013108, "timestamp": "2025-06-27T17:56:35.511896", "validation_points": [ { "passed": true, "message": "Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。" } ] }, { "test_case_id": "TC-RESTful-003", "test_case_name": "时间字段ISO 8601格式检查", "test_case_severity": "中", "status": "通过", "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", "duration_seconds": 0.01874562492594123, "timestamp": "2025-06-27T17:56:35.530698", "validation_points": [ { "passed": true, "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。" } ] }, { "test_case_id": "TC-DMS-URL-VERSION-001", "test_case_name": "DMS API URL版本号检查", "test_case_severity": "中", "status": "通过", "message": "API路径 '/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}' 正确以'/api/'开头;API路径 '/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}' 包含版本标识: 'v1'", "duration_seconds": 0.01633008394856006, "timestamp": "2025-06-27T17:56:35.547136", "validation_points": [ { "full_path": "/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}" }, { "pattern_matched": "/v\\d+/", "version_string": "v1", "full_path": "/api/dms/{dms_instance_code}/v1/message/push/{schema}/{version}" } ] }, { "test_case_id": "TC-SECURITY-001", "test_case_name": "HTTPS Protocol Mandatory Verification", "test_case_severity": "严重", "status": "失败", "message": "API通过HTTP (http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/message/push/example_schema/example_version) 响应了成功的状态码 200,这违反了HTTPS强制策略。", "duration_seconds": 0.017368666012771428, "timestamp": "2025-06-27T17:56:35.564631", "validation_points": [ { "status_code": 200 } ] }, { "test_case_id": "TC-ERROR-4001-QUERY", "test_case_name": "查询参数类型不匹配检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。", "duration_seconds": 0.016135166049934924, "timestamp": "2025-06-27T17:56:35.580828", "validation_points": [ { "passed": true, "message": "跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。" } ] }, { "test_case_id": "TC-ERROR-4001-BODY", "test_case_name": "请求体字段类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当请求体字段 'isSearchCount' 类型不匹配时, 业务错误码应为 -1,但实际为 4006。", "duration_seconds": 0.017488125013187528, "timestamp": "2025-06-27T17:56:35.598376", "validation_points": [ { "expected_code": -1, "actual_code": 4006, "response_body": { "code": 4006, "message": "est officia in sit culpa", "data": { "total": 15, "list": [ { "dsid": "97", "dataRegion": "ullamco est irure quis in", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null, "key": 123 } ] } } } ] }, { "test_case_id": "TC-ERROR-4002", "test_case_name": "数值参数越界检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确范围限制的数值字段。", "duration_seconds": 0.019234957988373935, "timestamp": "2025-06-27T17:56:35.617670", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确范围限制的数值字段。" } ] }, { "test_case_id": "TC-ERROR-4006", "test_case_name": "非法枚举值检查", "test_case_severity": "中", "status": "失败", "message": "当 body 字段 'logic' 值为 'invalid_enum_ori6cz' (合法值为: ['AND', 'OR']) 时, 业务错误码应为 -1,但实际为 4006。", "duration_seconds": 0.01740283309482038, "timestamp": "2025-06-27T17:56:35.635161", "validation_points": [ { "expected_code": -1, "actual_code": 4006, "response_body": { "code": 4006, "message": "est officia in sit culpa", "data": { "total": 15, "list": [ { "dsid": "97", "dataRegion": "ullamco est irure quis in", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null, "key": 123 } ] } } } ] }, { "test_case_id": "TC-ERROR-4003-BODY", "test_case_name": "缺失必填请求体字段检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。", "duration_seconds": 0.016558166942559183, "timestamp": "2025-06-27T17:56:35.651831", "validation_points": [ { "passed": true, "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { "test_case_id": "TC-ERROR-4003-QUERY", "test_case_name": "缺失必填查询参数检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。", "duration_seconds": 0.02212870796211064, "timestamp": "2025-06-27T17:56:35.674028", "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": 3.360486, "start_time": "2025-06-27T17:56:35.674134", "end_time": "2025-06-27T17:56:39.034620", "executed_test_cases": [ { "test_case_id": "TC-HEADER-001", "test_case_name": "必需请求头Schema验证", "test_case_severity": "严重", "status": "失败", "message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain", "duration_seconds": 0.018601582967676222, "timestamp": "2025-06-27T17:56:35.692934", "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": "严重", "status": "通过", "message": "响应状态码为 200,符合预期 200。", "duration_seconds": 0.015816917060874403, "timestamp": "2025-06-27T17:56:35.708800", "validation_points": [ { "passed": true, "message": "响应状态码为 200,符合预期 200。" } ] }, { "test_case_id": "TC-SECURITY-002", "test_case_name": "敏感字段加密检查", "test_case_severity": "高", "status": "通过", "message": "未在响应中找到需要检查的敏感字段。", "duration_seconds": 0.016034542000852525, "timestamp": "2025-06-27T17:56:35.724908", "validation_points": [ { "passed": true, "message": "未在响应中找到需要检查的敏感字段。" } ] }, { "test_case_id": "TC-LLM-COMPLIANCE-001", "test_case_name": "LLM合规性综合检查", "test_case_severity": "中", "status": "失败", "message": "[API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除] 不通过: 该API的用途是地质单元列表查询,属于数据检索操作,按照合规性标准应使用GET方法。但实际上使用了POST方法,因此不符合该标准。", "duration_seconds": 3.0063842920353636, "timestamp": "2025-06-27T17:56:38.731597", "validation_points": [ { "criterion": "API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除", "llm_reason": "该API的用途是地质单元列表查询,属于数据检索操作,按照合规性标准应使用GET方法。但实际上使用了POST方法,因此不符合该标准。" } ] }, { "test_case_id": "TC-RESTful-001", "test_case_name": "核心命名与结构规范检查", "test_case_severity": "高", "status": "通过", "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。;规范中未找到响应码 200 或其类别(2XX, default)的匹配定义,跳过空数组与null的检查。", "duration_seconds": 0.042293166974559426, "timestamp": "2025-06-27T17:56:38.774073", "validation_points": [ { "passed": true, "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。" }, { "passed": true, "message": "规范中未找到响应码 200 或其类别(2XX, default)的匹配定义,跳过空数组与null的检查。" } ] }, { "test_case_id": "TC-DMS-PAGINATION-001", "test_case_name": "分页参数检查", "test_case_severity": "中", "status": "通过", "message": "API请求包含所有标准分页参数:pageNo、pageSize和isSearchCount", "duration_seconds": 0.028535749996080995, "timestamp": "2025-06-27T17:56:38.802713", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}", "method": "POST" } ] }, { "test_case_id": "TC-RESTful-004", "test_case_name": "资源集合复数命名检查", "test_case_severity": "中", "status": "失败", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}' 的最后一个路径分段 'cd_geo_unit' 可能不是复数形式,建议对资源集合使用复数命名。", "duration_seconds": 0.019662249949760735, "timestamp": "2025-06-27T17:56:38.822527", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}", "segment": "cd_geo_unit" } ] }, { "test_case_id": "TC-RESTful-002", "test_case_name": "资源路径名词检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}' 符合资源名词命名规范。", "duration_seconds": 0.01893429202027619, "timestamp": "2025-06-27T17:56:38.841585", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}' 符合资源名词命名规范。" } ] }, { "test_case_id": "TC-DMS-CORE-SCHEMA-001", "test_case_name": "DMS核心存储服务API响应格式检查", "test_case_severity": "高", "status": "通过", "message": "字段'code'在schema中未标记为必填(required);字段'message'在schema中未标记为必填(required);字段'data'在schema中未标记为必填(required);响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", "duration_seconds": 0.021882500033825636, "timestamp": "2025-06-27T17:56:38.863600", "validation_points": [ { "status_code": "201", "required_fields": [] }, { "status_code": "201", "required_fields": [] }, { "status_code": "201", "required_fields": [] }, { "status_code": "201" } ] }, { "test_case_id": "TC-CORE-FUNC-001", "test_case_name": "Response Body JSON Schema Validation", "test_case_severity": "严重", "status": "通过", "message": "Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。", "duration_seconds": 0.014599916990846395, "timestamp": "2025-06-27T17:56:38.878318", "validation_points": [ { "passed": true, "message": "Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。" } ] }, { "test_case_id": "TC-RESTful-003", "test_case_name": "时间字段ISO 8601格式检查", "test_case_severity": "中", "status": "通过", "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", "duration_seconds": 0.014550541993230581, "timestamp": "2025-06-27T17:56:38.892929", "validation_points": [ { "passed": true, "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。" } ] }, { "test_case_id": "TC-DMS-URL-VERSION-001", "test_case_name": "DMS API URL版本号检查", "test_case_severity": "中", "status": "通过", "message": "API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}' 正确以'/api/'开头;API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}' 包含版本标识: 'v1'", "duration_seconds": 0.01674124994315207, "timestamp": "2025-06-27T17:56:38.910011", "validation_points": [ { "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}" }, { "pattern_matched": "/v\\d+/", "version_string": "v1", "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}" } ] }, { "test_case_id": "TC-SECURITY-001", "test_case_name": "HTTPS Protocol Mandatory Verification", "test_case_severity": "严重", "status": "失败", "message": "API通过HTTP (http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit/1.0.0) 响应了成功的状态码 200,这违反了HTTPS强制策略。", "duration_seconds": 0.016226249979808927, "timestamp": "2025-06-27T17:56:38.926437", "validation_points": [ { "status_code": 200 } ] }, { "test_case_id": "TC-ERROR-4001-QUERY", "test_case_name": "查询参数类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当查询参数 'pageNo' (路径: 'pageNo') 类型不匹配时, 业务错误码应为 -1,但实际为 100。", "duration_seconds": 0.020453125005587935, "timestamp": "2025-06-27T17:56:38.947033", "validation_points": [ { "expected_code": -1, "actual_code": 100, "response_body": { "code": 100, "message": "elit culpa", "data": { "total": 75, "list": [ { "dsid": "18", "dataRegion": "eu quis", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "90", "dataRegion": "laboris ut", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "21", "dataRegion": "minim culpa aliqua", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null } ] } } } ] }, { "test_case_id": "TC-ERROR-4001-BODY", "test_case_name": "请求体字段类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当请求体字段 'isSearchCount' 类型不匹配时, 业务错误码应为 -1,但实际为 46。", "duration_seconds": 0.02107524999883026, "timestamp": "2025-06-27T17:56:38.968284", "validation_points": [ { "expected_code": -1, "actual_code": 46, "response_body": { "code": 46, "message": "in Lorem proident", "data": { "total": 85, "list": [ { "dsid": "57", "dataRegion": "reprehenderit", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "71", "dataRegion": "consectetur voluptate et occaecat", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "59", "dataRegion": "aliqua dolor eiusmod ullamco", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null } ] } } } ] }, { "test_case_id": "TC-ERROR-4002", "test_case_name": "数值参数越界检查", "test_case_severity": "中", "status": "失败", "message": "当 query 字段 'pageNo' 值为 0.0 (超出范围: min=1.0, max=None) 时, 业务错误码应为 -1,但实际为 87。", "duration_seconds": 0.016783957951702178, "timestamp": "2025-06-27T17:56:38.985317", "validation_points": [ { "expected_code": -1, "actual_code": 87, "response_body": { "code": 87, "message": "occaecat deserunt dolore ullamco", "data": { "total": 44, "list": [ { "dsid": "52", "dataRegion": "commodo", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "89", "dataRegion": "non in", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null } ] } } } ] }, { "test_case_id": "TC-ERROR-4006", "test_case_name": "非法枚举值检查", "test_case_severity": "中", "status": "失败", "message": "当 body 字段 'logic' 值为 'invalid_enum_kszbvo' (合法值为: ['AND', 'OR']) 时, 业务错误码应为 -1,但实际为 40。", "duration_seconds": 0.01601341599598527, "timestamp": "2025-06-27T17:56:39.001480", "validation_points": [ { "expected_code": -1, "actual_code": 40, "response_body": { "code": 40, "message": "aliqua nulla tempor qui incididunt", "data": { "total": 58, "list": [ { "dsid": "89", "dataRegion": "cupidatat dolor", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null } ] } } } ] }, { "test_case_id": "TC-ERROR-4003-BODY", "test_case_name": "缺失必填请求体字段检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。", "duration_seconds": 0.016336541040800512, "timestamp": "2025-06-27T17:56:39.018152", "validation_points": [ { "passed": true, "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { "test_case_id": "TC-ERROR-4003-QUERY", "test_case_name": "缺失必填查询参数检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。", "duration_seconds": 0.01615979103371501, "timestamp": "2025-06-27T17:56:39.034477", "validation_points": [ { "passed": true, "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。" } ] } ] }, { "endpoint_id": "PUT /api/dms/{dms_instance_code}/v1/cd_geo_unit", "endpoint_name": "地质单元数据修改", "overall_status": "失败", "duration_seconds": 3.093784, "start_time": "2025-06-27T17:56:39.034746", "end_time": "2025-06-27T17:56:42.128530", "executed_test_cases": [ { "test_case_id": "TC-HEADER-001", "test_case_name": "必需请求头Schema验证", "test_case_severity": "严重", "status": "失败", "message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain", "duration_seconds": 0.018047000048682094, "timestamp": "2025-06-27T17:56:39.053412", "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": "严重", "status": "通过", "message": "响应状态码为 200,符合预期 200。", "duration_seconds": 0.020400000037625432, "timestamp": "2025-06-27T17:56:39.073944", "validation_points": [ { "passed": true, "message": "响应状态码为 200,符合预期 200。" } ] }, { "test_case_id": "TC-SECURITY-002", "test_case_name": "敏感字段加密检查", "test_case_severity": "高", "status": "通过", "message": "未在响应中找到需要检查的敏感字段。", "duration_seconds": 0.015057625016197562, "timestamp": "2025-06-27T17:56:39.089160", "validation_points": [ { "passed": true, "message": "未在响应中找到需要检查的敏感字段。" } ] }, { "test_case_id": "TC-LLM-COMPLIANCE-001", "test_case_name": "LLM合规性综合检查", "test_case_severity": "中", "status": "通过", "message": "[API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除] 通过: 该API的用途是修改地质单元数据,使用的HTTP方法为PUT,符合用于更新的规范。", "duration_seconds": 2.7094265000196174, "timestamp": "2025-06-27T17:56:41.798782", "validation_points": [ { "criterion": "API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除", "llm_reason": "该API的用途是修改地质单元数据,使用的HTTP方法为PUT,符合用于更新的规范。" } ] }, { "test_case_id": "TC-RESTful-001", "test_case_name": "核心命名与结构规范检查", "test_case_severity": "高", "status": "通过", "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。", "duration_seconds": 0.04042658302932978, "timestamp": "2025-06-27T17:56:41.839503", "validation_points": [ { "passed": true, "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。" } ] }, { "test_case_id": "TC-DMS-PAGINATION-001", "test_case_name": "分页参数检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:API不符合分页参数检查的准入规则(需包含'查询'/'列表'等关键词,且不包含'详情'等关键词)", "duration_seconds": 0.02917920902837068, "timestamp": "2025-06-27T17:56:41.868903", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit", "method": "PUT", "summary": "地质单元数据修改", "contains_include_keyword": false, "contains_exclude_keyword": false } ] }, { "test_case_id": "TC-RESTful-004", "test_case_name": "资源集合复数命名检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:PUT 方法,不适用于资源集合复数检查。", "duration_seconds": 0.02790754195302725, "timestamp": "2025-06-27T17:56:41.897228", "validation_points": [ { "passed": true, "message": "跳过检查:PUT 方法,不适用于资源集合复数检查。" } ] }, { "test_case_id": "TC-RESTful-002", "test_case_name": "资源路径名词检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 符合资源名词命名规范。", "duration_seconds": 0.019488667021505535, "timestamp": "2025-06-27T17:56:41.917168", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 符合资源名词命名规范。" } ] }, { "test_case_id": "TC-DMS-CORE-SCHEMA-001", "test_case_name": "DMS核心存储服务API响应格式检查", "test_case_severity": "高", "status": "通过", "message": "字段'code'在schema中未标记为必填(required);字段'message'在schema中未标记为必填(required);字段'data'在schema中未标记为必填(required);响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", "duration_seconds": 0.023888499941676855, "timestamp": "2025-06-27T17:56:41.941489", "validation_points": [ { "status_code": "200", "required_fields": [] }, { "status_code": "200", "required_fields": [] }, { "status_code": "200", "required_fields": [] }, { "status_code": "200" } ] }, { "test_case_id": "TC-CORE-FUNC-001", "test_case_name": "Response Body JSON Schema Validation", "test_case_severity": "严重", "status": "通过", "message": "针对 PUT http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit (状态码 200) 的响应体 conforms to the JSON schema.", "duration_seconds": 0.022755792015232146, "timestamp": "2025-06-27T17:56:41.964670", "validation_points": [ { "passed": true, "message": "针对 PUT http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit (状态码 200) 的响应体 conforms to the JSON schema." } ] }, { "test_case_id": "TC-RESTful-003", "test_case_name": "时间字段ISO 8601格式检查", "test_case_severity": "中", "status": "通过", "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", "duration_seconds": 0.015162499970756471, "timestamp": "2025-06-27T17:56:41.980042", "validation_points": [ { "passed": true, "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。" } ] }, { "test_case_id": "TC-DMS-URL-VERSION-001", "test_case_name": "DMS API URL版本号检查", "test_case_severity": "中", "status": "通过", "message": "API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 正确以'/api/'开头;API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 包含版本标识: 'v1'", "duration_seconds": 0.015744750038720667, "timestamp": "2025-06-27T17:56:41.996093", "validation_points": [ { "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit" }, { "pattern_matched": "/v\\d+/", "version_string": "v1", "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit" } ] }, { "test_case_id": "TC-SECURITY-001", "test_case_name": "HTTPS Protocol Mandatory Verification", "test_case_severity": "严重", "status": "失败", "message": "API通过HTTP (http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit) 响应了成功的状态码 200,这违反了HTTPS强制策略。", "duration_seconds": 0.019632000010460615, "timestamp": "2025-06-27T17:56:42.016023", "validation_points": [ { "status_code": 200 } ] }, { "test_case_id": "TC-ERROR-4001-QUERY", "test_case_name": "查询参数类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当查询参数 'id' (路径: 'id') 类型不匹配时, 业务错误码应为 -1,但实际为 69。", "duration_seconds": 0.017601375002413988, "timestamp": "2025-06-27T17:56:42.034166", "validation_points": [ { "expected_code": -1, "actual_code": 69, "response_body": { "code": 69, "message": "aute quis", "data": false } } ] }, { "test_case_id": "TC-ERROR-4001-BODY", "test_case_name": "请求体字段类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当请求体字段 'id' 类型不匹配时, 业务错误码应为 -1,但实际为 34。", "duration_seconds": 0.01961058401502669, "timestamp": "2025-06-27T17:56:42.054036", "validation_points": [ { "expected_code": -1, "actual_code": 34, "response_body": { "code": 34, "message": "dolore adipisicing veniam tempor", "data": false } } ] }, { "test_case_id": "TC-ERROR-4002", "test_case_name": "数值参数越界检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确范围限制的数值字段。", "duration_seconds": 0.01705062494147569, "timestamp": "2025-06-27T17:56:42.071343", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确范围限制的数值字段。" } ] }, { "test_case_id": "TC-ERROR-4006", "test_case_name": "非法枚举值检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确枚举值限制的字段。", "duration_seconds": 0.017635708092711866, "timestamp": "2025-06-27T17:56:42.089247", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确枚举值限制的字段。" } ] }, { "test_case_id": "TC-ERROR-4003-BODY", "test_case_name": "缺失必填请求体字段检查", "test_case_severity": "高", "status": "失败", "message": "当移除必填请求体字段 'id' 时, 业务错误码应为 -1,但实际为 4003。", "duration_seconds": 0.021393624949268997, "timestamp": "2025-06-27T17:56:42.111091", "validation_points": [ { "expected_code": -1, "actual_code": 4003, "response_body": { "code": 4003 } } ] }, { "test_case_id": "TC-ERROR-4003-QUERY", "test_case_name": "缺失必填查询参数检查", "test_case_severity": "高", "status": "失败", "message": "当移除必填查询参数 'id' 时, 业务错误码应为 -1,但实际为 57。", "duration_seconds": 0.01669116597622633, "timestamp": "2025-06-27T17:56:42.128192", "validation_points": [ { "expected_code": -1, "actual_code": 57, "response_body": { "code": 57, "message": "incididunt sit in ea", "data": true } } ] } ] }, { "endpoint_id": "DELETE /api/dms/{dms_instance_code}/v1/cd_geo_unit", "endpoint_name": "地质单元数据删除", "overall_status": "失败", "duration_seconds": 5.182856, "start_time": "2025-06-27T17:56:42.128718", "end_time": "2025-06-27T17:56:47.311574", "executed_test_cases": [ { "test_case_id": "TC-HEADER-001", "test_case_name": "必需请求头Schema验证", "test_case_severity": "严重", "status": "失败", "message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain", "duration_seconds": 0.015730957966297865, "timestamp": "2025-06-27T17:56:42.145622", "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": "严重", "status": "通过", "message": "响应状态码为 200,符合预期 200。", "duration_seconds": 0.015181916998699307, "timestamp": "2025-06-27T17:56:42.161029", "validation_points": [ { "passed": true, "message": "响应状态码为 200,符合预期 200。" } ] }, { "test_case_id": "TC-SECURITY-002", "test_case_name": "敏感字段加密检查", "test_case_severity": "高", "status": "通过", "message": "未在响应中找到需要检查的敏感字段。", "duration_seconds": 0.017031375085934997, "timestamp": "2025-06-27T17:56:42.178185", "validation_points": [ { "passed": true, "message": "未在响应中找到需要检查的敏感字段。" } ] }, { "test_case_id": "TC-LLM-COMPLIANCE-001", "test_case_name": "LLM合规性综合检查", "test_case_severity": "中", "status": "失败", "message": "[API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除] 不通过: DELETE方法通常用于删除资源,但该API的请求体(request body)中包含版本号和主键id数据集,并且路径参数和查询参数也包含主键信息。这种设计不符合DELETE方法的标准用法,建议将删除操作改为通过路径或查询参数传递唯一标识符,而不是在请求体中传递多个ID和版本号。", "duration_seconds": 4.847232208005153, "timestamp": "2025-06-27T17:56:47.025616", "validation_points": [ { "criterion": "API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除", "llm_reason": "DELETE方法通常用于删除资源,但该API的请求体(request body)中包含版本号和主键id数据集,并且路径参数和查询参数也包含主键信息。这种设计不符合DELETE方法的标准用法,建议将删除操作改为通过路径或查询参数传递唯一标识符,而不是在请求体中传递多个ID和版本号。" } ] }, { "test_case_id": "TC-RESTful-001", "test_case_name": "核心命名与结构规范检查", "test_case_severity": "高", "status": "通过", "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。", "duration_seconds": 0.04725541698280722, "timestamp": "2025-06-27T17:56:47.073013", "validation_points": [ { "passed": true, "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。" } ] }, { "test_case_id": "TC-DMS-PAGINATION-001", "test_case_name": "分页参数检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:API不符合分页参数检查的准入规则(需包含'查询'/'列表'等关键词,且不包含'详情'等关键词)", "duration_seconds": 0.026655333931557834, "timestamp": "2025-06-27T17:56:47.099875", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit", "method": "DELETE", "summary": "地质单元数据删除", "contains_include_keyword": false, "contains_exclude_keyword": false } ] }, { "test_case_id": "TC-RESTful-004", "test_case_name": "资源集合复数命名检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:DELETE 方法,不适用于资源集合复数检查。", "duration_seconds": 0.02044287498574704, "timestamp": "2025-06-27T17:56:47.120485", "validation_points": [ { "passed": true, "message": "跳过检查:DELETE 方法,不适用于资源集合复数检查。" } ] }, { "test_case_id": "TC-RESTful-002", "test_case_name": "资源路径名词检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 符合资源名词命名规范。", "duration_seconds": 0.01679566700477153, "timestamp": "2025-06-27T17:56:47.137452", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 符合资源名词命名规范。" } ] }, { "test_case_id": "TC-DMS-CORE-SCHEMA-001", "test_case_name": "DMS核心存储服务API响应格式检查", "test_case_severity": "高", "status": "通过", "message": "字段'code'在schema中未标记为必填(required);字段'message'在schema中未标记为必填(required);字段'data'在schema中未标记为必填(required);响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", "duration_seconds": 0.014337625005282462, "timestamp": "2025-06-27T17:56:47.151935", "validation_points": [ { "status_code": "200", "required_fields": [] }, { "status_code": "200", "required_fields": [] }, { "status_code": "200", "required_fields": [] }, { "status_code": "200" } ] }, { "test_case_id": "TC-CORE-FUNC-001", "test_case_name": "Response Body JSON Schema Validation", "test_case_severity": "严重", "status": "通过", "message": "针对 DELETE http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit (状态码 200) 的响应体 conforms to the JSON schema.", "duration_seconds": 0.018352541024796665, "timestamp": "2025-06-27T17:56:47.170420", "validation_points": [ { "passed": true, "message": "针对 DELETE http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit (状态码 200) 的响应体 conforms to the JSON schema." } ] }, { "test_case_id": "TC-RESTful-003", "test_case_name": "时间字段ISO 8601格式检查", "test_case_severity": "中", "status": "通过", "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", "duration_seconds": 0.018604792072437704, "timestamp": "2025-06-27T17:56:47.189080", "validation_points": [ { "passed": true, "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。" } ] }, { "test_case_id": "TC-DMS-URL-VERSION-001", "test_case_name": "DMS API URL版本号检查", "test_case_severity": "中", "status": "通过", "message": "API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 正确以'/api/'开头;API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 包含版本标识: 'v1'", "duration_seconds": 0.014370916993357241, "timestamp": "2025-06-27T17:56:47.203583", "validation_points": [ { "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit" }, { "pattern_matched": "/v\\d+/", "version_string": "v1", "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit" } ] }, { "test_case_id": "TC-SECURITY-001", "test_case_name": "HTTPS Protocol Mandatory Verification", "test_case_severity": "严重", "status": "失败", "message": "API通过HTTP (http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit) 响应了成功的状态码 200,这违反了HTTPS强制策略。", "duration_seconds": 0.015601042076013982, "timestamp": "2025-06-27T17:56:47.219290", "validation_points": [ { "status_code": 200 } ] }, { "test_case_id": "TC-ERROR-4001-QUERY", "test_case_name": "查询参数类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当查询参数 'id' (路径: 'id') 类型不匹配时, 业务错误码应为 -1,但实际为 84。", "duration_seconds": 0.013570667011663318, "timestamp": "2025-06-27T17:56:47.232912", "validation_points": [ { "expected_code": -1, "actual_code": 84, "response_body": { "code": 84, "message": "laboris", "data": false } } ] }, { "test_case_id": "TC-ERROR-4001-BODY", "test_case_name": "请求体字段类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当请求体字段 'version' 类型不匹配时, 业务错误码应为 -1,但实际为 72。", "duration_seconds": 0.013539374922402203, "timestamp": "2025-06-27T17:56:47.246508", "validation_points": [ { "expected_code": -1, "actual_code": 72, "response_body": { "code": 72, "message": "consequat adipisicing", "data": true } } ] }, { "test_case_id": "TC-ERROR-4002", "test_case_name": "数值参数越界检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确范围限制的数值字段。", "duration_seconds": 0.016154207987710834, "timestamp": "2025-06-27T17:56:47.262710", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确范围限制的数值字段。" } ] }, { "test_case_id": "TC-ERROR-4006", "test_case_name": "非法枚举值检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确枚举值限制的字段。", "duration_seconds": 0.018616999965161085, "timestamp": "2025-06-27T17:56:47.281383", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确枚举值限制的字段。" } ] }, { "test_case_id": "TC-ERROR-4003-BODY", "test_case_name": "缺失必填请求体字段检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。", "duration_seconds": 0.01574708300177008, "timestamp": "2025-06-27T17:56:47.297513", "validation_points": [ { "passed": true, "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { "test_case_id": "TC-ERROR-4003-QUERY", "test_case_name": "缺失必填查询参数检查", "test_case_severity": "高", "status": "失败", "message": "当移除必填查询参数 'id' 时, 业务错误码应为 -1,但实际为 94。", "duration_seconds": 0.013753750012256205, "timestamp": "2025-06-27T17:56:47.311325", "validation_points": [ { "expected_code": -1, "actual_code": 94, "response_body": { "code": 94, "message": "aliqua laborum", "data": false } } ] } ] }, { "endpoint_id": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit", "endpoint_name": "地质单元数据添加", "overall_status": "失败", "duration_seconds": 3.238856, "start_time": "2025-06-27T17:56:47.311678", "end_time": "2025-06-27T17:56:50.550534", "executed_test_cases": [ { "test_case_id": "TC-HEADER-001", "test_case_name": "必需请求头Schema验证", "test_case_severity": "严重", "status": "失败", "message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain", "duration_seconds": 0.016017833026126027, "timestamp": "2025-06-27T17:56:47.328350", "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": "严重", "status": "通过", "message": "响应状态码为 200,符合预期 200。", "duration_seconds": 0.014504541992209852, "timestamp": "2025-06-27T17:56:47.343003", "validation_points": [ { "passed": true, "message": "响应状态码为 200,符合预期 200。" } ] }, { "test_case_id": "TC-SECURITY-002", "test_case_name": "敏感字段加密检查", "test_case_severity": "高", "status": "通过", "message": "未在响应中找到需要检查的敏感字段。", "duration_seconds": 0.017182416981086135, "timestamp": "2025-06-27T17:56:47.360360", "validation_points": [ { "passed": true, "message": "未在响应中找到需要检查的敏感字段。" } ] }, { "test_case_id": "TC-LLM-COMPLIANCE-001", "test_case_name": "LLM合规性综合检查", "test_case_severity": "中", "status": "通过", "message": "[API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除] 通过: 该API使用了POST方法,根据描述'地质单元数据添加',其语义符合用于创建资源的POST方法,因此HTTP方法使用正确。", "duration_seconds": 2.898322500055656, "timestamp": "2025-06-27T17:56:50.258926", "validation_points": [ { "criterion": "API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除", "llm_reason": "该API使用了POST方法,根据描述'地质单元数据添加',其语义符合用于创建资源的POST方法,因此HTTP方法使用正确。" } ] }, { "test_case_id": "TC-RESTful-001", "test_case_name": "核心命名与结构规范检查", "test_case_severity": "高", "status": "通过", "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。;规范中未找到响应码 200 或其类别(2XX, default)的匹配定义,跳过空数组与null的检查。", "duration_seconds": 0.047463125083595514, "timestamp": "2025-06-27T17:56:50.306527", "validation_points": [ { "passed": true, "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。" }, { "passed": true, "message": "规范中未找到响应码 200 或其类别(2XX, default)的匹配定义,跳过空数组与null的检查。" } ] }, { "test_case_id": "TC-DMS-PAGINATION-001", "test_case_name": "分页参数检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:API不符合分页参数检查的准入规则(需包含'查询'/'列表'等关键词,且不包含'详情'等关键词)", "duration_seconds": 0.024721457972191274, "timestamp": "2025-06-27T17:56:50.331447", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit", "method": "POST", "summary": "地质单元数据添加", "contains_include_keyword": false, "contains_exclude_keyword": false } ] }, { "test_case_id": "TC-RESTful-004", "test_case_name": "资源集合复数命名检查", "test_case_severity": "中", "status": "失败", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 的最后一个路径分段 'cd_geo_unit' 可能不是复数形式,建议对资源集合使用复数命名。", "duration_seconds": 0.01989108300767839, "timestamp": "2025-06-27T17:56:50.351474", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit", "segment": "cd_geo_unit" } ] }, { "test_case_id": "TC-RESTful-002", "test_case_name": "资源路径名词检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 符合资源名词命名规范。", "duration_seconds": 0.016325791948474944, "timestamp": "2025-06-27T17:56:50.367941", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 符合资源名词命名规范。" } ] }, { "test_case_id": "TC-DMS-CORE-SCHEMA-001", "test_case_name": "DMS核心存储服务API响应格式检查", "test_case_severity": "高", "status": "通过", "message": "字段'code'在schema中未标记为必填(required);字段'message'在schema中未标记为必填(required);字段'data'在schema中未标记为必填(required);响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", "duration_seconds": 0.020245749969035387, "timestamp": "2025-06-27T17:56:50.388303", "validation_points": [ { "status_code": "201", "required_fields": [] }, { "status_code": "201", "required_fields": [] }, { "status_code": "201", "required_fields": [] }, { "status_code": "201" } ] }, { "test_case_id": "TC-CORE-FUNC-001", "test_case_name": "Response Body JSON Schema Validation", "test_case_severity": "严重", "status": "通过", "message": "Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。", "duration_seconds": 0.014939834014512599, "timestamp": "2025-06-27T17:56:50.403395", "validation_points": [ { "passed": true, "message": "Schema验证步骤完成(未发现问题,或schema不适用/未为此响应定义)。" } ] }, { "test_case_id": "TC-RESTful-003", "test_case_name": "时间字段ISO 8601格式检查", "test_case_severity": "中", "status": "通过", "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", "duration_seconds": 0.016618625028058887, "timestamp": "2025-06-27T17:56:50.420067", "validation_points": [ { "passed": true, "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。" } ] }, { "test_case_id": "TC-DMS-URL-VERSION-001", "test_case_name": "DMS API URL版本号检查", "test_case_severity": "中", "status": "通过", "message": "API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 正确以'/api/'开头;API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit' 包含版本标识: 'v1'", "duration_seconds": 0.013045708066783845, "timestamp": "2025-06-27T17:56:50.433207", "validation_points": [ { "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit" }, { "pattern_matched": "/v\\d+/", "version_string": "v1", "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit" } ] }, { "test_case_id": "TC-SECURITY-001", "test_case_name": "HTTPS Protocol Mandatory Verification", "test_case_severity": "严重", "status": "失败", "message": "API通过HTTP (http://127.0.0.1:4523/m1/6389742-6086420-default/api/dms/example_dms_instance_code/v1/cd_geo_unit) 响应了成功的状态码 200,这违反了HTTPS强制策略。", "duration_seconds": 0.013419040944427252, "timestamp": "2025-06-27T17:56:50.446713", "validation_points": [ { "status_code": 200 } ] }, { "test_case_id": "TC-ERROR-4001-QUERY", "test_case_name": "查询参数类型不匹配检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。", "duration_seconds": 0.02173095801845193, "timestamp": "2025-06-27T17:56:50.468592", "validation_points": [ { "passed": true, "message": "跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。" } ] }, { "test_case_id": "TC-ERROR-4001-BODY", "test_case_name": "请求体字段类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当请求体字段 'version' 类型不匹配时, 业务错误码应为 -1,但实际为 81。", "duration_seconds": 0.015512041980400681, "timestamp": "2025-06-27T17:56:50.484247", "validation_points": [ { "expected_code": -1, "actual_code": 81, "response_body": { "code": 81, "message": "quis deserunt nisi dolore", "data": true } } ] }, { "test_case_id": "TC-ERROR-4002", "test_case_name": "数值参数越界检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确范围限制的数值字段。", "duration_seconds": 0.015508415992371738, "timestamp": "2025-06-27T17:56:50.499911", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确范围限制的数值字段。" } ] }, { "test_case_id": "TC-ERROR-4006", "test_case_name": "非法枚举值检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确枚举值限制的字段。", "duration_seconds": 0.01507791702169925, "timestamp": "2025-06-27T17:56:50.515170", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确枚举值限制的字段。" } ] }, { "test_case_id": "TC-ERROR-4003-BODY", "test_case_name": "缺失必填请求体字段检查", "test_case_severity": "高", "status": "失败", "message": "当移除必填请求体字段 'data.0.bsflag' 时, 业务错误码应为 -1,但实际为 65。", "duration_seconds": 0.017551166005432606, "timestamp": "2025-06-27T17:56:50.532950", "validation_points": [ { "expected_code": -1, "actual_code": 65, "response_body": { "code": 65, "message": "sunt do Lorem irure", "data": false } } ] }, { "test_case_id": "TC-ERROR-4003-QUERY", "test_case_name": "缺失必填查询参数检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。", "duration_seconds": 0.017020708066411316, "timestamp": "2025-06-27T17:56:50.550350", "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": 4.178667, "start_time": "2025-06-27T17:56:50.550711", "end_time": "2025-06-27T17:56:54.729378", "executed_test_cases": [ { "test_case_id": "TC-HEADER-001", "test_case_name": "必需请求头Schema验证", "test_case_severity": "严重", "status": "失败", "message": "缺少必需的请求头 X-Tenant-ID;缺少必需的请求头 X-Data-Domain", "duration_seconds": 0.02242333290632814, "timestamp": "2025-06-27T17:56:50.574229", "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": "严重", "status": "通过", "message": "响应状态码为 200,符合预期 200。", "duration_seconds": 0.017744417069479823, "timestamp": "2025-06-27T17:56:50.592229", "validation_points": [ { "passed": true, "message": "响应状态码为 200,符合预期 200。" } ] }, { "test_case_id": "TC-SECURITY-002", "test_case_name": "敏感字段加密检查", "test_case_severity": "高", "status": "通过", "message": "未在响应中找到需要检查的敏感字段。", "duration_seconds": 0.017382125020958483, "timestamp": "2025-06-27T17:56:50.609879", "validation_points": [ { "passed": true, "message": "未在响应中找到需要检查的敏感字段。" } ] }, { "test_case_id": "TC-LLM-COMPLIANCE-001", "test_case_name": "LLM合规性综合检查", "test_case_severity": "中", "status": "失败", "message": "[API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除] 不通过: 该API使用了GET方法,但其请求体(request body)中包含了复杂的查询条件和过滤逻辑,这通常与创建或更新操作相关的POST/PUT方法相关。根据标准,GET应仅用于简单检索,不应携带复杂查询逻辑的body内容。", "duration_seconds": 3.7937032089103013, "timestamp": "2025-06-27T17:56:54.403838", "validation_points": [ { "criterion": "API应该使用正确的HTTP方法:GET用于检索,POST用于创建,PUT用于更新,DELETE用于删除", "llm_reason": "该API使用了GET方法,但其请求体(request body)中包含了复杂的查询条件和过滤逻辑,这通常与创建或更新操作相关的POST/PUT方法相关。根据标准,GET应仅用于简单检索,不应携带复杂查询逻辑的body内容。" } ] }, { "test_case_id": "TC-RESTful-001", "test_case_name": "核心命名与结构规范检查", "test_case_severity": "高", "status": "通过", "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。", "duration_seconds": 0.06649029196705669, "timestamp": "2025-06-27T17:56:54.470450", "validation_points": [ { "passed": true, "message": "模块名 'dms' 格式正确 (全小写/数字/中划线)。" } ] }, { "test_case_id": "TC-DMS-PAGINATION-001", "test_case_name": "分页参数检查", "test_case_severity": "中", "status": "通过", "message": "跳过检查:API不符合分页参数检查的准入规则(需包含'查询'/'列表'等关键词,且不包含'详情'等关键词)", "duration_seconds": 0.019948542001657188, "timestamp": "2025-06-27T17:56:54.490452", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}", "method": "GET", "summary": "地质单元查询详情", "contains_include_keyword": true, "contains_exclude_keyword": true } ] }, { "test_case_id": "TC-RESTful-004", "test_case_name": "资源集合复数命名检查", "test_case_severity": "中", "status": "失败", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}' 的最后一个路径分段 'cd_geo_unit' 可能不是复数形式,建议对资源集合使用复数命名。", "duration_seconds": 0.030974416062235832, "timestamp": "2025-06-27T17:56:54.521548", "validation_points": [ { "path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}", "segment": "cd_geo_unit" } ] }, { "test_case_id": "TC-RESTful-002", "test_case_name": "资源路径名词检查", "test_case_severity": "中", "status": "通过", "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}' 符合资源名词命名规范。", "duration_seconds": 0.016316875000484288, "timestamp": "2025-06-27T17:56:54.537975", "validation_points": [ { "passed": true, "message": "路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}' 符合资源名词命名规范。" } ] }, { "test_case_id": "TC-DMS-CORE-SCHEMA-001", "test_case_name": "DMS核心存储服务API响应格式检查", "test_case_severity": "高", "status": "通过", "message": "字段'code'在schema中未标记为必填(required);字段'message'在schema中未标记为必填(required);字段'data'在schema中未标记为必填(required);响应schema符合标准格式: {'code':int or number or string, 'message':string, 'data': any}", "duration_seconds": 0.01656849996652454, "timestamp": "2025-06-27T17:56:54.554641", "validation_points": [ { "status_code": "200", "required_fields": [] }, { "status_code": "200", "required_fields": [] }, { "status_code": "200", "required_fields": [] }, { "status_code": "200" } ] }, { "test_case_id": "TC-CORE-FUNC-001", "test_case_name": "Response Body JSON Schema Validation", "test_case_severity": "严重", "status": "通过", "message": "针对 GET 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 (状态码 200) 的响应体 conforms to the JSON schema.", "duration_seconds": 0.02489116706419736, "timestamp": "2025-06-27T17:56:54.579715", "validation_points": [ { "passed": true, "message": "针对 GET 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 (状态码 200) 的响应体 conforms to the JSON schema." } ] }, { "test_case_id": "TC-RESTful-003", "test_case_name": "时间字段ISO 8601格式检查", "test_case_severity": "中", "status": "通过", "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。", "duration_seconds": 0.021597750019282103, "timestamp": "2025-06-27T17:56:54.601393", "validation_points": [ { "passed": true, "message": "在API规范中未找到可供静态检查的时间相关字段(如 format: date-time 或 常见时间字段名)。" } ] }, { "test_case_id": "TC-DMS-URL-VERSION-001", "test_case_name": "DMS API URL版本号检查", "test_case_severity": "中", "status": "通过", "message": "API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}' 正确以'/api/'开头;API路径 '/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}' 包含版本标识: 'v1'", "duration_seconds": 0.01668300002347678, "timestamp": "2025-06-27T17:56:54.618210", "validation_points": [ { "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}" }, { "pattern_matched": "/v\\d+/", "version_string": "v1", "full_path": "/api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}/{id}" } ] }, { "test_case_id": "TC-SECURITY-001", "test_case_name": "HTTPS Protocol Mandatory Verification", "test_case_severity": "严重", "status": "失败", "message": "API通过HTTP (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) 响应了成功的状态码 200,这违反了HTTPS强制策略。", "duration_seconds": 0.017923249979503453, "timestamp": "2025-06-27T17:56:54.636250", "validation_points": [ { "status_code": 200 } ] }, { "test_case_id": "TC-ERROR-4001-QUERY", "test_case_name": "查询参数类型不匹配检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。", "duration_seconds": 0.014920165995135903, "timestamp": "2025-06-27T17:56:54.651229", "validation_points": [ { "passed": true, "message": "跳过测试:在查询参数中未找到合适的字段来测试类型不匹配。" } ] }, { "test_case_id": "TC-ERROR-4001-BODY", "test_case_name": "请求体字段类型不匹配检查", "test_case_severity": "中", "status": "失败", "message": "当请求体字段 'isSearchCount' 类型不匹配时, 业务错误码应为 -1,但实际为 28。", "duration_seconds": 0.013830834068357944, "timestamp": "2025-06-27T17:56:54.665116", "validation_points": [ { "expected_code": -1, "actual_code": 28, "response_body": { "code": 28, "message": "tempor", "data": { "total": 26, "list": [ { "dsid": "93", "dataRegion": "ad amet do voluptate eiusmod", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null } ] } } } ] }, { "test_case_id": "TC-ERROR-4002", "test_case_name": "数值参数越界检查", "test_case_severity": "中", "status": "通过", "message": "跳过测试:未找到具有明确范围限制的数值字段。", "duration_seconds": 0.014164624968543649, "timestamp": "2025-06-27T17:56:54.679342", "validation_points": [ { "passed": true, "message": "跳过测试:未找到具有明确范围限制的数值字段。" } ] }, { "test_case_id": "TC-ERROR-4006", "test_case_name": "非法枚举值检查", "test_case_severity": "中", "status": "失败", "message": "当 body 字段 'logic' 值为 'invalid_enum_h34rbf' (合法值为: ['AND', 'OR']) 时, 业务错误码应为 -1,但实际为 59。", "duration_seconds": 0.01365391700528562, "timestamp": "2025-06-27T17:56:54.693048", "validation_points": [ { "expected_code": -1, "actual_code": 59, "response_body": { "code": 59, "message": "nulla ea velit", "data": { "total": 92, "list": [ { "dsid": "86", "dataRegion": "et laboris", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "92", "dataRegion": "incididunt veniam sunt nisi mollit", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null }, { "dsid": "100", "dataRegion": "velit fugiat deserunt", "gasReleaseMon": null, "gasReleaseYear": null, "releaseGasCum": null } ] } } } ] }, { "test_case_id": "TC-ERROR-4003-BODY", "test_case_name": "缺失必填请求体字段检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。", "duration_seconds": 0.01680508302524686, "timestamp": "2025-06-27T17:56:54.709950", "validation_points": [ { "passed": true, "message": "跳过测试:在API规范中未找到合适的必填请求体字段用于移除测试。" } ] }, { "test_case_id": "TC-ERROR-4003-QUERY", "test_case_name": "缺失必填查询参数检查", "test_case_severity": "高", "status": "通过", "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。", "duration_seconds": 0.019320333027280867, "timestamp": "2025-06-27T17:56:54.729333", "validation_points": [ { "passed": true, "message": "跳过测试:在API规范中未找到合适的必填查询参数用于移除测试。" } ] } ] } ], "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.03", "start_time": "2025-06-27T17:56:54", "end_time": "2025-06-27T17:56:54", "message": "测试阶段因步骤 'List and Find Created Resource' 的状态 (失败) 而中止.", "executed_steps_count": 2, "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": "", "duration_seconds": "0.0000", "timestamp": "2025-06-27T17:56:54+0800", "validation_points": [ { "passed": true, "message": "状态码匹配 (200)." } ], "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_1751018214_0fccd2", "dataRegion": "Feature_1751018214" } ] }, "body": { "version": "1.0.0", "data": [ { "wellCommonName": "TestResource_1751018214_0fccd2", "dataRegion": "Feature_1751018214" } ] }, "data": null, "timeout": 30 }, "extracted_outputs": {}, "context_after_step_summary": { "unique_resource_name": "TestResource_1751018214_0fccd2", "updated_resource_name": "TestResource_1751018214_0fccd2_UPDATED", "unique_feature_value": "Feature_1751018214", "updated_feature_value": "Feature_1751018214_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" } }, { "step_name": "List and Find Created Resource", "description": null, "lookup_key": "地质单元列表查询", "resolved_endpoint": "POST /api/dms/{dms_instance_code}/v1/cd_geo_unit/{version}", "status": "失败", "message": "Resource not found: Name 'TestResource_1751018214_0fccd2' (field: wellCommonName) not found in list at path 'data.list'.", "duration_seconds": "0.0000", "timestamp": "2025-06-27T17:56:54+0800", "validation_points": [ { "passed": true, "message": "状态码匹配 (200)." }, { "passed": false, "message": "Resource not found: Name 'TestResource_1751018214_0fccd2' (field: wellCommonName) not found in list at path 'data.list'." } ], "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/1.0.0", "headers": { "tenant-id": "your-tenant-id", "Content-Type": "application/json", "Accept": "application/json", "Authorization": "Bearer your-test-token" }, "params": { "pageNo": 1, "pageSize": 10 }, "json_data": { "isSearchCount": true, "query": { "fields": [ "dsid", "wellCommonName", "dataRegion" ], "filter": { "key": "wellCommonName", "symbol": "=", "realValue": [ "TestResource_1751018214_0fccd2" ] } } }, "body": { "isSearchCount": true, "query": { "fields": [ "dsid", "wellCommonName", "dataRegion" ], "filter": { "key": "wellCommonName", "symbol": "=", "realValue": [ "TestResource_1751018214_0fccd2" ] } } }, "data": null, "timeout": 30 }, "extracted_outputs": {}, "context_after_step_summary": { "unique_resource_name": "TestResource_1751018214_0fccd2", "updated_resource_name": "TestResource_1751018214_0fccd2_UPDATED", "unique_feature_value": "Feature_1751018214", "updated_feature_value": "Feature_1751018214_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_1751018214_0fccd2", "updated_resource_name": "TestResource_1751018214_0fccd2_UPDATED", "unique_feature_value": "Feature_1751018214", "updated_feature_value": "Feature_1751018214_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": [] }