Relative Content

Tag Archive for karateoptional-parameters

How to match optional nested JSON objects in Karate

I’m trying to match a response that may have any of three optional keys that have the same JSON object schema but it doesn’t seem like the optional syntax is working for this case. Does Karate support the kind of functionality I’m looking for? It works when all three schemas are present, but not when any of them are missing.