${EXECDIR}\\DA_data.yaml
Imports a variable file with the given path and optional arguments.
${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} = 手机号
18548157976
${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} = 18548157976
${id}
${content}
18548157976
${id}
${id}
\n
Splits the ``string`` using ``separator`` as a delimiter string.
${id} = ['18548157976']
${id}
Makes a variable available globally in all tests and suites.
${id} = ['18548157976']
${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}
18548157976
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":"18548157976", "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":"18548157976", "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': 'Tue, 09 Apr 2024 09:07:59 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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==","userId":"974358220019732480"}}
${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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==
${userId}
${reps.json()['data']}
userId
Returns a value from the given ``dictionary`` based on the given ``key``.
${userId} = 974358220019732480
${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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==','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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
${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} = 18548157976
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 18548157976
${userid_list}
Makes a variable available globally in all tests and suites.
${userid_list} = ['974358220019732480']
${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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==','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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}"]
${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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==','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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
${Aheader}
Returns a list containing given items.
${Aheader} = []
${userId}
${login_header}
${userid_list}
${Aheader_list}
974358220019732480
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==','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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==', '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=974358220019732480 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=974358220019732480
path_url=/dating-agency-uec/user/list/own-organization?userId=974358220019732480
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==', 'X-Organization-Id': '963432943739605555'}
body=None
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=974358220019732480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 09:07:59 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":[]}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = []
${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.
未获取到组织信息!
Logs the given message with the given level.
未获取到组织信息!
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==','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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==', '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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==', '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': 'Tue, 09 Apr 2024 09:08:00 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":"974358220019732480","realName":null,"nickName":null,"phone":"18548157976","matchmakerFlag":false}}
${reps} = <Response [200]>
${phone}
${reps.json()['data']}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${phone} = 18548157976
${matchmakerFlag}
${reps.json()['data']}
matchmakerFlag
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerFlag} = False
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 18548157976
${matchmakerFlag}
Makes a variable available globally in all tests and suites.
${matchmakerFlag} = False
接口:短信验证码登录认证
用户登录婚介平台
${EXECDIR}\\DA_data.yaml
Imports a variable file with the given path and optional arguments.
${userId}
${client_header}
${userid_list}
${Cheader_list}
974358220019732480
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}, 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=974358220019732480 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=974358220019732480
path_url=/dating-agency-service/user/get/marriage/information/details?userId=974358220019732480
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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.05357220425955006
IBM855 Russian confidence = 0.10004203295438706
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.04943664281746858
ISO-8859-9 Turkish confidence = 0.3730374383326199
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=974358220019732480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 09:08:00 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":"974393791588995072","isDelete":false,"createTime":"2024-04-07 16:54:08","updateTime":null,"event":null,"accountId":null,"userId":"974358220019732480","nickName":"骑猪追帅哥","name":null,"profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/94ebc0dc461bea0feea8876620a922fb.jpg","identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440114,"districtName":"花都区","birthYear":"1996","birthDate":null,"constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":null,"height":164,"weight":null,"educationCode":5,"education":"博士","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","diplomaVerificationCode":null,"describeInfo":"陪你青丝变白发,陪你朝阳又夕下,我们三餐四季,我们煮茶赏花","self":null,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440500,"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":440500,"hometownCityName":"汕头市","auditProfilePhoto":null,"photoList":[],"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} = 974393791588995072
${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} = 1
${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} = ['974393791588995072']
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 1
${miId}
${client_header}
${miId_list}
${Cheader_list}
974393791588995072
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}, 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=974393791588995072 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=974393791588995072
path_url=/dating-agency-service/user/get/marriage/information/details/byid?miId=974393791588995072
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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.05357220425955006
IBM855 Russian confidence = 0.10004203295438706
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.04943664281746858
ISO-8859-9 Turkish confidence = 0.37313750608703655
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=974393791588995072
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 09:08:00 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":"974393791588995072","isDelete":false,"createTime":"2024-04-07 16:54:08","updateTime":null,"event":null,"accountId":null,"userId":"974358220019732480","nickName":"骑猪追帅哥","name":null,"profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/94ebc0dc461bea0feea8876620a922fb.jpg","identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440114,"districtName":"花都区","birthYear":"1996","birthDate":null,"constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":null,"height":164,"weight":null,"educationCode":5,"education":"博士","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","diplomaVerificationCode":null,"describeInfo":"陪你青丝变白发,陪你朝阳又夕下,我们三餐四季,我们煮茶赏花","self":null,"domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440500,"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":440500,"hometownCityName":"汕头市","auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":[],"age":28}}
${reps} = <Response [200]>
${age}
${reps.json()['data']}
age
Returns a value from the given ``dictionary`` based on the given ``key``.
${age} = 28
${height}
${reps.json()['data']}
height
Returns a value from the given ``dictionary`` based on the given ``key``.
${height} = 164
${cityCode}
${reps.json()['data']}
cityCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityCode} = 440100
${cityName}
${reps.json()['data']}
cityName
Returns a value from the given ``dictionary`` based on the given ``key``.
${cityName} = 广州市
${birthYear}
${reps.json()['data']}
birthYear
Returns a value from the given ``dictionary`` based on the given ``key``.
${birthYear} = 1996
${education}
${reps.json()['data']}
education
Returns a value from the given ``dictionary`` based on the given ``key``.
${education} = 博士
${genderCode}
${reps.json()['data']}
genderCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${genderCode} = 1
${provinceCode}
${reps.json()['data']}
provinceCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceCode} = 440000
${provinceName}
${reps.json()['data']}
provinceName
Returns a value from the given ``dictionary`` based on the given ``key``.
${provinceName} = 广东省
${educationCode}
${reps.json()['data']}
educationCode
Returns a value from the given ``dictionary`` based on the given ``key``.
${educationCode} = 5
${age}
Makes a variable available globally in all tests and suites.
${age} = 28
${height}
Makes a variable available globally in all tests and suites.
${height} = 164
${cityCode}
Makes a variable available globally in all tests and suites.
${cityCode} = 440100
${cityName}
Makes a variable available globally in all tests and suites.
${cityName} = 广州市
${birthYear}
Makes a variable available globally in all tests and suites.
${birthYear} = 1996
${education}
Makes a variable available globally in all tests and suites.
${education} = 博士
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 1
${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} = 广东省
${educationCode}
Makes a variable available globally in all tests and suites.
${educationCode} = 5
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}, 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=queryType=0&pageNum=1&pageSize=30
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?queryType=0&pageNum=1&pageSize=30 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/recommendation/page?queryType=0&pageNum=1&pageSize=30
path_url=/dating-agency-service/user/get/marriage/recommendation/page?queryType=0&pageNum=1&pageSize=30
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
body=None
ISO-8859-5 confidence = 0.000331991819462685, below negative shortcut threshhold 0.05
MacCyrillic confidence = 0.02159579578456897, below negative shortcut threshhold 0.05
ISO-8859-5 confidence = 0.0, below negative shortcut threshhold 0.05
TIS-620 confidence = 0.04329012259381072, 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.05058922375933749
IBM855 Russian confidence = 0.07696815447264599
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 not active
ISO-8859-9 Turkish confidence = 0.2196267287131082
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?queryType=0&pageNum=1&pageSize=30
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 09:08:00 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":"965011050246311936","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/8cbf88dcf62dd796304b966bd9a61641.png","nickName":"hinzai","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440500,"domicilePlaceCityName":"汕头市","educationCode":3,"education":"大学本科","age":29,"occupationCode":18,"occupation":"互联网/通信~工程师","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"在学习上,严格要求自己,端正工作态度,作到了理论联理实际;从而提高了自身的一专多能的长处及思想文化素质,包括生活中也学到了养成良好的生活习惯,生活充实而有条理,有严谨的生活态度和良好的生活作风,为人热情大方,诚实守信,乐于助人,拥有自己的良好做事原则,能与同事们和睦相处。思想上,自觉遵守公司的的,坚持参加公司的每次的培训。要求积极上进,爱护公司的一砖一瓦,一直严谨的态度和积极的热情投身于学习和工作中,虽然有成功的泪水,也有失败的辛酸,然而日益激烈的社会竟争也使我充分地认识到成为一名德智体全面发展的优秀工作者的重要性。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","miSession":true,"meLike":null},{"miId":"970726729482113024","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/42e77d2434934a6fc24638fd5bf130d6.jpg","nickName":"别打了我是酱油","height":"182","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":29,"occupationCode":20,"occupation":"测试专员","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"971089705254916096","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/894641101adeadccc172acaf0acc9c63.jpg","nickName":"餐桌C位","height":"180","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":430000,"domicilePlaceProvinceName":"湖南省","domicilePlaceCityCode":430400,"domicilePlaceCityName":"衡阳市","educationCode":5,"education":"博士","age":29,"occupationCode":21,"occupation":"运营管理","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"关于我~爱穿搭收拾打理自己,爱生活偶尔也爱下厨健身!~时而温柔时而霸道!不抽烟没有不良嗜好!我的身高178,因为工作原因身边接触不到异性,听朋友说来这里找到了女朋友,想在这里找到另一半毕业后一直在广州工作生活,平时工作忙,自己的事情多,然后圈子小,没有遇到合适的,一直当现在都是单身,工作之余我会研究美食,跟小猫一起玩,喊朋友一起打球我的理想型是有衣品,重感情,待人真诚,温和好相处的女生,希望能够互相包容,一起可以做我们喜欢的事情!","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSession":false,"meLike":null},{"miId":"970289910948958208","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/118b97c369e7d820cc9dbb7945f5df4b.jpg","nickName":"这个杀手不太冷","height":"168","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":5,"education":"博士","age":29,"occupationCode":6,"occupation":"渠道/分销专员","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":"希望他160cm以上,定居在广州,最好有广州户口,以及最好在城里有房子。有阅历,见过世面,对自己的未来有规划,有不错的挣钱能力,不吸烟(对自己和他人健康负责),无任何不良嗜好。有责任心、上进心、事业心,心胸宽广脾气好,沉稳大度,家人脾气温和。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"967837097014726656","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/58d845ae23138536b5b47c4bd5034d9f.png","nickName":"真爱不等待&结婚趁现在","height":"162","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":26,"occupationCode":184,"occupation":"其他~自由职业","minimumIncome":3001,"maximumIncome":5000,"incomeCode":2,"income":"5001~8000","realNameAudit":1,"describeInfo":"我,如同夜空中最璀璨的星辰,闪耀着独特的光芒。我的内心仿佛是一个无尽的宇宙,充满着无限的创造力和想象力。每一个想法都是一颗流星,划过黑暗的天幕,燃烧着激情与智慧的火焰。\n \n我不惧挑战,因为我知道每一次的困难都是成长的机遇。我勇往直前,冲破层层迷雾,探索未知的领域。我相信自己的能力,如同相信太阳的升起,坚定而不可动摇。\n \n世界在我眼中是一幅绚丽多彩的画卷,等待着我去描绘。我用心灵的笔触,勾勒出属于自己的传奇。无论前方有多少荆棘和坎坷,我都将以无比的热情和决心,书写属于我的辉煌篇章。\n \n我就是那个永不放弃的追梦人,那个用汗水和努力铸就辉煌的战士。我的内心独白,如同激昂的乐章,奏响着通向成功的旋律。我将以无比的自信和勇气,迎接未来的每一个挑战","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440100,"hometownCityName":"广州市","miSession":false,"meLike":null},{"miId":"971053800343343104","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/6a22917ec872e71815020f5731422980.jpg","nickName":"冰糖葫芦娃","height":"189","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":36,"occupationCode":143,"occupation":"审计师","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"陪你青丝变白发,陪你朝阳又夕下,我们三餐四季,我们煮茶赏花","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSession":false,"meLike":null},{"miId":"970721563563397120","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/24ef3e3c4e781b97c9e3da52cc2a6a88.jpg","nickName":"Tough","height":"183","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","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":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970376931868545024","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/3d9ccb6c9206e28c3dd6104d38eccd19.jpg","nickName":"心之所向","height":"178","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440300,"domicilePlaceCityName":"深圳市","educationCode":2,"education":"大专","age":21,"occupationCode":145,"occupation":"税务专员","minimumIncome":3001,"maximumIncome":5000,"incomeCode":1,"income":"3001~5000","realNameAudit":0,"describeInfo":"长相喜欢干净斯文清瘦一点的,有少年感。希望是双眼皮或者是单眼皮大眼睛。至于三观是否一致,只有接触之后才能知道啦。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970373194894675968","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/aea0caca25438b7490305cd4c704d515.jpg","nickName":"有一个朋友","height":"183","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":35,"occupationCode":70,"occupation":"广告客户专员","minimumIncome":50001,"maximumIncome":999999,"incomeCode":6,"income":"50000以上","realNameAudit":0,"describeInfo":"男,89年,183/67。广东人,在上海工作,外企财务会计。寻觅一个三品好,三观一致的女生为伴。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970744650048606208","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/0c1e15d1c956cb8bb678b2a1f7992f76.jpg","nickName":"向阳","height":"175","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":35,"occupationCode":48,"occupation":"外贸经理","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":"大部分人在二三十岁上就死去了,因为过了这个年龄,他们只是自己的影子,此后的余生则是在模仿自己中度过,日复一日,更机械,更装腔作势地重复他们在有生之年的所作所为,所思所想,所爱所恨。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"971057219837759488","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/3fdbd451d84c4b7ae52f25feb9421418.jpg","nickName":"白色气球","height":"181","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":5,"education":"博士","age":32,"occupationCode":113,"occupation":"医生","minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":"比较喜欢安静独处的人,也会时不时来场说走就走的旅行。最近迷上各类体育运动(菜鸟阶段),也喜欢养花,喜欢音乐(没有好嗓子),比较讨厌酒吧等嘈杂的地方。在国企上班,工作稳定但是收入不算高,正在积极探索第二职业,争取早日实现财富自由。期待能和生命中的另一半一起风雨同舟,相互扶持,共同面对生活中的风风雨雨。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":430000,"hometownProvinceName":"湖南省","hometownCityCode":430400,"hometownCityName":"衡阳市","miSession":false,"meLike":null},{"miId":"970692730097373184","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/9e62e2e3ad1b53d20a933a651c958201.jpg","nickName":"Te-amo","height":"173","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":32,"occupationCode":176,"occupation":"船长","minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","realNameAudit":0,"describeInfo":"未来我肯定会有自己的事业,不过,更倾向于work life balance的生活。不求大富大贵,只希望平安快乐。喜欢自由一些的生活。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970695149304811520","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/c91757deace453ee22c3d12ea9913bd0.jpg","nickName":"故事的小黄花","height":"184","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":27,"occupationCode":12,"occupation":"客服主管","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":"性格沉稳安静、不爱争吵计较,在感兴趣的领域会畅所欲言,对陌生的领域更多的是倾听。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970742079451959296","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e40ca792f19cb70f045ebfe04c57c52c.jpg","nickName":"用发际线换对象","height":"176","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":33,"occupationCode":179,"occupation":"公务员","minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970683653929701376","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/82e53568724f2010025231a600fd78b2.jpg","nickName":"遥远的旅途2024","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":4,"education":"硕士","age":30,"occupationCode":113,"occupation":"医生","minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"970024994279133184","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/21f79ccaf480ffb9b0d689f4a1e551fb.jpg","nickName":"伏才","height":"186","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":5,"education":"博士","age":28,"occupationCode":111,"occupation":"其他","minimumIncome":20001,"maximumIncome":50000,"incomeCode":5,"income":"20001~50000","realNameAudit":0,"describeInfo":"过去都是假的,回忆是一条没有归途的路,以往的一切春天都无法复原,即使最狂热最坚贞的爱情,归根结底也不过是一种瞬息即逝的现实,唯有孤独永恒。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440100,"hometownCityName":"广州市","miSession":false,"meLike":null},{"miId":"970679713045549056","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/991c4bc6f06c1c3fb1d6a9a5178ee34c.jpg","nickName":"一枚普通人","height":"173","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":3,"education":"大学本科","age":28,"occupationCode":142,"occupation":"注册会计师","minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSession":false,"meLike":null},{"miId":"968963047592955904","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e245c18b37ad0183f8a548537e7b5613.jpg","nickName":"康桥","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":29,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"书香门第家庭,独生子,父母是泰州市的国企职工,即将退休,未来会有养老金,养老无压力。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSession":false,"meLike":null},{"miId":"968948789832454144","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5538b48387964d40e12aa70f48b7aa0c.jpg","nickName":"孟德斯鸠","height":"164","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":30,"occupationCode":null,"occupation":null,"minimumIncome":1,"maximumIncome":3000,"incomeCode":0,"income":"3000以下","realNameAudit":0,"describeInfo":"男,94年,164/52。泰州人,在上海工作,外企财务会计。寻觅一个三品好,三观一致的女生为伴。","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSession":false,"meLike":null},{"miId":"969608057694851072","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/34811393cbe1d9507fd96f9f0fae0988.jpg","nickName":"关你西红柿","height":"195","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":0,"education":"高中及以下","age":19,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":0,"describeInfo":null,"hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSession":false,"meLike":null},{"miId":"968970661819191296","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/8048e38b0d4a73f7d06fc1b17995ac6b.jpg","nickName":"躺赢局局长","height":"188","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":2,"education":"大专","age":36,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":0,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":false,"hometownProvinceCode":null,"hometownProvinceName":null,"hometownCityCode":null,"hometownCityName":null,"miSession":false,"meLike":null},{"miId":"969582409697857536","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg","nickName":"国产祖宗","height":"172","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"educationCode":0,"education":"高中及以下","age":32,"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,"miSession":false,"meLike":null}],"total":22,"size":30,"current":1,"pages":1}}
${reps} = <Response [200]>
${records}
${reps.json()['data']}
records
Returns a value from the given ``dictionary`` based on the given ``key``.
${records} = [{'miId': '965011050246311936', 'profilePhoto': 'https://dating-agency-test.oss-accelerate.aliyuncs.com/8cbf88dcf62dd796304b966bd9a61641.png', 'nickName': 'hinzai', 'height': '172', 'provinceCode': 44...
${userData}
random.choice(${records})
random
Evaluates the given expression in Python and returns the result.
${userData} = {'miId': '969582409697857536', 'profilePhoto': 'https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg', 'nickName': '国产祖宗', 'height': '172', 'provinceCode': 44000...
${miId}
${userData}
miId
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 969582409697857536
${miId}
Makes a variable available globally in all tests and suites.
${miId} = 969582409697857536
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${data}
{"miId":"${miId}"}
Returns the given values which can then be assigned to a variables.
${data} = {"miId":"969582409697857536"}
${reps}
dating
dating-agency-service/user/like/his
${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-service/user/like/his HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/like/his
path_url=/dating-agency-service/user/like/his
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow==', 'Content-Length': '29'}
body=b'{"miId":"969582409697857536"}'
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/like/his
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 09:08:00 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":"975122056221954048"}
${reps} = <Response [200]>
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
/dating-agency-service/user/get/user/mutual/attention/page
params=pageNum=1&pageSize=10&attentionType=0
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/user/mutual/attention/page?pageNum=1&pageSize=10&attentionType=0 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/user/mutual/attention/page?pageNum=1&pageSize=10&attentionType=0
path_url=/dating-agency-service/user/get/user/mutual/attention/page?pageNum=1&pageSize=10&attentionType=0
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/g6O5DXHixyNrf7tmEYvAdJBrPlSF4BRH+Igz9vBAh1sX/De8UZXW9lJ75ME3G8+NTwe+F/Vwoq0HiVow=='}
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.059176201609151186
IBM855 Russian confidence = 0.11816454226081301
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.05776077351106835
ISO-8859-9 Turkish confidence = 0.32795848841365505
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/user/mutual/attention/page?pageNum=1&pageSize=10&attentionType=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 09:08:00 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":"969582409697857536","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg","nickName":"国产祖宗","height":"172","provinceName":"广东省","cityName":"广州市","domicilePlaceProvinceName":null,"domicilePlaceCityName":null,"education":"高中及以下","age":32,"minimumIncome":20001,"maximumIncome":50000,"income":"20001~50000","describeInfo":null,"vip":0},{"miId":"970742079451959296","profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/e40ca792f19cb70f045ebfe04c57c52c.jpg","nickName":"用发际线换对象","height":"176","provinceName":"广东省","cityName":"广州市","domicilePlaceProvinceName":"广东省","domicilePlaceCityName":"广州市","education":"大学本科","age":33,"minimumIncome":12001,"maximumIncome":20000,"income":"12001~20000","describeInfo":null,"vip":0}],"total":2,"size":10,"current":1,"pages":1}}
${reps} = <Response [200]>
${records}
${reps.json()['data']}
records
Returns a value from the given ``dictionary`` based on the given ``key``.
${records} = [{'miId': '969582409697857536', 'profilePhoto': 'https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg', 'nickName': '国产祖宗', 'height': '172', 'provinceName': '广东省...
${Data}
random.choice(${records})
random
Evaluates the given expression in Python and returns the result.
${Data} = {'miId': '969582409697857536', 'profilePhoto': 'https://dating-agency-test.oss-accelerate.aliyuncs.com/204a522bc6cd2816aba1a5d24b8b9446.jpg', 'nickName': '国产祖宗', 'height': '172', 'provinceName': '广东省'...
${miIdData}
${Data}
miId
Returns a value from the given ``dictionary`` based on the given ``key``.
${miIdData} = 969582409697857536
${miIdData}==${miId}
Stops executing the enclosing FOR loop if the ``condition`` is true.
Exiting for loop altogether.
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.Interaction
Dating-agency.1-Applet.2-Homepage.Interaction.ILikeit