Returns the given values which can then be assigned to a variables. https://api-ops-uec-test.qniao.cn ${uecops} ${uecops} = https://api-ops-uec-test.qniao.cn Returns the given values which can then be assigned to a variables. https://api-ops-psc-test.qniao.cn ${pscops} ${pscops} = https://api-ops-psc-test.qniao.cn Returns the given values which can then be assigned to a variables. https://api-ops-ztb-test.qniao.cn ${ztbops} ${ztbops} = https://api-ops-ztb-test.qniao.cn Returns the given values which can then be assigned to a variables. https://api-ops-ztbsc-test.qniao.cn ${ztbscops} ${ztbscops} = https://api-ops-ztbsc-test.qniao.cn Returns the given values which can then be assigned to a variables. https://api-client-uec-test.qniao.cn ${uecclient} ${uecclient} = https://api-client-uec-test.qniao.cn Returns the given values which can then be assigned to a variables. https://api-client-ztb-test.qniao.cn ${ztbclient} ${ztbclient} = https://api-client-ztb-test.qniao.cn Makes a variable available globally in all tests and suites. ${uecops} ${uecops} = https://api-ops-uec-test.qniao.cn Makes a variable available globally in all tests and suites. ${pscops} ${pscops} = https://api-ops-psc-test.qniao.cn Makes a variable available globally in all tests and suites. ${ztbops} ${ztbops} = https://api-ops-ztb-test.qniao.cn Makes a variable available globally in all tests and suites. ${ztbscops} ${ztbscops} = https://api-ops-ztbsc-test.qniao.cn Makes a variable available globally in all tests and suites. ${uecclient} ${uecclient} = https://api-client-uec-test.qniao.cn Makes a variable available globally in all tests and suites. ${ztbclient} ${ztbclient} = https://api-client-ztb-test.qniao.cn Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} ${ztbsc_header} ${ztbsc_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} Returns the given values which can then be assigned to a variables. {'content-type':'application/json','X-APP-ID':'470236309865238528'} ${client_login_header} ${client_login_header} = {'content-type':'application/json','X-APP-ID':'470236309865238528'} Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cv/lnjIGaghUHn7dGvathVr0JtFAle6xxEDqmwYB+xHfw==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'710132392618233856'} ${ztbsc_factoring_header} ${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cv/lnjIGaghUHn7dGvathVr0JtFAle6xxEDqmwYB+xHfw==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7... Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} ${ztbsc_ops_login_header} ${ztbsc_ops_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','X-ORGANIZATION-ID':'711270061419139072','X-APP-ID':'503258978847966406'} ${ztbsc_traders_login_header} ${ztbsc_traders_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'711270061419139072','X-APP-ID':'503258978847966406'} Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','X-APP-ID':'503258978847966406'} ${ztbsc_papermill_login_header} ${ztbsc_papermill_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847966406'} Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','X-ORGANIZATION-ID':'710132392618233856','X-APP-ID':'503258978847966410'} ${ztbsc_factoring_login_header} ${ztbsc_factoring_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'710132392618233856','X-APP-ID':'503258978847966410'} Makes a variable available globally in all tests and suites. ${ztbsc_header} ${ztbsc_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} Makes a variable available globally in all tests and suites. ${client_login_header} ${client_login_header} = {'content-type':'application/json','X-APP-ID':'470236309865238528'} Makes a variable available globally in all tests and suites. ${ztbsc_factoring_header} ${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cv/lnjIGaghUHn7dGvathVr0JtFAle6xxEDqmwYB+xHfw==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7... Makes a variable available globally in all tests and suites. ${ztbsc_ops_login_header} ${ztbsc_ops_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'} Makes a variable available globally in all tests and suites. ${ztbsc_traders_login_header} ${ztbsc_traders_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'711270061419139072','X-APP-ID':'503258978847966406'} Makes a variable available globally in all tests and suites. ${ztbsc_papermill_login_header} ${ztbsc_papermill_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847966406'} Makes a variable available globally in all tests and suites. ${ztbsc_factoring_login_header} ${ztbsc_factoring_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'710132392618233856','X-APP-ID':'503258978847966410'} Returns the given values which can then be assigned to a variables. laiyonglan@qniao.cn ${ztbsc_account} ${ztbsc_account} = laiyonglan@qniao.cn Returns the given values which can then be assigned to a variables. 13000000032 ${client_account} ${client_account} = 13000000032 Returns the given values which can then be assigned to a variables. 15014242835 ${traders_account} ${traders_account} = 15014242835 Returns the given values which can then be assigned to a variables. 15014242835 ${papermill_account} ${papermill_account} = 15014242835 Returns the given values which can then be assigned to a variables. 15014242835 ${factoring_account} ${factoring_account} = 15014242835 Makes a variable available globally in all tests and suites. ${ztbsc_account} ${ztbsc_account} = laiyonglan@qniao.cn Makes a variable available globally in all tests and suites. ${client_account} ${client_account} = 13000000032 Makes a variable available globally in all tests and suites. ${traders_account} ${traders_account} = 15014242835 Makes a variable available globally in all tests and suites. ${papermill_account} ${papermill_account} = 15014242835 Makes a variable available globally in all tests and suites. ${factoring_account} ${factoring_account} = 15014242835 Returns the given values which can then be assigned to a variables. qn123456 ${ztbsc_password} ${ztbsc_password} = qn123456 Returns the given values which can then be assigned to a variables. 888888 ${client_password} ${client_password} = 888888 Returns the given values which can then be assigned to a variables. 888888 ${traders_password} ${traders_password} = 888888 Returns the given values which can then be assigned to a variables. 888888 ${papermill_password} ${papermill_password} = 888888 Returns the given values which can then be assigned to a variables. 888888 ${factoring_password} ${factoring_password} = 888888 Makes a variable available globally in all tests and suites. ${ztbsc_password} ${ztbsc_password} = qn123456 Makes a variable available globally in all tests and suites. ${client_password} ${client_password} = 888888 Makes a variable available globally in all tests and suites. ${traders_password} ${traders_password} = 888888 Makes a variable available globally in all tests and suites. ${papermill_password} ${papermill_password} = 888888 Makes a variable available globally in all tests and suites. ${factoring_password} ${factoring_password} = 888888 Returns current local or UTC time with an optional increment. result_format=%Y-%m-%d ${start_time} ${start_time} = 2022-08-08 Adds time to date and returns the resulting date. ${start_time} 30 days ${str_end_time} ${str_end_time} = 2022-09-07 00:00:00.000 Returns a substring from ``start`` index to ``end`` index. ${str_end_time} 0 10 ${end_time} ${end_time} = 2022-09-07 Returns the given time in the requested format. ${time} ${time} = 2022-08-08 11:37:05 Makes a variable available globally in all tests and suites. ${start_time} ${start_time} = 2022-08-08 Makes a variable available globally in all tests and suites. ${end_time} ${end_time} = 2022-09-07 Makes a variable available globally in all tests and suites. ${time} ${time} = 2022-08-08 11:37:05 Helper for quickly disabling all urllib3 warnings. Create Session: create a HTTP session to a server ZTBT ${uecclient} ${client_login_header} Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creates and returns a dictionary based on the given ``items``. account=${client_account} captcha=${client_password} accountType=2 ${data} ${data} = {'account': '13000000032', 'captcha': '888888', 'accountType': '2'} Sends a POST request on a previously created HTTP Session. ZTBT uec/authorize/by-captcha json=${data} ${respones} POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha path_url=/uec/authorize/by-captcha headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'} body=b'{"account": "13000000032", "captcha": "888888", "accountType": "2"}' POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:05 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":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==","userId":"704068168053821440"}} ${respones} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${respones.json()['data']} token ${token} ${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ== Makes a variable available globally in all tests and suites. ${token} ${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ== Create Session: create a HTTP session to a server ZTBT ${ztbclient} ${client_login_header} Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creates and returns a dictionary based on the given ``items``. loginToken=${token} ${token1} ${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ=='} Sends a POST request on a previously created HTTP Session. ZTBT ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token json=${token1} ${reps} POST Request : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token path_url=/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '106'} body=b'{"loginToken": "d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ=="}' POST Response : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:05 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":{"errorCode":0,"token":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==","userId":"704068168053821440"}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} userId ${userId} ${userId} = 704068168053821440 Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} token ${gettoken} ${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ== Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT ${gettoken}','X-APP-ID':'470236309865238528'} ${client_firstlogin_header} ${client_firstlogin_header} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==','X-APP-ID':'470236309865238528'} Makes a variable available globally in all tests and suites. ${userId} ${userId} = 704068168053821440 Makes a variable available globally in all tests and suites. ${gettoken} ${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ== Makes a variable available globally in all tests and suites. ${client_firstlogin_header} ${client_firstlogin_header} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==','X-APP-ID':'470236309865238528'} Create Session: create a HTTP session to a server baseinfo ${ztbclient} ${client_firstlogin_header} Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Sends a GET request on a previously created HTTP Session. baseinfo ztb-supply-chain-service/get/user/base-info ${reps} GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info path_url=/ztb-supply-chain-service/get/user/base-info headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==', 'X-APP-ID': '470236309865238528'} body=None GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:05 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":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"752528438736326656","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} realName ${realName} ${realName} = 王颖勋 Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} organizationList ${organizationList} ${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization... Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 738812119994208256 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 武汉市青山区恒志纸业环保打包厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '738812120073900032', 'organizationId': '738812119994208256', 'scrapPaperRecycling': 100.0, 'scrapPaperSupply': 111.0, 'scrapPaperPackingFactoryList': [{'id': '738812537759469568', 'name': '千鸟工... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 737040026042503168 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 嘻嘻打包站 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '737040335171096576', 'organizationId': '737040026042503168', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '737040335238205440', 'name': '嘻嘻打包站... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 728972353769443328 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '732271033305927680', 'organizationId': '728972353769443328', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '732271033427562496', 'name': '湖南新宝环... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 728972353769443328 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = None Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 721761724339982336 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 仔仔工厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '721761776701673472', 'organizationId': '721761724339982336', 'scrapPaperRecycling': 200.55, 'scrapPaperSupply': 200.66, 'scrapPaperPackingFactoryList': [{'id': '721761776722644992', 'name': '仔... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Exiting for loop altogether. Returns a value from the given ``dictionary`` based on the given ``key``. ${packerBaseInfo['scrapPaperPackingFactoryList'][0]} id ${packerId} ${packerId} = 721761776722644992 Returns a value from the given ``dictionary`` based on the given ``key``. ${packerBaseInfo['scrapPaperPackingFactoryList'][0]} name ${packerName} ${packerName} = 仔仔工厂 Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT ${gettoken}','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'${orgId}','X-PACKING-FACTORY-ID':'${packerId}'} ${client_headerP} ${client_headerP} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7... Makes a variable available globally in all tests and suites. ${orgId} ${orgId} = 721761724339982336 Makes a variable available globally in all tests and suites. ${realName} ${realName} = 王颖勋 Makes a variable available globally in all tests and suites. ${packerId} ${packerId} = 721761776722644992 Makes a variable available globally in all tests and suites. ${packerName} ${packerName} = 仔仔工厂 Makes a variable available globally in all tests and suites. ${orgfullName} ${orgfullName} = 仔仔工厂 Makes a variable available globally in all tests and suites. ${client_headerP} ${client_headerP} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7... Create Session: create a HTTP session to a server baseinfo ${ztbclient} ${client_headerP} Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721761724339982336', 'X-PACKING-FACTORY-ID': '721761776722644992'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Sends a GET request on a previously created HTTP Session. baseinfo ztb-supply-chain-service/get/user/base-info ${reps} GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info path_url=/ztb-supply-chain-service/get/user/base-info headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721761724339982336', 'X-PACKING-FACTORY-ID': '721761776722644992'} body=None GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:06 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":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"721761724339982336","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":{"id":"721761724449034240","realName":"王颖勋","type":1,"number":"44058319951227041X","frontImageUrl":"http://qn-privatetest.oss-cn-shenzhen.aliyuncs.com/private/idcard/704068168053821440/1652247868006.jpg?Expires=1659933426&OSSAccessKeyId=LTAINmC91NqIGN38&Signature=YwS2emQTBz7FGSTbGaLzWurfRUU%3D","backImageUrl":"http://qn-privatetest.oss-cn-shenzhen.aliyuncs.com/private/idcard/704068168053821440/1652247868242.jpg?Expires=1659933426&OSSAccessKeyId=LTAINmC91NqIGN38&Signature=%2B5UryhJB5QSnVOE3PkKshDXyuLY%3D"},"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":true},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} organizationList ${organizationList} ${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization... Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 武汉市青山区恒志纸业环保打包厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 嘻嘻打包站 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 1 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 仔仔工厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 1 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='仔仔工厂' Exiting for loop altogether. Returns the given values which can then be assigned to a variables. 2051 ${salesTaxPoint} ${salesTaxPoint} = 2051 Makes a variable available globally in all tests and suites. ${salesTaxPoint} ${salesTaxPoint} = 2051 #登录客户端 Helper for quickly disabling all urllib3 warnings. Create Session: create a HTTP session to a server ZTBT ${uecclient} ${client_login_header} Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creates and returns a dictionary based on the given ``items``. account=${client_account} captcha=${client_password} accountType=2 ${data} ${data} = {'account': '13000000032', 'captcha': '888888', 'accountType': '2'} Sends a POST request on a previously created HTTP Session. ZTBT uec/authorize/by-captcha json=${data} ${respones} POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha path_url=/uec/authorize/by-captcha headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'} body=b'{"account": "13000000032", "captcha": "888888", "accountType": "2"}' POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:06 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":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ==","userId":"704068168053821440"}} ${respones} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${respones.json()['data']} token ${token} ${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ== Makes a variable available globally in all tests and suites. ${token} ${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ== Create Session: create a HTTP session to a server ZTBT ${ztbclient} ${client_login_header} Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Creates and returns a dictionary based on the given ``items``. loginToken=${token} ${token1} ${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ=='} Sends a POST request on a previously created HTTP Session. ZTBT ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token json=${token1} ${reps} POST Request : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token path_url=/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '106'} body=b'{"loginToken": "d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ=="}' POST Response : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:06 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":{"errorCode":0,"token":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ==","userId":"704068168053821440"}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} userId ${userId} ${userId} = 704068168053821440 Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} token ${gettoken} ${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ== Makes a variable available globally in all tests and suites. ${userId} ${userId} = 704068168053821440 Makes a variable available globally in all tests and suites. ${gettoken} ${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ== Create Session: create a HTTP session to a server baseinfo ${ztbclient} ${client_firstlogin_header} Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Sends a GET request on a previously created HTTP Session. baseinfo ztb-supply-chain-service/get/user/base-info ${reps} GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info path_url=/ztb-supply-chain-service/get/user/base-info headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoZic+xhCQEYWdYk/F8SJFbQ==', 'X-APP-ID': '470236309865238528'} body=None GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:06 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":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"752528438736326656","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} realName ${realName} ${realName} = 王颖勋 Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} organizationList ${organizationList} ${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization... Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 738812119994208256 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 武汉市青山区恒志纸业环保打包厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '738812120073900032', 'organizationId': '738812119994208256', 'scrapPaperRecycling': 100.0, 'scrapPaperSupply': 111.0, 'scrapPaperPackingFactoryList': [{'id': '738812537759469568', 'name': '千鸟工... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 737040026042503168 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 嘻嘻打包站 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '737040335171096576', 'organizationId': '737040026042503168', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '737040335238205440', 'name': '嘻嘻打包站... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 728972353769443328 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '732271033305927680', 'organizationId': '728972353769443328', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '732271033427562496', 'name': '湖南新宝环... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 728972353769443328 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = None Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 721761724339982336 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 仔仔工厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '721761776701673472', 'organizationId': '721761724339982336', 'scrapPaperRecycling': 200.55, 'scrapPaperSupply': 200.66, 'scrapPaperPackingFactoryList': [{'id': '721761776722644992', 'name': '仔... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} id ${orgId} ${orgId} = 721760754042277888 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 长沙中联泵业股份有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} packerBaseInfo ${packerBaseInfo} ${packerBaseInfo} = {'id': '721760754797252608', 'organizationId': '721760754042277888', 'scrapPaperRecycling': 1000.0, 'scrapPaperSupply': 1020.0, 'scrapPaperPackingFactoryList': [{'id': '721760754818224128', 'name': '长... Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Exiting for loop altogether. Returns a value from the given ``dictionary`` based on the given ``key``. ${packerBaseInfo['scrapPaperPackingFactoryList'][0]} id ${packerId} ${packerId} = 721760754818224128 Returns a value from the given ``dictionary`` based on the given ``key``. ${packerBaseInfo['scrapPaperPackingFactoryList'][0]} name ${packerName} ${packerName} = 长沙中联泵业股份有限公司 Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT ${gettoken}','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'${orgId}','X-PACKING-FACTORY-ID':'${packerId}'} ${client_headerT} ${client_headerT} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7... Makes a variable available globally in all tests and suites. ${orgId} ${orgId} = 721760754042277888 Makes a variable available globally in all tests and suites. ${realName} ${realName} = 王颖勋 Makes a variable available globally in all tests and suites. ${packerId} ${packerId} = 721760754818224128 Makes a variable available globally in all tests and suites. ${packerName} ${packerName} = 长沙中联泵业股份有限公司 Makes a variable available globally in all tests and suites. ${orgfullName} ${orgfullName} = 长沙中联泵业股份有限公司 Makes a variable available globally in all tests and suites. ${client_headerT} ${client_headerT} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7... Create Session: create a HTTP session to a server baseinfo ${ztbclient} ${client_headerT} Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721760754042277888', 'X-PACKING-FACTORY-ID': '721760754818224128'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Sends a GET request on a previously created HTTP Session. baseinfo ztb-supply-chain-service/get/user/base-info ${reps} GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info path_url=/ztb-supply-chain-service/get/user/base-info headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GovMbhv2ObCgunMYiHrngfRQ==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721760754042277888', 'X-PACKING-FACTORY-ID': '721760754818224128'} body=None GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:07 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":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"721760754042277888","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":{"approvedDate":"2020-01-06","businessLicenseImg":"https://qncloudtest.oss-cn-shenzhen.aliyuncs.com/common/17632147146560641.jpg","businessTermFrom":"","businessTermTo":"","legalPersonName":"潘世群","locDetail":"东二环一段1061号","name":"长沙中联泵业股份有限公司","registerPhone":"18907312896","uniformSocialCreditCode":"914301027121552620","salesTaxPoint":2053,"isEnterpriseAuth":true},"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":true},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":{"approvedDate":"2020-01-06","businessLicenseImg":"https://qncloudtest.oss-cn-shenzhen.aliyuncs.com/common/17632147146560641.jpg","businessTermFrom":"","businessTermTo":"","legalPersonName":"潘世群","locDetail":"东二环一段1061号","name":"长沙中联泵业股份有限公司","registerPhone":"18907312896","uniformSocialCreditCode":"914301027121552620","salesTaxPoint":2053,"isEnterpriseAuth":true},"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":true},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} organizationList ${organizationList} ${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization... Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 武汉市青山区恒志纸业环保打包厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 嘻嘻打包站 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 1 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 湖南新宝环保科技有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 仔仔工厂 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = None Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 1 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} fullName ${orgfullName} ${orgfullName} = 长沙中联泵业股份有限公司 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} enterpriseInfo ${enterpriseInfo} ${enterpriseInfo} = {'approvedDate': '2020-01-06', 'businessLicenseImg': 'https://qncloudtest.oss-cn-shenzhen.aliyuncs.com/common/17632147146560641.jpg', 'businessTermFrom': '', 'businessTermTo': '', 'legalPersonName': '... Returns a value from the given ``dictionary`` based on the given ``key``. ${items} qualificationType ${qualificationType} ${qualificationType} = 2 Stops executing the enclosing for loop if the ``condition`` is true. '${orgfullName}'=='长沙中联泵业股份有限公司' Exiting for loop altogether. Returns a value from the given ``dictionary`` based on the given ``key``. ${enterpriseInfo} salesTaxPoint ${salesTaxPoint} ${salesTaxPoint} = 2053 Makes a variable available globally in all tests and suites. ${salesTaxPoint} ${salesTaxPoint} = 2053 #登录客户端 Helper for quickly disabling all urllib3 warnings. Create Session: create a HTTP session to a server papermill ${uecclient} ${ztbsc_papermill_login_header} Creating Session using : alias=papermill, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Returns the given values which can then be assigned to a variables. { \ \ \ \ "account":"${papermill_account}", \ \ \ \ "accountType":2, \ \ \ \ "captcha":"${papermill_password}", \ \ \ \ "$loginType":"telphone", \ \ \ \ "$isNextAutoLogin":true } ${Data} ${Data} = { "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true } Sends a POST request on a previously created HTTP Session. papermill uec/authorize/by-captcha ${Data.encode('utf-8')} ${reps} POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha path_url=/uec/authorize/by-captcha headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406', 'Content-Length': '134'} body=b'{ "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true }' POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:07 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/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==","userId":"701479226095833088"}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} token ${papermill_token} ${papermill_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ== Makes a variable available globally in all tests and suites. ${papermill_token} ${papermill_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ== Create Session: create a HTTP session to a server ZTBT ${ztbclient} ${ztbsc_papermill_login_header} Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Returns the given values which can then be assigned to a variables. { \ \ \ \ "loginToken":"${papermill_token}", \ \ \ \ "$configs":{ \ \ \ \ \ \ \ \ "$isBizFailedNotToast":true \ \ \ \ } } ${loginToken} ${loginToken} = { "loginToken":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==", "$configs":{ "$isBizFailedNotToast":true } } Sends a POST request on a previously created HTTP Session. ZTBT ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token ${loginToken.encode('utf-8')} ${reps} POST Request : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token path_url=/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406', 'Content-Length': '171'} body=b'{ "loginToken":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==", "$configs":{ "$isBizFailedNotToast":true } }' POST Response : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:07 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":{"errorCode":0,"token":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==","userId":"701479226095833088"}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} userId ${PM_userId} ${PM_userId} = 701479226095833088 Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} token ${PM_token} ${PM_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ== Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT ${PM_token}','X-APP-ID':'503258978847966406'} ${ztbsc_papermill_header} ${ztbsc_papermill_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==','X-APP-ID':'503258978847966406'} Makes a variable available globally in all tests and suites. ${PM_userId} ${PM_userId} = 701479226095833088 Makes a variable available globally in all tests and suites. ${PM_token} ${PM_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ== Makes a variable available globally in all tests and suites. ${ztbsc_papermill_header} ${ztbsc_papermill_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==','X-APP-ID':'503258978847966406'} Create Session: create a HTTP session to a server ZTBT ${ztbclient} ${ztbsc_papermill_header} Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==', 'X-APP-ID': '503258978847966406'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Sends a GET request on a previously created HTTP Session. ZTBT ztb-supply-chain-service/get/paper-mill/user-base-info ${reps} GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/paper-mill/user-base-info path_url=/ztb-supply-chain-service/get/paper-mill/user-base-info headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==', 'X-APP-ID': '503258978847966406'} body=None GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/paper-mill/user-base-info status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:07 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":"701479226095833088","realName":"南瓜","nickName":"就是不吃饭","paperMillOrgInfoList":[{"orgId":"711269402129076224","logo":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1649746793124.jpg","name":"泰康纸业科技","paperMillId":"711269402204573696","businessModel":1},{"orgId":"721760754042277888","logo":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1654744419972.png","name":"长沙中联泵业股份有限公司","paperMillId":"732216632520347648","businessModel":1},{"orgId":"723518259651022848","logo":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1655172050126.jpg","name":"516测试613","paperMillId":"723518259730714624","businessModel":1},{"orgId":"727215233382354944","logo":"","name":"F4专属纸业","paperMillId":"727215233462046720","businessModel":1},{"orgId":"752218470673944576","logo":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/abdd5d3b-a2ea-4389-8ef1-00d17a0be205.jpeg","name":"A银海纸业有限公司","paperMillId":"752218471269535744","businessModel":1}]}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} paperMillOrgInfoList ${paperMillOrgInfoList} ${paperMillOrgInfoList} = [{'orgId': '711269402129076224', 'logo': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1649746793124.jpg', 'name': '泰康纸业科技', 'paperMillId': '711269402204573696', 'businessModel... Returns a value from the given ``dictionary`` based on the given ``key``. ${items} orgId ${papermill_orgId} ${papermill_orgId} = 711269402129076224 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} name ${papermill_name} ${papermill_name} = 泰康纸业科技 Stops executing the enclosing for loop if the ``condition`` is true. '${papermill_name}'=='516测试613' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} orgId ${papermill_orgId} ${papermill_orgId} = 721760754042277888 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} name ${papermill_name} ${papermill_name} = 长沙中联泵业股份有限公司 Stops executing the enclosing for loop if the ``condition`` is true. '${papermill_name}'=='516测试613' Returns a value from the given ``dictionary`` based on the given ``key``. ${items} orgId ${papermill_orgId} ${papermill_orgId} = 723518259651022848 Returns a value from the given ``dictionary`` based on the given ``key``. ${items} name ${papermill_name} ${papermill_name} = 516测试613 Stops executing the enclosing for loop if the ``condition`` is true. '${papermill_name}'=='516测试613' Exiting for loop altogether. Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT ${PM_token}','X-APP-ID':'503258978847966406','X-ORGANIZATION-ID':'${papermill_orgId}'} ${ztbsc_papermill_header} ${ztbsc_papermill_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==','X-APP-ID':'503258978847966406','X-ORGANIZATION-ID':'7... Makes a variable available globally in all tests and suites. ${papermill_name} ${papermill_name} = 516测试613 Makes a variable available globally in all tests and suites. ${ztbsc_papermill_header} ${ztbsc_papermill_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrpygEyksx8OpRDh68pDlxjrQ==','X-APP-ID':'503258978847966406','X-ORGANIZATION-ID':'7... Helper for quickly disabling all urllib3 warnings. Create Session: create a HTTP session to a server factoring ${uecclient} ${ztbsc_factoring_login_header} Creating Session using : alias=factoring, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Returns the given values which can then be assigned to a variables. { \ \ \ \ "account":"${papermill_account}", \ \ \ \ "accountType":2, \ \ \ \ "captcha":"${papermill_password}", \ \ \ \ "$loginType":"telphone", \ \ \ \ "$isNextAutoLogin":true } ${Data} ${Data} = { "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true } Sends a POST request on a previously created HTTP Session. factoring uec/authorize/by-captcha ${Data.encode('utf-8')} ${reps} POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha path_url=/uec/authorize/by-captcha headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410', 'Content-Length': '134'} body=b'{ "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true }' POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:07 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/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA==","userId":"701479226095833088"}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()['data']} token ${factoring_token} ${factoring_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA== Makes a variable available globally in all tests and suites. ${factoring_token} ${factoring_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA== Create Session: create a HTTP session to a server ZTBT ${uecclient} ${ztbsc_factoring_login_header} Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 Returns the given values which can then be assigned to a variables. { \ \ \ \ "loginToken":"${factoring_token}", \ \ \ \ "$configs":{ \ \ \ \ \ \ \ \ "$isBizFailedNotToast":true \ \ \ \ } } ${loginToken} ${loginToken} = { "loginToken":"iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA==", "$configs":{ "$isBizFailedNotToast":true } } Sends a POST request on a previously created HTTP Session. ZTBT factoring/authorize/get/product-line-token/by/login-token ${loginToken.encode('utf-8')} ${reps} POST Request : url=https://api-client-uec-test.qniao.cn/factoring/authorize/get/product-line-token/by/login-token path_url=/factoring/authorize/get/product-line-token/by/login-token headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410', 'Content-Length': '171'} body=b'{ "loginToken":"iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA==", "$configs":{ "$isBizFailedNotToast":true } }' POST Response : url=https://api-client-uec-test.qniao.cn/factoring/authorize/get/product-line-token/by/login-token status=200, reason= headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:37:07 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/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA==","userId":"701479226095833088"}} ${reps} = <Response [200]> Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} userId ${F_userId} ${F_userId} = 701479226095833088 Returns a value from the given ``dictionary`` based on the given ``key``. ${reps.json()["data"]} token ${F_token} ${F_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA== Returns the given values which can then be assigned to a variables. {'Content-Type':'application/json','Authorization':'QNT ${F_token}','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'710132392618233856'} ${ztbsc_factoring_header} ${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7... Makes a variable available globally in all tests and suites. ${F_userId} ${F_userId} = 701479226095833088 Makes a variable available globally in all tests and suites. ${F_token} ${F_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA== Makes a variable available globally in all tests and suites. ${ztbsc_factoring_header} ${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flA+JwD/O0duKmjmPDm5WPOA==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7... Critical Tests All Tests 000-LoginToken 000-LoginToken.1-dataDriven 000-LoginToken.2.1-APPlogin 000-LoginToken.2.2-APPlogin 000-LoginToken.3-WebLogin