Open
Description
is there any possibility to publish test steps results?
At ADO this endpoint is - https://dev.azure.com/organization/40067afb-7d94-4832-8565-aaaaaaaaaaaa/_api/_testresult/Update?teamId=&__v=5
Request body is
{"updateRequests":"[{\"testResultId\":100000,\"testRunId\":573,\"testCaseResult\":{\"outcome\":3,\"errorMessage\":\"\",\"comment\":\"\",\"dateStarted\":\"\\/Date(1675933507890)\\/\",\"dateCompleted\":\"\\/Date(1675933603674)\\/\",\"duration\":943610000,\"id\":{\"testResultId\":100000,\"testRunId\":573},\"testCaseId\":3,\"configurationId\":1,\"configurationName\":\"Windows 10\",\"testPointId\":1,\"revision\":0,\"state\":3,\"owner\":\"230e55b4-9e71-6a10-a0fa-780a87894418\",\"runBy\":\"230e55b4-9e71-6a10-a0fa-780a87894418\",\"testCaseTitle\":\"Should page opened\",\"testCaseArea\":\"\",\"dataRowCount\":0,\"testCaseRevision\":3,\"priority\":2,\"planId\":4,\"_events\":{\"_namedHandlers\":{\"DIRTY-CHANGED\":{\"_handlers\":[null]}}}},\"actionResults\":[{\"outcome\":3,\"errorMessage\":\"\",\"comment\":\"\",\"dateStarted\":\"\\/Date(1675933509312)\\/\",\"dateCompleted\":\"\\/Date(1675933603673)\\/\",\"duration\":943610000,\"actionId\":0,\"actionPath\":\"\",\"parent\":null,\"isSubStep\":false,\"indexString\":\"\",\"id\":{\"testRunId\":573,\"testResultId\":100000},\"iterationId\":1,\"revision\":0},{\"outcome\":2,\"errorMessage\":\"BUG\",\"comment\":\"\",\"dateStarted\":\"\\/Date(1675933509313)\\/\",\"dateCompleted\":\"\\/Date(1675933509313)\\/\",\"duration\":0,\"actionId\":3,\"actionPath\":\"00000003\",\"parent\":null,\"isSubStep\":false,\"indexString\":\"2.\",\"iterationId\":1,\"id\":{\"testRunId\":573,\"testResultId\":100000},\"actionLogTimeStamp\":\"\\/Date(1675933782828)\\/\"}],\"actionResultDeletes\":[],\"parameters\":[],\"parameterDeletes\":[]}]"}
parsed updateRequests object
[
{
"testResultId": 100000,
"testRunId": 573,
"testCaseResult": {
"outcome": 3,
"errorMessage": "",
"comment": "",
"dateStarted": "/Date(1675933507890)/",
"dateCompleted": "/Date(1675933603674)/",
"duration": 943610000,
"id": {
"testResultId": 100000,
"testRunId": 573
},
"testCaseId": 3,
"configurationId": 1,
"configurationName": "Windows 10",
"testPointId": 1,
"revision": 0,
"state": 3,
"owner": "230e55b4-9e71-6a10-a0fa-780a87894418",
"runBy": "230e55b4-9e71-6a10-a0fa-780a87894418",
"testCaseTitle": "Should page opened",
"testCaseArea": "",
"dataRowCount": 0,
"testCaseRevision": 3,
"priority": 2,
"planId": 4,
"_events": {
"_namedHandlers": {
"DIRTY-CHANGED": {
"_handlers": [
null
]
}
}
}
},
"actionResults": [
{
"outcome": 3,
"errorMessage": "",
"comment": "",
"dateStarted": "/Date(1675933509312)/",
"dateCompleted": "/Date(1675933603673)/",
"duration": 943610000,
"actionId": 0,
"actionPath": "",
"parent": null,
"isSubStep": false,
"indexString": "",
"id": {
"testRunId": 573,
"testResultId": 100000
},
"iterationId": 1,
"revision": 0
},
{
"outcome": 2,
"errorMessage": "BUG",
"comment": "",
"dateStarted": "/Date(1675933509313)/",
"dateCompleted": "/Date(1675933509313)/",
"duration": 0,
"actionId": 3,
"actionPath": "00000003",
"parent": null,
"isSubStep": false,
"indexString": "2.",
"iterationId": 1,
"id": {
"testRunId": 573,
"testResultId": 100000
},
"actionLogTimeStamp": "/Date(1675933782828)/"
}
],
"actionResultDeletes": [],
"parameters": [],
"parameterDeletes": []
}
]