config: name: 客户与业务人员关系 teststeps: - name: 员工登录获取token api: api/login/ldap_login_password.yml extract: - token: headers.Authorization - name: 获取销售id和name api: api/customer_and_business_relations/admin_employer_list_employerseller.yml variables: token: $token extract: - bizUserId: content.data.0.adminId - bizUserName: content.data.0.name - bizUserId1: content.data.1.adminId - bizUserName1: content.data.1.name - name: app密码登录获取token api: api/login/app_login_password.yml extract: - apptoken: content.data.token - name: 获取app用户基本信息的id和name api: api/user_info/app_user_getbaseinfo.yml variables: apptoken: QNT $apptoken extract: - cusormerId: content.data.userId - customerName: content.data.realName - name: 后台新增客户与业务人员关系成功 api: api/customer_and_business_relations/admin_customerbizrelation_save_relation.yml variables: token: $token bizUserId: $bizUserId bizUserName: $bizUserName cusormerId: $cusormerId customerName: $customerName extract: - id: content.data.id - name: 后台查询客户与业务人员关系成功 api: api/customer_and_business_relations/admin_customerbizrelation_get_relation.yml variables: token: $token id: $id - name: 后台修改客户与业务人员关系成功 api: api/customer_and_business_relations/admin_customerbizrelation_update_relation.yml variables: token: $token bizUserId: $bizUserId1 bizUserName: $bizUserName1 id: $id - name: 后台删除客户与业务人员关系成功 api: api/customer_and_business_relations/admin_customerbizrelation_delete_relation.yml variables: token: $token id: $id