${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} = 手机号 15014242835 ${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} = 15014242835 ${id} ${content} 15014242835 ${id} ${id} \n Splits the ``string`` using ``separator`` as a delimiter string. ${id} = ['15014242835'] ${id} Makes a variable available globally in all tests and suites. ${id} = ['15014242835'] ${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} 15014242835 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":"15014242835", "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":"15014242835", "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, 09 Apr 2024 06:05:02 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==","userId":"964927709455192064"}} ${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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw== ${userId} ${reps.json()['data']} userId Returns a value from the given ``dictionary`` based on the given ``key``. ${userId} = 964927709455192064 ${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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw=='} ${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} = 15014242835 ${phone} Makes a variable available globally in all tests and suites. ${phone} = 15014242835 ${userid_list} Makes a variable available globally in all tests and suites. ${userid_list} = ['964927709455192064'] ${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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw=='}"] ${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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw=='} ${Aheader} Returns a list containing given items. ${Aheader} = [] ${userId} ${login_header} ${userid_list} ${Aheader_list} 964927709455192064 {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', '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=964927709455192064 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=964927709455192064 path_url=/dating-agency-uec/user/list/own-organization?userId=964927709455192064 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555'} body=None utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.0 MacCyrillic Russian confidence = 0.0 IBM866 Russian confidence = 0.0 IBM855 Russian confidence = 0.0 ISO-8859-7 Greek confidence = 0.0 windows-1253 Greek confidence = 0.0 ISO-8859-5 Bulgairan confidence = 0.0 windows-1251 Bulgarian confidence = 0.01 TIS-620 Thai confidence = 0.0 ISO-8859-9 Turkish confidence = 0.2794564987311486 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.0 utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/list/own-organization?userId=964927709455192064 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":[{"orgId":"963432943739605555","fullName":"寻找伴侣","shortName":"寻伴"}]} ${reps} = <Response [200]> ${data} ${reps.json()} data Returns a value from the given ``dictionary`` based on the given ``key``. ${data} = [{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}] ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> ${data}==[] log 未获取到组织信息! ELSE log ${data} Runs the given keyword with the given arguments, if ``condition`` is true. ${data} Logs the given message with the given level. [{'orgId': '963432943739605555', 'fullName': '寻找伴侣', 'shortName': '寻伴'}] ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', '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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555'} body=None utf-8 confidence = 0.9690625 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.12287515576985893 IBM866 Russian confidence = 0.1820372678071984 IBM855 Russian confidence = 0.0 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.01 TIS-620 Thai confidence = 0.0 ISO-8859-9 Turkish confidence = 0.41600535235170244 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.01 windows-1255 Hebrew confidence = 0.01 utf-8 confidence = 0.9690625 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 GET Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-uec/user/get/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 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":"964927709455192064","realName":"就是不吃饭","nickName":null,"phone":"15014242835","matchmakerFlag":false}} ${reps} = <Response [200]> ${phone} ${reps.json()['data']} phone Returns a value from the given ``dictionary`` based on the given ``key``. ${phone} = 15014242835 ${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} = 15014242835 ${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. ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${reps} dating dating-agency-mall/user/page/product/by/operator params=pageSize=10&pageNum=1 Sends a GET request on a previously created HTTP Session. Starting new HTTP connection (1): dating-agency-api-test.qniao.cn http://dating-agency-api-test.qniao.cn:80 "GET /dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1 HTTP/1.1" 200 None GET Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1 path_url=/dating-agency-mall/user/page/product/by/operator?pageSize=10&pageNum=1 headers={'User-Agent': 'python-requests/2.15.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '50325897884795881', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555'} body=None utf-8 confidence = 0.99 SHIFT_JIS Japanese confidence = 0.01 EUC-JP Japanese confidence = 0.01 GB2312 Chinese confidence = 0.01 EUC-KR Korean confidence = 0.01 CP949 Korean confidence = 0.01 Big5 Chinese confidence = 0.01 EUC-TW Taiwan confidence = 0.01 windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.0 MacCyrillic Russian confidence = 0.0 IBM866 Russian confidence = 0.04305284813906042 IBM855 Russian confidence = 0.045011558797639295 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.12402348159544357 ISO-8859-9 Turkish confidence = 0.3102542803992893 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-mall/user/page/product/by/operator?pageSize=10&pageNum=1 status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 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":[{"productId":"975071861488619520","productSpecId":"975071861522173952","mainCategory":1,"subCategory":101,"productTitle":"学历认证","productDesc":"学历认证产品描述","detailDesc":"学历认证详细描述","status":1,"unitOriginalPrice":2768.000,"unitSellingPrice":2.768,"productSpecUnit":102,"validityPeriodValue":"174"},{"productId":"975071862004518912","productSpecId":"975071862038073344","mainCategory":2,"subCategory":201,"productTitle":"头像修改","productDesc":"头像修改产品描述","detailDesc":"头像修改详细描述","status":1,"unitOriginalPrice":3639.000,"unitSellingPrice":3.639,"productSpecUnit":102,"validityPeriodValue":"131"},{"productId":"975071862520418304","productSpecId":"975071862553972736","mainCategory":3,"subCategory":301,"productTitle":"解锁更多人数","productDesc":"解锁更多人数产品描述","detailDesc":"解锁更多人数详细描述","status":1,"unitOriginalPrice":3868.000,"unitSellingPrice":3.868,"productSpecUnit":102,"validityPeriodValue":"113"},{"productId":"975071863040512000","productSpecId":"975071863078260736","mainCategory":3,"subCategory":302,"productTitle":"高级搜索","productDesc":"高级搜索产品描述","detailDesc":"高级搜索详细描述","status":1,"unitOriginalPrice":3350.000,"unitSellingPrice":3.350,"productSpecUnit":102,"validityPeriodValue":"94"},{"productId":"975071863556411392","productSpecId":"975071863589965824","mainCategory":4,"subCategory":401,"productTitle":"线下约见面","productDesc":"线下约见面产品描述","detailDesc":"线下约见面详情描述","status":1,"unitOriginalPrice":3792.000,"unitSellingPrice":3.792,"productSpecUnit":101,"validityPeriodValue":"250"},{"productId":"975071864080699392","productSpecId":"975071864118448128","mainCategory":3,"subCategory":501,"productTitle":"聊天卡","productDesc":"聊天卡产品描述","detailDesc":"聊天卡详情描述","status":1,"unitOriginalPrice":777.000,"unitSellingPrice":0.777,"productSpecUnit":101,"validityPeriodValue":"197"},{"productId":"975071864596598784","productSpecId":"975071864630153216","mainCategory":3,"subCategory":601,"productTitle":"会员","productDesc":"会员产品描述","detailDesc":"会员详情描述","status":1,"unitOriginalPrice":3781.000,"unitSellingPrice":3.781,"productSpecUnit":101,"validityPeriodValue":"244"}],"total":7,"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} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'... ${records} Makes a variable available globally in all tests and suites. ${records} = [{'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status'... ${statusList} Returns a list containing given items. ${statusList} = [] ${productIdList} Returns a list containing given items. ${productIdList} = [] ${productTitleList} Returns a list containing given items. ${productTitleList} = [] ${product} @{records} {'productId': '975071861488619520', 'productSpecId': '975071861522173952', 'mainCategory': 1, 'subCategory': 101, 'productTitle': '学历认证', 'productDesc': '学历认证产品描述', 'detailDesc': '学历认证详细描述', 'status':... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071861488619520 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 学历认证 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071861522173952 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071861488619520 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 学历认证 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071861522173952 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证'] {'productId': '975071862004518912', 'productSpecId': '975071862038073344', 'mainCategory': 2, 'subCategory': 201, 'productTitle': '头像修改', 'productDesc': '头像修改产品描述', 'detailDesc': '头像修改详细描述', 'status':... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071862004518912 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 头像修改 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071862038073344 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071862004518912 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1, 1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 头像修改 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520', '975071862004518912'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071862038073344 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证', '头像修改'] {'productId': '975071862520418304', 'productSpecId': '975071862553972736', 'mainCategory': 3, 'subCategory': 301, 'productTitle': '解锁更多人数', 'productDesc': '解锁更多人数产品描述', 'detailDesc': '解锁更多人数详细描述', 'st... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071862520418304 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 解锁更多人数 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071862553972736 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071862520418304 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1, 1, 1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 解锁更多人数 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520', '975071862004518912', '975071862520418304'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071862553972736 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证', '头像修改', '解锁更多人数'] {'productId': '975071863040512000', 'productSpecId': '975071863078260736', 'mainCategory': 3, 'subCategory': 302, 'productTitle': '高级搜索', 'productDesc': '高级搜索产品描述', 'detailDesc': '高级搜索详细描述', 'status':... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071863040512000 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 高级搜索 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071863078260736 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071863040512000 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1, 1, 1, 1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 高级搜索 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520', '975071862004518912', '975071862520418304', '975071863040512000'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071863078260736 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索'] {'productId': '975071863556411392', 'productSpecId': '975071863589965824', 'mainCategory': 4, 'subCategory': 401, 'productTitle': '线下约见面', 'productDesc': '线下约见面产品描述', 'detailDesc': '线下约见面详情描述', 'statu... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071863556411392 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 线下约见面 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071863589965824 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071863556411392 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1, 1, 1, 1, 1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 线下约见面 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520', '975071862004518912', '975071862520418304', '975071863040512000', '975071863556411392'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071863589965824 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索', '线下约见面'] {'productId': '975071864080699392', 'productSpecId': '975071864118448128', 'mainCategory': 3, 'subCategory': 501, 'productTitle': '聊天卡', 'productDesc': '聊天卡产品描述', 'detailDesc': '聊天卡详情描述', 'status': 1,... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071864080699392 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 聊天卡 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071864118448128 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071864080699392 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1, 1, 1, 1, 1, 1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 聊天卡 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520', '975071862004518912', '975071862520418304', '975071863040512000', '975071863556411392', '975071864080699392'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071864118448128 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索', '线下约见面', '聊天卡'] {'productId': '975071864596598784', 'productSpecId': '975071864630153216', 'mainCategory': 3, 'subCategory': 601, 'productTitle': '会员', 'productDesc': '会员产品描述', 'detailDesc': '会员详情描述', 'status': 1, 'u... ${status} ${product} status Returns a value from the given ``dictionary`` based on the given ``key``. ${status} = 1 ${productId} ${product} productId Returns a value from the given ``dictionary`` based on the given ``key``. ${productId} = 975071864596598784 ${productTitle} ${product} productTitle Returns a value from the given ``dictionary`` based on the given ``key``. ${productTitle} = 会员 ${productSpecId} ${product} productSpecId Returns a value from the given ``dictionary`` based on the given ``key``. ${productSpecId} = 975071864630153216 ${statusList} ${status} Adds ``values`` to the end of ``list``. ${productIdList} ${productId} Adds ``values`` to the end of ``list``. ${productTitleList} ${productTitle} Adds ``values`` to the end of ``list``. ${status} Makes a variable available globally in all tests and suites. ${status} = 1 ${productId} Makes a variable available globally in all tests and suites. ${productId} = 975071864596598784 ${statusList} Makes a variable available globally in all tests and suites. ${statusList} = [1, 1, 1, 1, 1, 1, 1] ${productTitle} Makes a variable available globally in all tests and suites. ${productTitle} = 会员 ${productIdList} Makes a variable available globally in all tests and suites. ${productIdList} = ['975071861488619520', '975071862004518912', '975071862520418304', '975071863040512000', '975071863556411392', '975071864080699392', '975071864596598784'] ${productSpecId} Makes a variable available globally in all tests and suites. ${productSpecId} = 975071864630153216 ${productTitleList} Makes a variable available globally in all tests and suites. ${productTitleList} = ['学历认证', '头像修改', '解锁更多人数', '高级搜索', '线下约见面', '聊天卡', '会员'] ${admin_header} @{Aheader_list} {'Content-Type':'application/json','X-APP-ID':'50325897884795881','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==','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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creating session: dating ${productId} ${status} ${productIdList} ${statusList} 975071861488619520 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071861488619520","status":2} ${reps} dating dating-agency-mall/user/operate/product ${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-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071861488619520","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> 975071862004518912 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071862004518912","status":2} ${reps} dating dating-agency-mall/user/operate/product ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071862004518912","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> 975071862520418304 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071862520418304","status":2} ${reps} dating dating-agency-mall/user/operate/product ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071862520418304","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> 975071863040512000 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071863040512000","status":2} ${reps} dating dating-agency-mall/user/operate/product ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071863040512000","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> 975071863556411392 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071863556411392","status":2} ${reps} dating dating-agency-mall/user/operate/product ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071863556411392","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> 975071864080699392 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071864080699392","status":2} ${reps} dating dating-agency-mall/user/operate/product ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071864080699392","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> 975071864596598784 1 ${data} ${status}==2 {"productId":"${productId}","status":1} {"productId":"${productId}","status":2} Sets variable based on the given condition. ${data} = {"productId":"975071864596598784","status":2} ${reps} dating dating-agency-mall/user/operate/product ${data.encode('utf-8')} Sends a POST request on a previously created HTTP Session. http://dating-agency-api-test.qniao.cn:80 "POST /dating-agency-mall/user/operate/product HTTP/1.1" 200 None POST Request : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product path_url=/dating-agency-mall/user/operate/product 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/g6O5DXHixyNrf7tnckMaIWNh8yNuItJ+GuXnhePXi1B9edvXd9N+7KKvkOAOhLl7nMkELRCjQaIX31gw==', 'X-Organization-Id': '963432943739605555', 'Content-Length': '45'} body=b'{"productId":"975071864596598784","status":2}' POST Response : url=http://dating-agency-api-test.qniao.cn/dating-agency-mall/user/operate/product status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Tue, 09 Apr 2024 06:05:03 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'} body={"code":0,"message":"successful","data":null} ${reps} = <Response [200]> ${message} ${reps.json()} message Returns a value from the given ``dictionary`` based on the given ``key``. ${message} = successful ${message} successful Fails if objects are unequal after converting them to strings. Argument types are: <class 'str'> <class 'str'> All Tests Dating-agency Dating-agency.0-Login Dating-agency.0-Login.Login-interface Dating-agency.2-Web Dating-agency.2-Web.Mall Dating-agency.2-Web.Mall.Product