product_record_test_run
Record automated test results in Spira by specifying test case ID, execution status, and messages. Capture pass/fail outcomes with error counts for accurate reporting.
Instructions
Record an automated test result in Spira.
execution_status_id: 1=Failed, 2=Passed, 3=Not Run, 4=N/A, 5=Blocked, 6=Caution. test_case_id is the numeric ID without TC prefix (e.g. 12 for TC:12). short_message should be 50 chars or less.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"test_name": "<test_name>",
"short_message": "<short_message>",
"long_message": "<long_message>",
"error_count": "<error_count>",
"test_case_id": "<test_case_id>",
"execution_status_id": "<execution_status_id>"
},
"name": "product_record_test_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_name | Yes | ||
| product_id | No | ||
| error_count | Yes | ||
| long_message | Yes | ||
| test_case_id | Yes | ||
| short_message | Yes | ||
| execution_status_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |