Test run creation request creates a test run but doesn't add any test
Hello everyone! My problem is that I've tried to use Cucumber Studio API and as I suppose I did it in the wrong way. I've tried to create a test run with a bunch of test usinghttps://studio-api.cucumber.io/#create-a-test-runcommand. That's how it looks like POST https://studio.cucumber.io/api/projects/XXXXXXX/test_runs Body : {"data":{"attributes":{"name":"XXXXXXXX","description":"Pls work","scenario_ids":[37372314,37372316,37372317]}}} Headers : (5) uid : XXXXXXXXXXXX Accept : application/vnd.api+json; version=1 access-token : XXXXXXXXXXXX Content-type : application/json client : XXXXXXXXXXXX And it creates a test run but it looks like As well I tried update command but it works the same way. The server answer with a positive code 201 and tells me that everything is OK [Success: {"data":{"id":"XXXXXXX","type":"test-run","attributes":{"created-at":"2023-02-06T09:41:13.126Z","updated-at":"2023-02-06T09:41:13.126Z","last-author":"XXXXXXXXXX","name":"XXXXXXXXXXXXXX","description":"Pls work","statuses":{},"archived":false,"external":false},"relationships":{"tags":{}},"links":{"self":"/test-runs/XXXXXX"}}}] What am I doing wrong?854Views0likes0CommentsAdd tests to cycle via API
Hello all, I am so sorry to bother you every day. Today I want to add a tests into a test cycle via API. I tried to use the following link https://zfjcloud.docs.apiary.io/#reference/execution/get-execution/add-tests-to-cycle I created a JWT for the endpoint, used the body which is included on the mentioned link, adjusted the values, but I am getting the error"method field is required.". If I saw correctly it is not included in the body. Can you help me with this? As always I am including some screen shots. Thanks for the tips, TiborSolved4.2KViews0likes6CommentsExtract Substring from API response Variable in Alertsite API Monitor
It would be great if alertsite can enhance the feature withExtracting Substring from API response Variable in Alertsite API Monitor. For example: We have our api monitor in one of the step it provides the JSON reponse; we are able to fetch the variable from JSON output, but we will need only certain part of the variable to pass it to next step. We can achieve it in readyAPI but when it uploads in alertsite it fails too. From the below response; we need to fetch the query param value and store it in a variable. is it possible? "loginUrl": "https://XXXXX/consumer/XXXX?queryparam=99838fae12f1d3c556a3c6325edc5d49f6ca5e22a22ee5f957b65a32dff05636fa244af950b9138785430e7370ea2246b2575370eff3b857f3ed1efbef1a0d4b&merchantId=f0da4c98-aff4-4a37-bb4e-c52b3b7c1870&merchantName=Merchant%20Four" This feature will provide may users the flexibility of extracting any substring from the stored variable or directly store the substring as variable. Reference Case:Case #004536421.3KViews2likes1CommentZephyr 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.7KViews0likes6CommentsNo syntax error in SwaggerHub - but cannot download a resolved YAML file
Hi, I have a valid Swagger definition (or at least SwaggerHub doesn't report any errors) - but when I try to download the resolved YAML file (or the resolved JSON file) an error is displayed: How do I find out where the error is? (I am aware that I have a definition that is declared but never used - but that can hardly be the problem!?!) Link to API: https://app.swaggerhub.com/apis/dcsaorg/DCSA_TNT/2.1.0Solved1KViews0likes2CommentsGet Progress Information in Cycle by API
Could we get Progress(or detail status) Information by api when we send get cycle request? According to this site https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createTestCycle We can get only status (not executed, done).1.4KViews0likes1CommentGetting started with API, having trouble
I was met with the following message many times. I tried letting it just post, no luck. I tried finding the invalid HTML, no luck. So please read the attached word doc to understand my issue. I am having troubles with calling the API. Login works, but subsequent calls do not.5.5KViews0likes1CommentERROR:java.net.SocketException: Connection reset
Running SoapUI 5.0.0 Trying to send a SOAP document to an EHR API and am getting the above error. The detail after that line looks similar to the other reported issues of this type: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.security.ssl.InputRecord.readFully(Unknown Source) at sun.security.ssl.InputRecord.read(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source) at sun.security.ssl.AppOutputStream.write(Unknown Source) and there is no other clues offered in the text below this group. Sending a REST message works just fine, but SOAP is the standard for the set of APIs that my team is working with. I tried removing each header line individually, performing a test run between each removal: HOST = <servername>.corp.<domain>.com SOAPAction = "urn:<ehrsystem-com>:PatientAccessMobile.2020.Services.GetMessageDetail" Accept-Encoding = gzip,deflate User-Agent =Apache-HttpClient/4.5.5 (Java/12.0.1) Connection = Keep-Alive Content-Type = text/xml;charset=UTF-8 <ehr>-Client-ID = 087fee8d-4259-49ae-8da9-99bdeeb33636 Authorization = Basic ZW1wOjExNTU6ZXBpYw== ... and setting up Basic authorization. Nothing seems to work. I did not edit the XML doc, because the project file is from my team lead, who was successfully communicating with the API via ReadyAPI. Just wondering if version 5.0.0 is too old or I missed something. Thanks.4.4KViews0likes3Comments