|
|
|
@ -6,6 +6,18 @@ Library RequestsLibrary |
|
|
|
Library DatabaseLibrary |
|
|
|
|
|
|
|
*** Keywords *** |
|
|
|
查询${dating}用户资料 |
|
|
|
${miId_list} Create List |
|
|
|
FOR ${userId} ${client_header} IN ZIP ${userid_list} ${Cheader_list} |
|
|
|
Disable Warnings |
|
|
|
Create Session dating ${${dating}.dating域名} ${client_header} |
|
|
|
${reps} GET On Session dating /dating-agency-service/user/get/first/fill/marriage/information/details params=userId=${userId} |
|
|
|
${miId} Get From Dictionary ${reps.json()['data']} id #资料id |
|
|
|
Append To List ${miId_list} ${miId} |
|
|
|
Set Global Variable ${userId} |
|
|
|
Set Global Variable ${miId_list} |
|
|
|
END |
|
|
|
|
|
|
|
红娘邀请${dating}用户成为嘉宾 |
|
|
|
#红娘邀请嘉宾 |
|
|
|
FOR ${userId} ${client_header} IN ZIP ${userid_list} ${Cheader_list} |
|
|
|
@ -37,6 +49,23 @@ Library DatabaseLibrary |
|
|
|
END |
|
|
|
Set Global Variable ${matchmakerId} |
|
|
|
|
|
|
|
查询${dating}后台红娘详情 |
|
|
|
#查看红娘详情-嘉宾列表 |
|
|
|
FOR ${client_header} IN @{Cheader_list} |
|
|
|
Create Session dating ${${dating}.dating域名} ${client_header} |
|
|
|
${reps} GET On Session dating-agency-service/user/get/matchmaker/guest/page params=pageSize=10&matchmakerId=${matchmakerId}&pageNum=1 |
|
|
|
${records} Get From Dictionary ${reps.json()['data']} records #嘉宾列表 |
|
|
|
Set Global Variable ${records} |
|
|
|
遍历嘉宾列表 |
|
|
|
END |
|
|
|
|
|
|
|
遍历嘉宾列表 |
|
|
|
FOR ${miId} ${records} IN ZIP ${miId_list} ${records} |
|
|
|
${MIID} Get From Dictionary ${records} miId #嘉宾资料id |
|
|
|
Exit For Loop If ${MIID}==${miId} |
|
|
|
Set Global Variable ${MIID} |
|
|
|
END |
|
|
|
|
|
|
|
数据库查询是否邀请成功 |
|
|
|
#查询数据库数据 |
|
|
|
FOR ${userId} IN @{userid_list} |
|
|
|
|