${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} = 手机号 15869737024 ${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} = 15869737024 ${id} ${content} 15869737024 ${id} ${id} \n Splits the ``string`` using ``separator`` as a delimiter string. ${id} = ['15869737024'] ${id} Makes a variable available globally in all tests and suites. ${id} = ['15869737024'] ${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} 15869737024 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":"15869737024", "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":"15869737024", "accountType":2, "captcha":888888 }' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 31 May 2024 08:20: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":{"token":"iHP4V/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==","userId":"985664864619991040"}} ${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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg== ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 985664864619991040 ${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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==','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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==','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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} ${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} = ['15869737024'] ${userid_list} Makes a variable available globally in all tests and suites. ${userid_list} = ['985664864619991040'] ${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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==','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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='}"] ${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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==','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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} ${Aheader} Returns a list containing given items. ${Aheader} = [] ${userId} ${login_header} ${userid_list} ${Aheader_list} 985664864619991040 {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==','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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==', '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=985664864619991040 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=985664864619991040 path_url=/dating-agency-uec/user/list/own-organization?userId=985664864619991040 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=985664864619991040 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 31 May 2024 08:20: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":[]} ${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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==','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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-uec/user/get/base-info Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-uec/user/get/base-info HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info path_url=/dating-agency-uec/user/get/base-info headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==', 'X-Organization-Id': '963432943739605555'} body=None GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 31 May 2024 08:20: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":{"userId":"985664864619991040","realName":null,"nickName":null,"phone":"15869737024","matchmakerFlag":false}} ${reps} = <Response [200]> ${phone} ${reps.json()['data']} phone Returns a value from the given ``dictionary`` based on the given ``key``. ${phone} = 15869737024 ${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} = 15869737024 ${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} = [] ${genderCodeList} Returns a list containing given items. ${genderCodeList} = [] ${userId} ${client_header} ${userid_list} ${Cheader_list} 985664864619991040 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='}, 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=985664864619991040 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=985664864619991040 path_url=/dating-agency-service/user/get/first/fill/marriage/information/details?userId=985664864619991040 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} 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.02337807377660938 IBM855 Russian confidence = 0.09650468854984354 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.3610850431536861 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=985664864619991040 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 31 May 2024 08:20: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":"985665735651102720","accountId":null,"userId":"985664864619991040","nickName":"嘉宾plus","genderCode":1,"homeCountryCode":null,"homeCountry":null,"provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区","birthYear":"1992","educationCode":2,"education":"大专","incomeCode":3,"income":"8001~12000","height":"163","maritalStatusCode":0,"maritalStatusName":"未婚","hometownProvinceCode":440000,"hometownProvinceName":"广东省","hometownCityCode":441400,"hometownCityName":"梅州市","identityType":2,"identityTypeName":"母亲","fillSerialNumber":8}} ${reps} = <Response [200]> ${miId} ${reps.json()['data']} id Returns a value from the given ``dictionary`` based on the given ``key``. ${miId} = 985665735651102720 ${genderCode} ${reps.json()['data']} genderCode Returns a value from the given ``dictionary`` based on the given ``key``. ${genderCode} = 1 ${miId_list} ${miId} Adds ``values`` to the end of ``list``. ${genderCodeList} ${genderCode} Adds ``values`` to the end of ``list``. ${userId} Makes a variable available globally in all tests and suites. ${userId} = 985664864619991040 ${miId_list} Makes a variable available globally in all tests and suites. ${miId_list} = ['985665735651102720'] ${genderCodeList} Makes a variable available globally in all tests and suites. ${genderCodeList} = [1] ${genderCode} ${client-header} ${genderCodeList} ${Cheader_list} 1 {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-service/user/get/site/activity/page params=queryType=0&pageNum=1&pageSize=10&status= 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/site/activity/page?queryType=0&pageNum=1&pageSize=10&status= HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/get/site/activity/page?queryType=0&pageNum=1&pageSize=10&status= path_url=/dating-agency-service/user/get/site/activity/page?queryType=0&pageNum=1&pageSize=10&status= 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} body=None MacCyrillic confidence = 0.023144730261493725, below negative shortcut threshhold 0.05 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 not active IBM866 Russian confidence = 0.06326616060418348 IBM855 Russian confidence = 0.058818689513806054 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.04384710012418534 ISO-8859-9 Turkish confidence = 0.34289483534971793 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/site/activity/page?queryType=0&pageNum=1&pageSize=10&status= status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 31 May 2024 08:20: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":{"records":[{"id":"991401686704721920","isDelete":false,"createTime":"2024-05-24 15:17:27","updateTime":"2024-05-24 22:35:00","event":null,"name":"5.24晚上高个子专场","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 15:15:33","applyEndTime":"2024-05-24 15:30:00","beginTime":"2024-05-24 15:35:00","endTime":"2024-05-24 22:35:00","provinceCode":430000,"provinceName":"湖南省","cityCode":430400,"cityName":"衡阳市","districtCode":430412,"districtName":"南岳区","detailedAddress":"衡阳南岳","numberParticipants":15,"numberMan":9,"numberWoman":6,"manEntryFee":0.100,"womanEntryFee":0.100,"manDiscount":50,"womanDiscount":50,"depict":"这场活动是加场,这个周六因为是工作日,所以没有安排活动,但周日的高个子专场瞬间报满了,所以周六再加一场,下了班直接过来就行,门槛依然是男生180+,女生168+,会员5折,非会员0.1,报名周日活动的就别重复报名了,名额留给其他朋友哈,感谢,会员报名别鸽","status":5,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991401686801190912","isDelete":false,"createTime":[2024,5,24,15,17,27],"updateTime":[2024,5,24,15,17,27],"event":null,"siteActivityId":991401686704721920,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/38BWKtYGZJRAcwfj2D5uCi.jpg","serialNumber":0}],"registrationPopulation":4,"participantStatus":-1,"manNumber":1,"womanNumber":3},{"id":"991391187900436480","isDelete":false,"createTime":"2024-05-24 14:35:43","updateTime":"2024-05-25 21:30:00","event":null,"name":"5.25号晚上羽毛球局","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 14:33:00","applyEndTime":"2024-05-24 20:00:00","beginTime":"2024-05-25 15:30:00","endTime":"2024-05-25 21:30:00","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","detailedAddress":"新塘街道万科广场负一楼体育馆","numberParticipants":30,"numberMan":20,"numberWoman":10,"manEntryFee":0.100,"womanEntryFee":0.100,"manDiscount":50,"womanDiscount":80,"depict":"这场活动没来得及提前宣传,人应该不会多,以会员为主,大家过来打球就行了,会员5或8折,非会员0.1,有5人算5人,有8人算8人,活动肯定不会取消,天气热了人就会越来越多了","status":5,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991391188005294080","isDelete":false,"createTime":[2024,5,24,14,35,44],"updateTime":[2024,5,24,14,35,44],"event":null,"siteActivityId":991391187900436480,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5ztmRSZYO3dspb2Ta8knDx.png","serialNumber":0},{"id":"991391188076597248","isDelete":false,"createTime":[2024,5,24,14,35,44],"updateTime":[2024,5,24,14,35,44],"event":null,"siteActivityId":991391187900436480,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/5ztmRSZYO3dspb2Ta8knDx.png","serialNumber":1}],"registrationPopulation":1,"participantStatus":-1,"manNumber":1,"womanNumber":0},{"id":"991383281087942656","isDelete":false,"createTime":"2024-05-24 14:04:18","updateTime":"2024-05-27 22:00:00","event":null,"name":"5.27晚上颜值打分","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 14:02:28","applyEndTime":"2024-05-26 18:00:00","beginTime":"2024-05-27 09:00:00","endTime":"2024-05-27 22:00:00","provinceCode":320000,"provinceName":"江苏省","cityCode":320400,"cityName":"常州市","districtCode":320402,"districtName":"天宁区","detailedAddress":"江苏常州","numberParticipants":20,"numberMan":10,"numberWoman":10,"manEntryFee":0.100,"womanEntryFee":0.100,"manDiscount":50,"womanDiscount":50,"depict":"第25场颜值打分活动了,规则是男女互相打分,匿名,算平均分,前三名会在小程序上加上颜值认证标签,并送会员或者活动,一是能知道自己的颜值在陌生人眼中是什么水平,第二也知道自己喜欢的异性排名第几,这样方便以后调整标准,本场活动会员5折,非会员0.1,这场活动别迟到啊","status":5,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991383281234743296","isDelete":false,"createTime":[2024,5,24,14,4,19],"updateTime":[2024,5,24,14,4,19],"event":null,"siteActivityId":991383281087942656,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/iEZYh1qQ8m36IsJeyo9XRf.jpg","serialNumber":0}],"registrationPopulation":0,"participantStatus":-1,"manNumber":0,"womanNumber":0},{"id":"991379870586114048","isDelete":false,"createTime":"2024-05-24 13:50:45","updateTime":"2024-05-28 22:00:00","event":null,"name":"5.28号晚上读书分享会","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 13:48:40","applyEndTime":"2024-05-24 13:00:00","beginTime":"2024-05-28 18:00:00","endTime":"2024-05-28 22:00:00","provinceCode":310000,"provinceName":"上海","cityCode":310100,"cityName":"上海市","districtCode":310101,"districtName":"黄浦区","detailedAddress":"上海黄浦新区","numberParticipants":100,"numberMan":50,"numberWoman":50,"manEntryFee":0.100,"womanEntryFee":0.100,"manDiscount":null,"womanDiscount":null,"depict":"可以分享书、电影、旅行、创业经历、留学经历等等任何你想分享的东西,让更多的人去了解你,一场相亲活动,能留给一个人15分钟展示,这种机会其实挺少的,当然有不愿意分享,也不知道怎么分享的,可以来听一听,会员免费,非会员0.1,五月份4场读书会","status":5,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991379871064264704","isDelete":false,"createTime":[2024,5,24,13,50,46],"updateTime":[2024,5,24,13,50,46],"event":null,"siteActivityId":991379870586114048,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/3GZFfJMl8eAFjwzDoEnQO9.jpg","serialNumber":0}],"registrationPopulation":0,"participantStatus":-1,"manNumber":0,"womanNumber":0},{"id":"991377343429873664","isDelete":false,"createTime":"2024-05-24 13:40:43","updateTime":"2024-05-27 20:00:00","event":null,"name":"5.27号晚上体制内专场","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 13:39:04","applyEndTime":"2024-05-26 23:59:59","beginTime":"2024-05-27 09:30:00","endTime":"2024-05-27 20:00:00","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440112,"districtName":"黄埔区","detailedAddress":"广州黄埔","numberParticipants":2,"numberMan":1,"numberWoman":1,"manEntryFee":0.100,"womanEntryFee":0.100,"manDiscount":80,"womanDiscount":90,"depict":"年的第一场体制内专场,男女都要求体制内,我们的要求比较宽泛,公务员、国企、央企、银行、学校、事业单位等工作稳定都算是体制内,报名活动需要上传工作证明,本场活动会员免费,非会员0.1","status":5,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991377343522148352","isDelete":false,"createTime":[2024,5,24,13,40,43],"updateTime":[2024,5,24,13,40,43],"event":null,"siteActivityId":991377343429873664,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/IzWqrObUCAFa57E2ZyS1h0.jpg","serialNumber":0}],"registrationPopulation":2,"participantStatus":-1,"manNumber":1,"womanNumber":1},{"id":"991353453680922624","isDelete":false,"createTime":"2024-05-24 12:05:47","updateTime":"2024-05-24 12:05:50","event":null,"name":"6.02-05自驾北戴河","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 12:02:18","applyEndTime":"2024-05-31 18:00:00","beginTime":"2024-06-02 09:00:00","endTime":"2025-05-05 18:00:00","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","detailedAddress":"天河公园集合","numberParticipants":20,"numberMan":10,"numberWoman":10,"manEntryFee":1799.000,"womanEntryFee":1799.000,"manDiscount":99,"womanDiscount":99,"depict":"车也没事哈,我们安排搭车,会员费用0.1.非会员1799,公众号里有详细介绍,因为这次涉及到住宿、吃饭。出海乘船,我们得提前定,退改政策确认一下再报名,6月2号中午12点前退,扣20%费用,6月2号中午12点后退,扣50%费用,我们扣费肯定不是目的,确定了再报名,都不麻烦。希望这次大家能玩的开心。公众号:千鸟互联","status":1,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991353453773197312","isDelete":false,"createTime":[2024,5,24,12,5,47],"updateTime":[2024,5,24,12,5,47],"event":null,"siteActivityId":991353453680922624,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/IrncOPADKk4Rw7xG2UHX86.jpg","serialNumber":0}],"registrationPopulation":0,"participantStatus":-1,"manNumber":0,"womanNumber":0},{"id":"991352117920927744","isDelete":false,"createTime":"2024-05-24 12:00:28","updateTime":"2024-05-24 12:00:30","event":null,"name":"5.20号晚上离异专场","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 11:57:37","applyEndTime":"2024-05-19 20:00:00","beginTime":"2024-05-20 10:00:00","endTime":"2024-05-20 22:00:00","provinceCode":440000,"provinceName":"广东省","cityCode":440300,"cityName":"深圳市","districtCode":440304,"districtName":"福田区","detailedAddress":"深圳福田区会展中心","numberParticipants":10,"numberMan":5,"numberWoman":5,"manEntryFee":200.000,"womanEntryFee":200.000,"manDiscount":99,"womanDiscount":99,"depict":"很多离异的朋友参加平常活动挺吃亏的,因为平常大多数都是未婚的,很多未婚的并不想找离异的,这个其实也很好理解,所以我们专门为离异的群体办一场活动,会员免费,非会员200,会员们别随便报名,给离异的朋友们都一些机会","status":5,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991352118013202432","isDelete":false,"createTime":[2024,5,24,12,0,29],"updateTime":[2024,5,24,12,0,29],"event":null,"siteActivityId":991352117920927744,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/dhaFy4W26obHxLCZl9iqkr.jpg","serialNumber":0}],"registrationPopulation":0,"participantStatus":-1,"manNumber":0,"womanNumber":0},{"id":"991351247154057216","isDelete":false,"createTime":"2024-05-24 11:57:01","updateTime":"2024-05-30 09:00:00","event":null,"name":"5.30资产2千万中产局","vipActivityId":"978382562932166656","goodsId":null,"applyStartTime":"2024-05-24 11:54:48","applyEndTime":"2024-05-28 12:00:00","beginTime":"2024-05-30 09:00:00","endTime":"2024-05-31 18:00:00","provinceCode":440000,"provinceName":"广东省","cityCode":440100,"cityName":"广州市","districtCode":440106,"districtName":"天河区","detailedAddress":"新塘街道宏泰智慧谷3401","numberParticipants":50,"numberMan":25,"numberWoman":25,"manEntryFee":0.100,"womanEntryFee":0.100,"manDiscount":null,"womanDiscount":50,"depict":"男生资产2千万以上,女生93年以后,高颜值,活动男生需要验资。女生需要面试,所以不在小程序上报名,联系工作人员验证相关信息,微信dachaoshuomei02","status":3,"activityType":0,"communityId":null,"communityName":null,"communityQrCodeUrl":null,"contactPictureUrl":null,"goodsName":null,"chargeType":null,"mutualAssistanceLimit":null,"participationAllocations":[],"imgList":[{"id":"991351247309246464","isDelete":false,"createTime":[2024,5,24,11,57,1],"updateTime":[2024,5,24,11,57,1],"event":null,"siteActivityId":991351247154057216,"url":"https://dating-agency-test.oss-accelerate.aliyuncs.com/bb94b162-459a-4628-a701-b16defe4cec5.jpg","serialNumber":0}],"registrationPopulation":0,"participantStatus":-1,"manNumber":0,"womanNumber":0}],"total":8,"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} = [{'id': '991401686704721920', 'isDelete': False, 'createTime': '2024-05-24 15:17:27', 'updateTime': '2024-05-24 22:35:00', 'event': None, 'name': '5.24晚上高个子专场', 'vipActivityId': '978382562932166656', ... ${records} Makes a variable available globally in all tests and suites. ${records} = [{'id': '991401686704721920', 'isDelete': False, 'createTime': '2024-05-24 15:17:27', 'updateTime': '2024-05-24 22:35:00', 'event': None, 'name': '5.24晚上高个子专场', 'vipActivityId': '978382562932166656', ... ${genderCode} Makes a variable available globally in all tests and suites. ${genderCode} = 1 ${records} @{records} {'id': '991401686704721920', 'isDelete': False, 'createTime': '2024-05-24 15:17:27', 'updateTime': '2024-05-24 22:35:00', 'event': None, 'name': '5.24晚上高个子专场', 'vipActivityId': '978382562932166656', '... ${name} ${records} name Returns a value from the given ``dictionary`` based on the given ``key``. ${name} = 5.24晚上高个子专场 ${status} ${records} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 5 ${AvtivityId} ${records} id Returns a value from the given ``dictionary`` based on the given ``key``. ${AvtivityId} = 991401686704721920 ${numberMan} ${records} numberMan Returns a value from the given ``dictionary`` based on the given ``key``. ${numberMan} = 9 ${numberWoman} ${records} numberWoman Returns a value from the given ``dictionary`` based on the given ``key``. ${numberWoman} = 6 ${manNumber} ${records} manNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${manNumber} = 1 ${womanNumber} ${records} womanNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${womanNumber} = 3 ${manNumber} ${manNumber}==None 0 ${manNumber} Sets variable based on the given condition. ${manNumber} = 1 ${womanNumber} ${womanNumber}==None 0 ${womanNumber} Sets variable based on the given condition. ${womanNumber} = 3 ${Number1} ${genderCode}==0 ${numberMan} ${numberWoman} Sets variable based on the given condition. ${Number1} = 6 ${Number2} ${genderCode}==0 ${manNumber} ${womanNumber} Sets variable based on the given condition. ${Number2} = 3 ${totalNum} ${manNumber}+${womanNumber} Evaluates the given expression in Python and returns the result. ${totalNum} = 4 ${registrationPopulation} ${records} registrationPopulation Returns a value from the given ``dictionary`` based on the given ``key``. ${registrationPopulation} = 4 ${status}==1 and ${Number1}!=${Number2} Stops executing the enclosing FOR loop if the ``condition`` is true. {'id': '991391187900436480', 'isDelete': False, 'createTime': '2024-05-24 14:35:43', 'updateTime': '2024-05-25 21:30:00', 'event': None, 'name': '5.25号晚上羽毛球局', 'vipActivityId': '978382562932166656', '... ${name} ${records} name Returns a value from the given ``dictionary`` based on the given ``key``. ${name} = 5.25号晚上羽毛球局 ${status} ${records} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 5 ${AvtivityId} ${records} id Returns a value from the given ``dictionary`` based on the given ``key``. ${AvtivityId} = 991391187900436480 ${numberMan} ${records} numberMan Returns a value from the given ``dictionary`` based on the given ``key``. ${numberMan} = 20 ${numberWoman} ${records} numberWoman Returns a value from the given ``dictionary`` based on the given ``key``. ${numberWoman} = 10 ${manNumber} ${records} manNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${manNumber} = 1 ${womanNumber} ${records} womanNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${womanNumber} = 0 ${manNumber} ${manNumber}==None 0 ${manNumber} Sets variable based on the given condition. ${manNumber} = 1 ${womanNumber} ${womanNumber}==None 0 ${womanNumber} Sets variable based on the given condition. ${womanNumber} = 0 ${Number1} ${genderCode}==0 ${numberMan} ${numberWoman} Sets variable based on the given condition. ${Number1} = 10 ${Number2} ${genderCode}==0 ${manNumber} ${womanNumber} Sets variable based on the given condition. ${Number2} = 0 ${totalNum} ${manNumber}+${womanNumber} Evaluates the given expression in Python and returns the result. ${totalNum} = 1 ${registrationPopulation} ${records} registrationPopulation Returns a value from the given ``dictionary`` based on the given ``key``. ${registrationPopulation} = 1 ${status}==1 and ${Number1}!=${Number2} Stops executing the enclosing FOR loop if the ``condition`` is true. {'id': '991383281087942656', 'isDelete': False, 'createTime': '2024-05-24 14:04:18', 'updateTime': '2024-05-27 22:00:00', 'event': None, 'name': '5.27晚上颜值打分', 'vipActivityId': '978382562932166656', 'g... ${name} ${records} name Returns a value from the given ``dictionary`` based on the given ``key``. ${name} = 5.27晚上颜值打分 ${status} ${records} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 5 ${AvtivityId} ${records} id Returns a value from the given ``dictionary`` based on the given ``key``. ${AvtivityId} = 991383281087942656 ${numberMan} ${records} numberMan Returns a value from the given ``dictionary`` based on the given ``key``. ${numberMan} = 10 ${numberWoman} ${records} numberWoman Returns a value from the given ``dictionary`` based on the given ``key``. ${numberWoman} = 10 ${manNumber} ${records} manNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${manNumber} = 0 ${womanNumber} ${records} womanNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${womanNumber} = 0 ${manNumber} ${manNumber}==None 0 ${manNumber} Sets variable based on the given condition. ${manNumber} = 0 ${womanNumber} ${womanNumber}==None 0 ${womanNumber} Sets variable based on the given condition. ${womanNumber} = 0 ${Number1} ${genderCode}==0 ${numberMan} ${numberWoman} Sets variable based on the given condition. ${Number1} = 10 ${Number2} ${genderCode}==0 ${manNumber} ${womanNumber} Sets variable based on the given condition. ${Number2} = 0 ${totalNum} ${manNumber}+${womanNumber} Evaluates the given expression in Python and returns the result. ${totalNum} = 0 ${registrationPopulation} ${records} registrationPopulation Returns a value from the given ``dictionary`` based on the given ``key``. ${registrationPopulation} = 0 ${status}==1 and ${Number1}!=${Number2} Stops executing the enclosing FOR loop if the ``condition`` is true. {'id': '991379870586114048', 'isDelete': False, 'createTime': '2024-05-24 13:50:45', 'updateTime': '2024-05-28 22:00:00', 'event': None, 'name': '5.28号晚上读书分享会', 'vipActivityId': '978382562932166656', ... ${name} ${records} name Returns a value from the given ``dictionary`` based on the given ``key``. ${name} = 5.28号晚上读书分享会 ${status} ${records} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 5 ${AvtivityId} ${records} id Returns a value from the given ``dictionary`` based on the given ``key``. ${AvtivityId} = 991379870586114048 ${numberMan} ${records} numberMan Returns a value from the given ``dictionary`` based on the given ``key``. ${numberMan} = 50 ${numberWoman} ${records} numberWoman Returns a value from the given ``dictionary`` based on the given ``key``. ${numberWoman} = 50 ${manNumber} ${records} manNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${manNumber} = 0 ${womanNumber} ${records} womanNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${womanNumber} = 0 ${manNumber} ${manNumber}==None 0 ${manNumber} Sets variable based on the given condition. ${manNumber} = 0 ${womanNumber} ${womanNumber}==None 0 ${womanNumber} Sets variable based on the given condition. ${womanNumber} = 0 ${Number1} ${genderCode}==0 ${numberMan} ${numberWoman} Sets variable based on the given condition. ${Number1} = 50 ${Number2} ${genderCode}==0 ${manNumber} ${womanNumber} Sets variable based on the given condition. ${Number2} = 0 ${totalNum} ${manNumber}+${womanNumber} Evaluates the given expression in Python and returns the result. ${totalNum} = 0 ${registrationPopulation} ${records} registrationPopulation Returns a value from the given ``dictionary`` based on the given ``key``. ${registrationPopulation} = 0 ${status}==1 and ${Number1}!=${Number2} Stops executing the enclosing FOR loop if the ``condition`` is true. {'id': '991377343429873664', 'isDelete': False, 'createTime': '2024-05-24 13:40:43', 'updateTime': '2024-05-27 20:00:00', 'event': None, 'name': '5.27号晚上体制内专场', 'vipActivityId': '978382562932166656', ... ${name} ${records} name Returns a value from the given ``dictionary`` based on the given ``key``. ${name} = 5.27号晚上体制内专场 ${status} ${records} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 5 ${AvtivityId} ${records} id Returns a value from the given ``dictionary`` based on the given ``key``. ${AvtivityId} = 991377343429873664 ${numberMan} ${records} numberMan Returns a value from the given ``dictionary`` based on the given ``key``. ${numberMan} = 1 ${numberWoman} ${records} numberWoman Returns a value from the given ``dictionary`` based on the given ``key``. ${numberWoman} = 1 ${manNumber} ${records} manNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${manNumber} = 1 ${womanNumber} ${records} womanNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${womanNumber} = 1 ${manNumber} ${manNumber}==None 0 ${manNumber} Sets variable based on the given condition. ${manNumber} = 1 ${womanNumber} ${womanNumber}==None 0 ${womanNumber} Sets variable based on the given condition. ${womanNumber} = 1 ${Number1} ${genderCode}==0 ${numberMan} ${numberWoman} Sets variable based on the given condition. ${Number1} = 1 ${Number2} ${genderCode}==0 ${manNumber} ${womanNumber} Sets variable based on the given condition. ${Number2} = 1 ${totalNum} ${manNumber}+${womanNumber} Evaluates the given expression in Python and returns the result. ${totalNum} = 2 ${registrationPopulation} ${records} registrationPopulation Returns a value from the given ``dictionary`` based on the given ``key``. ${registrationPopulation} = 2 ${status}==1 and ${Number1}!=${Number2} Stops executing the enclosing FOR loop if the ``condition`` is true. {'id': '991353453680922624', 'isDelete': False, 'createTime': '2024-05-24 12:05:47', 'updateTime': '2024-05-24 12:05:50', 'event': None, 'name': '6.02-05自驾北戴河', 'vipActivityId': '978382562932166656', ... ${name} ${records} name Returns a value from the given ``dictionary`` based on the given ``key``. ${name} = 6.02-05自驾北戴河 ${status} ${records} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${AvtivityId} ${records} id Returns a value from the given ``dictionary`` based on the given ``key``. ${AvtivityId} = 991353453680922624 ${numberMan} ${records} numberMan Returns a value from the given ``dictionary`` based on the given ``key``. ${numberMan} = 10 ${numberWoman} ${records} numberWoman Returns a value from the given ``dictionary`` based on the given ``key``. ${numberWoman} = 10 ${manNumber} ${records} manNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${manNumber} = 0 ${womanNumber} ${records} womanNumber Returns a value from the given ``dictionary`` based on the given ``key``. ${womanNumber} = 0 ${manNumber} ${manNumber}==None 0 ${manNumber} Sets variable based on the given condition. ${manNumber} = 0 ${womanNumber} ${womanNumber}==None 0 ${womanNumber} Sets variable based on the given condition. ${womanNumber} = 0 ${Number1} ${genderCode}==0 ${numberMan} ${numberWoman} Sets variable based on the given condition. ${Number1} = 10 ${Number2} ${genderCode}==0 ${manNumber} ${womanNumber} Sets variable based on the given condition. ${Number2} = 0 ${totalNum} ${manNumber}+${womanNumber} Evaluates the given expression in Python and returns the result. ${totalNum} = 0 ${registrationPopulation} ${records} registrationPopulation Returns a value from the given ``dictionary`` based on the given ``key``. ${registrationPopulation} = 0 ${status}==1 and ${Number1}!=${Number2} Stops executing the enclosing FOR loop if the ``condition`` is true. Exiting for loop altogether. ${AvtivityId} Makes a variable available globally in all tests and suites. ${AvtivityId} = 991353453680922624 ${client_header} @{Cheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795880','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='} 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${data} {"id":"${AvtivityId}"} Returns the given values which can then be assigned to a variables. ${data} = {"id":"991353453680922624"} ${reps} dating dating-agency-service/user/participate/in/site/activity ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-service/user/participate/in/site/activity HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/participate/in/site/activity path_url=/dating-agency-service/user/participate/in/site/activity 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/g6O5DXHixyNrf7tjKOKeS8Efh4QZmcEEaaewv/1i5jwnn4pTYcWlHf5ZYiVn5hkNjDEjfySnl7V9vaKg==', 'Content-Length': '27'} body=b'{"id":"991353453680922624"}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-service/user/participate/in/site/activity status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 31 May 2024 08:20:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":200100,"message":"unknown error","data":"\n### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'create_time' in 'field list'\n### The error may exist in com/qniao/das/infrastructure/persistent/dao/siteactivity/ParticipationAllocationDao.java (best guess)\n### The error may involve defaultParameterMap\n### The error occurred while setting parameters\n### SQL: SELECT id,site_activity_id,transaction_price,original_price,assist_number,assist_rule,discount_amount,valid_time,user_type,gender_code,gender_value,enable,created_time,updated_time,is_delete,create_time,update_time FROM da_participation_allocation WHERE is_delete=0 AND (site_activity_id = ?)\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column 'create_time' in 'field list'\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column 'create_time' in 'field list'"} ${reps} = <Response [200]> ${userid} ${miId} ${genderCode} ${userid_list} ${miId_list} ${genderCodeList} 985664864619991040 985665735651102720 1 ${dataTime} result_format=%Y-%m-%d %H:%M:%S Returns current local or UTC time with an optional increment. ${dataTime} = 2024-05-31 16:20:43 pymysql database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221' Loads the DB API 2.0 module given `dbapiModuleName` then uses it to connect to the database using the map string `db_custom_param_string`. Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='dating_agency_service',user='root',password='qniaothreetwoonego',host='8.135.8.221')) ${insert} INSERT INTO `dating_agency_service`.`da_site_activity_participant`(`id`, `site_activity_id`, `mi_id`, `user_id`, `gender_code`, `status`, `is_delete`, `create_time`, `update_time`) VALUES (NULL, ${AvtivityId}, ${miId}, ${userid}, ${genderCode}, 0, 0, '${dataTime}', '${dataTime}') Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to True to run command without an explicit transaction commit or rollback. Executing : Execute SQL String | INSERT INTO `dating_agency_service`.`da_site_activity_participant`(`id`, `site_activity_id`, `mi_id`, `user_id`, `gender_code`, `status`, `is_delete`, `create_time`, `update_time`) VALUES (NULL, 991353453680922624, 985665735651102720, 985664864619991040, 1, 0, 0, '2024-05-31 16:20:43', '2024-05-31 16:20:43') ${insert} = None Disconnects from the database. Executing : Disconnect From Database All Tests Dating-agency Dating-agency.0-Login Dating-agency.0-Login.Login-interface Dating-agency.1-Applet Dating-agency.1-Applet.6-Activity Dating-agency.1-Applet.6-Activity.Avtivity