Best way to do Karate match using “==” and “contains” using generic script
问题 This question is resulting from a previous question here Lets says our implemented server v1 and v2 response looks as follows * def v1Response = { id: "1", name: "awesome" } * def v2Response = { id: "2", name: "awesome", value: "karate" } Similarly we define the client schema for v1 and v2 like as follows * def v1Schema = { id: "#string", name: "#string } * def v2Schema = { id: "#string", name: "#string, value: "#string" } From the above given data, all I want is to test following three cases