${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} = 手机号
13448902715
13525397706
${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``.
2 out of 3 lines matched
${content} = 13448902715
13525397706
${id}
${content}
13448902715
13525397706
${id}
${id}
\n
Splits the ``string`` using ``separator`` as a delimiter string.
${id} = ['13448902715', '13525397706']
${id}
Makes a variable available globally in all tests and suites.
${id} = ['13448902715', '13525397706']
${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}
13448902715
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":"13448902715", "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":"13448902715", "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': 'Fri, 19 Apr 2024 08:41:55 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==","userId":"978668893159690240"}}
${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==
${userId}
${reps.json()['data']}
userId
Returns a value from the given ``dictionary`` based on the given ``key``.
${userId} = 978668893159690240
${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}
${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'>
13525397706
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":"13525397706", "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":"13525397706", "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': 'Fri, 19 Apr 2024 08:41:55 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==","userId":"978668872108478464"}}
${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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==
${userId}
${reps.json()['data']}
userId
Returns a value from the given ``dictionary`` based on the given ``key``.
${userId} = 978668872108478464
${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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}
${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} = 13525397706
${phone}
Makes a variable available globally in all tests and suites.
${phone} = 13525397706
${userid_list}
Makes a variable available globally in all tests and suites.
${userid_list} = ['978668893159690240', '978668872108478464']
${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}", "{'Content-Type':'...
${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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}
${Aheader}
Returns a list containing given items.
${Aheader} = []
${userId}
${login_header}
${userid_list}
${Aheader_list}
978668893159690240
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==', '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=978668893159690240 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668893159690240
path_url=/dating-agency-uec/user/list/own-organization?userId=978668893159690240
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==', 'X-Organization-Id': '963432943739605555'}
body=None
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668893159690240
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:41:55 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.
未获取到组织信息!
978668872108478464
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==', '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=978668872108478464 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668872108478464
path_url=/dating-agency-uec/user/list/own-organization?userId=978668872108478464
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==', 'X-Organization-Id': '963432943739605555'}
body=None
GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=978668872108478464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:41:55 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==', '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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==', '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': 'Fri, 19 Apr 2024 08:41:55 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":"978668893159690240","realName":null,"nickName":null,"phone":"13448902715","matchmakerFlag":false}}
${reps} = <Response [200]>
${phone}
${reps.json()['data']}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${phone} = 13448902715
${matchmakerFlag}
${reps.json()['data']}
matchmakerFlag
Returns a value from the given ``dictionary`` based on the given ``key``.
${matchmakerFlag} = False
{'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==', '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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==', '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': 'Fri, 19 Apr 2024 08:41:55 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":"978668872108478464","realName":null,"nickName":null,"phone":"13525397706","matchmakerFlag":false}}
${reps} = <Response [200]>
${phone}
${reps.json()['data']}
phone
Returns a value from the given ``dictionary`` based on the given ``key``.
${phone} = 13525397706
${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} = 13525397706
${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.
${miId_list}
Returns a list containing given items.
${miId_list} = []
${userId}
${client_header}
${userid_list}
${Cheader_list}
978668893159690240
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}, 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=978668893159690240 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668893159690240
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}
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.06392975476562325
IBM855 Russian confidence = 0.14562981424575872
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.03035528743514959
ISO-8859-9 Turkish confidence = 0.39475111547371255
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=978668893159690240
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:41:55 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":"978733730317340672","isDelete":false,"createTime":"2024-04-19 16:19:30","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"可乐无糖加冰","name":null,"profilePhoto":null,"identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440113,"cityName":"广州市","districtCode":440113,"districtName":"番禺区","birthYear":"2004","birthDate":null,"constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":null,"height":141,"weight":null,"educationCode":0,"education":"高中及以下","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","diplomaVerificationCode":null,"describeInfo":null,"identityType":2,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"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,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":18}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 978733730317340672
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 可乐无糖加冰
${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'>
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['978733730317340672']
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 可乐无糖加冰
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 1
978668872108478464
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}, 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=978668872108478464 HTTP/1.1" 200 None
GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
path_url=/dating-agency-service/user/get/marriage/information/details?userId=978668872108478464
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}
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.04510298376472996
IBM866 Russian confidence = 0.0
IBM855 Russian confidence = 0.09215636682739418
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.03710656249122936
ISO-8859-9 Turkish confidence = 0.41139377991964465
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=978668872108478464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:41:56 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":"978733732204777472","isDelete":false,"createTime":"2024-04-19 16:19:31","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"牛仔","name":null,"profilePhoto":null,"identityCard":null,"genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440111,"cityName":"广州市","districtCode":440111,"districtName":"白云区","birthYear":"2004","birthDate":null,"constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":null,"height":140,"weight":null,"educationCode":1,"education":"中专","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":null,"describeInfo":null,"identityType":0,"identityTypeName":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"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":{"id":"978739213765840896","isDelete":null,"createTime":"2024-04-19 16:41:18","updateTime":null,"event":null,"miId":null,"photoType":0,"photoUrl":"https://dating-agency-test.oss-accelerate.aliyuncs.com/509b08c2ae6f1291d750bfae96a60a44.jpg","auditImgId":null,"auditStatus":0},"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":null,"dataScoring":18}}
${reps} = <Response [200]>
${miId}
${reps.json()['data']}
id
Returns a value from the given ``dictionary`` based on the given ``key``.
${miId} = 978733732204777472
${nickName}
${reps.json()['data']}
nickName
Returns a value from the given ``dictionary`` based on the given ``key``.
${nickName} = 牛仔
${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'>
${miId_list}
Makes a variable available globally in all tests and suites.
${miId_list} = ['978733730317340672', '978733732204777472']
${nickName}
Makes a variable available globally in all tests and suites.
${nickName} = 牛仔
${genderCode}
Makes a variable available globally in all tests and suites.
${genderCode} = 1
${manImgList}
["https://dating-agency-test.oss-accelerate.aliyuncs.com/3fea2151b2dc69f26870a4c89be9d0cb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/94dfaed7942184a47e62276105065052.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d82cdcee2a4ad82a61c311772797db5e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8f5409ef7017ee3319865b59df944b2c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/118b97c369e7d820cc9dbb7945f5df4b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d274c4228025fc173501e204a3341711.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5040c8ff3a9c29864b15926cb69a1c1e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f1fb686bf354b37736f32373038a08ba.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/360c7d7d5bfd9ed6b7bc0f8aa053e92d.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/cfb4d3efca13891901d8f4c502798287.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/74220a4807411872f456b73d6c7b67c5.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/21f79ccaf480ffb9b0d689f4a1e551fb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/e245c18b37ad0183f8a548537e7b5613.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/36c8ca5e065ae6408ff65d0f855301f0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/84340889d0e42c25a0a95016316e6362.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c4c64cd64e3fd0691bf14073a5d24dbf.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/884ad42964dcb76c62ee5ae0e5de9131.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b0a228f442cb03e9da13959b6b012e98.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/327e898829ecccb16b8ab86b0313e571.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6df28c0d585aa10f2d76e266c68d7880.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/30464b28455d6ddbc1f049ce4adfda7a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c7c968a93cff69375df767aefe112da4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/9e1c238e45a3c9264b83c0b1d4054019.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/0c1e15d1c956cb8bb678b2a1f7992f76.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/aea0caca25438b7490305cd4c704d515.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/14eee17ccd0333cda335d68004885f1f.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/863db444113cabe238ce37e1ff12d8c8.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/42e77d2434934a6fc24638fd5bf130d6.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/122668a4d1cc4fcffd91fc3d2934fc8b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/24ef3e3c4e781b97c9e3da52cc2a6a88.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c91757deace453ee22c3d12ea9913bd0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b2b34146d7354dab2d7a7c6e65395762.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/905cbc906449e997be51c6b129c9481e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/18a7ce70dbba030da53442f0ad55e63b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/991c4bc6f06c1c3fb1d6a9a5178ee34c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/df8705ac114d936428d0765f78fc3af8.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5d4eeebbf9f7df899a8964d3c802a2b7.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/61971786fabc9be4718e10f9323649ef.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f99a80033c77b990f9d2c75c2e6b6c1e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6647f59b5f8057c9aa67324261153cdd.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/fde465e0db7e83a6a29ad133c270c8ba.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/647e941c007594cd32d977b172efe58a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ca8faec9558e2aae046f8620fd21fed6.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/82e53568724f2010025231a600fd78b2.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/e40ca792f19cb70f045ebfe04c57c52c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/9e62e2e3ad1b53d20a933a651c958201.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7f7e09f9c1f83b68de7967df210716d4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/3d9ccb6c9206e28c3dd6104d38eccd19.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ccc7a8fea47b80921b7cc790c87d6bc1.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/71a5453ecfd81a21c7fbbbcea50ec6ab.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/bc07ad3c778a592b48a48a01a6e6bcee.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/228b58091bcdac00789bcefd77886cf2.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d2c20517cc88b51d9960f017b6e9d856.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/894641101adeadccc172acaf0acc9c63.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8f5083fe00659f8a27d2f8d2088d0610.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/3fdbd451d84c4b7ae52f25feb9421418.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f72d6d2eaf3810e9825ac9dd253ec9b4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8c1f62d66b53a712c4ee7fdb8db7df94.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/28e7fb32363d891db3c3cb214c7b8a85.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5e66fcb168ce5fb660e24a0623130307.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f3452fd74b259a07e979b03254eb35f1.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7fa87b7954e5837c5aeb7488f2fca46e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6a22917ec872e71815020f5731422980.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d623055d903f2ac6e9677f85fa586eb0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c7253b3ddf1212ce2cf0baa5bf34142b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d36dfdb0481ab5063b03b5eca61e3cde.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/28aa78ce92cf8d7a00efb7663b290e83.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/9873adca4a81b04856c1df4c646dd1dc.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7323562eba749cb69eea0baed36f3124.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ff4dab6a3922bc157aaafbac2d962a39.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7b6c2afaa9eacad5d0325b71bc46052c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5c337585ae48913daf5982dfb41243c4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/71a5453ecfd81a21c7fbbbcea50ec6ab.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/365936561e069a69c28685132958d557.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/bc07ad3c778a592b48a48a01a6e6bcee.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/571282746fff6c3f9652b4475922afc9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b3180f68bea8bcfa5adb0e5e56233c17.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ff6cafa72bcaaa90bb03609416ac4a17.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/25ab8f1b8ae3e56ad229b746e2877c17.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/34a2051e2018a0cafcb40af797ead876.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d75dedcd7a9c8f885d00b8588ecea9ee.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/9821a259a4429c86f412df5c3e2053f4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c69c5b13d0d5496a61c11e36ddb7f6e3.png","https://dating-agency-test.oss-accelerate.aliyuncs.com/110bb7da41f7b496c1054a076c81878a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/851b7fc5c3b67d9d7a2b2242cdbef051.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6c947ad7ed98b10cd3498fb247de3c29.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/915e6eb32bbb6cf08227314f5333e5c3.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/4c91060f94a1d3241cc71632f9fb5a10.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/1c7affa21b604ce35951c467ac6b0184.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ce5df67a3fc763fce03d69228749354f.jpeg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5db1b8e1c97ee1780f56ed7a4bc29fe3.jpeg","https://dating-agency-test.oss-accelerate.aliyuncs.com/933e250659d1d18db099a50f07263d3d.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/4b5e681b87ec1e902ea940313cdefef0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/66daef0d6a43ac9362c91423e83c0fbf.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/45e9e6fa0f960682d793297836377c1c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/de49b589ca485590777787e556cf8946.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c22af6e673867cf3aa1570c77d93e364.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f36492ac57288e93526af5183011ccb4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/0658e461ef6a941c5c9f09323063ef1a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6192329c710709954ab5db895043a862.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ccbd4049ee85ad8d5e474707e48a847f.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/753502e0a3888d3286a540b321236ee4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/054276e62b3a3dd2e27ace7d241829f9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/570302820eeaa346b74314aa0ce06561.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/e1dc866d3f66b77927daa8c0a7e13699.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f0f45570c698c82c7f3e286f22241cdb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/fce8a50aed11c2b73d28a9a45829ae5c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c2290cae4852a971c8f134fdc742d506.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/bdd40f610b1e32d7028b1aecd6cc8d5b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/efbbcd864df6258c80ff8850d15c2bfe.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/20fac126eb494ff7b94149d23233440a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/eb4f8af45a0c5eda94fcf7ef77b39d23.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/1c06ee5e86b3f6a1b24e67872c31a562.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/49c13ad24623040c6414cf007a37b2d7.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/747ead7084dadc66838795eb4ef157f6.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/1c4592e34a021ca451608849604bbfdc.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/44324efca6e852d9e09ceb46406c76e3.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/cbd6746b83a6d094f5a4a7bb4c9f8a9a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/710119a203760f4573a457c1611d1577.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/36f2e80a898c691f05b1f1948b7f88a0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/4e6876870f523566d36364fbce568df2.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/52dcf1a5271a40649dfbef8e1fe222b7.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8740ae3b8b86bcd3c06e63c1c4181f2d.png","https://dating-agency-test.oss-accelerate.aliyuncs.com/3d820fd70423ea5f9bc0debd543b603d.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/96840930b89df35a80e35226cc3874f1.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7f87664be048815cc5eacbcda6610c0b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f5e7fc31144a9e87888d750b950c3f5b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8dde680033f3dc7bf69eb6b2854e34b1.jpg"]
Returns the given values which can then be assigned to a variables.
${manImgList} = ["https://dating-agency-test.oss-accelerate.aliyuncs.com/3fea2151b2dc69f26870a4c89be9d0cb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/94dfaed7942184a47e62276105065052.jpg","https://da...
${womanImgList}
["https://dating-agency-test.oss-accelerate.aliyuncs.com/c4ffc55089f4ad31d470a4a4139762c0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/31cfe566de5a978ef518510588c03ef7.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c07233ded18b5b803368ac263f5947e3.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/917b24805282978f73bdeeb44a4d9310.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6915d287757be1cdcf248a33db54a434.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/3a949227719af879e0d3110dd8b46da9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/64bfe55dbfdad8c5f71d8feac6e7bee9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ecd53d3a2e2eb503598bd3fae31e1882.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5faf286ce9c99e09ebebb35461c3c91c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/45d5a86455d48686b6677c6e08c38294.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6fc52dbf166c3b62bd8bf03b11d0dac8.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/761fc775f7189b611dbd157218a6b4b8.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f0906bef43f4341a3a7d65f2b7feebae.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ecfa67de7dd217ae285a720100a72b18.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/fecdbac6dee34407fca0ed349603da6e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/889ca4abb2de5874d87a945e7d6f80f3.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/a2a78cdb419f6f2d85d0dc87dc45abd3.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8e2c2b134b06b4afdde30f46f618f6cb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b52a0c7aafadaedb0037bb2c8a4c9008.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c4a2322bc9416b32a64f0aa7bd367ca9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f0d912abaadb963b9f4b9fdd6ee04526.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c1286d7d6a07ae48dafca35ceb320fef.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/9b0e046f763d129aef5257d02581ad59.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/71e2ac4806378e5c6f29e2e9d01f1b3b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/cd5dda0a1f539861cc78f1bef4a8e8ab.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/82d51050e13fea977a054a0208d1e616.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c6fc977ab1effc2f57c1b61ea0b4a10b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/59aae418037d0bf103f63de805eeb86b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/960b3d371ed4af8788c1fc4a8c889933.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/884c65f91e6b346bb7c9e26e750ce4d3.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c5e4bca3b533fdfbcc2557e83512215c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/bbef238ab2bea9bd3e831d0e9d9557e4.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/1c771bf0c01eb0e5fab3fede9dab7608.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/6df02f3978e72f14fb2b33b9a3e56fe9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c9525ae0873fe94a5dd15a01717c07a0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/417ebe61e78592b42d212eb00a2ec23c.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/1adabba412cc81d3fa40fdf78eba46d7.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/afcf0ad64c7224a8a08163cc98ef6cb6.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/84b55bb41fcf7350d2c86d0d518bf546.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7ea11516b07156a1bcfa227c4fef9207.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/abae88e4e07536531d0ac7d03f7f576b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/a2826ad22aab2d082bb3598b387f1689.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b26399e635fa7dd44808342595fa334a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b3a641d16e9e547228a8ccbc8e7e5aef.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/cc28a387d249a8673a0cd24cf9e49896.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7615cc23bd2cf922e50e5fb3810e749f.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/d0d15693e059e2525d4ea469451e4387.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/f43b18d37584c0797d8ef3606d578a11.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/55f9f41f1ff9f2b71837af94ec02126a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/af74f07f326842a4c958f855ce11544b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/753745c3d3bdbffc9fecff9b3869d880.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5e3fb99b37448612749dd8b3fc5cf917.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/91b79f1e3eb2b13fa334de8157a6b9be.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/94ebc0dc461bea0feea8876620a922fb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/e94e9f29216a38527dbdc3aa75f7f415.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/3e77d927fa1611c71b34f80f235608df.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/82d51050e13fea977a054a0208d1e616.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/e11371938ac8e89479916077db4d5d36.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/0a7411a8d971063c92c8a52088b5875d.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/78bd71bd58a4087ff3fe47eeb468a5d6.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ce75dfc5f2139ac05731f0fc7de4ce6e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/841ed8e2c89132088579276a3bc20ea9.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/a34e5221ae3347d4a05916be6f55aa29.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/0568ebaee6f5b361c77cab42ad15db63.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/94dfaed7942184a47e62276105065052.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/28d09499553f74d4dd9e63ab8ce1656f.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/5f1da263f386098e93bced978c2f3251.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/509b08c2ae6f1291d750bfae96a60a44.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/699b9ee0b52a22f0b4ac7919b9d26b28.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/934cb4df0bd8bbdde4c089dd2e879e26.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/88957d37f3ead953e13861081b1d8a19.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/df44ee000435c8b1b923716f85ec8498.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/7eb2af6c427932e505a28ffd5def69ec.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b106f4c511921e4e6076f361f835ed4b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ec1fda9c73eee8d0e2ff47c026dbe69b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/110bb7da41f7b496c1054a076c81878a.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/79aab098fd7fc078c22d425511dd5021.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/c11a7e66e47492db879792954aa44b84.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/b3a641d16e9e547228a8ccbc8e7e5aef.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/cc28a387d249a8673a0cd24cf9e49896.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/ee8546367652cae005ce3d58d25e8a7b.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/810a40993432db570fdcabba46bcd28e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/baf366d637a7f8c57f359d42d917585e.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/4b5e681b87ec1e902ea940313cdefef0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/753745c3d3bdbffc9fecff9b3869d880.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/8740ae3b8b86bcd3c06e63c1c4181f2d.png","https://dating-agency-test.oss-accelerate.aliyuncs.com/3a9852deff49ad1a60fa821a24b8e897.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/94ebc0dc461bea0feea8876620a922fb.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/474ca6f3a54b70396325a9847904f071.jpg"]
Returns the given values which can then be assigned to a variables.
${womanImgList} = ["https://dating-agency-test.oss-accelerate.aliyuncs.com/c4ffc55089f4ad31d470a4a4139762c0.jpg","https://dating-agency-test.oss-accelerate.aliyuncs.com/31cfe566de5a978ef518510588c03ef7.jpg","https://da...
${authenticationCode}
8
Evaluates the given expression in Python and returns the result.
${authenticationCode} = 8
${miId}
${client_header}
${miId_list}
${Cheader_list}
978733730317340672
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${manImgUrl}
random.choice(${manImgList})
random
Evaluates the given expression in Python and returns the result.
${manImgUrl} = https://dating-agency-test.oss-accelerate.aliyuncs.com/74220a4807411872f456b73d6c7b67c5.jpg
${womanImgUrl}
random.choice(${womanImgList})
random
Evaluates the given expression in Python and returns the result.
${womanImgUrl} = https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg
${data}
${genderCode}==1
{ \ \ \ \ "authenticationCode": ${authenticationCode}, \ \ \ \ "miId": "${miId}", \ \ \ \ "imgUrl": ["${womanImgUrl}"] }
{ \ \ \ \ "authenticationCode": ${authenticationCode}, \ \ \ \ "miId": "${miId}", \ \ \ \ "imgUrl": ["${manImgUrl}"] }
Sets variable based on the given condition.
${data} = { "authenticationCode": 8, "miId": "978733730317340672", "imgUrl": ["https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg"] }
${reps}
dating
dating-agency-service/user/save/certification/audit
${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/save/certification/audit HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/certification/audit
path_url=/dating-agency-service/user/save/certification/audit
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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSJCxQ4AIKaKkE3RYZ8Wups3L8WZGJOGq4auPzEQ+3i0PA==', 'Content-Length': '176'}
body=b'{ "authenticationCode": 8, "miId": "978733730317340672", "imgUrl": ["https://dating-agency-test.oss-accelerate.aliyuncs.com/80d9c390581014ea327efabc749cf042.jpg"] }'
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/certification/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:41:56 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":"978739372763516928"}
${reps} = <Response [200]>
${auditId}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${auditId} = 978739372763516928
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = successful
${auditId}==None
Should Be Equal As Strings
${message}
正在审核中!请等待审核完成。
ELSE
Should Be Equal As Strings
${message}
successful
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'>
${auditId}
Makes a variable available globally in all tests and suites.
${auditId} = 978739372763516928
978733732204777472
{'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creating session: dating
${manImgUrl}
random.choice(${manImgList})
random
Evaluates the given expression in Python and returns the result.
${manImgUrl} = https://dating-agency-test.oss-accelerate.aliyuncs.com/de49b589ca485590777787e556cf8946.jpg
${womanImgUrl}
random.choice(${womanImgList})
random
Evaluates the given expression in Python and returns the result.
${womanImgUrl} = https://dating-agency-test.oss-accelerate.aliyuncs.com/6fc52dbf166c3b62bd8bf03b11d0dac8.jpg
${data}
${genderCode}==1
{ \ \ \ \ "authenticationCode": ${authenticationCode}, \ \ \ \ "miId": "${miId}", \ \ \ \ "imgUrl": ["${womanImgUrl}"] }
{ \ \ \ \ "authenticationCode": ${authenticationCode}, \ \ \ \ "miId": "${miId}", \ \ \ \ "imgUrl": ["${manImgUrl}"] }
Sets variable based on the given condition.
${data} = { "authenticationCode": 8, "miId": "978733732204777472", "imgUrl": ["https://dating-agency-test.oss-accelerate.aliyuncs.com/6fc52dbf166c3b62bd8bf03b11d0dac8.jpg"] }
${reps}
dating
dating-agency-service/user/save/certification/audit
${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/save/certification/audit HTTP/1.1" 200 None
POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/certification/audit
path_url=/dating-agency-service/user/save/certification/audit
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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL4DhI+O6A0LEg8ubrgbSrfd67OThlMDXHYViOfGAEuPPg==', 'Content-Length': '176'}
body=b'{ "authenticationCode": 8, "miId": "978733732204777472", "imgUrl": ["https://dating-agency-test.oss-accelerate.aliyuncs.com/6fc52dbf166c3b62bd8bf03b11d0dac8.jpg"] }'
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.33291298361291827
IBM855 Russian confidence = 0.10778522435952535
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.2217521920520973
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
POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/certification/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:41:56 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]>
${auditId}
${reps.json()}
data
Returns a value from the given ``dictionary`` based on the given ``key``.
${auditId} = None
${message}
${reps.json()}
message
Returns a value from the given ``dictionary`` based on the given ``key``.
${message} = 正在审核中!请等待审核完成。
${auditId}==None
Should Be Equal As Strings
${message}
正在审核中!请等待审核完成。
ELSE
Should Be Equal As Strings
${message}
successful
Runs the given keyword with the given arguments, if ``condition`` is true.
${message}
正在审核中!请等待审核完成。
Fails if objects are unequal after converting them to strings.
Argument types are:
<class 'str'>
<class 'str'>
${auditId}
Makes a variable available globally in all tests and suites.
${auditId} = None
pymysql
database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'
Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.
Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221'))
${check}
SELECT id FROM `dating_agency_service`.`da_marriage_information_certification_audit` WHERE `id` = '${auditId}' AND `authentication_code` = '8' AND `is_delete` = '0'
Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.
Executing : Query | SELECT id FROM `dating_agency_service`.`da_marriage_information_certification_audit` WHERE `id` = 'None' AND `authentication_code` = '8' AND `is_delete` = '0'
${check} = ()
${id}
${check[0][0]}
Returns the given values which can then be assigned to a variables.
Resolving variable '${check[0][0]}' failed: IndexError: tuple index out of range
${id}
${auditId}
Fails if objects are unequal after converting them to strings.
Disconnects from the database.
Resolving variable '${check[0][0]}' failed: IndexError: tuple index out of range
资料认证
征婚人资料
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.MarriageInfo
Dating-agency.1-Applet.2-Homepage.MarriageInfo.DataAuthentication