How to add test execution result with statuses of steps from API
Hello, i am working to integrate my c# and MSTest solution to cucumber studio, we are using BDD format scenarios/tests and need to add test execution results with status for each step, but as you see from the screenshot, there is no such support for it... can you help me with that?Solved6.8KViews0likes8CommentsGetting 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.5KViews0likes1CommentAPI - Allow SLA detail and SLA Summary reports to include multiple devices.
We intend to do most of our reporting via API-obtained data, we would prefer the API feature was enhanced to support multiple devices for SLA Detail. We would also like an API call for the SLA Summary report.5.3KViews3likes1CommentAllow setting ReadyAPI working directory for user
Feature request:Please consider adding aglobal log file location and removing the dependency on the bin/ directorybeing writeable by the user running ReadyAPI (or testrunner.sh, etc). Evenbetter would be if you would support using a variable in the path, orsimply relative paths, so that the ReadyAPI logs of one project could beplaced under the project's working directory. I'm not overly familiar with ReadyAPI but I imagine the ideal location inwhich to specify a log path would be in soapui-settings.xml. Background (as per our forum post and support ticket): We have installed in a system-wide location at /opt/SmartBear/ReadyAP-1.2.2, but unless we make the bin/ subdirectory of that path writeable by the user (not a good idea!) the software refuses to start. Even giving write permissions to all of the individual log files that ReadyAPI expects to write to is insufficient. It requires write access to the bin/ subdirectory. If I temporarily make bin/ writeable, I can launch the GUI, run tests, etc. Even if installed into a user's home directory, we'd prefer for logs not to be created in the same dir as the binaries. I have so far tried setting global properties as follows using the GUI: Name: soapui.logroot /home/user/soapui-workdir user.dir /home/user/soapui-workdir Neither of these worked when running our test suite, even after restarting the ReadyAPI GUI. I have tried various combinations but ended up having to make our user theowner of the directory for ReadyAPI to even launch at all. I had consideredediting soapui-log4j.xml but thought it was bad form to do so (and it'slikely changes will be over-written next time we upgrade ReadyAPI). I think many *nix systems administrators would be concerned about the factthat ReadyAPI requires write access to the binaries directory (not just thelog files in it, but the whole directory).4.6KViews0likes2CommentsSoapUI Java API sending simple Http POST
Hi, I'm using Soap UI java API for some basic functionality, such as sending soap requests and running a wsdl mock service. Now however I want to simply create a default project; a test suite; a test case and a http request test step. But I can't find out how to go about this using the Java API. Since I have no wsdl I only want to maka a simple HTTP POST call. Setting this up in SoapUI gui, no problems but I don't get which java methods to use when doing this programmatically. Can anyone give me a pointer, or two? Thanks in advance! // Nisse BakkerudSolved4.5KViews0likes3CommentsERROR: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.4KViews0likes3CommentsAdd 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.2KViews0likes6CommentsZephyr 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.7KViews0likes6CommentsCalling a REST API from a keyword test
Ok... I've looked at the docs and searched the web, and I can't believe I haven't found an obvious answer to this question: Is there an easy way for me to call a REST API during my keyword test and easily extract an answer from the result? Here are a couple of scenarios I need to implement: I want to call the API at https://validator.w3.org/nu to validate the HTML markup on each of my web pages As part of my website's "Forgot my password" workflow, the user has to enter a validation code that I send to the user's phone. I would like to expose an API on my website that returns the validation code for my "test user" account, so that I can fetch the validation code and enter it on the page in my workflow where the user would read it from the phone and manually enter it.Solved3.4KViews0likes5CommentsHidden or read-only Review Custom Fields
We have developed an integration from a document-management system that uses one review custom field to store foreign document id and version information. When the review is created this information is provided from the other system through the JSON API. Obviously we do not want the GUI Client users to change this field, but currently Collaborator does not allow this. To make life easier in this kind of use cases, I propose Collaborator admin section to have following extra (boolean) settings for review custom fields: hidden, only to be modified/read through the API read-only, visible in GUI, butmodifiable only through the API3.2KViews1like0Comments