标签: automation karate
SOAP响应当前已从预期文件中断言。
有什么办法可以排除一些动态字段?
* def soap_response = read("expected.xml") * match response == soap_response
断言失败:path / soap:header / soap:time
答案 0 :(得分:0)
是的,只需使用#ignore:
#ignore
<foo>#ignore</foo>
请阅读文档:https://github.com/intuit/karate#ignore-or-validate