技术文章 - CS400111
尝试通过 Codebeamer REST API 添加测试步骤时出现“IllegalArgumentException - testSteps[0] 不是有效的 testSteps 行值”错误
已修改: 24-May-2024
适用于
- Codebeamer 22.10 22.10 to 2.1
说明
- 通过REST API (v1)更新测试用例的测试步骤时,例如:
PUT [http://localhost:8080/rest/item/] { "uri": "/item/1001", "testSteps": [ [ "My Action", "My Expected Result", false, null ] ] }
- 服务器将返回HTTP 错误 400和以下消息:
{ "exception": "IllegalArgumentException", "message": "\"testSteps[0]\" is not a valid \"testSteps row\" value." }
这是文章 400111 的 PDF 版本,可能已过期。最新版本 CS400111