空手道 API 中的 "call" 和 "callonce" 有什么区别?

What is the difference between "call" and "callonce" in karate API?

谁能解释一下空手道测试中 call 和 callonce 之间的实际区别 API

请阅读文档:https://github.com/intuit/karate#callonce

我将在下面引用:

Karate's callonce keyword behaves exactly like call but is guaranteed to execute only once. The results of the first call are cached, and any future calls will simply return the cached result instead of executing the JavaScript function (or feature) again and again.