Forum Discussion
https://www.soapui.org/soap-and-wsdl/validating-soap-services.html
- Sphujidhwaj9 years agoContributor
If the response is simple one then assertions would suffice. But in my case the response is complex and adding so many assertions and maintaining them would be a herculean task. Hence I was looking for converting the response into Java object and then validating the same.
- nmrao9 years agoChampion Level 3
Ok. If the question is only about validation of response, you can still use schema validation or compliance and this does not include any xpath or you require just a single assertion.
When you talk about maintenance, that is applicable only when there are changes in the application. So, it is natural that if the behaviour of the application gets changed, obiviously, tests or assertions might change if you have xpath assertions etc provided the structure of response gets changes. But it is not so frequent, imo.
Again that requires changes even if you use java. But it is up to the end users comfortability.
As I mentioned in the initial response, it can be done. You can use java or groovy to do the same if you wish to do so.
You should be able find in the forum for similar need, I remember answering few weeks back. Otherwise, I can dig it later and post it here.- Sphujidhwaj9 years agoContributor
Is there any manual or book available for groovy specific to SoapUI??
Can you please list the book(s) in case if you have come across?
Related Content
- 12 months ago