TestRun
Upload blob data as an attachment to the given test case result in a given test run
Upload blob data (in the request body) as an attachment to the given test case in a test run, with the blob metadata specified in the query parameters
post/testrun/upload-attachment/{trId}/{tcId}
Request
- Base URLhttps://app.testiny.io/api/v1
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
trIdinteger required
The id of the Test Run
tcIdinteger required
The id of the Test Case in the specified run the attachment will be added to
Query parameters
titlestring required
The title for the attachment
filenamestring required
The file name for the attachment (must be a valid cross-platform file name without path)
mime_typestring
The mime type for the attachment - if not specified uses body content type
Request body application/octet-stream
string binary required
Response
Returns 'Blob'
Example response
{
"created_at": "1970-01-01T00:00:00.000Z",
"modified_at": "1970-01-01T00:00:00.000Z",
"deleted_at": "1970-01-01T00:00:00.000Z",
"external_key": "PROJ1_A123456",
"data": "BASE64 BLOB DATA"
}Changes
No recorded changes to this operation across all 1 revision of this API.