Does karate mock supports contains syntax to match a certain condition?
I have a requirement like if Account Id contains "789" then send the required response file.
I have tried, but facing syntax issue.
def RespFile = (AccountId == "909090" ? 
  'Failure.xml' : 
  (AccountId contains ["359"] ? 'Succes.xml' : 'nomatch.xml'))
Please help me for the above