${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} = 手机号 18024004975 ${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} = 18024004975 ${id} ${content} 18024004975 ${id} ${id} \n Splits the ``string`` using ``separator`` as a delimiter string. ${id} = ['18024004975'] ${id} Makes a variable available globally in all tests and suites. ${id} = ['18024004975'] ${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} 18024004975 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":"18024004975", "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":"18024004975", "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, 26 Mar 2024 09:52:41 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==","userId":"970050670893862912"}} ${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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw== ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 970050670893862912 ${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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==','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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} ${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'> ${userid_list} Makes a variable available globally in all tests and suites. ${userid_list} = ['970050670893862912'] ${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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==','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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='}"] ${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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==','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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} ${Aheader} Returns a list containing given items. ${Aheader} = [] ${userId} ${login_header} ${userid_list} ${Aheader_list} 970050670893862912 {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==','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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==', '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=970050670893862912 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=970050670893862912 path_url=/dating-agency-uec/user/list/own-organization?userId=970050670893862912 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=970050670893862912 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 26 Mar 2024 09:52:41 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. 未获取到组织信息! 接口:短信验证码登录认证 用户登录婚介平台 ${EXECDIR}\\DA_data.yaml Imports a variable file with the given path and optional arguments. ${userId} ${client_header} ${userid_list} ${Cheader_list} 970050670893862912 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='}, 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=970050670893862912 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=970050670893862912 path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=970050670893862912 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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.07067734829635543 IBM866 Russian confidence = 0.0245229823750533 IBM855 Russian confidence = 0.09653491474624158 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.35009888583693505 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-service/user/get/first/fill/marriage/information/details?userId=970050670893862912 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 26 Mar 2024 09:52:41 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":"970050689193611264","accountId":null,"userId":null,"nickName":"庞承承","genderCode":0,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1983","educationCode":3,"education":"大学本科","incomeCode":2,"income":"5001~8000","height":"168","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440900,"hometownCityName":"茂名市","fillSerialNumber":8}} ${reps} = <Response [200]> ${Data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${Data} = {'id': '970050689193611264', 'accountId': None, 'userId': None, 'nickName': '庞承承', 'genderCode': 0, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName': '广东省', 'cityCo... ${DataId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${DataId} = 970050689193611264 ${fillSerialNumber} ${reps.json()['data']} fillSerialNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${fillSerialNumber} = 8 ${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} Makes a variable available globally in all tests and suites. ${Data} = {'id': '970050689193611264', 'accountId': None, 'userId': None, 'nickName': '庞承承', 'genderCode': 0, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName': '广东省', 'cityCo... ${DataId} Makes a variable available globally in all tests and suites. ${DataId} = 970050689193611264 ${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} 970050670893862912 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='}, 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=970050670893862912 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=970050670893862912 path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=970050670893862912 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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.07067734829635543 IBM866 Russian confidence = 0.0245229823750533 IBM855 Russian confidence = 0.09653491474624158 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.35009888583693505 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-service/user/get/first/fill/marriage/information/details?userId=970050670893862912 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 26 Mar 2024 09:52:41 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":"970050689193611264","accountId":null,"userId":null,"nickName":"庞承承","genderCode":0,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1983","educationCode":3,"education":"大学本科","incomeCode":2,"income":"5001~8000","height":"168","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440900,"hometownCityName":"茂名市","fillSerialNumber":8}} ${reps} = <Response [200]> ${Data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${Data} = {'id': '970050689193611264', 'accountId': None, 'userId': None, 'nickName': '庞承承', 'genderCode': 0, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName': '广东省', 'cityCo... ${DataId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${DataId} = 970050689193611264 ${DataId} Makes a variable available globally in all tests and suites. ${DataId} = 970050689193611264 1 Pauses the test executed for the given time. Slept 1 second 登陆后填写基础资料 ${EXECDIR}\\DA_data.yaml Imports a variable file with the given path and optional arguments. ${userId} ${client_header} ${userid_list} ${Cheader_list} 970050670893862912 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating /dating-agency-service/user/get/marriage/information/details params=userId=${userId} Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-service/user/get/marriage/information/details?userId=970050670893862912 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=970050670893862912 path_url=/dating-agency-service/user/get/marriage/information/details?userId=970050670893862912 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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.06717050213709551 IBM866 Russian confidence = 0.023651241486499115 IBM855 Russian confidence = 0.0967347799941634 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.39978143752801243 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/details?userId=970050670893862912 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 26 Mar 2024 09:52:43 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":"970050689193611264","isDelete":false,"createTime":"2024-03-26 17:16:12","updateTime":null,"event":null,"accountId":null,"userId":null,"nickName":"庞承承","name":null,"profilePhoto":"https://dating-agency-test.oss-accelerate.aliyuncs.com/bc07ad3c778a592b48a48a01a6e6bcee.jpg","identityCard":null,"genderCode":0,"genderValue":"男","homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","birthYear":"1983","birthDate":null,"constellationCode":null,"constellation":null,"chineseZodiacCode":null,"chineseZodiac":null,"height":168,"weight":null,"educationCode":3,"education":"大学本科","maritalStatusCode":null,"maritalStatusName":null,"minimumIncome":5001,"maximumIncome":8000,"incomeCode":2,"income":"5001~8000","diplomaVerificationCode":null,"describeInfo":null,"self":null,"domicilePlaceProvinceCode":null,"domicilePlaceProvinceName":null,"domicilePlaceCityCode":null,"domicilePlaceCityName":null,"nationCode":null,"nation":null,"bodilyFormCode":null,"bodilyForm":null,"accountTypeCode":null,"accountTypeName":null,"nationalityCode":null,"nationality":null,"nativePlaceCode":null,"nativePlaceName":null,"industryCode":null,"industry":null,"occupationCode":null,"occupation":null,"onlyChild":null,"carPurchaseSituationCode":null,"carPurchaseSituation":null,"propertyPermitsCode":null,"propertyPermits":null,"wechatId":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440900,"hometownCityName":"茂名市","auditProfilePhoto":null,"photoList":[],"describeAuditStatus":null,"describeAudit":null,"fillSerialNumber":null,"demandMarriage":null,"marriageSeekingContacts":null,"age":null}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 970050689193611264 ${nickName} ${reps.json()['data']} nickName Returns a value from the given ``dictionary`` based on the given ``key``. ${nickName} = 庞承承 ${miId_list} Returns a list containing given items. ${miId_list} = [] ${genderCode} ${reps.json()['data']} genderCode Returns a value from the given ``dictionary`` based on the given ``key``. ${genderCode} = 0 ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${miId_list} ${miId} Adds ``values`` to the end of ``list``. ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${nickName} Makes a variable available globally in all tests and suites. ${nickName} = 庞承承 ${miId_list} Makes a variable available globally in all tests and suites. ${miId_list} = ['970050689193611264'] ${genderCode} Makes a variable available globally in all tests and suites. ${genderCode} = 0 ${miId} ${client_header} ${miId_list} ${Cheader_list} 970050689193611264 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='} 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/g6O5DXHixyNrf7tgq0MinfcxElm7DepvZuZyIMkbcIyXfqO+YnQ2wfFxRaseTJhFkl4tkIJL1F1igYQw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${data} { \ \ \ \ "id": "${miId}", \ \ \ \ "domicilePlaceProvinceCode": ${provinceCode}, \ \ \ \ "domicilePlaceProvinceName": "${provinceName}", \ \ \ \ "domicilePlaceCityCode": ${cityCode}, \ \ \ \ "domicilePlaceCityName": "${cityName}" } Returns the given values which can then be assigned to a variables. Variable '${provinceCode}' not found. ${reps} dating dating-agency-service/user/save/marriage/Information ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. ${miId} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} successful Fails if objects are unequal after converting them to strings. ${miId} Makes a variable available globally in all tests and suites. Variable '${provinceCode}' not found. 资料认证 征婚人资料 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 Dating-agency.1-Applet.2-Homepage Dating-agency.1-Applet.2-Homepage.MarriageInfo Dating-agency.1-Applet.2-Homepage.MarriageInfo.DataAuthentication Error in file 'D:\LYL\Study\Robot_framework\space\Dating-agency\1-Applet\1-WriteInfo\Infomation.robot' on line 4: Resource file '..\0-Login\LoginResource.robot' does not exist.