The API I'm testing sometimes respond with different error codes and questions, how can I used 'Examples' and match assertion to check one OR other?
Below it follows the example that I wanted to have working but I don't know how to do using Karate Framework:
And match response == <expected_response> || <expected_response_alternative>
Examples:
| cid | email | password | comment_text | expected_response |
| 289634903 | 'something@bla.com' | 'Sandcastl3' | 'like for like for like for like for like for like' | {"status": "failure","error": "ERROR-CONTENT-004","message": "Failure to add a comment to an element"} |