测试计划 CODEARTS TESTPLAN-Swagger脚本结构体缺少定义:问题现象

时间:2025-04-16 16:18:30

问题现象

  1. Swagger 2.0文件,提示“Cannot invoke "com.huawei.apitest.attoolcommon.handler.TxmlStructDef.isMapObject()" because "structDef" is null in 'swagger_error.json'”报错信息。
  2. Swagger 3.0文件,StructResp中或者其引用中存在定义错误“StructReq未被定义”
support.huaweicloud.com/testman_faq/testman_faq_0025.html
提示

您即将访问非华为云网站,请注意账号财产安全