【发布时间】:2022-06-27 21:29:46
【问题描述】:
我的测试脚本代码是这样写的
var responce=JSON.parse(responceBody);
tests["scope"] = responce.scope == "APP";
【问题讨论】:
-
谁能帮帮我
标签: postman
我的测试脚本代码是这样写的
var responce=JSON.parse(responceBody);
tests["scope"] = responce.scope == "APP";
【问题讨论】:
标签: postman
responseBody 变量中有错字,请尝试:JSON.parse(responseBody)
【讨论】: