${EXECDIR}\\DA_data.yaml
Imports a variable file with the given path and optional arguments.
${file}
D:\\LYL\\Study\\Robot_framework\\space\\Dating-agency\\0-Login\\phone-test.txt
Returns the contents of a specified file.
Getting file '<a href="file://D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt">D:\LYL\Study\Robot_framework\space\Dating-agency\0-Login\phone-test.txt</a>'.
${file} = 手机号
19128859944
${skip-line}
1
Returns the given values which can then be assigned to a variables.
${skip-line} = 1
${lines}
-1
Returns the given values which can then be assigned to a variables.
${lines} = -1
${content}
${file}
${skip-line}
${lines}
Returns lines of the given ``string`` that contain the ``pattern``.
1 out of 2 lines matched
${content} = 19128859944
${id}
${content}
19128859944
${id}
${id}
\n
Splits the ``string`` using ``separator`` as a delimiter string.
${id} = ['19128859944']
${id}
Makes a variable available globally in all tests and suites.
${id} = ['19128859944']
${userid_list}
Returns a list containing given items.
${userid_list} = []
${Cheader_list}
Returns a list containing given items.
${Cheader_list} = []
${Aheader_list}
Returns a list containing given items.
${Aheader_list} = []
${account}
@{id}
19128859944
Helper for quickly disabling all urllib3 warnings.
dating
${${dating}.dating域名}
${${dating}.AHeader}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${data}
{ \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":888888 }
Returns the given values which can then be assigned to a variables.
${data} = { "account":"19128859944", "accountType":2, "captcha":888888 }
${reps}
dating
/dating-agency-uec/authorize/by-captcha
${data.encode('utf-8')}
Sends a POST request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha
path_url=/dating-agency-uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Content-Length': '68'}
body=b'{ "account":"19128859944", "accountType":2, "captcha":888888 }'
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==","userId":"968624964985032704"}}
${reps} = <Response [200]>
${code}
${reps.json()}
code
Returns a value from the given ``dictionary`` based on the given ``key``.
${code} = 0
${token}
${reps.json()['data']}
token
Returns a value from the given ``dictionary`` based on the given ``key``.
${token} = iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==
${userId}
${reps.json()['data']}
userId
Returns a value from the given ``dictionary`` based on the given ``key``.
${userId} = 968624964985032704
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${login_header}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT ${token}','X-Organization-Id':'963432943739605555'}
Returns the given values which can then be assigned to a variables.
${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==','X-Organization-Id':'96...
${client_header}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT ${token}'}
Returns the given values which can then be assigned to a variables.
${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
${userid_list}
${userId}
Adds ``values`` to the end of ``list``.
${Cheader_list}
${client_header}
Adds ``values`` to the end of ``list``.
${Aheader_list}
${login_header}
Adds ``values`` to the end of ``list``.
${code}==0
Should Be Equal As Strings
${message}
successful
ELSE
Should Be Equal As Strings
${message}
验证码错误或无效验证码,请重试!
Runs the given keyword with the given arguments, if ``condition`` is true.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${phone}
${account}
Returns the given values which can then be assigned to a variables.
${phone} = 19128859944
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 19128859944
${userid_list}
Makes a variable available globally in all tests and suites.
${userid_list} = ['968624964985032704']
${Aheader_list}
Makes a variable available globally in all tests and suites.
${Aheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==','X-Organization-Id':'...
${Cheader_list}
Makes a variable available globally in all tests and suites.
${Cheader_list} = ["{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}"]
${login_header}
Makes a variable available globally in all tests and suites.
${login_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==','X-Organization-Id':'96...
${client_header}
Makes a variable available globally in all tests and suites.
${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
${Aheader}
Returns a list containing given items.
${Aheader} = []
${userId}
${login_header}
${userid_list}
${Aheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==','X-Organization-Id':'96...
Helper for quickly disabling all urllib3 warnings.
dating
${${dating}.dating域名}
${login_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-uec/user/list/own-organization
params=userId=${userid}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/list/own-organization?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=968624964985032704
path_url=/dating-agency-uec/user/list/own-organization?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==', 'X-Organization-Id': '963432943739605555'}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.01
TIS-620 Thai confidence = 0.0
ISO-8859-9 Turkish confidence = 0.2794564987311486
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"orgId":"963432943739605555","fullName":"寻找伴侣","shortName":"寻伴"}]}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = [{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}]
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${data}==[]
log
未获取到组织信息!
ELSE
log
${data}
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
Logs the given message with the given level.
[{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}]
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==','X-Organization-Id':'96...
dating
${${dating}.dating域名}
${admin_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/get/base-info
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
path_url=/dating-agency-uec/user/get/base-info
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA==', 'X-Organization-Id': '963432943739605555'}
body=None
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"userId":"968624964985032704","realName":"qianniao","nickName":null,"phone":"19128859944","matchmakerFlag":true}}
${reps} = <Response [200]>
${phone}
${reps.json()['data']}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${phone} = 19128859944
${matchmakerFlag}
${reps.json()['data']}
matchmakerFlag
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerFlag} = True
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 19128859944
${matchmakerFlag}
Makes a variable available globally in all tests and suites.
${matchmakerFlag} = True
接口:短信验证码登录认证
用户登录婚介平台
${EXECDIR}\\DA_data.yaml
Imports a variable file with the given path and optional arguments.
${userId}
${client_header}
${userid_list}
${Cheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
path_url=/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.02880467202711454
IBM855 Russian confidence = 0.07850135105299849
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.014072065903853322
ISO-8859-9 Turkish confidence = 0.38571294635721
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 968624977177874432
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 格拉斯🐉
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 格拉斯🐉
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['968624977177874432']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/information/details/byid
params=miId=${miId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.026914112175795462
IBM855 Russian confidence = 0.07363150575366771
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.025793635271409567
ISO-8859-9 Turkish confidence = 0.4006453319403738
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":"968624964985032704","nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":{"id":"971027940525608960","isDelete":false,"createTime":"2024-03-29 09:59:27","updateTime":null,"event":null,"miId":968624977177874432,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"minAge":null,"maxAge":null,"minHeight":150,"maxHeight":190,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nativePlaceCode":null,"nativePlaceName":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"minIncome":null,"maxIncome":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},"marriageSeekingContacts":[{"id":"972235829873348608","isDelete":false,"createTime":"2024-04-01 17:59:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":0,"familyTies":"本人","phone":"19128859944","wechatId":"qianniao2020"},{"id":"972504849625255936","isDelete":false,"createTime":"2024-04-02 11:48:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":2,"familyTies":"亲友","phone":"18024004975","wechatId":""}],"age":40}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 40
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 173
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1984
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${cityCode}
${reps.json()['data']}
domicilePlaceCityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440300
${cityName}
${reps.json()['data']}
domicilePlaceCityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 深圳市
${provinceCode}
${reps.json()['data']}
domicilePlaceProvinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
domicilePlaceProvinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${age}
Makes a variable available globally in all tests and suites.
${age} = 40
${height}
Makes a variable available globally in all tests and suites.
${height} = 173
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440300
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 深圳市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1984
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${provinceCode}
Makes a variable available globally in all tests and suites.
${provinceCode} = 440000
${provinceName}
Makes a variable available globally in all tests and suites.
${provinceName} = 广东省
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-mall/user/list/right/by/customer
params=miId=${miId}&type=302
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
path_url=/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
EUC-JP Japanese prober hit error at byte 57
EUC-KR Korean prober hit error at byte 57
CP949 Korean prober hit error at byte 62
Big5 Chinese prober hit error at byte 57
EUC-TW Taiwan prober hit error at byte 57
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.01
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.26986590902712254
ISO-8859-9 Turkish confidence = 0.49088663115755865
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"高级搜索","type":302,"rightSpecUnit":102,"startTime":"2024-03-29 11:05:10","endTime":"2024-07-18 11:05:10","remainingDays":101,"rightCount":92,"dailyUseLimit":-1,"dailyUseCount":42,"enable":true}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 92, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}
Makes a variable available globally in all tests and suites.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 92, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}==[]
数据库新增高级搜索权益
ELSE
用户高级搜索权益
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
@{data_list}
{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 92, 'dailyUseLimit': -1, 'dailyUseCou...
${enable}
${data}
enable
Returns a value from the given ``dictionary`` based on the given ``key``.
${enable} = True
${enable}
Makes a variable available globally in all tests and suites.
${enable} = True
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/recommendation/page
params=advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&domicilePlaceProvinceCode=${provinceCode}&domicilePlaceProvinceName=${provinceName}&domicilePlaceCityCode=${cityCode}&domicilePlaceCityName=${cityName}&unlock=2&pageNum=1&pageSize=100
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&domicilePlaceProvinceCode=440000&domicilePlaceProvinceName=%E5%B9%BF%E4%B8%9C%E7%9C%81&domicilePlaceCityCode=440300&domicilePlaceCityName=%E6%B7%B1%E5%9C%B3%E5%B8%82&unlock=2&pageNum=1&pageSize=100 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&domicilePlaceProvinceCode=440000&domicilePlaceProvinceName=%E5%B9%BF%E4%B8%9C%E7%9C%81&domicilePlaceCityCode=440300&domicilePlaceCityName=%E6%B7%B1%E5%9C%B3%E5%B8%82&unlock=2&pageNum=1&pageSize=100
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&domicilePlaceProvinceCode=440000&domicilePlaceProvinceName=%E5%B9%BF%E4%B8%9C%E7%9C%81&domicilePlaceCityCode=440300&domicilePlaceCityName=%E6%B7%B1%E5%9C%B3%E5%B8%82&unlock=2&pageNum=1&pageSize=100
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.030249248370739813
IBM866 Russian confidence = 0.04099269179697721
IBM855 Russian confidence = 0.05396674461178072
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.040692331401660585
ISO-8859-9 Turkish confidence = 0.263281142924488
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&domicilePlaceProvinceCode=440000&domicilePlaceProvinceName=%E5%B9%BF%E4%B8%9C%E7%9C%81&domicilePlaceCityCode=440300&domicilePlaceCityName=%E6%B7%B1%E5%9C%B3%E5%B8%82&unlock=2&pageNum=1&pageSize=100
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"969960468829573120","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/761fc775f7189b611dbd157218a6b4b8.jpg","nickName":"火红的撒日朗","height":"175","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":1,"education":"中专","age":37,"occupationCode":175,"occupation":"乘务员","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"身高最好172以上吧,不过长相喜欢干净斯文清瘦一点的,有少年感。希望是双眼皮或者是单眼皮大眼睛。至于三观是否一致,只有接触之后才能知道啦。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969966846310748160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/a2a78cdb419f6f2d85d0dc87dc45abd3.jpg","nickName":"……","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":2,"education":"大专","age":49,"occupationCode":171,"occupation":"飞行员","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969713460227215360","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c1286d7d6a07ae48dafca35ceb320fef.jpg","nickName":"爱丽丝梦游仙境","height":"199","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":2,"education":"大专","age":39,"occupationCode":36,"occupation":"物流主管","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969681785191534592","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/6fc52dbf166c3b62bd8bf03b11d0dac8.jpg","nickName":"上官姬姬","height":"166","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":4,"education":"硕士","age":23,"occupationCode":null,"occupation":null,"minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969683984055406592","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c97da67055186388335cfb73af718948.jpg","nickName":"上官力","height":"170","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":1,"education":"中专","age":37,"occupationCode":null,"occupation":null,"minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null}],"total":5,"size":100,"current":1,"pages":1}}
${reps} = <Response [200]>
${total}
${reps.json()['data']}
total
Returns a value from the given ``dictionary`` based on the given ``key``.
${total} = 5
${total}
Makes a variable available globally in all tests and suites.
${total} = 5
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${genderCode}
${genderCode}==1
0
1
Sets variable based on the given condition.
${genderCode} = 1
${check}
SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '${genderCode}' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `domicile_place_province_code` = '${provinceCode}' AND `domicile_place_city_code` = '${cityCode}'
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `domicile_place_province_code` = '440000' AND `domicile_place_city_code` = '440300'
${check} = ((5,),)
${count}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
${count} = 5
${count}
${total}
Fails if objects are unequal after converting them to real numbers.
Argument types are:
<class 'int'>
<class 'int'>
Disconnects from the database.
Executing : Disconnect From Database
${userId}
${client_header}
${userid_list}
${Cheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
path_url=/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.02880467202711454
IBM855 Russian confidence = 0.07850135105299849
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.014072065903853322
ISO-8859-9 Turkish confidence = 0.38571294635721
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 968624977177874432
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 格拉斯🐉
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 格拉斯🐉
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['968624977177874432']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/information/details/byid
params=miId=${miId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.026914112175795462
IBM855 Russian confidence = 0.07363150575366771
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.025793635271409567
ISO-8859-9 Turkish confidence = 0.4006453319403738
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":"968624964985032704","nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":{"id":"971027940525608960","isDelete":false,"createTime":"2024-03-29 09:59:27","updateTime":null,"event":null,"miId":968624977177874432,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"minAge":null,"maxAge":null,"minHeight":150,"maxHeight":190,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nativePlaceCode":null,"nativePlaceName":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"minIncome":null,"maxIncome":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},"marriageSeekingContacts":[{"id":"972235829873348608","isDelete":false,"createTime":"2024-04-01 17:59:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":0,"familyTies":"本人","phone":"19128859944","wechatId":"qianniao2020"},{"id":"972504849625255936","isDelete":false,"createTime":"2024-04-02 11:48:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":2,"familyTies":"亲友","phone":"18024004975","wechatId":""}],"age":40}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 40
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 173
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1984
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${cityCode}
${reps.json()['data']}
domicilePlaceCityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440300
${cityName}
${reps.json()['data']}
domicilePlaceCityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 深圳市
${provinceCode}
${reps.json()['data']}
domicilePlaceProvinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
domicilePlaceProvinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${age}
Makes a variable available globally in all tests and suites.
${age} = 40
${height}
Makes a variable available globally in all tests and suites.
${height} = 173
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440300
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 深圳市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1984
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${provinceCode}
Makes a variable available globally in all tests and suites.
${provinceCode} = 440000
${provinceName}
Makes a variable available globally in all tests and suites.
${provinceName} = 广东省
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-mall/user/list/right/by/customer
params=miId=${miId}&type=302
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
path_url=/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
EUC-JP Japanese prober hit error at byte 57
EUC-KR Korean prober hit error at byte 57
CP949 Korean prober hit error at byte 62
Big5 Chinese prober hit error at byte 57
EUC-TW Taiwan prober hit error at byte 57
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.01
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.26986590902712254
ISO-8859-9 Turkish confidence = 0.49088663115755865
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"高级搜索","type":302,"rightSpecUnit":102,"startTime":"2024-03-29 11:05:10","endTime":"2024-07-18 11:05:10","remainingDays":101,"rightCount":91,"dailyUseLimit":-1,"dailyUseCount":43,"enable":true}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 91, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}
Makes a variable available globally in all tests and suites.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 91, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}==[]
数据库新增高级搜索权益
ELSE
用户高级搜索权益
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
@{data_list}
{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 91, 'dailyUseLimit': -1, 'dailyUseCou...
${enable}
${data}
enable
Returns a value from the given ``dictionary`` based on the given ``key``.
${enable} = True
${enable}
Makes a variable available globally in all tests and suites.
${enable} = True
${realNameAudit}
1
Returns the given values which can then be assigned to a variables.
${realNameAudit} = 1
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/recommendation/page
params=advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&realNameAudit=${realNameAudit}&unlock=2&pageNum=1&pageSize=100
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&realNameAudit=1&unlock=2&pageNum=1&pageSize=100 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&realNameAudit=1&unlock=2&pageNum=1&pageSize=100
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&realNameAudit=1&unlock=2&pageNum=1&pageSize=100
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.001486481929162236
MacCyrillic Russian confidence = 0.013207296492088271
IBM866 Russian confidence = 0.08970213444608287
IBM855 Russian confidence = 0.09559248487587228
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.04628655122198023
ISO-8859-9 Turkish confidence = 0.25480951888343567
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&realNameAudit=1&unlock=2&pageNum=1&pageSize=100
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"970323133783478272","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d0c0b1434fe2dddd0f3d202181f7e4e8.jpg","nickName":"风居住的城堡","height":"148","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":29,"occupationCode":148,"occupation":"讲师/助教","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"过去都是假的,回忆是一条没有归途的路,以往的一切春天都无法复原,即使最狂热最坚贞的爱情,归根结底也不过是一种瞬息即逝的现实,唯有孤独永恒。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"971134668223156224","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d0d15693e059e2525d4ea469451e4387.jpg","nickName":"人生若只如初见","height":"170","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":2,"education":"大专","age":29,"occupationCode":109,"occupation":"健康顾问","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":1,"describeInfo":"初见乍惊欢、久处亦怦然,希望这份爱意撑过每个四季。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"965354767578697728","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c3265d8bb35325df5394d8ef6023703c.jpg","nickName":"就是不吃饭\uD83D\uDC31","height":"160","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":4,"education":"硕士","age":29,"occupationCode":179,"occupation":"政府机构~公务员","minimumIncome":20001,"maximumIncome":50000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"971019539431165952","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/0a7411a8d971063c92c8a52088b5875d.jpg","nickName":"禁忌女孩","height":"165","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":5,"education":"博士","age":29,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"希望小哥哥人品好、善良,最好是南方人。一本以上,93-97最佳,要有长期在广州定居的打算,有能力和我一起首付买房。我喜欢讲话,所以希望你不要太内向,不然无法沟通。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"968586773494108160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/31cfe566de5a978ef518510588c03ef7.jpg","nickName":"ゝ回眸相視笑\r\n","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":610000,"domicilePlaceProvinceName":"陕西省","domicilePlaceCityCode":610700,"domicilePlaceCityName":"汉中市","educationCode":5,"education":"博士","age":29,"occupationCode":167,"occupation":"店员","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"968585615056703488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b58d3b649f9d358fbbe896f5ec4ffc7b.jpg","nickName":"星星の泪光","height":"146","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":460000,"domicilePlaceProvinceName":"海南省","domicilePlaceCityCode":469034,"domicilePlaceCityName":"陵水黎族自治县","educationCode":0,"education":"高中及以下","age":29,"occupationCode":null,"occupation":null,"minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"968588305048408064","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b58d3b649f9d358fbbe896f5ec4ffc7b.jpg","nickName":"眉目成舟し","height":"207","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":140000,"domicilePlaceProvinceName":"山西省","domicilePlaceCityCode":140100,"domicilePlaceCityName":"太原市","educationCode":4,"education":"硕士","age":29,"occupationCode":null,"occupation":null,"minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"968546647405629440","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/73a607e091bfa2696e5c76ea282e3fad.jpg","nickName":"会说话的石头","height":"123","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":2,"education":"大专","age":29,"occupationCode":null,"occupation":null,"minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":1,"describeInfo":"春日在静定中悠长,在回首间短暂。 ——徐国能春日在静定中悠长,在回首间短暂。 ——徐国能春日在静定中悠长,在回首间短暂。 ——徐国能春日在静定中悠长,在回首间短暂。 ——徐国能春日在静定中悠长,在回首间短暂。 ——徐国能春日在静定中悠长,在回首间短暂。 ——徐国能春日在静定中悠长,在回首间短暂。 ——徐国能","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"968972150583201792","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/27491660b76a7ded1f0cad84d0fa136f.jpg","nickName":"开心大萝卜","height":"157","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":5,"education":"博士","age":29,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"性格沉稳安静、不爱争吵计较,在感兴趣的领域会畅所欲言,对陌生的领域更多的是倾听。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969588457586429952","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/fecdbac6dee34407fca0ed349603da6e.jpg","nickName":"寻一人三餐四季","height":"158","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":3,"education":"大学本科","age":29,"occupationCode":null,"occupation":null,"minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null}],"total":10,"size":100,"current":1,"pages":1}}
${reps} = <Response [200]>
${total}
${reps.json()['data']}
total
Returns a value from the given ``dictionary`` based on the given ``key``.
${total} = 10
${total}
Makes a variable available globally in all tests and suites.
${total} = 10
${realNameAudit}
Makes a variable available globally in all tests and suites.
${realNameAudit} = 1
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${genderCode}
${genderCode}==1
0
1
Sets variable based on the given condition.
${genderCode} = 1
${check}
SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '${genderCode}' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `identity_card` IS NOT NULL
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `identity_card` IS NOT NULL
${check} = ((10,),)
${count}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
${count} = 10
${count}
${total}
Fails if objects are unequal after converting them to real numbers.
Argument types are:
<class 'int'>
<class 'int'>
Disconnects from the database.
Executing : Disconnect From Database
${userId}
${client_header}
${userid_list}
${Cheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
path_url=/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.02880467202711454
IBM855 Russian confidence = 0.07850135105299849
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.014072065903853322
ISO-8859-9 Turkish confidence = 0.38571294635721
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 968624977177874432
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 格拉斯🐉
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 格拉斯🐉
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['968624977177874432']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/information/details/byid
params=miId=${miId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.026914112175795462
IBM855 Russian confidence = 0.07363150575366771
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.025793635271409567
ISO-8859-9 Turkish confidence = 0.4006453319403738
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":"968624964985032704","nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":{"id":"971027940525608960","isDelete":false,"createTime":"2024-03-29 09:59:27","updateTime":null,"event":null,"miId":968624977177874432,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"minAge":null,"maxAge":null,"minHeight":150,"maxHeight":190,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nativePlaceCode":null,"nativePlaceName":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"minIncome":null,"maxIncome":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},"marriageSeekingContacts":[{"id":"972235829873348608","isDelete":false,"createTime":"2024-04-01 17:59:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":0,"familyTies":"本人","phone":"19128859944","wechatId":"qianniao2020"},{"id":"972504849625255936","isDelete":false,"createTime":"2024-04-02 11:48:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":2,"familyTies":"亲友","phone":"18024004975","wechatId":""}],"age":40}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 40
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 173
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1984
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${cityCode}
${reps.json()['data']}
domicilePlaceCityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440300
${cityName}
${reps.json()['data']}
domicilePlaceCityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 深圳市
${provinceCode}
${reps.json()['data']}
domicilePlaceProvinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
domicilePlaceProvinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${age}
Makes a variable available globally in all tests and suites.
${age} = 40
${height}
Makes a variable available globally in all tests and suites.
${height} = 173
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440300
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 深圳市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1984
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${provinceCode}
Makes a variable available globally in all tests and suites.
${provinceCode} = 440000
${provinceName}
Makes a variable available globally in all tests and suites.
${provinceName} = 广东省
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-mall/user/list/right/by/customer
params=miId=${miId}&type=302
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
path_url=/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
EUC-JP Japanese prober hit error at byte 57
EUC-KR Korean prober hit error at byte 57
CP949 Korean prober hit error at byte 62
Big5 Chinese prober hit error at byte 57
EUC-TW Taiwan prober hit error at byte 57
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.01
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.26986590902712254
ISO-8859-9 Turkish confidence = 0.49088663115755865
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"高级搜索","type":302,"rightSpecUnit":102,"startTime":"2024-03-29 11:05:10","endTime":"2024-07-18 11:05:10","remainingDays":101,"rightCount":90,"dailyUseLimit":-1,"dailyUseCount":44,"enable":true}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 90, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}
Makes a variable available globally in all tests and suites.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 90, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}==[]
数据库新增高级搜索权益
ELSE
用户高级搜索权益
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
@{data_list}
{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 90, 'dailyUseLimit': -1, 'dailyUseCou...
${enable}
${data}
enable
Returns a value from the given ``dictionary`` based on the given ``key``.
${enable} = True
${enable}
Makes a variable available globally in all tests and suites.
${enable} = True
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/account/type
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/account/type HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/account/type
path_url=/dating-agency-service/user/get/account/type
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
SHIFT_JIS Japanese prober hit error at byte 66
EUC-JP Japanese prober hit error at byte 61
EUC-KR Korean prober hit error at byte 61
CP949 Korean prober hit error at byte 61
Big5 Chinese prober hit error at byte 62
EUC-TW Taiwan prober hit error at byte 61
utf-8 confidence = 0.938125
SHIFT_JIS not active
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.01
TIS-620 Thai confidence = 0.01
ISO-8859-9 Turkish confidence = 0.41438943210578494
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS not active
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/account/type
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"value":0,"desc":"城市"},{"value":1,"desc":"农村"}]}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = [{'value': 0, 'desc': '城市'}, {'value': 1, 'desc': '农村'}]
${accounttypeData}
random.choice(${data})
random
Evaluates the given expression in Python and returns the result.
${accounttypeData} = {'value': 0, 'desc': '城市'}
${accountTypeCode}
${accounttypeData}
value
Returns a value from the given ``dictionary`` based on the given ``key``.
${accountTypeCode} = 0
${accountTypeName}
${accounttypeData}
desc
Returns a value from the given ``dictionary`` based on the given ``key``.
${accountTypeName} = 城市
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/recommendation/page
params=advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&accountTypeName=${accountTypeName}&accountTypeCode=${accountTypeCode}&unlock=2&pageNum=1&pageSize=100
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&accountTypeName=%E5%9F%8E%E5%B8%82&accountTypeCode=0&unlock=2&pageNum=1&pageSize=100 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&accountTypeName=%E5%9F%8E%E5%B8%82&accountTypeCode=0&unlock=2&pageNum=1&pageSize=100
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&accountTypeName=%E5%9F%8E%E5%B8%82&accountTypeCode=0&unlock=2&pageNum=1&pageSize=100
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
MacCyrillic confidence = 0.02656908716018173, below negative shortcut threshhold 0.05
IBM866 confidence = 0.048896435674248104, below negative shortcut threshhold 0.05
ISO-8859-5 confidence = 0.0, below negative shortcut threshhold 0.05
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0005618211371736447
MacCyrillic not active
IBM866 not active
IBM855 Russian confidence = 0.07259988757083656
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 not active
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.06138443091746838
ISO-8859-9 Turkish confidence = 0.21503828460366348
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&accountTypeName=%E5%9F%8E%E5%B8%82&accountTypeCode=0&unlock=2&pageNum=1&pageSize=100
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"970324163422195712","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/fcbd919c52f60986350d950945a6fe42.jpg","nickName":"黑色星期四","height":"176","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":19,"occupationCode":44,"occupation":"商务经理","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"你只需要做到一点,善良、相互扶持相伴到老的决心 我想找一个爱我、我爱的人。 每天有很多想说的话 每天起床深情的拥抱一个吻。 一起买菜,我做饭你负责吃。 一起看电影,接受我时不时送点小礼物。 偶尔来一场说走就走的旅行。 你开心的时候我们一起笑。 你不开心的时候我哄你笑,当你灵魂的避风港,给你寄托。 请原谅我不够优秀。我愿意努力打拼给你想要的生活。 永久的陪伴!比一万句虚情假意的告白还实在。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970327677879848960","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/960b3d371ed4af8788c1fc4a8c889933.jpg","nickName":"陌上花开李小姐","height":"175","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":40,"occupationCode":63,"occupation":"总经理","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":"希望他170cm以上,定居在北京,最好有北京户口,以及最好在城里有房子。有阅历,见过世面,对自己的未来有规划,有不错的挣钱能力,不吸烟(对自己和他人健康负责),无任何不良嗜好。有责任心、上进心、事业心,心胸宽广脾气好,沉稳大度,家人脾气温和。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970319848892665856","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e94e9f29216a38527dbdc3aa75f7f415.jpg","nickName":"骑士","height":"156","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":20,"occupationCode":183,"occupation":"兽医","minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":"闲时喜爱打游戏,但不沉迷。我认为用心经营一段美好的事情,是比游戏更有趣、更有价值的事。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"971027698891755520","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c4ffc55089f4ad31d470a4a4139762c0.jpg","nickName":"该昵称已存在","height":"170","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":4,"education":"硕士","age":29,"occupationCode":165,"occupation":"商场经理","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"女,95年,170/58。衡阳人,在广州工作,外企财务会计。寻觅一个三品好,三观一致的男生为伴。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"971032356280471552","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/82d51050e13fea977a054a0208d1e616.jpg","nickName":"零碎小土豆\uD83D\uDCD5","height":"162","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":32,"occupationCode":124,"occupation":"工程师","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"曾经以为,林深时见鹿,海蓝时见鲸,梦醒时见你。后来才发现,林深时雾起,不知归处;海蓝时浪涌,望而却步;梦醒时夜续,惊慌失措。不见鹿不见鲸,亦不见你。年少时,春风得意马蹄疾,不信人间有别离。多年后才明白,风月无情人暗换,旧游如梦空肠断。原来真正的离别,不是桃花潭水,不是古道长亭。而是我们已经和很多人,见完了最后一面,却没有来得及说再见。人生千千结,就有千千劫。解开一个结,才能渡过一个劫。人生苦短而世事繁杂,走不出自己的执念,到哪里都是牢笼。会者定离,一期一祈。知其不可奈何,而安之若命,这是我们一生的必修课。最后,祝我们自有人随风,自有人随梦,自有人长留。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"970325077335871488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b26399e635fa7dd44808342595fa334a.jpg","nickName":"百变少女猪刚","height":"168","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":1,"education":"中专","age":33,"occupationCode":6,"occupation":"渠道/分销专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"大部分人在二三十岁上就死去了,因为过了这个年龄,他们只是自己的影子,此后的余生则是在模仿自己中度过,日复一日,更机械,更装腔作势地重复他们在有生之年的所作所为,所思所想,所爱所恨。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"968586773494108160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/31cfe566de5a978ef518510588c03ef7.jpg","nickName":"ゝ回眸相視笑\r\n","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":610000,"domicilePlaceProvinceName":"陕西省","domicilePlaceCityCode":610700,"domicilePlaceCityName":"汉中市","educationCode":5,"education":"博士","age":29,"occupationCode":167,"occupation":"店员","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969966846310748160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/a2a78cdb419f6f2d85d0dc87dc45abd3.jpg","nickName":"……","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":2,"education":"大专","age":49,"occupationCode":171,"occupation":"飞行员","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969998148917399552","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/3a949227719af879e0d3110dd8b46da9.jpg","nickName":"花间梦","height":"157","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":5,"education":"博士","age":18,"occupationCode":103,"occupation":"医药生产人员","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969999399285559296","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b52a0c7aafadaedb0037bb2c8a4c9008.jpg","nickName":"聆风私语","height":"162","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":60,"occupationCode":64,"occupation":"副总经理","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"970018305710624768","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/520d2089fac428d3b84f9d25db93dd31.jpg","nickName":"亭台楼阁","height":"156","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":1,"education":"中专","age":70,"occupationCode":163,"occupation":"导游","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969971990200979456","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/889ca4abb2de5874d87a945e7d6f80f3.jpg","nickName":"梵高的野玫瑰","height":"198","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":23,"occupationCode":52,"occupation":"人事总监","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"你让我心动 我让你心安 ;我知你冷暖 你懂我悲欢 ;你崇拜我像个英雄 我宠着你像个孩子 。我们都有自己的奋斗的事业和生活圈,即便再忙碌,能互相理解也能时刻牵挂着对方。没有太多的敏感 和猜忌 ,即使未来有大风大浪,我是你的靠山,你是我的避风港","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969713460227215360","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c1286d7d6a07ae48dafca35ceb320fef.jpg","nickName":"爱丽丝梦游仙境","height":"199","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":2,"education":"大专","age":39,"occupationCode":36,"occupation":"物流主管","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null}],"total":13,"size":100,"current":1,"pages":1}}
${reps} = <Response [200]>
${total}
${reps.json()['data']}
total
Returns a value from the given ``dictionary`` based on the given ``key``.
${total} = 13
${total}
Makes a variable available globally in all tests and suites.
${total} = 13
${accountTypeCode}
Makes a variable available globally in all tests and suites.
${accountTypeCode} = 0
${accountTypeName}
Makes a variable available globally in all tests and suites.
${accountTypeName} = 城市
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${genderCode}
${genderCode}==1
0
1
Sets variable based on the given condition.
${genderCode} = 1
${check}
SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '${genderCode}' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `account_type_code` = '${accountTypeCode}'
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `account_type_code` = '0'
${check} = ((13,),)
${count}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
${count} = 13
${count}
${total}
Fails if objects are unequal after converting them to real numbers.
Argument types are:
<class 'int'>
<class 'int'>
Disconnects from the database.
Executing : Disconnect From Database
${userId}
${client_header}
${userid_list}
${Cheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
path_url=/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.02880467202711454
IBM855 Russian confidence = 0.07850135105299849
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.014072065903853322
ISO-8859-9 Turkish confidence = 0.38571294635721
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 968624977177874432
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 格拉斯🐉
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 格拉斯🐉
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['968624977177874432']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/information/details/byid
params=miId=${miId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.026914112175795462
IBM855 Russian confidence = 0.07363150575366771
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.025793635271409567
ISO-8859-9 Turkish confidence = 0.4006453319403738
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:13 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":"968624964985032704","nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":{"id":"971027940525608960","isDelete":false,"createTime":"2024-03-29 09:59:27","updateTime":null,"event":null,"miId":968624977177874432,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"minAge":null,"maxAge":null,"minHeight":150,"maxHeight":190,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nativePlaceCode":null,"nativePlaceName":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"minIncome":null,"maxIncome":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},"marriageSeekingContacts":[{"id":"972235829873348608","isDelete":false,"createTime":"2024-04-01 17:59:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":0,"familyTies":"本人","phone":"19128859944","wechatId":"qianniao2020"},{"id":"972504849625255936","isDelete":false,"createTime":"2024-04-02 11:48:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":2,"familyTies":"亲友","phone":"18024004975","wechatId":""}],"age":40}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 40
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 173
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1984
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${cityCode}
${reps.json()['data']}
domicilePlaceCityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440300
${cityName}
${reps.json()['data']}
domicilePlaceCityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 深圳市
${provinceCode}
${reps.json()['data']}
domicilePlaceProvinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
domicilePlaceProvinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${age}
Makes a variable available globally in all tests and suites.
${age} = 40
${height}
Makes a variable available globally in all tests and suites.
${height} = 173
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440300
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 深圳市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1984
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${provinceCode}
Makes a variable available globally in all tests and suites.
${provinceCode} = 440000
${provinceName}
Makes a variable available globally in all tests and suites.
${provinceName} = 广东省
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-mall/user/list/right/by/customer
params=miId=${miId}&type=302
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
path_url=/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
EUC-JP Japanese prober hit error at byte 57
EUC-KR Korean prober hit error at byte 57
CP949 Korean prober hit error at byte 62
Big5 Chinese prober hit error at byte 57
EUC-TW Taiwan prober hit error at byte 57
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.01
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.26986590902712254
ISO-8859-9 Turkish confidence = 0.49088663115755865
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"高级搜索","type":302,"rightSpecUnit":102,"startTime":"2024-03-29 11:05:10","endTime":"2024-07-18 11:05:10","remainingDays":101,"rightCount":89,"dailyUseLimit":-1,"dailyUseCount":45,"enable":true}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 89, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}
Makes a variable available globally in all tests and suites.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 89, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}==[]
数据库新增高级搜索权益
ELSE
用户高级搜索权益
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
@{data_list}
{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 89, 'dailyUseLimit': -1, 'dailyUseCou...
${enable}
${data}
enable
Returns a value from the given ``dictionary`` based on the given ``key``.
${enable} = True
${enable}
Makes a variable available globally in all tests and suites.
${enable} = True
${onlyChildList}
0
1
Returns a list containing given items.
${onlyChildList} = ['0', '1']
${onlyChild}
random.choice(${onlyChildList})
random
Evaluates the given expression in Python and returns the result.
${onlyChild} = 0
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/recommendation/page
params=advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&onlyChild=${onlyChild}&unlock=2&pageNum=1&pageSize=100
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&onlyChild=0&unlock=2&pageNum=1&pageSize=100 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&onlyChild=0&unlock=2&pageNum=1&pageSize=100
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&onlyChild=0&unlock=2&pageNum=1&pageSize=100
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
ISO-8859-5 confidence = 0.0, below negative shortcut threshhold 0.05
MacCyrillic confidence = 0.030388450804567323, below negative shortcut threshhold 0.05
ISO-8859-5 confidence = 0.0, below negative shortcut threshhold 0.05
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 not active
MacCyrillic not active
IBM866 Russian confidence = 0.054479334654696274
IBM855 Russian confidence = 0.07357997465731157
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 not active
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.06121985445653572
ISO-8859-9 Turkish confidence = 0.1998486214054909
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&onlyChild=0&unlock=2&pageNum=1&pageSize=100
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"971134668223156224","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/d0d15693e059e2525d4ea469451e4387.jpg","nickName":"人生若只如初见","height":"170","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":2,"education":"大专","age":29,"occupationCode":109,"occupation":"健康顾问","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":1,"describeInfo":"初见乍惊欢、久处亦怦然,希望这份爱意撑过每个四季。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"965354767578697728","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c3265d8bb35325df5394d8ef6023703c.jpg","nickName":"就是不吃饭\uD83D\uDC31","height":"160","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":4,"education":"硕士","age":29,"occupationCode":179,"occupation":"政府机构~公务员","minimumIncome":20001,"maximumIncome":50000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970324163422195712","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/fcbd919c52f60986350d950945a6fe42.jpg","nickName":"黑色星期四","height":"176","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":19,"occupationCode":44,"occupation":"商务经理","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"你只需要做到一点,善良、相互扶持相伴到老的决心 我想找一个爱我、我爱的人。 每天有很多想说的话 每天起床深情的拥抱一个吻。 一起买菜,我做饭你负责吃。 一起看电影,接受我时不时送点小礼物。 偶尔来一场说走就走的旅行。 你开心的时候我们一起笑。 你不开心的时候我哄你笑,当你灵魂的避风港,给你寄托。 请原谅我不够优秀。我愿意努力打拼给你想要的生活。 永久的陪伴!比一万句虚情假意的告白还实在。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970322941147484160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5d5367ee8d409e47da16dff9f3962d61.jpg","nickName":"漫天星河不及你回朦一瞥","height":"153","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":18,"occupationCode":83,"occupation":"编辑","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":"所有人都显得很寂寞,用自己的方式想尽办法排遣寂寞,事实上仍是延续自己的寂寞。寂寞是造化对群居者的诅咒,孤独才是寂寞的唯一出口。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"972854309609934848","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b106f4c511921e4e6076f361f835ed4b.jpg","nickName":"小十七","height":"157","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440500,"domicilePlaceCityName":"汕头市","educationCode":5,"education":"博士","age":28,"occupationCode":16,"occupation":"技术总监","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"本人待人谦和有礼,温柔善良,对待生活和工作乐观积极向上。比较注重形象和生活品质,户口在汕头,本科毕业于211大学,目前在广东省级国企从事设计工作,为本行业天花板级别企业,工作稳定。等不到天黑,烟火不会太完美~","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市"},{"miId":"971027698891755520","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c4ffc55089f4ad31d470a4a4139762c0.jpg","nickName":"该昵称已存在","height":"170","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":4,"education":"硕士","age":29,"occupationCode":165,"occupation":"商场经理","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"女,95年,170/58。衡阳人,在广州工作,外企财务会计。寻觅一个三品好,三观一致的男生为伴。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"971032356280471552","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/82d51050e13fea977a054a0208d1e616.jpg","nickName":"零碎小土豆\uD83D\uDCD5","height":"162","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":32,"occupationCode":124,"occupation":"工程师","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"曾经以为,林深时见鹿,海蓝时见鲸,梦醒时见你。后来才发现,林深时雾起,不知归处;海蓝时浪涌,望而却步;梦醒时夜续,惊慌失措。不见鹿不见鲸,亦不见你。年少时,春风得意马蹄疾,不信人间有别离。多年后才明白,风月无情人暗换,旧游如梦空肠断。原来真正的离别,不是桃花潭水,不是古道长亭。而是我们已经和很多人,见完了最后一面,却没有来得及说再见。人生千千结,就有千千劫。解开一个结,才能渡过一个劫。人生苦短而世事繁杂,走不出自己的执念,到哪里都是牢笼。会者定离,一期一祈。知其不可奈何,而安之若命,这是我们一生的必修课。最后,祝我们自有人随风,自有人随梦,自有人长留。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"970325077335871488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b26399e635fa7dd44808342595fa334a.jpg","nickName":"百变少女猪刚","height":"168","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":1,"education":"中专","age":33,"occupationCode":6,"occupation":"渠道/分销专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"大部分人在二三十岁上就死去了,因为过了这个年龄,他们只是自己的影子,此后的余生则是在模仿自己中度过,日复一日,更机械,更装腔作势地重复他们在有生之年的所作所为,所思所想,所爱所恨。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"971041028884795392","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c11a7e66e47492db879792954aa44b84.jpg","nickName":"美少女壮士","height":"161","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":2,"education":"大专","age":38,"occupationCode":179,"occupation":"公务员","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":"想找个人安安稳稳的过日子,比较直男,是别人口中的老实人,跟陌生人比较拘谨,在熟人面前会比较诙谐幽默,能接受另一半粘人任性中二强势都可以,但不能太过无理取闹","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"971037939993808896","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/699b9ee0b52a22f0b4ac7919b9d26b28.jpg","nickName":"举不动的小公主","height":"179","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":40,"occupationCode":120,"occupation":"分析师","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"坚持备考学习、常运动,会做一些菜,有时间可以多学,能吃辣,基本不挑食,职业接触女生较少,希望找到合适的一半。看在哪发展再考虑买房,买车想买比亚迪宋,两个人一起,三观很重要,想每年和另一半至少一次出去旅游。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"970328723557584896","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/91b79f1e3eb2b13fa334de8157a6b9be.jpg","nickName":"萝莉啰嗦","height":"163","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":51,"occupationCode":175,"occupation":"乘务员","minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":"73年天蝎座,163cm,海外留学本科毕业,在传媒公司做宣传策划,收入稳定,偶尔加班,较少应酬。信奉“活到老学到老”的箴言,始终在为更美好的生活努力奋斗着。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"972198811596361728","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/884c65f91e6b346bb7c9e26e750ce4d3.jpg","nickName":"可爱弓长张\uD83E\uDD86","height":"155","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":42,"occupationCode":60,"occupation":"秘书","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"}],"total":12,"size":100,"current":1,"pages":1}}
${reps} = <Response [200]>
${total}
${reps.json()['data']}
total
Returns a value from the given ``dictionary`` based on the given ``key``.
${total} = 12
${total}
Makes a variable available globally in all tests and suites.
${total} = 12
${onlyChild}
Makes a variable available globally in all tests and suites.
${onlyChild} = 0
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${genderCode}
${genderCode}==1
0
1
Sets variable based on the given condition.
${genderCode} = 1
${check}
SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '${genderCode}' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `only_child` = '${onlyChild}'
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `only_child` = '0'
${check} = ((12,),)
${count}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
${count} = 12
${count}
${total}
Fails if objects are unequal after converting them to real numbers.
Argument types are:
<class 'int'>
<class 'int'>
Disconnects from the database.
Executing : Disconnect From Database
${userId}
${client_header}
${userid_list}
${Cheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
path_url=/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.02880467202711454
IBM855 Russian confidence = 0.07850135105299849
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.014072065903853322
ISO-8859-9 Turkish confidence = 0.38571294635721
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 968624977177874432
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 格拉斯🐉
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 格拉斯🐉
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['968624977177874432']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/information/details/byid
params=miId=${miId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.026914112175795462
IBM855 Russian confidence = 0.07363150575366771
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.025793635271409567
ISO-8859-9 Turkish confidence = 0.4006453319403738
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":"968624964985032704","nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":{"id":"971027940525608960","isDelete":false,"createTime":"2024-03-29 09:59:27","updateTime":null,"event":null,"miId":968624977177874432,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"minAge":null,"maxAge":null,"minHeight":150,"maxHeight":190,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nativePlaceCode":null,"nativePlaceName":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"minIncome":null,"maxIncome":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},"marriageSeekingContacts":[{"id":"972235829873348608","isDelete":false,"createTime":"2024-04-01 17:59:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":0,"familyTies":"本人","phone":"19128859944","wechatId":"qianniao2020"},{"id":"972504849625255936","isDelete":false,"createTime":"2024-04-02 11:48:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":2,"familyTies":"亲友","phone":"18024004975","wechatId":""}],"age":40}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 40
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 173
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1984
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${cityCode}
${reps.json()['data']}
domicilePlaceCityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440300
${cityName}
${reps.json()['data']}
domicilePlaceCityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 深圳市
${provinceCode}
${reps.json()['data']}
domicilePlaceProvinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
domicilePlaceProvinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${age}
Makes a variable available globally in all tests and suites.
${age} = 40
${height}
Makes a variable available globally in all tests and suites.
${height} = 173
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440300
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 深圳市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1984
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${provinceCode}
Makes a variable available globally in all tests and suites.
${provinceCode} = 440000
${provinceName}
Makes a variable available globally in all tests and suites.
${provinceName} = 广东省
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-mall/user/list/right/by/customer
params=miId=${miId}&type=302
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
path_url=/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
EUC-JP Japanese prober hit error at byte 57
EUC-KR Korean prober hit error at byte 57
CP949 Korean prober hit error at byte 62
Big5 Chinese prober hit error at byte 57
EUC-TW Taiwan prober hit error at byte 57
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.01
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.26986590902712254
ISO-8859-9 Turkish confidence = 0.49088663115755865
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"高级搜索","type":302,"rightSpecUnit":102,"startTime":"2024-03-29 11:05:10","endTime":"2024-07-18 11:05:10","remainingDays":101,"rightCount":88,"dailyUseLimit":-1,"dailyUseCount":46,"enable":true}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 88, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}
Makes a variable available globally in all tests and suites.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 88, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}==[]
数据库新增高级搜索权益
ELSE
用户高级搜索权益
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
@{data_list}
{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 88, 'dailyUseLimit': -1, 'dailyUseCou...
${enable}
${data}
enable
Returns a value from the given ``dictionary`` based on the given ``key``.
${enable} = True
${enable}
Makes a variable available globally in all tests and suites.
${enable} = True
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/car/purchase/situation
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/car/purchase/situation HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/car/purchase/situation
path_url=/dating-agency-service/user/get/car/purchase/situation
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.25598990785387277
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.07632571164403468
ISO-8859-9 Turkish confidence = 0.38231888131757513
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/car/purchase/situation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"value":1,"desc":"已购车"},{"value":0,"desc":"未购车"}]}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = [{'value': 1, 'desc': '已购车'}, {'value': 0, 'desc': '未购车'}]
${carPurchaseSituationData}
random.choice(${data})
random
Evaluates the given expression in Python and returns the result.
${carPurchaseSituationData} = {'value': 0, 'desc': '未购车'}
${carPurchaseSituation}
${carPurchaseSituationData}
desc
Returns a value from the given ``dictionary`` based on the given ``key``.
${carPurchaseSituation} = 未购车
${carPurchaseSituationCode}
${carPurchaseSituationData}
value
Returns a value from the given ``dictionary`` based on the given ``key``.
${carPurchaseSituationCode} = 0
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/recommendation/page
params=advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&carPurchaseSituation=${carPurchaseSituation}&carPurchaseSituationCode=${carPurchaseSituationCode}&unlock=2&pageNum=1&pageSize=100
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&carPurchaseSituation=%E6%9C%AA%E8%B4%AD%E8%BD%A6&carPurchaseSituationCode=0&unlock=2&pageNum=1&pageSize=100 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&carPurchaseSituation=%E6%9C%AA%E8%B4%AD%E8%BD%A6&carPurchaseSituationCode=0&unlock=2&pageNum=1&pageSize=100
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&carPurchaseSituation=%E6%9C%AA%E8%B4%AD%E8%BD%A6&carPurchaseSituationCode=0&unlock=2&pageNum=1&pageSize=100
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
IBM866 confidence = 0.04943574702763231, below negative shortcut threshhold 0.05
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0009960353828072316
MacCyrillic Russian confidence = 0.0193469416240877
IBM866 not active
IBM855 Russian confidence = 0.08419996155269867
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.060284951611452794
ISO-8859-9 Turkish confidence = 0.2441003727758363
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&carPurchaseSituation=%E6%9C%AA%E8%B4%AD%E8%BD%A6&carPurchaseSituationCode=0&unlock=2&pageNum=1&pageSize=100
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:14 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"965354767578697728","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c3265d8bb35325df5394d8ef6023703c.jpg","nickName":"就是不吃饭\uD83D\uDC31","height":"160","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":4,"education":"硕士","age":29,"occupationCode":179,"occupation":"政府机构~公务员","minimumIncome":20001,"maximumIncome":50000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970327677879848960","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/960b3d371ed4af8788c1fc4a8c889933.jpg","nickName":"陌上花开李小姐","height":"175","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":40,"occupationCode":63,"occupation":"总经理","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":"希望他170cm以上,定居在北京,最好有北京户口,以及最好在城里有房子。有阅历,见过世面,对自己的未来有规划,有不错的挣钱能力,不吸烟(对自己和他人健康负责),无任何不良嗜好。有责任心、上进心、事业心,心胸宽广脾气好,沉稳大度,家人脾气温和。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"971027698891755520","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c4ffc55089f4ad31d470a4a4139762c0.jpg","nickName":"该昵称已存在","height":"170","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":4,"education":"硕士","age":29,"occupationCode":165,"occupation":"商场经理","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"女,95年,170/58。衡阳人,在广州工作,外企财务会计。寻觅一个三品好,三观一致的男生为伴。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市"},{"miId":"970325077335871488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b26399e635fa7dd44808342595fa334a.jpg","nickName":"百变少女猪刚","height":"168","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":1,"education":"中专","age":33,"occupationCode":6,"occupation":"渠道/分销专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"大部分人在二三十岁上就死去了,因为过了这个年龄,他们只是自己的影子,此后的余生则是在模仿自己中度过,日复一日,更机械,更装腔作势地重复他们在有生之年的所作所为,所思所想,所爱所恨。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"968586773494108160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/31cfe566de5a978ef518510588c03ef7.jpg","nickName":"ゝ回眸相視笑\r\n","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":610000,"domicilePlaceProvinceName":"陕西省","domicilePlaceCityCode":610700,"domicilePlaceCityName":"汉中市","educationCode":5,"education":"博士","age":29,"occupationCode":167,"occupation":"店员","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"970060900805513216","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c9525ae0873fe94a5dd15a01717c07a0.jpg","nickName":"玉兰花","height":"167","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":1,"education":"中专","age":19,"occupationCode":120,"occupation":"分析师","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":710000,"hometownProvinceName":"台湾","hometownCityCode":710600,"hometownCityName":"南投县"},{"miId":"969960468829573120","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/761fc775f7189b611dbd157218a6b4b8.jpg","nickName":"火红的撒日朗","height":"175","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":1,"education":"中专","age":37,"occupationCode":175,"occupation":"乘务员","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"身高最好172以上吧,不过长相喜欢干净斯文清瘦一点的,有少年感。希望是双眼皮或者是单眼皮大眼睛。至于三观是否一致,只有接触之后才能知道啦。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969998148917399552","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/3a949227719af879e0d3110dd8b46da9.jpg","nickName":"花间梦","height":"157","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":5,"education":"博士","age":18,"occupationCode":103,"occupation":"医药生产人员","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"968862332996423680","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/2c54fbbb51adcaf03ce67bca50157d65.png","nickName":"测试王小","height":"169","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440200,"domicilePlaceCityName":"韶关市","educationCode":3,"education":"大学本科","age":59,"occupationCode":48,"occupation":"商贸/采购~外贸经理","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"女的 活的 聊得来的 符合条件直接私信","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":460000,"hometownProvinceName":"海南省","hometownCityCode":469033,"hometownCityName":"乐东黎族自治县"},{"miId":"969999399285559296","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b52a0c7aafadaedb0037bb2c8a4c9008.jpg","nickName":"聆风私语","height":"162","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":2,"education":"大专","age":60,"occupationCode":64,"occupation":"副总经理","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969971990200979456","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/889ca4abb2de5874d87a945e7d6f80f3.jpg","nickName":"梵高的野玫瑰","height":"198","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":23,"occupationCode":52,"occupation":"人事总监","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"你让我心动 我让你心安 ;我知你冷暖 你懂我悲欢 ;你崇拜我像个英雄 我宠着你像个孩子 。我们都有自己的奋斗的事业和生活圈,即便再忙碌,能互相理解也能时刻牵挂着对方。没有太多的敏感 和猜忌 ,即使未来有大风大浪,我是你的靠山,你是我的避风港","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null}],"total":11,"size":100,"current":1,"pages":1}}
${reps} = <Response [200]>
${total}
${reps.json()['data']}
total
Returns a value from the given ``dictionary`` based on the given ``key``.
${total} = 11
${total}
Makes a variable available globally in all tests and suites.
${total} = 11
${carPurchaseSituation}
Makes a variable available globally in all tests and suites.
${carPurchaseSituation} = 未购车
${carPurchaseSituationCode}
Makes a variable available globally in all tests and suites.
${carPurchaseSituationCode} = 0
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${genderCode}
${genderCode}==1
0
1
Sets variable based on the given condition.
${genderCode} = 1
${check}
SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '${genderCode}' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `car_purchase_situation_code` = '${carPurchaseSituationCode}'
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `car_purchase_situation_code` = '0'
${check} = ((11,),)
${count}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
${count} = 11
${count}
${total}
Fails if objects are unequal after converting them to real numbers.
Argument types are:
<class 'int'>
<class 'int'>
Disconnects from the database.
Executing : Disconnect From Database
${userId}
${client_header}
${userid_list}
${Cheader_list}
968624964985032704
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/marriage/information/details
params=userId=${userId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=968624964985032704 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
path_url=/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.02880467202711454
IBM855 Russian confidence = 0.07850135105299849
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.014072065903853322
ISO-8859-9 Turkish confidence = 0.38571294635721
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=968624964985032704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:15 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 968624977177874432
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 格拉斯🐉
${miId_list}
Returns a list containing given items.
${miId_list} = []
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${miId_list}
${miId}
Adds ``values`` to the end of ``list``.
${message}
successful
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 格拉斯🐉
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['968624977177874432']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/information/details/byid
params=miId=${miId}
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.026914112175795462
IBM855 Russian confidence = 0.07363150575366771
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.025793635271409567
ISO-8859-9 Turkish confidence = 0.4006453319403738
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details/byid?miId=968624977177874432
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:15 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"id":"968624977177874432","isDelete":false,"createTime":"2024-03-22 18:50:56","updateTime":null,"event":null,"accountId":null,"userId":"968624964985032704","nickName":"格拉斯\uD83D\uDC09","name":"李博","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/781f8e5df27c775c455ec4b22e27c90b.png","identityCard":"429006198410300956","genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440103,"districtName":"荔湾区","birthYear":"1984","birthDate":"1984-10-30","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"鼠","height":173,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":0,"maritalStatusName":"未婚","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":"415343535487663","describeInfo":"我这辈子只有两件事不会做,就是这也不会,那也不会","self":0,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","auditProfilePhoto":null,"photoList":[{"id":"972503173824647168","isDelete":false,"createTime":"2024-04-02 11:41:30","updateTime":null,"event":null,"miId":968624977177874432,"photoType":1,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","auditImgId":972503147765436416,"auditStatus":1}],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":{"id":"971027940525608960","isDelete":false,"createTime":"2024-03-29 09:59:27","updateTime":null,"event":null,"miId":968624977177874432,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"minAge":null,"maxAge":null,"minHeight":150,"maxHeight":190,"educationCode":null,"education":null,"maritalStatusCode":null,"maritalStatusName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nativePlaceCode":null,"nativePlaceName":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"minIncome":null,"maxIncome":null,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},"marriageSeekingContacts":[{"id":"972235829873348608","isDelete":false,"createTime":"2024-04-01 17:59:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":0,"familyTies":"本人","phone":"19128859944","wechatId":"qianniao2020"},{"id":"972504849625255936","isDelete":false,"createTime":"2024-04-02 11:48:10","updateTime":null,"event":null,"miId":"968624977177874432","familyTiesCode":2,"familyTies":"亲友","phone":"18024004975","wechatId":""}],"age":40}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 40
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 173
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1984
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 0
${cityCode}
${reps.json()['data']}
domicilePlaceCityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440300
${cityName}
${reps.json()['data']}
domicilePlaceCityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 深圳市
${provinceCode}
${reps.json()['data']}
domicilePlaceProvinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
domicilePlaceProvinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${age}
Makes a variable available globally in all tests and suites.
${age} = 40
${height}
Makes a variable available globally in all tests and suites.
${height} = 173
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440300
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 深圳市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1984
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 0
${provinceCode}
Makes a variable available globally in all tests and suites.
${provinceCode} = 440000
${provinceName}
Makes a variable available globally in all tests and suites.
${provinceName} = 广东省
${miId}
${client_header}
${miId_list}
${Cheader_list}
968624977177874432
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-mall/user/list/right/by/customer
params=miId=${miId}&type=302
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
path_url=/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
EUC-JP Japanese prober hit error at byte 57
EUC-KR Korean prober hit error at byte 57
CP949 Korean prober hit error at byte 62
Big5 Chinese prober hit error at byte 57
EUC-TW Taiwan prober hit error at byte 57
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.0
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.0
ISO-8859-7 Greek confidence = 0.01
windows-1253 Greek confidence = 0.01
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.26986590902712254
ISO-8859-9 Turkish confidence = 0.49088663115755865
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.938125
SHIFT_JIS Japanese confidence = 0.01
EUC-JP not active
GB2312 Chinese confidence = 0.01
EUC-KR not active
CP949 not active
Big5 not active
EUC-TW not active
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/list/right/by/customer?miId=968624977177874432&type=302
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:15 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"rightName":"高级搜索","type":302,"rightSpecUnit":102,"startTime":"2024-03-29 11:05:10","endTime":"2024-07-18 11:05:10","remainingDays":101,"rightCount":87,"dailyUseLimit":-1,"dailyUseCount":47,"enable":true}]}
${reps} = <Response [200]>
${data_list}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 87, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}
Makes a variable available globally in all tests and suites.
${data_list} = [{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 87, 'dailyUseLimit': -1, 'dailyUseCo...
${data_list}==[]
数据库新增高级搜索权益
ELSE
用户高级搜索权益
Runs the given keyword with the given arguments, if ``condition`` is true.
${data}
@{data_list}
{'rightName': '高级搜索', 'type': 302, 'rightSpecUnit': 102, 'startTime': '2024-03-29 11:05:10', 'endTime': '2024-07-18 11:05:10', 'remainingDays': 101, 'rightCount': 87, 'dailyUseLimit': -1, 'dailyUseCou...
${enable}
${data}
enable
Returns a value from the given ``dictionary`` based on the given ``key``.
${enable} = True
${enable}
Makes a variable available globally in all tests and suites.
${enable} = True
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/property/permits
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/property/permits HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/property/permits
path_url=/dating-agency-service/user/get/property/permits
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.03393238544651725
IBM866 Russian confidence = 0.11669055628666565
IBM855 Russian confidence = 0.06162720003889529
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.03410070310146647
ISO-8859-9 Turkish confidence = 0.2885260252612016
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/property/permits
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:15 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":[{"value":0,"desc":"和家人同住"},{"value":1,"desc":"已购房"},{"value":2,"desc":"租房"},{"value":4,"desc":"婚后购房"},{"value":5,"desc":"单位宿舍"}]}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = [{'value': 0, 'desc': '和家人同住'}, {'value': 1, 'desc': '已购房'}, {'value': 2, 'desc': '租房'}, {'value': 4, 'desc': '婚后购房'}, {'value': 5, 'desc': '单位宿舍'}]
${propertyPermitsData}
random.choice(${data})
random
Evaluates the given expression in Python and returns the result.
${propertyPermitsData} = {'value': 4, 'desc': '婚后购房'}
${propertyPermits}
${propertyPermitsData}
desc
Returns a value from the given ``dictionary`` based on the given ``key``.
${propertyPermits} = 婚后购房
${propertyPermitsCode}
${propertyPermitsData}
value
Returns a value from the given ``dictionary`` based on the given ``key``.
${propertyPermitsCode} = 4
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
dating
${${dating}.dating域名}
${client_header}
Create Session: create a HTTP session to a server
Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-service/user/get/marriage/recommendation/page
params=advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&propertyPermits=${propertyPermits}&propertyPermitsCode=${propertyPermitsCode}&unlock=2&pageNum=1&pageSize=100
Sends a GET request on a previously created HTTP Session.
Starting new HTTP connection (1): dating-agency-api-test.qniao.cn
http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&propertyPermits=%E5%A9%9A%E5%90%8E%E8%B4%AD%E6%88%BF&propertyPermitsCode=4&unlock=2&pageNum=1&pageSize=100 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&propertyPermits=%E5%A9%9A%E5%90%8E%E8%B4%AD%E6%88%BF&propertyPermitsCode=4&unlock=2&pageNum=1&pageSize=100
path_url=/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&propertyPermits=%E5%A9%9A%E5%90%8E%E8%B4%AD%E6%88%BF&propertyPermitsCode=4&unlock=2&pageNum=1&pageSize=100
headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tqQ21W0jK6ZsWHkMHoAFGk0bEv+ndxzTOnYoBEdMEtuAfc/fYLLPg7fgdv2KBXBndA=='}
body=None
IBM866 confidence = 0.04542052630827689, below negative shortcut threshhold 0.05
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
windows-1251 Russian confidence = 0.01
KOI8-R Russian confidence = 0.01
ISO-8859-5 Russian confidence = 0.0
MacCyrillic Russian confidence = 0.02880779657322843
IBM866 not active
IBM855 Russian confidence = 0.08194995293662256
ISO-8859-7 Greek confidence = 0.0
windows-1253 Greek confidence = 0.0
ISO-8859-5 Bulgairan confidence = 0.0
windows-1251 Bulgarian confidence = 0.0
TIS-620 Thai confidence = 0.03646087246995663
ISO-8859-9 Turkish confidence = 0.2331196223353848
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.0
utf-8 confidence = 0.99
SHIFT_JIS Japanese confidence = 0.01
EUC-JP Japanese confidence = 0.01
GB2312 Chinese confidence = 0.01
EUC-KR Korean confidence = 0.01
CP949 Korean confidence = 0.01
Big5 Chinese confidence = 0.01
EUC-TW Taiwan confidence = 0.01
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?advancedQuery=true&queryType=1&minAge=18&maxAge=80&minHeight=0&maxHeight=207&minimumIncome=0&maximumIncome=10000000&propertyPermits=%E5%A9%9A%E5%90%8E%E8%B4%AD%E6%88%BF&propertyPermitsCode=4&unlock=2&pageNum=1&pageSize=100
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Apr 2024 08:42:15 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"records":[{"miId":"970322941147484160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5d5367ee8d409e47da16dff9f3962d61.jpg","nickName":"漫天星河不及你回朦一瞥","height":"153","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":18,"occupationCode":83,"occupation":"编辑","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":"所有人都显得很寂寞,用自己的方式想尽办法排遣寂寞,事实上仍是延续自己的寂寞。寂寞是造化对群居者的诅咒,孤独才是寂寞的唯一出口。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970319848892665856","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e94e9f29216a38527dbdc3aa75f7f415.jpg","nickName":"骑士","height":"156","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":4,"education":"硕士","age":20,"occupationCode":183,"occupation":"兽医","minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":"闲时喜爱打游戏,但不沉迷。我认为用心经营一段美好的事情,是比游戏更有趣、更有价值的事。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970325077335871488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/b26399e635fa7dd44808342595fa334a.jpg","nickName":"百变少女猪刚","height":"168","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":1,"education":"中专","age":33,"occupationCode":6,"occupation":"渠道/分销专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"大部分人在二三十岁上就死去了,因为过了这个年龄,他们只是自己的影子,此后的余生则是在模仿自己中度过,日复一日,更机械,更装腔作势地重复他们在有生之年的所作所为,所思所想,所爱所恨。","hasConsumeUnlockMorePeople":true,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"970328723557584896","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/91b79f1e3eb2b13fa334de8157a6b9be.jpg","nickName":"萝莉啰嗦","height":"163","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":51,"occupationCode":175,"occupation":"乘务员","minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":"73年天蝎座,163cm,海外留学本科毕业,在传媒公司做宣传策划,收入稳定,偶尔加班,较少应酬。信奉“活到老学到老”的箴言,始终在为更美好的生活努力奋斗着。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市"},{"miId":"968586773494108160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/31cfe566de5a978ef518510588c03ef7.jpg","nickName":"ゝ回眸相視笑\r\n","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":610000,"domicilePlaceProvinceName":"陕西省","domicilePlaceCityCode":610700,"domicilePlaceCityName":"汉中市","educationCode":5,"education":"博士","age":29,"occupationCode":167,"occupation":"店员","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969960468829573120","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/761fc775f7189b611dbd157218a6b4b8.jpg","nickName":"火红的撒日朗","height":"175","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":1,"education":"中专","age":37,"occupationCode":175,"occupation":"乘务员","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"身高最好172以上吧,不过长相喜欢干净斯文清瘦一点的,有少年感。希望是双眼皮或者是单眼皮大眼睛。至于三观是否一致,只有接触之后才能知道啦。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969966846310748160","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/a2a78cdb419f6f2d85d0dc87dc45abd3.jpg","nickName":"……","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":2,"education":"大专","age":49,"occupationCode":171,"occupation":"飞行员","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null},{"miId":"969998148917399552","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/3a949227719af879e0d3110dd8b46da9.jpg","nickName":"花间梦","height":"157","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":5,"education":"博士","age":18,"occupationCode":103,"occupation":"医药生产人员","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null}],"total":8,"size":100,"current":1,"pages":1}}
${reps} = <Response [200]>
${total}
${reps.json()['data']}
total
Returns a value from the given ``dictionary`` based on the given ``key``.
${total} = 8
${total}
Makes a variable available globally in all tests and suites.
${total} = 8
${propertyPermits}
Makes a variable available globally in all tests and suites.
${propertyPermits} = 婚后购房
${propertyPermitsCode}
Makes a variable available globally in all tests and suites.
${propertyPermitsCode} = 4
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${genderCode}
${genderCode}==1
0
1
Sets variable based on the given condition.
${genderCode} = 1
${check}
SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '${genderCode}' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `property_permits_code` = '${propertyPermitsCode}'
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT count(*) FROM `dating_agency_service`.`da_marriage_information` WHERE `gender_code` = '1' AND `profile_photo` <> 'null' AND `is_delete` = '0' AND `property_permits_code` = '4'
${check} = ((8,),)
${count}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
${count} = 8
${count}
${total}
Fails if objects are unequal after converting them to real numbers.
Argument types are:
<class 'int'>
<class 'int'>
Disconnects from the database.
Executing : Disconnect From Database
高级搜索
相亲页面
All Tests
Dating-agency
Dating-agency.0-Login
Dating-agency.0-Login.Login-interface
Dating-agency.1-Applet
Dating-agency.1-Applet.2-Homepage
Dating-agency.1-Applet.2-Homepage.BlindDate
Dating-agency.1-Applet.2-Homepage.BlindDate.AdvancedSearch