Update Testcase
Replace the data of an existing Testcase while keeping its ID.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the Testcase to update.
"248"
Body
The JSON data of the Testcase, which is validated against the Testset's schema.
Response
A test case in the Scorecard system. Contains JSON data that is validated against the schema defined by its Testset.
The inputs
and labels
fields are derived from the data
field based on the Testset's fieldMapping
, and include all mapped fields, including those with validation errors.
Testcases are stored regardless of validation results, with any validation errors included in the validationErrors
field.
The ID of the Testcase.
The ID of the Testset this Testcase belongs to.
The JSON data of the Testcase, which is validated against the Testset's schema.
Derived from data based on the Testset's fieldMapping. Contains all fields marked as inputs, including those with validation errors.
Derived from data based on the Testset's fieldMapping. Contains all fields marked as labels, including those with validation errors.
Validation errors found in the Testcase data. If present, the Testcase doesn't fully conform to its Testset's schema.