Zephyr Cloud API - automated creation of execution
Dear Community, I'm new to Zephyr cloud so pardon is the issue seems obvious to you. I've been using the ZAPI to certain endpoints as described in the documentation so far successfully but encountered a problem with some. A most import feature we would like to implement is automated creation/update of test execution, not by a test manager, but ourselves using the code itself at the SetUp/TearDown stages of the test. For this end I've been using the "Create Execution" and "Update Execution" APIs. I was using them them same way I've been using the other endpoints and according to the documentation, but for the execution creation I have been receiving an error: Internal Server Error{"errorType":"ERROR","clientMessage":"We encountered some problems during processing this request. Please try again!","errorCode":104} Searching the web I've seen this error has risen more than a couple of times and probably having something to do with the JWT generation but I'm not certain of that as i've followed the instruction for JWT generation to the letter. the URL for request (GET): https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/execution request headers: { "Authorization": "JWT eyJ0...Xu0I", "Content-Type": "application/json", "zapiAccessKey": <Zephyr access key> } request body (json): {"status": {"id": 1}, "projectId": <project_id>, "issueId": <issue_id>, "versionId": <version_id>} having said that, I must emphasize that the update execution API does indeed work when manually creating the execution using the UI and just updated the execution with the executionId. Sincerely hoping for some intake on that. edit: neglected to mention that trying to use the "try it now" console option from the official documentation with the example body and default headers, yields the exact same results - error 104 (https://zfjcloud.docs.apiary.io/#reference/execution/add-tests-to-folder/create-execution?console=1)Solved3.7KViews0likes6CommentsHow attach files after an automated execution
A few weeks ago we purchased Zephyr Scale for Jira Cloud. I know how it works on Server version and now I implemented the cloud version for execution test, there I don't have any issues, however after an execution I can't upload files like the server version, where the url is like this "/testresult/{testResultId}/attachments" to post a file from a previous result. I'm trying to figure out how I can upload files, but checking the API information I could use "/automations/executions/custom" and I'm getting the following response: { "errorCode": 400, "message": "Couldn't find any mapped test cases", "status": "Bad Request" } How I can resolve this? Are there any alternatives for cloud version to accomplish this? In this place for Server version I was able to upload files after an execution with"/testresult/{testResultId}/attachments", for example:2.6KViews0likes3CommentsExport Test Cases including "Details", "Test Script" and "Execution"
Hello, I am familiar with how to export Test Cases and it works smoothly if you are interested in the Details and the Test Script sections. However, what I have not yet figured out, is how to export the "Execution" section as well. Reason why: we are moving from one JIRA instance to another and due to auditing reasons I need to export all Test Cases (incl. details, test scripts and execution) from the old instance and import these Test Cases to the new JIRA instance. Thank you for your help in advance! Regards, FlorianSolved2.2KViews1like4CommentsTest suit only runs the first test case
Hi, some people in the team is facing a problem when are trying to execute a Test Suite. Only the first test cases runs. The execution of the 1st test case ends properly, but Soap doesn't continue executing the rest of the test cases. It happens with all the Test Suites (some of them have been executed for months). Any idea? Thanks in advance1.7KViews0likes3CommentsExecuting a Project from Azure DevOps resets Project Variables
Hello SmartBear Community, My current project is testing a shopping cart. Therefore i created a new TestComplete Project Suite and added one Project. The flow is as following - one ore more KeyWord Tests each: - Open the Browser and Navigate to the User Selection for Edition and License Amount - Select a Edition and enter a RNG Amount of Licenses - Put the Amount of Licenses and the calculated Price each into a String Variable ("Transfer Variable" from one page to the next) - Compare the Amount of Licenses and the calculated Price from the Variables with the ones shown in the Shopping Cart Whilst this flow works flawless on my local System when i start the Project / Project Suite, starting it via Azure DevOps DISCARDS the Project Variables between the KeyWord Test since the Assemblies are not loaded as whole project but one KeyWord Test after another. I logged each step so i can 100% confirm the variables are discarded after the KeyWord Test is done. That is my first time working with Project Variables in DevOps, all other DevOps Tests work flawless so far. Did anyone already experience that same challenge and how did you fix it? Update: Using ProjectSuite Variables instead of Project Variables bears the same issue. Thank you very much in Advance & Best Regards MichaelSolved1.6KViews1like5CommentsRetrieving Zephyr Test Execution HISTORY via ZAPI
Hi All I can see that the history of an individual execution is retained, and it can be shown on the screen when you review a particular execution (see attachment). I would like to be able to access this information via ZAPI, but I can't work out if this is possible. Could you advise please Steve (PS - this is not Zephyr Standalone - it is Zephyr for JIRA - but I could not find that in the dropdown list)1.5KViews0likes1CommentMove an Execution to a Cycle
Users have created executions ad hoc from the traceable issues instead of in a cycle. I cannot figure out how to move the execution into the cycle so we can appropriately report/track progress. There are too many notes and attachments to make manually moving everything reasonable.Solved1.4KViews0likes1CommentFind tests without test execution
Hello, we are using Zephyr Squad6.1.1.61109179 on JIRA Server and have the following issue: We have a lot of test cases, some with executions, some without. However, i have not figured out yet how to search for Tests in JIRA where no execution has been created yet and get a list of those issues. So far what i have read it seems like the issue is, that in JÌRA i can search for tests with JQL and in Zephyr with ZQL? But combinating it is not that easy.976Views0likes0Comments