${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} = 手机号
15121074365
${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} = 15121074365
${id}
${content}
15121074365
${id}
${id}
\n
Splits the ``string`` using ``separator`` as a delimiter string.
${id} = ['15121074365']
${id}
Makes a variable available globally in all tests and suites.
${id} = ['15121074365']
${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} = []
${phoneList}
Returns a list containing given items.
${phoneList} = []
${account}
@{id}
15121074365
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":"15121074365", "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":"15121074365", "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, 30 Apr 2024 02:23:07 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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==","userId":"977568001438126080"}}
${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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==
${userId}
${reps.json()['data']}
userId
Returns a value from the given ``dictionary`` based on the given ``key``.
${userId} = 977568001438126080
${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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'96...
${login_header}
Logs the given message with the given level.
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'963432943739605555'}
${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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
${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``.
${phoneList}
${account}
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'>
${phoneList}
Makes a variable available globally in all tests and suites.
${phoneList} = ['15121074365']
${userid_list}
Makes a variable available globally in all tests and suites.
${userid_list} = ['977568001438126080']
${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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}"]
${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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
${Aheader}
Returns a list containing given items.
${Aheader} = []
${userId}
${login_header}
${userid_list}
${Aheader_list}
977568001438126080
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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=977568001438126080 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977568001438126080
path_url=/dating-agency-uec/user/list/own-organization?userId=977568001438126080
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}
body=None
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977568001438126080
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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.
未获取到组织信息!
${matchmakerFlagList}
Returns a list containing given items.
${matchmakerFlagList} = []
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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, 30 Apr 2024 02:23:07 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":"977568001438126080","realName":null,"nickName":null,"phone":"15121074365","matchmakerFlag":false}}
${reps} = <Response [200]>
${phone}
${reps.json()['data']}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${phone} = 15121074365
${matchmakerFlag}
${reps.json()['data']}
matchmakerFlag
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerFlag} = False
${matchmakerFlagList}
${matchmakerFlag}
Adds ``values`` to the end of ``list``.
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 15121074365
${matchmakerFlag}
Makes a variable available globally in all tests and suites.
${matchmakerFlag} = False
${matchmakerFlagList}
Makes a variable available globally in all tests and suites.
${matchmakerFlagList} = [False]
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/verify/qrcode
params=&qrCodeRecordId=982617756153286656
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/verify/qrcode?&qrCodeRecordId=982617756153286656 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/verify/qrcode?&qrCodeRecordId=982617756153286656
path_url=/dating-agency-uec/user/verify/qrcode?&qrCodeRecordId=982617756153286656
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
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.14221661547437375
IBM866 Russian confidence = 0.09751996489671343
IBM855 Russian confidence = 0.1706599385692485
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.0
ISO-8859-9 Turkish confidence = 0.4085339397462577
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/verify/qrcode?&qrCodeRecordId=982617756153286656
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":200100,"message":"二维码已失效","data":null}
${reps} = <Response [200]>
${code}
${reps.json()}
code
Returns a value from the given ``dictionary`` based on the given ``key``.
${code} = 200100
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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, 30 Apr 2024 02:23:07 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":"977568001438126080","realName":null,"nickName":null,"phone":"15121074365","matchmakerFlag":false}}
${reps} = <Response [200]>
${phone}
${reps.json()['data']}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${phone} = 15121074365
${matchmakerFlag}
${reps.json()['data']}
matchmakerFlag
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerFlag} = False
${matchmakerFlag}==False
查询婚介红娘申请结果
ELSE
查询婚介平台红娘列表
Runs the given keyword with the given arguments, if ``condition`` is true.
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/get/matchmaker-apply/by/customer
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/matchmaker-apply/by/customer HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/matchmaker-apply/by/customer
path_url=/dating-agency-uec/user/get/matchmaker-apply/by/customer
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
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.19341459704514832
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.0
ISO-8859-9 Turkish confidence = 0.41480255132912114
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.01
windows-1255 Hebrew confidence = 0.01
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/get/matchmaker-apply/by/customer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":2,"serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]}}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = {'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'serviceAreaList': [{'provinceCode': 4400...
${data}==None
填写婚介红娘加盟信息
ELSE
查询婚介红娘申请加盟列表
Runs the given keyword with the given arguments, if ``condition`` is true.
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/page/matchmaker-audit
params=pageSize=10&pageNum=1
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/page/matchmaker-audit?pageSize=10&pageNum=1 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
path_url=/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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.013610850690844134
IBM866 Russian confidence = 0.038819642678841935
IBM855 Russian confidence = 0.13871892002381908
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.005273610129833278
ISO-8859-9 Turkish confidence = 0.35526307854536965
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/page/matchmaker-audit?pageSize=10&pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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":[{"id":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":2,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"982372403910938624","userId":"980101508504883200","name":"qianniao被邀请注册","phone":"19128859944","identityCard":"qianniao新账号","status":2,"createTime":"2024-04-29 17:18:18","serviceAreaList":[{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区"},{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310105,"districtName":"长宁区"}]},{"id":"981235088085880832","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","status":3,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980926388150341632","userId":"980870337099075584","name":"新用户测试红娘注册","phone":"13630297765","identityCard":"202404251731","status":1,"createTime":"2024-04-25 17:32:21","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110105,"districtName":"朝阳区"}]},{"id":"980811414660845568","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":3,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980808130864746496","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":4,"createTime":"2024-04-25 09:42:27","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559360306581504","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"978751718789615616","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":8,"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} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...
${records}
Makes a variable available globally in all tests and suites.
${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...
${data}
@{records}
{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'ser...
${Phone}
${data}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${Phone} = 15121074365
${status}
${data}
status
Returns a value from the given ``dictionary`` based on the given ``key``.
${status} = 2
${matchmakerId}
${data}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerId} = 982621268689948672
${Phone}==${phone}
Stops executing the enclosing FOR loop if the ``condition`` is true.
Exiting for loop altogether.
${Phone}
Makes a variable available globally in all tests and suites.
${Phone} = 15121074365
${status}
Makes a variable available globally in all tests and suites.
${status} = 2
${matchmakerId}
Makes a variable available globally in all tests and suites.
${matchmakerId} = 982621268689948672
${status}==4
填写婚介红娘加盟信息
ELSE IF
${status}==1
数据库修改申请状态为待审核
ELSE IF
${status}==3
查询婚介平台红娘数据
ELSE
运营人员操作婚介后台审核通过
Runs the given keyword with the given arguments, if ``condition`` is true.
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','X-Organization-Id':'96...
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/page/matchmaker-audit
params=pageSize=10&pageNum=1
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/page/matchmaker-audit?pageSize=10&pageNum=1 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
path_url=/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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.013610850690844134
IBM866 Russian confidence = 0.038819642678841935
IBM855 Russian confidence = 0.13871892002381908
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.005273610129833278
ISO-8859-9 Turkish confidence = 0.35526307854536965
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/page/matchmaker-audit?pageSize=10&pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:07 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":[{"id":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":2,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"982372403910938624","userId":"980101508504883200","name":"qianniao被邀请注册","phone":"19128859944","identityCard":"qianniao新账号","status":2,"createTime":"2024-04-29 17:18:18","serviceAreaList":[{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区"},{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310105,"districtName":"长宁区"}]},{"id":"981235088085880832","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","status":3,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980926388150341632","userId":"980870337099075584","name":"新用户测试红娘注册","phone":"13630297765","identityCard":"202404251731","status":1,"createTime":"2024-04-25 17:32:21","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110105,"districtName":"朝阳区"}]},{"id":"980811414660845568","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":3,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980808130864746496","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":4,"createTime":"2024-04-25 09:42:27","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559360306581504","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"978751718789615616","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":8,"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} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...
${records}
Makes a variable available globally in all tests and suites.
${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'se...
${data}
@{records}
{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 2, 'createTime': '2024-04-30 09:47:12', 'ser...
${Phone}
${data}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${Phone} = 15121074365
${status}
${data}
status
Returns a value from the given ``dictionary`` based on the given ``key``.
${status} = 2
${matchmakerId}
${data}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerId} = 982621268689948672
${Phone}==${phone}
Stops executing the enclosing FOR loop if the ``condition`` is true.
Exiting for loop altogether.
${Phone}
Makes a variable available globally in all tests and suites.
${Phone} = 15121074365
${status}
Makes a variable available globally in all tests and suites.
${status} = 2
${matchmakerId}
Makes a variable available globally in all tests and suites.
${matchmakerId} = 982621268689948672
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${data}
{"id":"${matchmakerId}","status":3}
Returns the given values which can then be assigned to a variables.
${data} = {"id":"982621268689948672","status":3}
${reps}
dating
dating-agency-uec/user/audit/matchmaker-apply
${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/user/audit/matchmaker-apply HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/audit/matchmaker-apply
path_url=/dating-agency-uec/user/audit/matchmaker-apply
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '38'}
body=b'{"id":"982621268689948672","status":3}'
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/audit/matchmaker-apply
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 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":null}
${reps} = <Response [200]>
${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'>
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 15121074365
${matchmakerFlag}
Makes a variable available globally in all tests and suites.
${matchmakerFlag} = False
${client_header}
@{Cheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/get/matchmaker-apply/by/customer
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/matchmaker-apply/by/customer HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/matchmaker-apply/by/customer
path_url=/dating-agency-uec/user/get/matchmaker-apply/by/customer
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw=='}
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.19341459704514832
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.0
ISO-8859-9 Turkish confidence = 0.41480255132912114
windows-1255 Hebrew confidence = 0.0
windows-1255 Hebrew confidence = 0.01
windows-1255 Hebrew confidence = 0.01
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/get/matchmaker-apply/by/customer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 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":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":3,"serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]}}
${reps} = <Response [200]>
${data}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${data} = {'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'serviceAreaList': [{'provinceCode': 4400...
${data}==None
填写婚介红娘加盟信息
ELSE
查询婚介红娘申请加盟列表
Runs the given keyword with the given arguments, if ``condition`` is true.
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/page/matchmaker-audit
params=pageSize=10&pageNum=1
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/page/matchmaker-audit?pageSize=10&pageNum=1 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
path_url=/dating-agency-uec/user/page/matchmaker-audit?pageSize=10&pageNum=1
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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.013610850690844134
IBM866 Russian confidence = 0.038819642678841935
IBM855 Russian confidence = 0.13871892002381908
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.005273610129833278
ISO-8859-9 Turkish confidence = 0.35526307854536965
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/page/matchmaker-audit?pageSize=10&pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 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":[{"id":"982621268689948672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","status":3,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"982372403910938624","userId":"980101508504883200","name":"qianniao被邀请注册","phone":"19128859944","identityCard":"qianniao新账号","status":2,"createTime":"2024-04-29 17:18:18","serviceAreaList":[{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区"},{"provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310105,"districtName":"长宁区"}]},{"id":"981235088085880832","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","status":3,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980926388150341632","userId":"980870337099075584","name":"新用户测试红娘注册","phone":"13630297765","identityCard":"202404251731","status":1,"createTime":"2024-04-25 17:32:21","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110105,"districtName":"朝阳区"}]},{"id":"980811414660845568","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":3,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980808130864746496","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","status":4,"createTime":"2024-04-25 09:42:27","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559360306581504","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"978751718789615616","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","status":3,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":8,"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} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'createTime': '2024-04-30 09:47:12', 'se...
${records}
Makes a variable available globally in all tests and suites.
${records} = [{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'createTime': '2024-04-30 09:47:12', 'se...
${data}
@{records}
{'id': '982621268689948672', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '113525627363428209', 'status': 3, 'createTime': '2024-04-30 09:47:12', 'ser...
${Phone}
${data}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${Phone} = 15121074365
${status}
${data}
status
Returns a value from the given ``dictionary`` based on the given ``key``.
${status} = 3
${matchmakerId}
${data}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerId} = 982621268689948672
${Phone}==${phone}
Stops executing the enclosing FOR loop if the ``condition`` is true.
Exiting for loop altogether.
${Phone}
Makes a variable available globally in all tests and suites.
${Phone} = 15121074365
${status}
Makes a variable available globally in all tests and suites.
${status} = 3
${matchmakerId}
Makes a variable available globally in all tests and suites.
${matchmakerId} = 982621268689948672
${status}==4
填写婚介红娘加盟信息
ELSE IF
${status}==1
数据库修改申请状态为待审核
ELSE IF
${status}==3
查询婚介平台红娘数据
ELSE
运营人员操作婚介后台审核通过
Runs the given keyword with the given arguments, if ``condition`` is true.
${admin_header}
@{Aheader_list}
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==','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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${reps}
dating
dating-agency-uec/user/page/matchmaker
params=pageSize=10&pageNum=1
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/page/matchmaker?pageSize=10&pageNum=1 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1
path_url=/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1
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/g6O5DXHixyNrf7tis+lSguCnbeTRvWwvqa7ZstTUf3PQn4hdK/DC1Kw1Y+SeKoNO4IeQKOpJDE9JEWEw==', '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.008481674693058567
IBM866 Russian confidence = 0.022517630783442513
IBM855 Russian confidence = 0.12121964180464125
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.0
ISO-8859-9 Turkish confidence = 0.36761248111062
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/page/matchmaker?pageSize=10&pageNum=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 30 Apr 2024 02:23:08 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":[{"id":"982630310560796672","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"113525627363428209","enable":true,"createTime":"2024-04-30 09:47:12","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]},{"id":"981270314208071680","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","enable":true,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"981312240928034816","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","enable":true,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559527067914240","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","enable":true,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"979784994299973632","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","enable":false,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":5,"size":10,"current":1,"pages":1}}
${reps} = <Response [200]>
接口:短信验证码登录认证
用户登录婚介平台
All Tests
Dating-agency
Dating-agency.0-Login
Dating-agency.0-Login.Login-interface