Contributions
Re: Call Json schema complaince assertion in groovy script assertion
Hi richie, I am validating JSON schema of response to make sure response has all keys present by making all properties as required, also I can validate further to check the values have correct data types, formats, range and size etc, using single assertion I can assert many things in response. Now since I am using data driven test where I am setting request body or parameters from data source, I have valid and invalid combinations in the loop. When I get 200 status code it should validate the JSON schema When it has 400 status code message should be specific, or may be multiple. That's the reason I need to have status code assertions, One way is to have conditional go-to to the assertion test step when response code is 200 and so on, or writing script assertion.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1CommentCall Json schema complaince assertion in groovy script assertion
I need to validate json schema only when there is 200 status code for the API. Can we have a script assetion created from which different assertions are called depends on the status code condition.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes4CommentsRe: DataSource Loop on SoapUI Pro
All you need to do is Add data source as excel Browser the Excel sheet an mention the sheet name. Create individual properties for each of the coloum say lat, country, iso2, iso3 and long. Use Lat and long in parameter using property expansion/ right click and get data dialogue in paramater section. I hope this should serve the purpose..6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes0CommentsRe: Assertions: Json Schema complaince
Thanks avidCoder, Can we use any third party library for jason schema validation and the assertion is script assertion. Does Ready API supports any jsson schema validator like tv4, ajv etc.?6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes0CommentsAssertions: Json Schema complaince
I want to use the Json schema complaince assertion in Ready API for API response schema validation. While adding assetion, Its required to add the Schema URL, What is this URL? What does this URL consists of? I dont have any schema URL, I have only json schema stored in a file.Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes3CommentsRe: Integration of composite project with VSTS - TFS
1. Save your composit project to Git/VSTS repository 2. Create a release pipeline in VSTS 3. Add Artifact to the release pipeline (which is your repository) 4. You will have to add the SOAP UI Pro Azure DevOPs extension from marketplace (Its free) 5. Add a stage to the Release Say Ready-API tests. 6. Configure the Agent Job. 7. Add Task SOAP UI Pro for Azure DevOps. 8. Add Publish Test report task. 9.Path to SoapUI Pro project : Should be your repositry path where your composite project is saved. 10. Enter Suite Name. 10. Enter Test Name to be run. 11. Save the changes and trigger the release.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews2likes1Comment