Hi,
I am trying to create a report that includes the pass/fail of each individual test step of a test case execution. I am able to gather the executed Zephyr test case details but I can't find the results of each test step. Is there a way I can gather this information using Zapi?
Executed Test Case Data:
"id": 891,
"orderId": ,
"cycleId": ,
"cycleName": "",
"issueId": "",
"issueKey": "",
"issueSummary": "",
"labels": [
],
"issueDescription": "<p>test</p>",
"projectKey": "",
"projectId": ,
"project": "",
"projectAvatarId": ,
"priority": " ",
"components": [
],
"versionId": -1,
"versionName": "Unscheduled",
"status": {
"id": 1,
"name": "PASS",
"description": "Test was executed and passed successfully.",
"color": "#75B000",
"type": 0
},
"executedOn": "12/Nov/19",
"creationDate": "12/Nov/19",
"comment": "",
"htmlComment": "",
"executedBy": "",
"executedByUserName": "",
"executionDefects": [
],
"stepDefects": [
],
"testDefectsUnMasked": [
],
"stepDefectsUnMasked": [
],
"executionDefectCount": 0,
"stepDefectCount": 0,
"totalDefectCount": 0,
"executedByDisplay": "",
"assignee": "",
"assigneeUserName": "",
"assigneeDisplay": "",
"canViewIssue": true
}
@Mi5trB - Please try using the Zephyr API documentation for getting the Test Step results
https://zfjcloud.docs.apiary.io/#reference/stepresult/get-stepresult/get-stepresult
Regarding Zephyr for Jira Server:
Does the Server edition have an equivalent endpoint?
I cannot find test results or step results documented. What am I missing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.