pm.test("Status code is 200", function () {
pm.response.to.have.status(200);
});
pm.test("code 200", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.code).to.eql(200);
});
console.log(pm.response.json().data.list[1].ruleDetail);
var plantVerifyBusinessId2_before=pm.environment.get("plantVerifyBusinessId2");
console.log(plantVerifyBusinessId2_before);
console.log(pm.response.json().data.list[1].plantVerifyBusinessId);
pm.test("不同",function(){pm.expect(pm.response.json().data.list[1].plantVerifyBusinessId).to.not.equal(plantVerifyBusinessId2_before);});
pm.environment.set("plantVerifyBusinessId2",pm.response.json().data.list[1].plantVerifyBusinessId);
// setTimeout(function() {},[4000]);