postman var res =JSON.parse(responseBody); //设置环境变量token,供后面接口使用 pm.globals.set("token",res.data.info['token']); apipost apt.variables.set("key_token", response.json.data.info.token);