karatelabs / karate

Test Automation Made Simple
https://karatelabs.github.io/karate
MIT License
8.26k stars 1.94k forks source link

How to Validate XML Schema (XSD) againt Soap XML Response in Karate DSL #906

Closed ghost closed 5 years ago

ghost commented 5 years ago

I am using Karate dsl framework to automate soap request, I want to validate the response which is in XML format with XML Schema (XSD).

I required the SchemaUtil.java code and functions to call it in .feature file.

Thanks,

I tried with Rest API, karate demo for validating json schema and found correct result, but for soap (xml, xsd) not getting

For Rest Json schema validation you provided example but for SOAP XSD Schema Validation ther is no example.

Will be thankful for your effort

ptrthomas commented 5 years ago

@Mustafa0691 looks like you double-posted to stack overflow