I have json object in response. If I try an invalid path to extract value and assert it with match each it always passes.
* match each karate.jsonPath(response,"$[*].non.existing.path") == ["text1"]
Am I doing something wrong here?
Please Not: If I give correct path and the value doesn't match with 'text1' it fails. Absolutely no issue there. Seeing issue only with invalid json path.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…