Reading excel column into property, parsing REST response for property member
In a test case, I have a data source step. It reads a column range into a property. When I run the step, the data log shows each row from the desired column range. I have a REST request after data step. I would like to make assertions to the response to check that each row member of the property from the data step appears in the response. This does not need to be directly checking items in the same index, as the order may change. I want to check only that each item from data property is in the JSON response.Solved2.6KViews0likes8CommentsDoes it make sense to apply Required to a response schema field?
Up until now, I have set Required=true only for request schema fields. For response schema fields that I know won't be populated with null, I have set Nullable=false. Now, for the sake of Microsoft's AutoRest tool and the code it generates, I am being asked to set Required=true as well as Nullable=false for response fields. Does this make sense semantically? To my mind, it doesn't. I know you can set Request=true for response fields, but does it make sense to do so?705Views0likes0CommentsHow to validate whether an array of objects in the response is sorted by a field ??
Sample Response { "result": { "list": [ { "proceduresId": 282, "name": "dark knightnew batch workflow 123", "templateId": null, "isLocked": 0 }, { "proceduresId": 281, "name": "latest_trendsnew batch workflow 123", "templateId": null, "isLocked": 0 }, { "proceduresId": 284, "name": "new batch workflow 123", "templateId": null, "isLocked": 0 }, { "proceduresId": 280, "name": "new batch workflow 123new batch workflow 123", "templateId": null, "isLocked": 0 } ], "count": 4 }, Hi, I am trying to write a script assertion to validate whether the objects in list array are sorted by "proceduresId" field. Please help. Thanks HarshaSolved1.6KViews0likes2CommentsSoapUI version 5.5 Does Not Decrypt The Response
I have a test project that can call my webservice without issue and get back a response as it should. I can see on the server logs that the request SoapUI recieves is exactly what was sent. The trouble is that SoapUI does not decrypt the response. I have configured it with incoming wss that uses the correct Decrypt key store. Reading other threads, it was suggested that the following libraries be replaced for similar issues. I replaced them and restarted SoapUI, but to no avail. wss4j-1.6.16.jar replaced with wss4j-1.6.18.jar xmlsec-1.4.5.jar replaced with xmlsec-1.5.8.jar Has anyone had similar issues that they were able to solve?751Views0likes0CommentsReadyAPI- How to assert 2 test runs based on date in response?
Hello, As our project is evolving fearcely I'm now on a crossroad to assert that my response from the new run is updated with the latest version of the third party. Some explanations: Testrun1: Response comes from our environment in JSON format that was filled through ETL with an image from a third party. It should contain a 'PDCMetaData' (wrong notation in the screenshot) and a 'PDCData' node (with content that differse for each project). In the 'PDCMetaData' there's a DateTime stamp in 'authorityProcessingDateTime' that shows e.g. 31/12/2018 It should look something like this: TestRun2: A new version was uploaded through ETL to our environment and the DateTime in 'PDSMetaData' is now 31/12/2019. How can I assert that this date is changed and shows me that a new version is present? Could anybody give me an idea please? Thanks in advance, Kind Regards, AboveAndBeyond1.1KViews0likes2CommentsSOAPUI response with attachment
I have a SOAP call which gets a file in the response. It is a gz file. I want to get this gz file. In the Attachments tab of the response, I do see a file abc.gz, with Content-type application/gzip, and Type XOP. I have tried setting up the Request Properties - I have Enable MTOM as true. I have also specified a dump file. The dump file is not a gzip file, but a XOP file. It has a header --uuid:273aa462-94dc-405a-9972-82904edfb02e Content-Type: application/xop+xml; charset=UTF-8; type="text/xml" Content-Transfer-Encoding: binary Content-ID: <[email protected]> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:abcResponse xmlns:ns2="<url>"><return><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:[email protected]"/></return></ns2:abcResponse></soap:Body></soap:Envelope> --uuid:273aa462-94dc-405a-9972-82904edfb02e Content-Type: application/gzip Content-Transfer-Encoding: binary Content-ID: <[email protected]> Content-Disposition: attachment;name="abc.gz" and the rest is binary data. My question is - how do I extract just the gz file from this?3.6KViews0likes2Commentscomparing two xml response
hi i am shifting my svc service to different platform and i would like to test both services the original and the new one with same request and compare the response. the response is not 100% identical i have element with execution time that i need to ignore. also the response contain UTF-8 Characters, any suggestions for simple solution?3.1KViews0likes6CommentsRequest and Response URI different in Ready API and SoapUI NG Pro
Hi Guys, We are having an issue with the Ready API which is showing the Response URL different from the Request URI. This is the reason we are not able to switch to Ready API from SoapUI. We have analysed the traffic with Fiddler and our Response is originating from the URI that is mentioned in the Request Please find the screenshot for reference.2.5KViews0likes6CommentsHow to Access Htttp Log from SOAP UI using the soap ui API
Hi, I am using the following code for capturing the http log from SOAP UI : def logArea = com.eviware.soapui.SoapUI.logMonitor def logPanel logPanel = logArea.getLogArea("http log") which works fine when run from SOAP UI itself. How can we access the http log when running the groovy script when SOAP ui interface is not open. For ex: I am running this from ANT. Is there any way I can use the SAOP UI API to capture this http log ? Basically I want to capture request/responses between redirects. Any help appreciated.Thanks1.7KViews0likes2Comments