ContributionsMost RecentMost LikesSolutionsRe: how to validate JSON schemas with arrays ? Hi Tanya, I have reviewed the link you provided, but it does not relate to the specific question I am asking. how to validate JSON schemas with arrays ? The JSON structure of my customers' project LTNG uses _items tags everywhere, and that seems to confuse and defeat the normal JSON schema assertion validation features, eg. the "required" keyword ... I need some help figuring this out. I cannot find anywhere on the internet which explain how to deal with the _items tags ... a link would be helpful ... or somebody to discuss it with. I cannot figure out how to embed "required" statements into a schema using nested "_items" The "required" keyword statements work only at the top level, but when I try to insert into nested branches it is ignored ... I cannot find an example on the internet where somebody has used the _items feature in conjunction with "required" statements .... just wondering if somebody has any insight into that...... The standard schemas in the net generally have the "properties" keyword, but this project JSON does not seem to use that. Sample JSON snippet: { "uuid": "34h43436j346j", "firstName": "Jane", "lastName": "Doe", "suffix": null, "middleName": "Eve", "nickname": "Jan", "personalTitle": null, "birthDate": "1996-03-16", "deathDate": null, "gender": { "name": "Female", "uuid": "243h646j" }, "createdOn": "2016-12-13T04:53:46Z", "updatedOn": "2016-12-13T04:53:46Z", "version": 0, "connections": { "_items": [ { "fromDate": null, "personUuid": null, "sequenceId": 2, "sourceUuid": "4tmtmtme75", "target": { "birthDate": "1995-04-24", "connections": { "_items": [] }, "contactMechanisms": { "_items": [ { "contactMechanism": { "address1": "321 American Ave", "address2": "Suite 4", "city": "Jacksonville", "directions": "Top of the hill on the left.", Json Schema compliance validation -- unexpected false pass Using Ready-API I am attempting to set up Json Schema compliance assertion. I have a local web server loading a plain text file with partial schema. I am getting good response from the application under test. To my great surprise I am getting unexpected false pass results from the assertion. The schema specification is incomplete and does not properly match the actual result coming back from the server. I would expect the assertion to fail .... I am very worried about this unexpected pass result, it makes me completely distrust this assertion method. Has anybody else seen this ? Any thoughts ? P.S. There is no documentation concerning the JSON schema assertion type on the smartbear website, I entered a support ticket about that last week but have received no response. Does anybody know how it is supposed to work ? Re: How to change common endpoint used by large number of test cases ? Thanks but I am not working with JDBC connections. That environment properties does not seem to help me. Smartbear tech support showed me that there is an endpoint editor under the Project "tab" button ... which displays all the APIs in that location, and there you can click on the "Endpoints" button which opens the endpoint editor. After editing the endpoint it is necessary to click the "Assign" link. It is a little confusing because even after assigning the new endpoint to all the requests and test cases, Ready-API still shows the old endpoint in the project description information. Thanks, CFR. . Re: Is there a "trust certificates" setting in the free version of SoapUI ? Hi Rupert, regarding the custom SSLSocketFactory, does this relate to a java library somewhere which would need to be edited ? So far I have avoided getting involved with editing SoapUI java code ..... We are having a lot of trouble understanding why this is so difficult to do in the soapUI free version, up until now we have been using Postman where this can be done very easily .... it is making it difficult for me to persuade people to migrate from Postman to SoapUI. Of course we could purchase morel licenses to the professional version, where this problem does not exist. So far the low level of support we are receiving for the licensed testserver product is not encouraging us to buy more licenses. Smartbear claim they support Oauth 2.0, but that is not entirely accurate. Re: How to change common endpoint used by large number of test cases ? Thanks, I appreciate the tip using and editor to edit the project file. Can you provide more details about how you use properties to deal with this ? Thanks, CFR. How to change common endpoint used by large number of test cases ? I have a large number of test cases, dozens, which were written to exercise a set of APIs on a development server. Those APIs have now been migrated to a QA server with a different endpoint root url. I need to re-run all the Ready API test cases against the cloned APIs on the new QA server. The behavior of the APIs o nthe two servers hsould be identical. I have attempted to repoint the APIs, resources and methods on the ReadyAPI project to point to the new endpoint URL. I have found this to be an extremely tedious and labor intensive process. It appear that I have to manually edit every single API, Resource, Method, Test Step and Test case, to make them point ot the new server. There are dozens of them, perhaps a hundred. This is taking me forever..... Am I missing something ? Is there an easier way to do this ? Is there perhaps a utility or service where I can simply enter the new endpoint URL once, and then all the resources, methods and test steps are automatically updated ? Thanks, Charles R. Re: OAuth 2 get token - redirect URL OK this is how it is fixed ... It is really nothing to do with Ready-API nor Soap-UI. On your authentication server there is a so-called "client profile" which has a redirect URL field, and that field can contain anything, but whatever the field contains it needs to be identical to whatever you put in the Oauth2.0 token request screen of Soap-UI. At first this did not work for me because there was something set improperly elsewhere on the server. So I had to do a real time session on voice with the system administrator, where I sent multiple Oauth 2.0 requests and he looked at the error messages in the logs on the server, and eventually he was able to figure out the incorrect settings. I do not know the specifics of what he did. Your mileage may vary. Good luck in your quest ! It took me several weeks before we got to the the root cause of the problem. Re: Is there a "trust certificates" setting in the free version of SoapUI ? The behavior I am seeing is different, specifically, the Open Source SoapUI is NOT trusting self signed certificates, this is apparent when trying to perform Oauth 2.0 authentication. I encountered the same problem in the Pro Ready-API, but solved it there by changing the Internal Browser setting to trust self signed certificates. In the Open Source Version, the SoapUI Internal Browser is not trusting the certificates and the internal browser is not able to open the authentication page. Thanks, CFR. Re: Data Source Loop terminates immediately upon encountering first failure Thanks!