空手道输入匹配

Karate input Match

在空手道中,我可以使用 pathMAtch 为模拟服务器创建场景。是否有可能根据输入 (body) 创建场景来说这样的话:

for input X expect response Y
for input A expect response B

请注意,request 变量始终可用于执行 JS 操作:

是的,您可以使用 bodyPath()

更多想法: