${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} = 手机号 19128859944 ${skip-line} 1 Returns the given values which can then be assigned to a variables. ${skip-line} = 1 ${lines} -1 Returns the given values which can then be assigned to a variables. ${lines} = -1 ${content} ${file} ${skip-line} ${lines} Returns lines of the given ``string`` that contain the ``pattern``. 1 out of 2 lines matched ${content} = 19128859944 ${id} ${content} 19128859944 ${id} ${id} \n Splits the ``string`` using ``separator`` as a delimiter string. ${id} = ['19128859944'] ${id} Makes a variable available globally in all tests and suites. ${id} = ['19128859944'] ${userid_list} Returns a list containing given items. ${userid_list} = [] ${Cheader_list} Returns a list containing given items. ${Cheader_list} = [] ${Aheader_list} Returns a list containing given items. ${Aheader_list} = [] ${phoneList} Returns a list containing given items. ${phoneList} = [] ${account} @{id} 19128859944 Helper for quickly disabling all urllib3 warnings. dating ${${dating}.dating域名} ${${dating}.AHeader} Create Session: create a HTTP session to a server Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${data} { \ \ "account":"${account}", \ \ "accountType":2, \ \ "captcha":888888 } Returns the given values which can then be assigned to a variables. ${data} = { "account":"19128859944", "accountType":2, "captcha":888888 } ${reps} dating /dating-agency-uec/authorize/by-captcha ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha path_url=/dating-agency-uec/authorize/by-captcha headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Content-Length': '68'} body=b'{ "account":"19128859944", "accountType":2, "captcha":888888 }' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 07 May 2024 03:42:17 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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==","userId":"984445097062043648"}} ${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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA== ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 984445097062043648 ${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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','X-Organization-Id':'96... ${login_header} Logs the given message with the given level. {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','X-Organization-Id':'963432943739605555'} ${client_header} {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT ${token}'} Returns the given values which can then be assigned to a variables. ${client_header} = {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA=='} ${userid_list} ${userId} Adds ``values`` to the end of ``list``. ${Cheader_list} ${client_header} Adds ``values`` to the end of ``list``. ${Aheader_list} ${login_header} Adds ``values`` to the end of ``list``. ${phoneList} ${account} Adds ``values`` to the end of ``list``. ${code}==0 Should Be Equal As Strings ${message} successful ELSE Should Be Equal As Strings ${message} 验证码错误或无效验证码,请重试! Runs the given keyword with the given arguments, if ``condition`` is true. ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${phoneList} Makes a variable available globally in all tests and suites. ${phoneList} = ['19128859944'] ${userid_list} Makes a variable available globally in all tests and suites. ${userid_list} = ['984445097062043648'] ${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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA=='}"] ${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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA=='} ${Aheader} Returns a list containing given items. ${Aheader} = [] ${userId} ${login_header} ${userid_list} ${Aheader_list} 984445097062043648 {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', '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=984445097062043648 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=984445097062043648 path_url=/dating-agency-uec/user/list/own-organization?userId=984445097062043648 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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', 'X-Organization-Id': '963432943739605555'} body=None utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.0 MacCyrillic Russian confidence = 0.0 IBM866 Russian confidence = 0.0 IBM855 Russian confidence = 0.0 ISO-8859-7 Greek confidence = 0.0 windows-1253 Greek confidence = 0.01 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.2794564987311486 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.01 windows-1255 Hebrew confidence = 0.01 utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=984445097062043648 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 07 May 2024 03:42:17 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":[{"orgId":"963432943739605555","fullName":"趣招亲","shortName":"趣招亲"}]} ${reps} = <Response [200]> ${data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${data} = [{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}] ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${data}==[] log 未获取到组织信息! ELSE log ${data} Runs the given keyword with the given arguments, if ``condition`` is true. ${data} Logs the given message with the given level. [{'orgId': '963432943739605555', 'fullName': '趣招亲', 'shortName': '趣招亲'}] ${matchmakerFlagList} Returns a list containing given items. ${matchmakerFlagList} = [] ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', '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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', 'X-Organization-Id': '963432943739605555'} body=None EUC-JP Japanese prober hit error at byte 84 GB2312 Chinese prober hit error at byte 93 EUC-KR Korean prober hit error at byte 84 CP949 Korean prober hit error at byte 84 Big5 Chinese prober hit error at byte 85 EUC-TW Taiwan prober hit error at byte 84 utf-8 confidence = 0.87625 SHIFT_JIS Japanese confidence = 0.01 EUC-JP not active GB2312 not active EUC-KR not active CP949 not active Big5 not active EUC-TW not active windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.01 MacCyrillic Russian confidence = 0.0 IBM866 Russian confidence = 0.15928260933129862 IBM855 Russian confidence = 0.01 ISO-8859-7 Greek confidence = 0.01 windows-1253 Greek confidence = 0.01 ISO-8859-5 Bulgairan confidence = 0.01 windows-1251 Bulgarian confidence = 0.01 TIS-620 Thai confidence = 0.0 ISO-8859-9 Turkish confidence = 0.45166295398184836 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.01 windows-1255 Hebrew confidence = 0.01 utf-8 confidence = 0.87625 SHIFT_JIS Japanese confidence = 0.01 EUC-JP not active GB2312 not active EUC-KR not active CP949 not active Big5 not active EUC-TW not active GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 07 May 2024 03:42:17 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":"984445097062043648","realName":"嘉宾2号","nickName":null,"phone":"19128859944","matchmakerFlag":false}} ${reps} = <Response [200]> ${phone} ${reps.json()['data']} phone Returns a value from the given ``dictionary`` based on the given ``key``. ${phone} = 19128859944 ${matchmakerFlag} ${reps.json()['data']} matchmakerFlag Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmakerFlag} = False ${matchmakerFlagList} ${matchmakerFlag} Adds ``values`` to the end of ``list``. ${phone} Makes a variable available globally in all tests and suites. ${phone} = 19128859944 ${matchmakerFlag} Makes a variable available globally in all tests and suites. ${matchmakerFlag} = False ${matchmakerFlagList} Makes a variable available globally in all tests and suites. ${matchmakerFlagList} = [False] 接口:短信验证码登录认证 用户登录婚介平台 ${EXECDIR}\\DA_data.yaml Imports a variable file with the given path and optional arguments. ${userId} ${client_header} ${userid_list} ${Cheader_list} 984445097062043648 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA=='} 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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${matchmakerUserId} 977568001438126080 Returns the given values which can then be assigned to a variables. ${matchmakerUserId} = 977568001438126080 ${data} {"initiatorUserId":${matchmakerUserId}} Returns the given values which can then be assigned to a variables. ${data} = {"initiatorUserId":977568001438126080} ${reps} dating dating-agency-service/user/save/matchmaker/invite/user?userId=${userId} ${data.encode('utf-8')} *DEPRECATED* Please use `POST On Session` instead. Keyword 'RequestsLibrary.Post Request' is deprecated. Please use `POST On Session` instead. 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/matchmaker/invite/user?userId=984445097062043648 HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/matchmaker/invite/user?userId=984445097062043648 path_url=/dating-agency-service/user/save/matchmaker/invite/user?userId=984445097062043648 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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', 'Content-Length': '38'} body=b'{"initiatorUserId":977568001438126080}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/matchmaker/invite/user?userId=984445097062043648 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 07 May 2024 03:42:17 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${matchmakerUserId} Makes a variable available globally in all tests and suites. ${matchmakerUserId} = 977568001438126080 ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==','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/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-uec/user/page/matchmaker params=pageSize=10&pageNum=1 Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 path_url=/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tnAn13ZeueImXdcl5AcFrkbfhgvtcv9N5t9ZMPpiJawAhes/PQQ0iiOeA7wDWfjrFA==', 'X-Organization-Id': '963432943739605555'} body=None utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.0 MacCyrillic Russian confidence = 0.008374978466824234 IBM866 Russian confidence = 0.0227546584758998 IBM855 Russian confidence = 0.1138903430918236 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.010499833347856622 ISO-8859-9 Turkish confidence = 0.3668018692448854 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 07 May 2024 03:42:17 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":{"records":[{"id":"982651594233483264","userId":"977568001438126080","name":"15121074365","phone":"15121074365","identityCard":"662864550556977669","enable":true,"createTime":"2024-04-30 11:47:42","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440184,"districtName":"从化市"}]},{"id":"981270314208071680","userId":"978668013433786368","name":"就是不吃饭","phone":"15014242835","identityCard":"441481199509213863","enable":true,"createTime":"2024-04-26 13:59:01","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"981312240928034816","userId":"968624964985032704","name":"qianniao","phone":"13168550964","identityCard":"44058319951227041X","enable":true,"createTime":"2024-04-25 09:55:29","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440105,"districtName":"海珠区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"}]},{"id":"980559527067914240","userId":"970781671202885632","name":"李博2","phone":"18565126880","identityCard":"429006198410300956","enable":true,"createTime":"2024-04-24 17:13:55","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"}]},{"id":"979784994299973632","userId":"968563840231018496","name":"李博","phone":"18565126880","identityCard":"429006198410300956","enable":false,"createTime":"2024-04-19 17:31:00","serviceAreaList":[{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110101,"districtName":"东城区"},{"provinceCode":110000,"provinceName":"北京市","cityCode":110100,"cityName":"北京市","districtCode":110106,"districtName":"丰台区"}]}],"total":5,"size":10,"current":1,"pages":1}} ${reps} = <Response [200]> ${matchmaker_list} ${reps.json()['data']} records Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmaker_list} = [{'id': '982651594233483264', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '662864550556977669', 'enable': True, 'createTime': '2024-04-30 11:47:42', ... ${matchmaker_list} Makes a variable available globally in all tests and suites. ${matchmaker_list} = [{'id': '982651594233483264', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '662864550556977669', 'enable': True, 'createTime': '2024-04-30 11:47:42', ... ${matchmaker} @{matchmaker_list} {'id': '982651594233483264', 'userId': '977568001438126080', 'name': '15121074365', 'phone': '15121074365', 'identityCard': '662864550556977669', 'enable': True, 'createTime': '2024-04-30 11:47:42', '... ${matchmakerId} ${matchmaker} id Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmakerId} = 982651594233483264 ${userId} ${matchmaker} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 977568001438126080 ${userId}==${matchmakerUserId} Stops executing the enclosing FOR loop if the ``condition`` is true. Exiting for loop altogether. ${matchmakerId} Makes a variable available globally in all tests and suites. ${matchmakerId} = 982651594233483264 ${userId} @{userid_list} 984445097062043648 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 matchmaker_id FROM `dating_agency_service`.`da_matchmaker_marriage_information` WHERE `user_id` = '${userId}' AND `matchmaker_id` = '${matchmakerId}' AND `is_delete` = '0' AND `relation_type` = '1' 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 matchmaker_id FROM `dating_agency_service`.`da_matchmaker_marriage_information` WHERE `user_id` = '984445097062043648' AND `matchmaker_id` = '982651594233483264' AND `is_delete` = '0' AND `relation_type` = '1' ${check} = ((982651594233483264,),) ${matchmaker_id} ${check[0][0]} Returns the given values which can then be assigned to a variables. ${matchmaker_id} = 982651594233483264 ${matchmaker_id} ${matchmakerId} Fails if the given objects are unequal. Argument types are: <class 'int'> <class 'int'> 1、红娘邀请加盟 2、红娘邀请嘉宾 3、邀请帮忙认证 4、资料分享 All Tests Dating-agency Dating-agency.0-Login Dating-agency.0-Login.Login-interface Dating-agency.1-Applet Dating-agency.1-Applet.Invite Dating-agency.1-Applet.Invite.Invite Keyword 'RequestsLibrary.Post Request' is deprecated. Please use `POST On Session` instead.