Upserts a new test case for a test suite, keying off of the optionally provided test case id.
If an id is provided and has a match, the test case will be updated. If no id is provided or no match is found, a new test case will be appended to the end.
Note that a full replacement of the test case is performed, so any fields not provided will be removed or overwritten with default values.
Either the Test Suites’ ID or its unique name
Values for each of the Test Case’s input variables
Values for each of the Test Case’s evaluation variables
The Vellum-generated ID of an existing Test Case whose data you’d like to replace. If specified and no Test Case exists with this ID, a 404 will be returned.
An ID external to Vellum that uniquely identifies the Test Case that you’d like to create/update. If there’s a match on a Test Case that was previously created with the same external_id, it will be updated. Otherwise, a new Test Case will be created with this value as its external_id. If no external_id is specified, then a new Test Case will always be created.
A human-readable label used to convey the intention of this Test Case