Unable to update test case execution status using the "Create test execution" Zephyr Scale Cloud API
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2022
07:06 PM
11-26-2022
07:06 PM
Unable to update test case execution status using the "Create test execution" Zephyr Scale Cloud API
Unable to update test case execution status using the "Create test execution" Zephyr Scale Cloud API
Could some one please tell me how we could update the test execution status for a given test case in a test cycle as Pass or Fail via Zephyr Scale Cloud API?
Any sample api request would help.
Request response below:
Request:
{
"projectKey": "PRJ",
"testCaseKey": "PRJ-T3",
"testCycleKey": "PRJ-R1",
"statusName": "Low",
"testScriptResults": [
{
"statusName": {
"value": "Pass"
},
"actualEndDate": {
"value": "2022-11-27T13:15:13Z"
},
"actualResult": "User logged in successfully"
}
],
"environmentName": "Chrome Latest Version",
"actualEndDate": "2022-12-01T15:41:09.447Z",
"executionTime": 120000,
"executedById": "xyz",
"assignedToId": "xyz",
"comment": "Test passed"
}
Response:
{
"errorCode": 400,
"message": "Invalid Payload"
}
This did not help: https://support.smartbear.com/zephyr-scale-cloud/api-docs/#tag/Test-Executions/operation/createTestE...
Thanks in advance!
Labels:
- Labels:
-
InsideZephyrScale
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022
01:27 AM
11-29-2022
01:27 AM
Hi. I'm not using the API much at the moment - not enough to be able to offer advice - but the documentation is not as helpful as I would like it to be. There are others in the community with API experience but am not sure how long you might wait for a response.
You could contact the SmartBear support team here for advice
Need more help? Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/andrew-barbet-548a234/
