polarion_add_test_record
Record a test result for a Test Case in a Test Run, including status, comment, timestamp, and duration, with optional dry-run validation before writing.
Instructions
Record a test result for a Test Case in a Test Run. Requires write access.
Args: test_run_id: Test Run id. test_case_id: Test Case Work Item id. result: Result id, typically 'passed', 'failed', 'blocked' or 'notApplicable'. Valid values are project-configurable; check the project's enumeration. project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. comment: Optional execution comment. executed: ISO-8601 timestamp; defaults to server time when omitted. duration: Optional duration, e.g. 'PT5M30S' (ISO-8601) or '330'. dry_run: Build the request without sending it.
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_run_id": "<test_run_id>",
"test_case_id": "<test_case_id>",
"result": "<result>"
},
"name": "polarion_add_test_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| comment | No | ||
| dry_run | No | ||
| duration | No | ||
| executed | No | ||
| project_id | No | ||
| test_run_id | Yes | ||
| test_case_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||