${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:23: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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==","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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw== ${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='} ${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:23: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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==","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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg== ${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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} ${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='}", "{'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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} ${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==', '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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==', '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:23: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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==', '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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==', '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:23: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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==','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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==', '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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw==', '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:23: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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==','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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==', '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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==', '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:23: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. ${userId} ${client_header} ${userid_list} ${Cheader_list} 978668893159690240 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='} Helper for quickly disabling all urllib3 warnings. 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/first/fill/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/first/fill/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/first/fill/marriage/information/details?userId=978668893159690240 path_url=/dating-agency-service/user/get/first/fill/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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='} 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.0660245463695509 IBM855 Russian confidence = 0.15096840719587368 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.030753949746680637 ISO-8859-9 Turkish confidence = 0.3531548785285078 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/first/fill/marriage/information/details?userId=978668893159690240 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:23: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","accountId":null,"userId":"978668893159690240","nickName":"可乐无糖加冰","genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440113,"cityName":"广州市","districtCode":440113,"districtName":"番禺区","birthYear":"2004","educationCode":0,"education":"高中及以下","incomeCode":2,"income":"5001~8000","height":"141","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","identityType":2,"identityTypeName":null,"fillSerialNumber":8}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 978733730317340672 ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${genderCode} ${reps.json()['data']} genderCode Returns a value from the given ``dictionary`` based on the given ``key``. ${genderCode} = 1 ${fillSerialNumber} ${reps.json()['data']} fillSerialNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${fillSerialNumber} = 8 ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${miId} Makes a variable available globally in all tests and suites. ${miId} = 978733730317340672 ${genderCode} Makes a variable available globally in all tests and suites. ${genderCode} = 1 ${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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='} ${fillSerialNumber} Makes a variable available globally in all tests and suites. ${fillSerialNumber} = 8 ${fillSerialNumber}==9 填写婚介征婚人的基础资料 ELSE IF ${fillSerialNumber}==0 填写婚介征婚人资料-性别开始 ELSE IF ${fillSerialNumber}==1 填写婚介征婚人资料-城市开始 ELSE IF ${fillSerialNumber}==2 填写婚介征婚人的资料-家乡开始 ELSE IF ${fillSerialNumber}==3 填写婚介征婚人的资料-出生年份开始 ELSE IF ${fillSerialNumber}==4 填写婚介征婚人的资料-身高开始 ELSE IF ${fillSerialNumber}==5 填写婚介征婚人的资料-学历开始 ELSE IF ${fillSerialNumber}==6 填写婚介征婚人的资料-月收入开始 ELSE IF ${fillSerialNumber}==7 填写婚介征婚人的资料-昵称开始 ELSE 查询婚介用户资料 Runs the given keyword with the given arguments, if ``condition`` is true. ${userId} ${client_header} ${userid_list} ${Cheader_list} 978668893159690240 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='} Helper for quickly disabling all urllib3 warnings. 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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating /dating-agency-service/user/get/first/fill/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/first/fill/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/first/fill/marriage/information/details?userId=978668893159690240 path_url=/dating-agency-service/user/get/first/fill/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/g6O5DXHixyNrf7tpli7lIeDUA1pHOp1oMPsSInQ+lrY4SSczYT59gEUL+KU7Z+hS9Yq4vibxJDs6bbAw=='} 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.0660245463695509 IBM855 Russian confidence = 0.15096840719587368 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.030753949746680637 ISO-8859-9 Turkish confidence = 0.3531548785285078 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/first/fill/marriage/information/details?userId=978668893159690240 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:23: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","accountId":null,"userId":"978668893159690240","nickName":"可乐无糖加冰","genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440113,"cityName":"广州市","districtCode":440113,"districtName":"番禺区","birthYear":"2004","educationCode":0,"education":"高中及以下","incomeCode":2,"income":"5001~8000","height":"141","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","identityType":2,"identityTypeName":null,"fillSerialNumber":8}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 978733730317340672 ${miId} Makes a variable available globally in all tests and suites. ${miId} = 978733730317340672 978668872108478464 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} Helper for quickly disabling all urllib3 warnings. 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating /dating-agency-service/user/get/first/fill/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/first/fill/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/first/fill/marriage/information/details?userId=978668872108478464 path_url=/dating-agency-service/user/get/first/fill/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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} 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.056582439525633195 IBM866 Russian confidence = 0.0 IBM855 Russian confidence = 0.10144491704425918 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.3733052703867422 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/first/fill/marriage/information/details?userId=978668872108478464 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:23: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":"978733732204777472","accountId":null,"userId":"978668872108478464","nickName":null,"genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440111,"cityName":"广州市","districtCode":440111,"districtName":"白云区","birthYear":"2004","educationCode":1,"education":"中专","incomeCode":3,"income":"8001~12000","height":"140","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","identityType":0,"identityTypeName":null,"fillSerialNumber":7}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 978733732204777472 ${miId} Makes a variable available globally in all tests and suites. ${miId} = 978733732204777472 978668872108478464 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} Helper for quickly disabling all urllib3 warnings. 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/first/fill/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/first/fill/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/first/fill/marriage/information/details?userId=978668872108478464 path_url=/dating-agency-service/user/get/first/fill/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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} 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.056582439525633195 IBM866 Russian confidence = 0.0 IBM855 Russian confidence = 0.10144491704425918 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.3733052703867422 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/first/fill/marriage/information/details?userId=978668872108478464 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:23: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","accountId":null,"userId":"978668872108478464","nickName":null,"genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440111,"cityName":"广州市","districtCode":440111,"districtName":"白云区","birthYear":"2004","educationCode":1,"education":"中专","incomeCode":3,"income":"8001~12000","height":"140","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","identityType":0,"identityTypeName":null,"fillSerialNumber":7}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 978733732204777472 ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${genderCode} ${reps.json()['data']} genderCode Returns a value from the given ``dictionary`` based on the given ``key``. ${genderCode} = 1 ${fillSerialNumber} ${reps.json()['data']} fillSerialNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${fillSerialNumber} = 7 ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${miId} Makes a variable available globally in all tests and suites. ${miId} = 978733732204777472 ${genderCode} Makes a variable available globally in all tests and suites. ${genderCode} = 1 ${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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} ${fillSerialNumber} Makes a variable available globally in all tests and suites. ${fillSerialNumber} = 7 ${fillSerialNumber}==9 填写婚介征婚人的基础资料 ELSE IF ${fillSerialNumber}==0 填写婚介征婚人资料-性别开始 ELSE IF ${fillSerialNumber}==1 填写婚介征婚人资料-城市开始 ELSE IF ${fillSerialNumber}==2 填写婚介征婚人的资料-家乡开始 ELSE IF ${fillSerialNumber}==3 填写婚介征婚人的资料-出生年份开始 ELSE IF ${fillSerialNumber}==4 填写婚介征婚人的资料-身高开始 ELSE IF ${fillSerialNumber}==5 填写婚介征婚人的资料-学历开始 ELSE IF ${fillSerialNumber}==6 填写婚介征婚人的资料-月收入开始 ELSE IF ${fillSerialNumber}==7 填写婚介征婚人的资料-昵称开始 ELSE 查询婚介用户资料 Runs the given keyword with the given arguments, if ``condition`` is true. ${Name} ["缘来是你","洛天神女","寻那个TA","一片烨","王小帅","牛仔","张先生","就等你了","故乡的原风景","万里&长城","雪落下的地方","天蝎座的宁静","烟火","白色气球","带你去浪漫的土耳其","诺贝尔可爱奖","死于脚气攻心","发型不乱,一切好办","朝颜","茯苓","不4辣妹好烦","拉粑粑小魔仙","榆木脑袋/(ㄒoㄒ)/~~","社交悍匪","西红柿炖前男友","^.^心碎小饭包","美女也会emo","爸道总裁","去银行整点金条","观input萨","4.435km/s","炉火糖粥","十一是亿","出桃公主","量贩草莓果泡","风止何安","钟于的尽头是终于","Komorebi","Agoni","Miratowa","Coisini","是牛奶味呀","偷走月亮的o(=•ェ•=)m","一口吃成大胖次","转角撞到小花花","恰似惊鸿落人间","阿啾啾","只吃一口不会胖滴","一贫如喜羊羊","鸭鸭进京赶烤","bug鸭陆","满圈猪猪我最肥","☀日落也会跑","不掉小珍🐖","快乐的刘油果","小地瓜🍠","火鸡味锅巴","晕头小🐕","钞票收割机","吃土豆长大的马铃薯","Tony带水","古塔拉黑暗之神","换胃思烤","你没好果汁吃","元气少女锅德缸","对方正在长头发","关你peace","狂炫老板画的大饼","皮蛋solo粥","梁山伯与祝英抬杠","讨一身可爱","半口奶酪","一丢丢可爱","小不忍则卖大萌","春风十里吹不动你","夏目友人赖账","狂踹瘸子那条好腿","三条腿瘸了两条","蛋黄派来的","BOB!!!","激萌美少女李逵","老衲我不用飘柔","村里在逃翠花❀","onetwo恰恰恰","果真不赖妈妈","不是山谷","十二","花未眠","小熊扁干","穿靴子的猫🐱","可乐无糖加冰","一勺刚刚好","呆熊吐泡泡ε=ε=ε=(~ ̄▽ ̄)~","25点说晚安","酿了一秋的甜","难哄小掌柜","未完结的故事","摆烂小鱼","控制不住喜欢你","这一秒的心动♥","乌梅子酱","十三月末","大不了胖点","零一秒","换个路口转弯","那场漫长雨季","MEI有一米六","大雨倾盆的情","去有风小院","发很久的呆","普通市民","每天都好困😴","不煲电话粥","奶椰西米露","Number one","4Udo","七月绝版","虞美人盛开的山坡","3kyo","想和你互相耽误","书柜里的情书","小石头爱上结巴","歌好听你好看","人生实难万圆,小满即可安心","半夏xia","这条小鱼在乎","那时我们不懂永远","碎不着","独角戏","甜梨","秋棠子淮南","有點困💤","许愿池🫧","小歪.Babyづ","⭐星偷走睡意","伞下铭","棠梨煎雪","直到遇见了你,我只喜欢你","勾指起誓","藏","又见江南雨","偶尔也会发呆","不做小困包","BB饼干🍪","水蜜桃🍑","下雨天🌧️","³º只花🌸","巧克力🍫饼干","带你去抓怪兽👾","想你时关键词","YoYo","偷听少女许愿","没哥帅就闭麦","一觉睡到小时候","花生了什么树","摘一口袋星星送给你","大糖糕僧","哇哒西蛙","著名奶茶鉴定家","睡眠艺术家","夜猫子协会常任理事","国家一级退堂鼓选手","我比纸巾还能扯","水煮美人鱼","话不投机养乐多","屁大点事分享者","月亮邮递员","妈妈说名字太长会有傻子跟着念","有关部门","过期小朋友","向晚"] Returns the given values which can then be assigned to a variables. ${Name} = ["缘来是你","洛天神女","寻那个TA","一片烨","王小帅","牛仔","张先生","就等你了","故乡的原风景","万里&长城","雪落下的地方","天蝎座的宁静","烟火","白色气球","带你去浪漫的土耳其","诺贝尔可爱奖","死于脚气攻心","发型不乱,一切好办","朝颜","茯苓","不4辣妹好烦","拉粑粑小魔仙","榆木脑袋/(ㄒoㄒ)/~~","社交悍匪","西红柿炖前男... ${nickName} random.choice(${Name}) random Evaluates the given expression in Python and returns the result. ${nickName} = 牛仔 ${Number} 7 Evaluates the given expression in Python and returns the result. ${Number} = 7 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${data} {"id":"${miId}","fillSerialNumber":${Number},"nickName":"${nickName}"} Returns the given values which can then be assigned to a variables. ${data} = {"id":"978733732204777472","fillSerialNumber":7,"nickName":"牛仔"} ${reps} dating /dating-agency-service/user/save/first/fill/marriage/Information ${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/first/fill/marriage/Information HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/first/fill/marriage/Information path_url=/dating-agency-service/user/save/first/fill/marriage/Information 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg==', 'Content-Length': '68'} body=b'{"id":"978733732204777472","fillSerialNumber":7,"nickName":"\xe7\x89\x9b\xe4\xbb\x94"}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/first/fill/marriage/Information status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:23: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":"978733732204777472"} ${reps} = <Response [200]> ${id} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${id} = 978733732204777472 ${id} ${miId} Fails if the given objects are unequal. Argument types are: <class 'str'> <class 'str'> 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/marriage/information/data/scoring params=miId=${miId} Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/data/scoring?miId=978733732204777472 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=978733732204777472 path_url=/dating-agency-service/user/get/marriage/information/data/scoring?miId=978733732204777472 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/g6O5DXHixyNrf7tixT2ojyj8RLurlNUH7IjL5FKhfOAwMDo9gKfYDqlVYKDfAvSHLTu0bYQApOm7dScg=='} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=978733732204777472 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 19 Apr 2024 08:23: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":18} ${reps} = <Response [200]> ${percentData} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${percentData} = 18 ${percentData} '${percentData}'=='null' 0 ${percentData} Sets variable based on the given condition. ${percentData} = 18 ${percentData} Makes a variable available globally in all tests and suites. ${percentData} = 18 登陆后填写基础资料 All Tests Dating-agency Dating-agency.0-Login Dating-agency.0-Login.Login-interface Dating-agency.1-Applet Dating-agency.1-Applet.1-WriteInfo Dating-agency.1-Applet.1-WriteInfo.Infomation