pm.test("Status code is 200", function () {
  pm.response.to.have.status(200);
});
  

var data = JSON.parse(responseBody);

pm.environment.set("token", data.result.token);

 

posted on 2019-11-22 21:46  jzfan  阅读(600)  评论(0编辑  收藏  举报