${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} = 手机号 13416472917 ${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} = 13416472917 ${id} ${content} 13416472917 ${id} ${id} \n Splits the ``string`` using ``separator`` as a delimiter string. ${id} = ['13416472917'] ${id} Makes a variable available globally in all tests and suites. ${id} = ['13416472917'] ${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} 13416472917 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.quzhaoqin.com, 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":666666 } Returns the given values which can then be assigned to a variables. ${data} = { "account":"13416472917", "accountType":2, "captcha":666666 } ${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.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "POST /dating-agency-uec/authorize/by-captcha HTTP/1.1" 200 None POST Request : url=http://dating-agency-api.quzhaoqin.com/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":"13416472917", "accountType":2, "captcha":666666 }' POST Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==","userId":"986353512956956672"}} ${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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g== ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 986353512956956672 ${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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} ${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} = ['13416472917'] ${userid_list} Makes a variable available globally in all tests and suites. ${userid_list} = ['986353512956956672'] ${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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}"] ${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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} ${Aheader} Returns a list containing given items. ${Aheader} = [] ${userId} ${login_header} ${userid_list} ${Aheader_list} 986353512956956672 {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', '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.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-uec/user/list/own-organization?userId=986353512956956672 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/list/own-organization?userId=986353512956956672 path_url=/dating-agency-uec/user/list/own-organization?userId=986353512956956672 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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/list/own-organization?userId=986353512956956672 status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":[]} ${reps} = <Response [200]> ${data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${data} = [] ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${data}==[] log 未获取到组织信息! ELSE log ${data} Runs the given keyword with the given arguments, if ``condition`` is true. 未获取到组织信息! Logs the given message with the given level. 未获取到组织信息! ${matchmakerFlagList} Returns a list containing given items. ${matchmakerFlagList} = [] ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', '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.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None GET Request : url=http://dating-agency-api.quzhaoqin.com/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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-uec/user/get/base-info status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"986353512956956672","realName":null,"nickName":null,"phone":"13416472917","matchmakerFlag":false}} ${reps} = <Response [200]> ${phone} ${reps.json()['data']} phone Returns a value from the given ``dictionary`` based on the given ``key``. ${phone} = 13416472917 ${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} = 13416472917 ${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. ${miId_list} Returns a list containing given items. ${miId_list} = [] ${userId} ${client_header} ${userid_list} ${Cheader_list} 986353512956956672 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} 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.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, 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.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672 path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672 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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} 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.023855690337636886 IBM855 Russian confidence = 0.08912241236394088 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.35695340012443866 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.quzhaoqin.com/dating-agency-service/user/get/first/fill/marriage/information/details?userId=986353512956956672 status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"986353543797673984","accountId":null,"userId":"986353512956956672","nickName":"七月半","genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1992","educationCode":3,"education":"大学本科","incomeCode":3,"income":"8001~12000","height":"163","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440300,"hometownCityName":"深圳市","identityType":3,"identityTypeName":"亲友","fillSerialNumber":8}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 986353543797673984 ${miId_list} ${miId} Adds ``values`` to the end of ``list``. ${userId} Makes a variable available globally in all tests and suites. ${userId} = 986353512956956672 ${miId_list} Makes a variable available globally in all tests and suites. ${miId_list} = ['986353543797673984'] ${miId} ${client_header} ${miId_list} ${Cheader_list} 986353543797673984 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} dating ${${dating}.dating域名} ${client_header} Create Session: create a HTTP session to a server Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail params=miId=${miId} Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984 path_url=/dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984 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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} 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.03516867630646567 IBM866 Russian confidence = 0.03301227318477545 IBM855 Russian confidence = 0.06350449919974399 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.029914948694517267 ISO-8859-9 Turkish confidence = 0.34862764196311435 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.quzhaoqin.com/dating-agency-service/user/get/marriage/seeking/reward/to/be/announced/detail?miId=986353543797673984 status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"986353543797673984","isDelete":false,"createTime":"2024-05-16 18:51:37","updateTime":null,"event":null,"accountId":null,"userId":"986353512956956672","nickName":"七月半","name":"赖勇兰","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg","identityCard":"441481199509213863","genderCode":1,"genderValue":"女","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1992","birthDate":"1992-09-21","constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":"猪","height":163,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","diplomaVerificationCode":null,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","identityType":3,"identityTypeName":"亲友","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440300,"hometownCityName":"深圳市","display":true,"inLove":0,"auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":[],"age":32,"meLike":null,"miSessionType":null,"consumeRight":false,"vip":false,"dataScoring":40,"phone":"13416472917","amountPaid":0,"publishOrNot":true,"meetingAmount":0,"withdrawalAmount":0,"appointment":0,"visibleTotal":5,"selected":false,"msrId":"2","matchmaker":{"id":null,"userId":null,"name":null,"score":0.0,"serviceDay":null},"marriageBountyOrderId":"988556480489852928","educationAudit":false,"mobileNumber":""}} ${reps} = <Response [200]> ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 986353512956956672 ${matchmaker} ${reps.json()['data']} matchmaker Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmaker} = {'id': None, 'userId': None, 'name': None, 'score': 0.0, 'serviceDay': None} ${matchmakerId} ${matchmaker} id Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmakerId} = None ${matchmakerUserId} ${matchmaker} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmakerUserId} = None ${matchmakerId}==None 红娘邀请婚介用户成为嘉宾 ELSE log ${matchmaker} Runs the given keyword with the given arguments, if ``condition`` is true. ${userId} ${client_header} ${userid_list} ${Cheader_list} 986353512956956672 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} dating ${${dating}.dating域名} ${client_header} Create Session: create a HTTP session to a server Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${matchmakerUserId} 988491861142409216 Returns the given values which can then be assigned to a variables. ${matchmakerUserId} = 988491861142409216 ${data} {"initiatorUserId":${matchmakerUserId}} Returns the given values which can then be assigned to a variables. ${data} = {"initiatorUserId":988491861142409216} ${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.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "POST /dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672 HTTP/1.1" 200 None POST Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672 path_url=/dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672 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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', 'Content-Length': '38'} body=b'{"initiatorUserId":988491861142409216}' POST Response : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/save/matchmaker/invite/user?userId=986353512956956672 status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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} = 988491861142409216 ${userId} Makes a variable available globally in all tests and suites. ${userId} = 986353512956956672 ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==','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.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', '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.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api.quzhaoqin.com/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/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g==', '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.14951815818455233 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.3590180753709183 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.quzhaoqin.com/dating-agency-uec/user/page/matchmaker?pageSize=10&pageNum=1 status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 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":"988495646774398976","userId":"988491861142409216","name":"15134891062","phone":"15134891062","identityCard":"20240516144835","enable":true,"createTime":"2024-05-16 14:49:17","serviceAreaList":[{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区"},{"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440113,"districtName":"番禺区"}]}],"total":1,"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': '988495646774398976', 'userId': '988491861142409216', 'name': '15134891062', 'phone': '15134891062', 'identityCard': '20240516144835', 'enable': True, 'createTime': '2024-05-16 14:49:17', 'ser... ${matchmaker_list} Makes a variable available globally in all tests and suites. ${matchmaker_list} = [{'id': '988495646774398976', 'userId': '988491861142409216', 'name': '15134891062', 'phone': '15134891062', 'identityCard': '20240516144835', 'enable': True, 'createTime': '2024-05-16 14:49:17', 'ser... ${matchmaker} @{matchmaker_list} {'id': '988495646774398976', 'userId': '988491861142409216', 'name': '15134891062', 'phone': '15134891062', 'identityCard': '20240516144835', 'enable': True, 'createTime': '2024-05-16 14:49:17', 'serv... ${matchmakerId} ${matchmaker} id Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmakerId} = 988495646774398976 ${userId} ${matchmaker} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 988491861142409216 ${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} = 988495646774398976 ${client_header} @{Cheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} dating ${${dating}.dating域名} ${client_header} Create Session: create a HTTP session to a server Creating Session using : alias=dating, url=http://dating-agency-api.quzhaoqin.com, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/matchmaker/guest/page params=pageSize=10&matchmakerId=${matchmakerId}&pageNum=1 Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api.quzhaoqin.com http://dating-agency-api.quzhaoqin.com:80 "GET /dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&matchmakerId=988495646774398976&pageNum=1 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api.quzhaoqin.com/dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&matchmakerId=988495646774398976&pageNum=1 path_url=/dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&matchmakerId=988495646774398976&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': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tpTJqODd0dhrZejbZgjwuM11U5JffTeMcAqQR1wGU/ANlTqlVwB6ctQdo/fQiBcz4g=='} 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.03342838104601722 IBM866 Russian confidence = 0.0387388308938027 IBM855 Russian confidence = 0.07748755167022003 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.03105930225993092 ISO-8859-9 Turkish confidence = 0.3042322168187015 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.quzhaoqin.com/dating-agency-service/user/get/matchmaker/guest/page?pageSize=10&matchmakerId=988495646774398976&pageNum=1 status=200, reason= headers={'Server': 'nginx/1.25.5', 'Date': 'Sat, 18 May 2024 02:06:36 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":{"records":[{"miId":"986353543797673984","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg","nickName":"七月半","height":"163","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":32,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"我内心渴望一份美好的感情,但不强求也不凑合,尊重他人和自己的情感,期待理想中的你能早日出现。在你还没有来到我身边之前,我会好好爱自己,照顾好自己,经营好自己,希望我早日遇到优秀的你,一起成长,共同努力!","hasConsumeUnlockMorePeople":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440300,"hometownCityName":"深圳市","miSessionType":null,"meLike":null,"vip":false,"dataScoring":null,"identityType":3,"identityTypeName":"亲友","status":0,"name":"赖勇兰","msrId":"2","genderCode":1,"genderValue":"女","createTime":"2024-05-18 10:06:36","phone":"13416472917","educationAudit":false},{"miId":"986344345860968448","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/20201721432758197.jpg","nickName":"qianniao","height":"171","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":440100,"domicilePlaceCityName":"广州市","educationCode":3,"education":"大学本科","age":40,"occupationCode":null,"occupation":null,"minimumIncome":12001,"maximumIncome":20000,"incomeCode":4,"income":"12001~20000","realNameAudit":1,"describeInfo":null,"hasConsumeUnlockMorePeople":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440100,"hometownCityName":"广州市","miSessionType":null,"meLike":null,"vip":false,"dataScoring":null,"identityType":2,"identityTypeName":"母亲","status":0,"name":"李博","msrId":"1","genderCode":0,"genderValue":"男","createTime":"2024-05-16 15:43:00","phone":"19128859944","educationAudit":false},{"miId":"988486875104808960","profilePhoto":"https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/8DDE1ECACB1916B.png","nickName":"就是不吃饭","height":"160","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","domicilePlaceProvinceCode":440000,"domicilePlaceProvinceName":"广东省","domicilePlaceCityCode":441400,"domicilePlaceCityName":"梅州市","educationCode":3,"education":"大学本科","age":29,"occupationCode":null,"occupation":null,"minimumIncome":8001,"maximumIncome":12000,"incomeCode":3,"income":"8001~12000","realNameAudit":1,"describeInfo":"Some days the sunsets would be purple and pink. And some days they were a blazing orange setting fire to the clouds on the horizon. It was during one of those sunsets that my father's idea of the whole being greater than the sum of its parts moved from my head to my heart. 有时落日泛起紫红的余晖,有时散发出橘红色的火光燃起天边的晚霞。在这绚烂的日落景象中,我慢慢领悟了父亲所说的整体胜于局部总和的道理。","hasConsumeUnlockMorePeople":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","miSessionType":null,"meLike":null,"vip":false,"dataScoring":null,"identityType":0,"identityTypeName":"本人","status":0,"name":"赖勇兰","msrId":"5","genderCode":1,"genderValue":"女","createTime":"2024-05-16 14:58:33","phone":"15014242835","educationAudit":false}],"total":3,"size":10,"current":1,"pages":1}} ${reps} = <Response [200]> ${records} ${reps.json()['data']} records Returns a value from the given ``dictionary`` based on the given ``key``. ${records} = [{'miId': '986353543797673984', 'profilePhoto': 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg', 'nickName': '七月半', 'height': '163', 'provinceCode': 440000, 'provinceNa... ${records} Makes a variable available globally in all tests and suites. ${records} = [{'miId': '986353543797673984', 'profilePhoto': 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg', 'nickName': '七月半', 'height': '163', 'provinceCode': 440000, 'provinceNa... ${records} @{records} {'miId': '986353543797673984', 'profilePhoto': 'https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/1-201201101140492.jpg', 'nickName': '七月半', 'height': '163', 'provinceCode': 440000, 'provinceNam... ${MIID} ${records} miId Returns a value from the given ``dictionary`` based on the given ``key``. ${MIID} = 986353543797673984 ${MIID}==${miId} Stops executing the enclosing FOR loop if the ``condition`` is true. Exiting for loop altogether. ${MIID} Makes a variable available globally in all tests and suites. 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.4-Invite Dating-agency.1-Applet.4-Invite.Invite Keyword 'RequestsLibrary.Post Request' is deprecated. Please use `POST On Session` instead.