Reputation: 127
I would like to use external JS libraries such as JsonQ.js(https://github.com/s-yadav/jsonQ) for validating my complex JSON response. Can some one guide me on how to plug external libraries and use them as part of Karate feature files.
Upvotes: 2
Views: 1290
Reputation: 351
I don't think you need an external library to validate any complex JSON responses in Karate framework. Karate's built-in capability is really strong enough to do any JSON validations. I used to work on projects which will give complex JSON responses which can be very easily validated using Karate. Using Karate you can validate
I would suggest going through the documentation and webinars of Karate to understand the details of validation capabilities.
Upvotes: 2