PostMan 自动化测试断言列子 低端玩家 2020-10-13 105 阅读1分钟 if(responseCode.code === 200){ var jsonData = JSON.parse(responseBody); if(jsonData.errorCode=="0000"){ tests["成功"] = true; }else{ tests["失败"] = true; } }else{ tests["失败"] = false; }