${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} = 手机号 13213049527 ${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} = 13213049527 ${id} ${content} 13213049527 ${id} ${id} \n Splits the ``string`` using ``separator`` as a delimiter string. ${id} = ['13213049527'] ${id} Makes a variable available globally in all tests and suites. ${id} = ['13213049527'] ${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} 13213049527 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":"13213049527", "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): 127.0.0.1 http://127.0.0.1:8888 "POST http://dating-agency-api-test.qniao.cn/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":"13213049527", "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, 16 Apr 2024 10:04:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==","userId":"977662847188340736"}} ${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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw== ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 977662847188340736 ${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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==','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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} ${userid_list} ${userId} Adds ``values`` to the end of ``list``. ${Cheader_list} ${client_header} Adds ``values`` to the end of ``list``. ${Aheader_list} ${login_header} Adds ``values`` to the end of ``list``. ${code}==0 Should Be Equal As Strings ${message} successful ELSE Should Be Equal As Strings ${message} 验证码错误或无效验证码,请重试! Runs the given keyword with the given arguments, if ``condition`` is true. ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${phone} ${account} Returns the given values which can then be assigned to a variables. ${phone} = 13213049527 ${phone} Makes a variable available globally in all tests and suites. ${phone} = 13213049527 ${userid_list} Makes a variable available globally in all tests and suites. ${userid_list} = ['977662847188340736'] ${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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==','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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='}"] ${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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==','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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} ${Aheader} Returns a list containing given items. ${Aheader} = [] ${userId} ${login_header} ${userid_list} ${Aheader_list} 977662847188340736 {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==','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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==', '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): 127.0.0.1 http://127.0.0.1:8888 "GET http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977662847188340736 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977662847188340736 path_url=/dating-agency-uec/user/list/own-organization?userId=977662847188340736 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=977662847188340736 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":[]} ${reps} = <Response [200]> ${data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${data} = [] ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${data}==[] log 未获取到组织信息! ELSE log ${data} Runs the given keyword with the given arguments, if ``condition`` is true. 未获取到组织信息! Logs the given message with the given level. 未获取到组织信息! ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==','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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==', '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): 127.0.0.1 http://127.0.0.1:8888 "GET http://dating-agency-api-test.qniao.cn/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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":{"userId":"977662847188340736","realName":null,"nickName":null,"phone":"13213049527","matchmakerFlag":false}} ${reps} = <Response [200]> ${phone} ${reps.json()['data']} phone Returns a value from the given ``dictionary`` based on the given ``key``. ${phone} = 13213049527 ${matchmakerFlag} ${reps.json()['data']} matchmakerFlag Returns a value from the given ``dictionary`` based on the given ``key``. ${matchmakerFlag} = False ${phone} Makes a variable available globally in all tests and suites. ${phone} = 13213049527 ${matchmakerFlag} Makes a variable available globally in all tests and suites. ${matchmakerFlag} = False 接口:短信验证码登录认证 用户登录婚介平台 ${EXECDIR}\\DA_data.yaml Imports a variable file with the given path and optional arguments. ${userId} ${client_header} ${userid_list} ${Cheader_list} 977662847188340736 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='}, 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): 127.0.0.1 http://127.0.0.1:8888 "GET http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/first/fill/marriage/information/details?userId=977662847188340736 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=977662847188340736 path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=977662847188340736 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} 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.0943120713145847 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.036692294648424564 ISO-8859-9 Turkish confidence = 0.3568459317256693 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/first/fill/marriage/information/details?userId=977662847188340736 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":{"id":"977671385776263168","accountId":null,"userId":"977662847188340736","nickName":null,"genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区","birthYear":"1996","educationCode":1,"education":"中专","incomeCode":0,"income":"3000以下","height":"151","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","fillSerialNumber":7}} ${reps} = <Response [200]> ${Data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${Data} = {'id': '977671385776263168', 'accountId': None, 'userId': '977662847188340736', 'nickName': None, 'genderCode': 1, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName':... ${DataId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${DataId} = 977671385776263168 ${fillSerialNumber} ${reps.json()['data']} fillSerialNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${fillSerialNumber} = 7 ${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': '977671385776263168', 'accountId': None, 'userId': '977662847188340736', 'nickName': None, 'genderCode': 1, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName':... ${DataId} Makes a variable available globally in all tests and suites. ${DataId} = 977671385776263168 ${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} 977662847188340736 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='}, 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): 127.0.0.1 http://127.0.0.1:8888 "GET http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/first/fill/marriage/information/details?userId=977662847188340736 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=977662847188340736 path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=977662847188340736 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} 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.0943120713145847 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.036692294648424564 ISO-8859-9 Turkish confidence = 0.3568459317256693 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/first/fill/marriage/information/details?userId=977662847188340736 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":{"id":"977671385776263168","accountId":null,"userId":"977662847188340736","nickName":null,"genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区","birthYear":"1996","educationCode":1,"education":"中专","incomeCode":0,"income":"3000以下","height":"151","maritalStatusCode":null,"maritalStatusName":null,"hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":440500,"hometownCityName":"汕头市","fillSerialNumber":7}} ${reps} = <Response [200]> ${Data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${Data} = {'id': '977671385776263168', 'accountId': None, 'userId': '977662847188340736', 'nickName': None, 'genderCode': 1, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName':... ${DataId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${DataId} = 977671385776263168 ${DataId} Makes a variable available globally in all tests and suites. ${DataId} = 977671385776263168 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/marriage/information/data/scoring params=miId=${DataId} Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): 127.0.0.1 http://127.0.0.1:8888 "GET http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 path_url=/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:11 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":10} ${reps} = <Response [200]> ${percentData} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${percentData} = 10 ${percentData} '${percentData}'=='null' 0 ${percentData} Sets variable based on the given condition. ${percentData} = 10 ${percentData} Makes a variable available globally in all tests and suites. ${percentData} = 10 ${Name} ["缘来是你","洛天神女","寻那个TA","一片烨","冲浪boy","王小帅","牛仔","张先生","就等你了","故乡的原风景","万里&长城","禁忌女孩","如果当时...","雪落下的地方","天蝎座的宁静","烟火","白色气球","带你去浪漫的土耳其","村里在逃翠花❀","诺贝尔可爱奖","虚天渊","死于脚气攻心","发型不乱,一切好办","朝颜","茯苓","不4辣妹好烦","满山的猴子我腚最红","拉粑粑小魔仙","榆木脑袋/(ㄒoㄒ)/~~","北极甜虾","社交悍匪","西红柿炖前男友","骑猪追帅哥","^.^心碎小饭包","美女也会emo","妈莎拉蒂","爸道总裁","去银行整点金条","我的人间鬼火","观input萨","冰糖葫芦娃","记忆煎成饼","4.435km/s","炉火糖粥","十一是亿","半截的诗","DokiDoki","该昵称已存在","出桃公主","量贩草莓果泡","风止何安","钟于的尽头是终于","Komorebi","Agoni","Miratowa","Coisini","是牛奶味呀","偷走月亮的o(=•ェ•=)m","一口吃成大胖次","转角撞到小花花","恰似惊鸿落人间","阿啾啾","只吃一口不会胖滴","难过就收拾房间","辣条董事长","一贫如喜羊羊","鸭鸭进京赶烤","bug鸭陆","我愿嫁给财神爷哪怕是妾","富婆与低保皆失","满圈猪猪我最肥","☀日落也会跑","不掉小珍🐖","快乐的刘油果","小地瓜🍠","火鸡味锅巴","晕头小🐕","钞票收割机","吃土豆长大的马铃薯","Tony带水","古塔拉黑暗之神","换胃思烤","你没好果汁吃","元气少女锅德缸","对方正在长头发","关你peace","狂炫老板画的大饼","皮蛋solo粥","梁山伯与祝英抬杠","讨一身可爱","半口奶酪","一丢丢可爱","小不忍则卖大萌","春风十里吹不动你","夏目友人赖账","狂踹瘸子那条好腿","三条腿瘸了两条","蛋黄派来的","BOB!!!","激萌美少女李逵","老衲我不用飘柔"] Returns the given values which can then be assigned to a variables. ${Name} = ["缘来是你","洛天神女","寻那个TA","一片烨","冲浪boy","王小帅","牛仔","张先生","就等你了","故乡的原风景","万里&长城","禁忌女孩","如果当时...","雪落下的地方","天蝎座的宁静","烟火","白色气球","带你去浪漫的土耳其","村里在逃翠花❀","诺贝尔可爱奖","虚天渊","死于脚气攻心","发型不乱,一切好办","朝颜","茯苓","不4辣妹好烦... ${nickName} random.choice(${Name}) random Evaluates the given expression in Python and returns the result. ${nickName} = 皮蛋solo粥 ${Number} 7 Evaluates the given expression in Python and returns the result. ${Number} = 7 dating ${${dating}.dating域名} ${client_header} Create Session: create a HTTP session to a server Creating Session using : alias=dating, url=http://dating-agency-api-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${Data} ${Data} $.id ${DataId} Update value to JSON using JSONPath ${Data} = {'id': '977671385776263168', 'accountId': None, 'userId': '977662847188340736', 'nickName': None, 'genderCode': 1, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName':... ${Data} ${Data} $.fillSerialNumber ${Number} Update value to JSON using JSONPath ${Data} = {'id': '977671385776263168', 'accountId': None, 'userId': '977662847188340736', 'nickName': None, 'genderCode': 1, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceName':... ${Data} ${Data} $.nickName ${nickName} Update value to JSON using JSONPath ${Data} = {'id': '977671385776263168', 'accountId': None, 'userId': '977662847188340736', 'nickName': '皮蛋solo粥', 'genderCode': 1, 'homeCountryCode': None, 'homeCountry': None, 'provinceCode': 440000, 'provinceN... ${Data} demjson.encode(${DATA}) demjson Evaluates the given expression in Python and returns the result. ${Data} = {"accountId":null,"birthYear":"1996","cityCode":440100,"cityName":"\u5e7f\u5dde\u5e02","districtCode":440112,"districtName":"\u9ec4\u57d4\u533a","education":"\u4e2d\u4e13","educationCode":1,"fillSeria... ${Data} ${Data} "None" null Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${Data} = {"accountId":null,"birthYear":"1996","cityCode":440100,"cityName":"\u5e7f\u5dde\u5e02","districtCode":440112,"districtName":"\u9ec4\u57d4\u533a","education":"\u4e2d\u4e13","educationCode":1,"fillSeria... ${reps} dating /dating-agency-service/user/save/first/fill/marriage/Information ${Data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. Starting new HTTP connection (1): 127.0.0.1 http://127.0.0.1:8888 "POST http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/first/fill/marriage/Information HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/first/fill/marriage/Information path_url=/dating-agency-service/user/save/first/fill/marriage/Information headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795880', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw==', 'Content-Length': '666'} body=b'{"accountId":null,"birthYear":"1996","cityCode":440100,"cityName":"\\u5e7f\\u5dde\\u5e02","districtCode":440112,"districtName":"\\u9ec4\\u57d4\\u533a","education":"\\u4e2d\\u4e13","educationCode":1,"fillSerialNumber":7,"genderCode":1,"height":"151","homeCountry":null,"homeCountryCode":null,"hometownCityCode":440500,"hometownCityName":"\\u6c55\\u5934\\u5e02","hometownProvinceCode":440000,"hometownProvinceName":"\\u5e7f\\u4e1c\\u7701","id":"977671385776263168","income":"3000\\u4ee5\\u4e0b","incomeCode":0,"maritalStatusCode":null,"maritalStatusName":null,"nickName":"\\u76ae\\u86cbsolo\\u7ca5","provinceCode":440000,"provinceName":"\\u5e7f\\u4e1c\\u7701","userId":"977662847188340736"}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/save/first/fill/marriage/Information status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":"977671385776263168"} ${reps} = <Response [200]> ${id} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${id} = 977671385776263168 ${id} ${DataId} Fails if the given objects are unequal. Argument types are: <class 'str'> <class 'str'> ${percentage} ${percentData}+5 Evaluates the given expression in Python and returns the result. ${percentage} = 15 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/marriage/information/data/scoring params=miId=${DataId} Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): 127.0.0.1 http://127.0.0.1:8888 "GET http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 path_url=/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 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/g6O5DXHixyNrf7ti+CcdVE/Ex11yh5Z+fh9OPktOw+fmAtooYGsxh2U2Dcz9hYD7AkdaIZbTjIJP81qw=='} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/marriage/information/data/scoring?miId=977671385776263168 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 16 Apr 2024 10:04:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Connection': 'keep-alive'} body={"code":0,"message":"successful","data":15} ${reps} = <Response [200]> ${percentData} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${percentData} = 15 ${percentData} '${percentData}'=='null' 0 ${percentData} Sets variable based on the given condition. ${percentData} = 15 ${percentData} Makes a variable available globally in all tests and suites. ${percentData} = 15 ${percentage} ${percentData} Fails if objects are unequal after converting them to real numbers. Argument types are: <class 'int'> <class 'int'> 1 Pauses the test executed for the given time. Slept 1 second 登陆后填写基础资料 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