【发布时间】:2021-03-19 16:13:17
【问题描述】:
我将测试结果视为通过字段 A 为“A”或字段 B 为“B”。我怎样才能在邮递员中实现这一点?
我试过了
(pm.expect(responseJson.output.generic[0].fieldA).to.eql(pm.iterationData.get("A"))||pm.expect(responseJson.output.generic[0].fieldB).to.eql(pm.iterationData.get("B")))
【问题讨论】:
标签: postman postman-collection-runner