Forum Discussion

patilawaken's avatar
patilawaken
Occasional Contributor
6 years ago

Call 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.