Article - CS400111
"IllegalArgumentException - testSteps[0] is not a valid testSteps row value" error when trying to add test steps through Codebeamer REST API
Modified: 24-May-2024
Applies To
- Codebeamer 22.10 22.10 to 2.1
Description
- Upon updating the test steps for a test case through REST API (v1), for example:
-
PUT [http://localhost:8080/rest/item/] { "uri": "/item/1001", "testSteps": [ [ "My Action", "My Expected Result", false, null ] ] }
-
- The server will return HTTP Error 400 and the following message:
-
{ "exception": "IllegalArgumentException", "message": "\"testSteps[0]\" is not a valid \"testSteps row\" value." }
-
This is a printer-friendly version of Article 400111 and may be out of date. For the latest version click CS400111