mardi 31 octobre 2017

how can I verify response against a predefined json schema in karate?

Currently for checking answer response IO use below method:

And match response ==
"""
  {
    "status":#number,
    "message":#string
  }
"""

Is there any way to do like below?

And match response == someJsonSchemaDefinedInKarateConfigFile

Aucun commentaire:

Enregistrer un commentaire