【问题标题】:I'm getting this error "ReferenceError: responceBody is not defined"我收到此错误“ReferenceError:responceBody 未定义”
【发布时间】:2022-06-27 21:29:46
【问题描述】:

我的测试脚本代码是这样写的

var responce=JSON.parse(responceBody);

tests["scope"] = responce.scope == "APP";

【问题讨论】:

  • 谁能帮帮我

标签: postman


【解决方案1】:

responseBody 变量中有错字,请尝试:JSON.parse(responseBody)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-23
    • 1970-01-01
    • 1970-01-01
    • 2020-11-17
    • 2022-11-19
    相关资源
    最近更新 更多