Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
ZTBT
https://api-client-uec-test.qniao.cn
${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=18888888888
captcha=888888
accountType=2
${data}
${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}
Returns the given values which can then be assigned to a variables.
18888888888
${account}
${account} = 18888888888
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": "18888888888", "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': 'Thu, 02 Dec 2021 12:08:43 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==","userId":"659450159519895552"}}
${respones} = <Response [200]>
Logs the given message with the given level.
${respones.status_code}
200
Logs the given message with the given level.
${respones.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==
Makes a variable available globally in all tests and suites.
${account}
${account} = 18888888888
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://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/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-user-center/authorize/get/product-line-token/by/login-token
json=${token1}
${reps}
POST Request : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
path_url=/recycle-user-center/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/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=="}'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==","userToken":null,"userId":"659450159519895552"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
token
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
userId
${userId}
${userId} = 659450159519895552
Logs the given message with the given level.
${reps.json()["data"]["token"]}
d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==
Makes a variable available globally in all tests and suites.
${userId}
${userId} = 659450159519895552
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell-activity/list
params=pageNum=1&pageSize=15
${repsponse}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
path_url=/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.675,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","shortName":"Ceshi_factory","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649450137.jpg","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649450137.jpg"}}},{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.710,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","shortName":"Ceshi_factory","startTime":"2021-11-23 14:35:47","endTime":"2021-11-24 14:35:47","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649372318.png","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649372318.png"}}},{"paperMillId":"647892637390606336","name":"格森纸业有限公司","paperCategoryList":[{"categoryId":"648502476105977856","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.670,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null},{"categoryId":"648502476126949376","categoryName":"白纸","yesterdayUnitPrice":null,"unitPrice":1.880,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634636091226.png","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"649965536695947264","activityName":"格森--两次活动","shortName":"格森纸业","startTime":"2021-10-25 10:51:19","endTime":"2021-10-31 10:51:19","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635130303548.png","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635130303548.png"}}},{"paperMillId":"647892637390606336","name":"格森纸业有限公司","paperCategoryList":[{"categoryId":"648502476147920896","categoryName":"小花","yesterdayUnitPrice":null,"unitPrice":3.335,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634636091226.png","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"649688261702324224","activityName":"测试","shortName":"格森纸业","startTime":"2021-10-24 16:29:29","endTime":"2021-11-28 16:29:29","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635064207174.jpg","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635064207174.jpg"}}}],"total":4,"size":15,"current":1,"orders":null,"searchCount":true,"pages":1}}
${repsponse} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${repsponse.json()["data"]}
records
${records}
${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floati...
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityName
${activityName}
${activityName} = Ceshi_factory--两次
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperCategoryList
${paperCategoryList}
${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityId
${activityId}
${activityId} = 660531609048584192
Stops executing the enclosing for loop if the ``condition`` is true.
'${activityName}'=='Ceshi_factory--两次'
Exiting for loop altogether.
Evaluates the given expression in Python and returns the results.
random.choice(${paperCategoryList})
random
${Category_value}
${Category_value} = {'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}
Logs the given message to the console.
\nvalue: ${Category_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
categoryId
${categoryId}
${categoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
unitPrice
${unitPrice}
${unitPrice} = 1.675
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${activityId}
${activityId} = 660531609048584192
Makes a variable available globally in all tests and suites.
${categoryId}
${categoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.675
Create Session: create a HTTP session to a server
get-carinfo
${url}
${headers}
Creating Session using : alias=get-carinfo, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
get-carinfo
recycle-service/proxy-sell/get/his-car-info
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
path_url=/recycle-service/proxy-sell/get/his-car-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5336","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5335","scrapPaperOrderItemId":null,"plateNumber":"京R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5334","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5332","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5322","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0}],"total":0,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '5336', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5335', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5334', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5332', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${carNumber}
${carNumber} = [{'id': '5336', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5335', 'scrapPaperOrderItemId': None, 'plateNumber': '京R6666...
Evaluates the given expression in Python and returns the results.
random.sample(${carNumber},1)
random
${plateNumber_value}
${plateNumber_value} = [{'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}]
Logs the given message to the console.
\nvalue:${plateNumber_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${plateNumber_value[0]}
plateNumber
${plateNumber1}
${plateNumber1} = 京R76859
Makes a variable available globally in all tests and suites.
${plateNumber1}
${plateNumber1} = 京R76859
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/get/paper-mill-paper-category-price-details/${paperMillId}
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
path_url=/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","unitPrice":1.650,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":0.005,"isAllowOrder":true},{"categoryId":"661536965862232064","categoryName":"小白纸","unitPrice":2.200,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":null,"isAllowOrder":true},{"categoryId":"661536969788100608","categoryName":"坑卡","unitPrice":1.620,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":null,"isAllowOrder":true}],"locProvinceName":"山西省","locCityName":"大同市","locDistrictName":"大同县","attentionsLoadingCar":"","attentionsRegulations":"","attentionsArrival":"","attentionsReportCar":"","locDetails":"","priceDate":"2021-12-02","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","enableSalesAgent":1,"proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":617.21,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":true,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isCooperate":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'unitPrice': 1.65, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': 0.005, 'isAllowOrder': True}, {'categoryId': '661536965862232064', 'categoryName': '小白纸', 'unitPrice': 2.2, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': None, 'isAllowOrder': True}, {'categoryId': '661536969788100608', 'categoryName': '坑卡', 'unitPrice': 1.62, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': None, 'isAllowOrder': True}], 'locProvinceName': '山西省', 'locCityName': '大同市', 'locDistrictName': '大同县', 'attentionsLoadingCar': '', 'attentionsRegulations': '', 'attentionsArrival': '', 'attentionsReportCar': '', 'locDetails': '', 'priceDate': '2021-12-02', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg', 'enableSalesAgent': 1, 'proxypaySurcharge': 0.02, 'foreignPaybackIntever': None, 'foreignPaybackIntervalString': '12', 'cumulativeWeight': 617.21, 'yesterdayTotalQuantity': None, 'yesterdayRetainedQuantity': None, 'hasFollowed': True, 'isOperations': True, 'manageNotifyMessage': '该纸厂已暂停接单,请联系相关负责人!', 'isCooperate': 0}}
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell/get/relation
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/relation
path_url=/recycle-service/proxy-sell/get/relation
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/relation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"249","customerName":"赖勇兰","cusormerId":"554128866793361643","bizUserId":"498985714587930624","bizUserName":"张山","status":0,"createTime":"2021-11-22 13:54:27","mobile":"13060994305","factoryName":null,"factoryId":null}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
bizUserId
${bizUserId}
${bizUserId} = 498985714587930624
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
cusormerId
${cusormerId}
${cusormerId} = 554128866793361643
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
customerName
${customerName}
${customerName} = 赖勇兰
Makes a variable available globally in all tests and suites.
${bizUserId}
${bizUserId} = 498985714587930624
Makes a variable available globally in all tests and suites.
${cusormerId}
${cusormerId} = 554128866793361643
Makes a variable available globally in all tests and suites.
${customerName}
${customerName} = 赖勇兰
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "totalEstimatedWeight":30000, \ \ \ \ "activityId":"${activityId}", \ \ \ \ "customerName":"${customerName}", \ \ \ \ "deliveryTime":"${datatime}", \ \ \ \ "carInfos":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "plateNumber":"${plateNumber1}" \ \ \ \ \ \ \ \ } \ \ \ \ ] }
${order_data}
${order_data} = { "paperCategoryId":"660529551931215872", "unitPrice":"1.675", "totalEstimatedWeight":30000, "activityId":"660531609048584192", "customerName":"赖勇兰", "deliveryTime":"2021-12-02...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell/create/order
${order_data.encode('utf-8')}
${reps}
POST Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
path_url=/recycle-service/proxy-sell/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOrJOzQcK2jvoAeWB0BSFJAw==', 'Content-Length': '291'}
body=b'{ "paperCategoryId":"660529551931215872", "unitPrice":"1.675", "totalEstimatedWeight":30000, "activityId":"660531609048584192", "customerName":"\xe8\xb5\x96\xe5\x8b\x87\xe5\x85\xb0", "deliveryTime":"2021-12-02", "carInfos":[ { "plateNumber":"\xe4\xba\xacR76859" } ] }'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"663876360007192576"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663876360007192576'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 663876360007192576
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 663876360007192576
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/x-www-form-urlencoded
X-APP-ID=470236309865238555
${header}
${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
username=laiyonglan@qniao.cn
password=qn123456
&{data}
&{data} = { username=laiyonglan@qniao.cn | password=qn123456 }
Logs the given message with the given level.
${data}
{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/login
data=${data}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
path_url=/recycle-service/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555', 'Content-Length': '48'}
body=username=laiyonglan%40qniao.cn&password=qn123456
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 200, 'message': '登陆成功'}
Returns the given values which can then be assigned to a variables.
Token 6b08add42d6bcf73abb935b2adf83525
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
登陆成功
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Creates and returns a dictionary based on the given ``items``.
X-APP-ID=470236309865238555
Authorization=Token 6b08add42d6bcf73abb935b2adf83525
${header}
${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
Create Session: create a HTTP session to a server
login-info
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=login-info, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
login-info
recycle-service/admin/employee/get/login-info
${reps_data}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
path_url=/recycle-service/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"adminId":"617003842541850624","name":"赖勇兰","avatar":"https://static-legacy.dingtalk.com/media/lADPBF8a9_2FSfvNAr3NArw_700_701.jpg","position":"测试工程师","positionList":[{"id":"1","name":"管理员"}],"menuList":["/preciousPaperGeneral/operationManagementBackground/basicSetting/categorySku/bigCategoryManage/Index","/preciousPaperGeneral/sellOnConsignmentManage/dealManage/TransscationMainBody","/preciousPaperGeneral/sellOnConsignmentManage/invoiceManagement/InvoiceManagementList","/preciousPaperGeneral/operationManagementBackground/scoreManage/Role/Index","/preciousPaperGeneral/packaginStationSAASManage/financeManage/MergerPayment","/preciousPaperGeneral/operationManagementBackground/sysManage/information","/preciousPaperGeneral/companyAndUserManage/companyManage/Index","/preciousPaperGeneral/operationManagementBackground/wastePaperPriceIndex/detail","/preciousPaperGeneral/sellOnConsignmentManage/marketingAudit/awaitDeleveryDetails","/preciousPaperGeneral/operationManagementBackground/wastePaperPriceIndex/DiscountFigure","/preciousPaperGeneral/packaginStationSAASManage/authFactory/ApplyList","/preciousPaperGeneral/sellOnConsignmentManage/customerManage/Index","/preciousPaperGeneral/operationManagementBackground/scoreManage/convert/Index","/preciousPaperGeneral/paperFctSellOnManage/PaperFctList/PointList","/preciousPaperGeneral/operationManagementBackground/wastePaperPriceIndex/list","/preciousPaperGeneral/operationManagementBackground/contractManege/Index","/preciousPaperGeneral/companyAndUserManage/equipmentMaintenance/Index","/preciousPaperGeneral/operationManagementBackground/scoreManage","/preciousPaperGeneral/operationManagementBackground/basicSetting/wasteType/Index","/preciousPaperGeneral/operationManagementBackground/supplyOrderManage/Index","/preciousPaperGeneral/packaginStationSAASManage/proxyCheckOrder/CheckOrderList","/preciousPaperGeneral/financialManagementBackground/settlementManage/autoPaymentSelfCheck/Detail","/preciousPaperGeneral/paperFctSellOnManage/PaperFctList/Edit","/preciousPaperGeneral/operationManagementBackground/basicSetting/shop/Index","/preciousPaperGeneral/operationManagementBackground/contractManege","/preciousPaperGeneral/operationManagementBackground/feedbackManage/FeedbackIndex","/preciousPaperGeneral/packaginStationSAASManage/factoryProxy/FactoryAgency","/preciousPaperGeneral/operationManagementBackground/vipManage/personageVipManage/Details","/preciousPaperGeneral/sellOnConsignmentManage/operationAudit/operationAuditDetails/financialManagementBackground","/preciousPaperGeneral/paperFctSellOnManage","/preciousPaperGeneral/packaginStationSAASManage/operationManage/equipmentMaintenance","/preciousPaperGeneral/packaginStationSAASManage","/preciousPaperGeneral/operationManagementBackground/basicSetting/automaticallyArrive/Index","/preciousPaperGeneral/operationManagementBackground/basicSetting/orderSincereMoney/Index","/preciousPaperGeneral/packaginStationSAASManage/proxyReturn/ReturnOrderList","/preciousPaperGeneral/operationManagementBackground/vipManage/personageVipManage/Index","/preciousPaperGeneral/paperFctSellOnManage/OrderList/OrderInfo","/microSystemManagement","/preciousPaperGeneral/operationManagementBackground/articManage/classificationManage/Index","/preciousPaperGeneral/paperFctSellOnManage/ForwardList/Details","/preciousPaperGeneral/operationManagementBackground/basicSetting/wasteTypeOneManage/Index","/preciousPaperGeneral/sellOnConsignmentManage/marketingAudit/inTheSettlementDetails","/preciousPaperGeneral/sellOnConsignmentManage/standingBookManage/standingBook","/preciousPaperGeneral/paperFctSellOnManage/OrderList/Index","/preciousPaperGeneral/operationManagementBackground/supplyOrderManage","/preciousPaperGeneral/operationManagementBackground/basicSetting/categorySku","/microSystemManagement/menu","/preciousPaperGeneral/packaginStationSAASManage/proxyPaymentOrder/PaymentOrderList","/microSystemManagement/position","/sysManage/listLibraryManage/Index","/preciousPaperGeneral/financialManagementBackground/settlementManage/settlementPayment/Index","/preciousPaperGeneral/paperFctSellOnManage/intelligenceManage/Index","/preciousPaperGeneral/packaginStationSAASManage/proxyManage","/preciousPaperGeneral/financialManagementBackground/payCenter/memberAccountInfo/memberCcountDetails","/preciousPaperGeneral/paperFctSellOnManage/intelligenceManage/PaperFctoryTypeOfferList","/preciousPaperGeneral/packaginStationSAASManage/factoryOrder/ProxyDetails","/preciousPaperGeneral/packaginStationSAASManage/proxyOrderInfo/OrderDetails","/preciousPaperGeneral/sellOnConsignmentManage/operationAudit/operationAuditDetails/standingBook","/preciousPaperGeneral/operationManagementBackground/wastePaperPriceIndex","/preciousPaperGeneral/packaginStationSAASManage/operationManage/ServiceChargeStandard","/preciousPaperGeneral/companyAndUserManage/companyManage","/preciousPaperGeneral/paperFctSellOnManage/PaperFctList/CreatePoint","/preciousPaperGeneral/operationManagementBackground/staffActicities","/preciousPaperGeneral/sellOnConsignmentManage/financeAudit/finaceAuditList","/preciousPaperGeneral/sellOnConsignmentManage/operationAudit/PaperFctRetMoneyIndex","/preciousPaperGeneral/operationManagementBackground/articManage/articList/Details","/preciousPaperGeneral/operationManagementBackground/staffActicities/Index","/preciousPaperGeneral/operationManagementBackground/basicSetting/paperMillRecommend","/preciousPaperGeneral/operationManagementBackground/basicSetting/vipPaid/Index","/preciousPaperGeneral/financialManagementBackground/payCenter/payForWater/Index","/preciousPaperGeneral/sellOnConsignmentManage/operationAudit/PaperFctRetMoneyIndex/orderList","/preciousPaperGeneral/operationManagementBackground/basicSetting/categorySku/priceGuidanceManage/Index","/preciousPaperGeneral/packaginStationSAASManage/saasRefund/SaasRefundInfo","/preciousPaperGeneral/packaginStationSAASManage/operationManage/AuthorizationIndex","/preciousPaperGeneral/operationManagementBackground/basicSetting","/preciousPaperGeneral/packaginStationSAASManage/financeManage","/preciousPaperGeneral/sellOnConsignmentManage/operationAudit/operationAuditDetails","/preciousPaperGeneral/sellOnConsignmentManage","/preciousPaperGeneral/sellOnConsignmentManage/orderReconciliation/financeAudit/PaperFctRetMoneyIndex","/preciousPaperGeneral/paperFctSellOnManage/ForwardList/Index","/preciousPaperGeneral/packaginStationSAASManage/saasAccount/SaasAccountList","/preciousPaperGeneral/operationManagementBackground/wastePaperPriceIndex/edit","/microSystemManagement/employee","/preciousPaperGeneral/operationManagementBackground/wastePaperPriceIndex/create","/preciousPaperGeneral/operationManagementBackground/articManage/articList/Index","/preciousPaperGeneral/paperFctSellOnManage/intelligenceManage/CreatePaperPrice","/preciousPaperGeneral/packaginStationSAASManage/operationManage","/preciousPaperGeneral/financialManagementBackground/settlementManage/autoPaymentSelfCheck/Index","/preciousPaperGeneral/sellOnConsignmentManage/capitalSource/CapitalSourceIndex","/preciousPaperGeneral/companyAndUserManage","/preciousPaperGeneral/operationManagementBackground/acticityRuleSetManage/acticityRuleSet","/preciousPaperGeneral/financialManagementBackground","/preciousPaperGeneral/operationManagementBackground/activityThemeManage/activityThemeManageIndex","/preciousPaperGeneral/paperFctSellOnManage/PaperFctList/PaperType","/preciousPaperGeneral/sellOnConsignmentManage/PaperFctRetMoneyIndex/operationAudit/operationAuditList","/preciousPaperGeneral/paperFctSellOnManage/OrderList/JLIndex","/preciousPaperGeneral/companyAndUserManage/packginStationManage/Index","/preciousPaperGeneral/financialManagementBackground/payCenter/memberAccountInfo/Index","/preciousPaperGeneral/operationManagementBackground/feedbackManage","/preciousPaperGeneral/paperFctSellOnManage/PaperFctList/Index","/preciousPaperGeneral/operationManagementBackground/basicSetting/paperMillRecommend/paperMillRecommendList/Index","/preciousPaperGeneral/operationManagementBackground","/preciousPaperGeneral/operationManagementBackground/sysManage/departmentManage","/preciousPaperGeneral/financialManagementBackground/settlementManage/orderReconciliation/Index","/preciousPaperGeneral/operationManagementBackground/basicSetting/paperMillRecommend/paperMillRecommendList/Create","/preciousPaperGeneral/packaginStationSAASManage/operationManage/DataPanel","/preciousPaperGeneral/paperFctSellOnManage/intelligenceManage/VehicleQueueIndex","/preciousPaperGeneral/packaginStationSAASManage/saasOrder/SaasRefundList","/preciousPaperGeneral/sellOnConsignmentManage/RemainingAmountPayableReport","/microSystemManagement/department","/preciousPaperGeneral/sellOnConsignmentManage/marketingAudit/awaitSubscribeDetails"]}}
${reps_data} = <Response [200]>
Logs the given message with the given level.
${reps_data}
<Response [200]>
Fails if objects are unequal after converting them to strings.
${reps_data.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-order-reservation-list
params=pageNum=1&pageSize=10&status=&orderId=${orderId}
${reps_data}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663876360007192576
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"4703","orderId":"663876360007192576","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"花纸","sellerReservationDate":"2021-12-02","orderItemNum":1,"carNoList":["京R76859"],"status":0,"createTime":"2021-12-02 20:08:44","bizOwnerName":"张山","orderType":2,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
${reps_data} = <Response [200]>
Logs the given message with the given level.
${reps_data.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '4703', 'orderId': '663876360007192576', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '花纸', 'sellerReservationDate': '2021-12-02', 'orderItemNum': 1, 'carNoList': ['京R76859'], 'status': 0, 'createTime': '2021-12-02 20:08:44', 'bizOwnerName': '张山', 'orderType': 2, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderId
${orderId}
${orderId} = 663876360007192576
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
id
${id}
${id} = 4703
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderType
${orderType}
${orderType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
carNoList
${carNoList}
${carNoList} = ['京R76859']
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
paperMillName
${paperMillName}
${paperMillName} = Ceshi_factory
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
sellerReservationDate
${sellerReservationDate}
${sellerReservationDate} = 2021-12-02
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 京R76859
Logs the given message to the console.
\nvalue:${carList}
Fails if objects are unequal after converting them to strings.
${reps_data.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 663876360007192576
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${id}
${id} = 4703
Makes a variable available globally in all tests and suites.
${paperMillName}
${paperMillName} = Ceshi_factory
Makes a variable available globally in all tests and suites.
${sellerReservationDate}
${sellerReservationDate} = 2021-12-02
Makes a variable available globally in all tests and suites.
${orderType}
${orderType} = 2
Makes a variable available globally in all tests and suites.
${carList}
${carList} = 京R76859
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'name': '测试111', 'id': '660525241805705216'}]
Evaluates the given expression in Python and returns the results.
random.choice(${data})
random
${value}
${value} = {'name': '测试111', 'id': '660525241805705216'}
Logs the given message to the console.
\nvalue: ${value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
id
${supplier_id}
${supplier_id} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
name
${millSupplierName}
${millSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${supplier_id}
${supplier_id} = 660525241805705216
Makes a variable available globally in all tests and suites.
${millSupplierName}
${millSupplierName} = 测试111
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}
${data}
${data} = {"attention":"663876360007192576","buyerReservationDate":"2021-12-02", "id":"4703","millDeliveryOrderId":"663876360007192576","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"663876360007192576","buyerReservationDate":"2021-12-02", "id":"4703","millDeliveryOrderId":"663876360007192576","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663876360007192576"}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/update/reservation
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/update/reservation
path_url=/recycle-service/admin/customer-service/update/reservation
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '258'}
body=b'{"attention":"663876360007192576","buyerReservationDate":"2021-12-02", "id":"4703","millDeliveryOrderId":"663876360007192576","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"663876360007192576"}'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/update/reservation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
预约送货
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order-item-list
params=orderType=${orderType} &pageNum=1&pageSize=10&status=51&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=663876360007192576
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-02","millSupplierName":"测试111","plateNumber":"京R76859","operationReviewStatus":51,"createTime":"2021-12-02 20:08:44","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":null,"reviewOperatorName":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activitySettleType":2,"weightNoteType":null,"netWeight":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","rejected":false}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-02', 'millSupplierName': '测试111', 'plateNumber': '京R76859', 'operationReviewStatus': 51, 'createTime': '2021-12-02 20:08:44', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': None, 'reviewOperatorName': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activitySettleType': 2, 'weightNoteType': None, 'netWeight': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'rejected': False}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${records}
${records} = [{'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '20...
Evaluates the given expression in Python and returns the results.
random.choice(${records})
random
${orderItemId_value}
${orderItemId_value} = {'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '202...
Logs the given message to the console.
\nvalue: ${orderItemId_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${orderItemId_value}
orderItemId
${orderItemId}
${orderItemId} = 663876360049135616
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 663876360049135616
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId} &orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":null,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.02
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.02
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderId":"663876360007192576","orderItemId":"663876360049135616","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"京R76859","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '京R76859', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"buyerEnterpriseName":"Ceshi_factory","buyerEnterpriseId":"660525239146516480","buyerPaperMillId":"660525241717624832","sellerEnterpriseName":"企业","sellerEnterpriseId":"37","sellerPaperMillId":null,"proxyPaySurcharge":0.013000,"advanceFund":null,"invoiceType":0,"hasInvoice":1,"taxRefundRate":9.600000,"hasSubsidiesTax":0,"remark":null,"contractLimitType":0,"limitLine":null,"startDate":"2021-12-01","endDate":"2023-01-01","signDateStart":"2021-12-01","signDateEnd":"2023-01-01","accountPeriodType":0,"accountPeriod":[25],"accountPeriodSql":null,"contractImageList":[],"contractCategories":[],"contractType":2,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"contractStatus":1,"assignAccountPeriod":null,"settlePriceIncludeTaxSettleRules":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'buyerEnterpriseName': 'Ceshi_factory', 'buyerEnterpriseId': '660525239146516480', 'buyerPaperMillId': '660525241717624832', 'sellerEnterpriseName': '企业', 'sellerEnterpriseId': '37', 'sellerPaperMillId': None, 'proxyPaySurcharge': 0.013, 'advanceFund': None, 'invoiceType': 0, 'hasInvoice': 1, 'taxRefundRate': 9.6, 'hasSubsidiesTax': 0, 'remark': None, 'contractLimitType': 0, 'limitLine': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'signDateStart': '2021-12-01', 'signDateEnd': '2023-01-01', 'accountPeriodType': 0, 'accountPeriod': [25], 'accountPeriodSql': None, 'contractImageList': [], 'contractCategories': [], 'contractType': 2, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'contractStatus': 1, 'assignAccountPeriod': None, 'settlePriceIncludeTaxSettleRules': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
advanceFund
${advanceFund}
${advanceFund} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriod
${accountPeriod}
${accountPeriod} = [25]
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
buyerEnterpriseId
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
taxRefundRate
${taxRefundRate}
${taxRefundRate} = 9.6
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxyPaySurcharge
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
hasInvoice
${hasInvoice}
${hasInvoice} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriodType
${accountPeriodType}
${accountPeriodType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
isSubsidyAndDeductIncludeTax
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${receivableSettlementRules}
${receivableSettlementRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Sets variable based on the given condition.
'${advanceFund}'=='${None}'
0
${advanceFund}
${advanceFund}
${advanceFund} = 0
Sets variable based on the given condition.
'${proxyPaySurcharge}'=='${None}'
0
${proxyPaySurcharge}
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${advanceFund}
${advanceFund} = 0
Makes a variable available globally in all tests and suites.
${accountPeriod}
${accountPeriod} = [25]
Makes a variable available globally in all tests and suites.
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Makes a variable available globally in all tests and suites.
${taxRefundRate}
${taxRefundRate} = 9.6
Makes a variable available globally in all tests and suites.
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${hasInvoice}
${hasInvoice} = 1
Makes a variable available globally in all tests and suites.
${accountPeriodType}
${accountPeriodType} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Makes a variable available globally in all tests and suites.
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Makes a variable available globally in all tests and suites.
${receivableSettlementRules}
${receivableSettlementRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
/recycle-service/admin/contract/get/selectable-contract-list
params=orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663876360049135616
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"id":"39","name":"千鸟-经纪业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"40","name":"千纸鹤代卖业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"41","name":"测试资金方","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"42","name":"千鸟-技术部测试数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"46","name":"千鸟","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"47","name":"千鸟数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":1},{"id":"49","name":"千鸟测试","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}, {'id': '49', 'name': '千鸟测试', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...
Logs the given message with the given level.
${item}
{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-经纪业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 39
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千纸鹤代卖业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 40
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 测试资金方
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 41
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-技术部测试数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 42
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 46
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 47
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Exiting for loop altogether.
Makes a variable available globally in all tests and suites.
${name}
${name} = 千鸟数据
Makes a variable available globally in all tests and suites.
${id}
${id} = 47
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/transaction-main-enterprise/get/warehouse-name
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
path_url=/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${仓库}
${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']
Evaluates the given expression in Python and returns the results.
random.choice(${仓库})
random
${所属仓库}
${所属仓库} = 江高仓
Logs the given message to the console.
\nvalue:${所属仓库}
Makes a variable available globally in all tests and suites.
${所属仓库}
${所属仓库} = 江高仓
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderId":"663876360007192576","orderItemId":"663876360049135616","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"京R76859","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '京R76859', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Evaluates the given expression in Python and returns the results.
open('./20210803.jpg','rb')
${filepath}
${filepath} = <_io.BufferedReader name='./20210803.jpg'>
Evaluates the given expression in Python and returns the results.
open('./20210803.jpg','rb')
${image}
${image} = <_io.BufferedReader name='./20210803.jpg'>
Creates and returns a dictionary based on the given ``items``.
filepath=${filepath}
image=${image}
${file}
${file} = {'filepath': <_io.BufferedReader name='./20210803.jpg'>, 'image': <_io.BufferedReader name='./20210803.jpg'>}
Create Session: create a HTTP session to a server
ZTBT
${URL}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${file}
{'filepath': <_io.BufferedReader name='./20210803.jpg'>, 'image': <_io.BufferedReader name='./20210803.jpg'>}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-user-center/upload/image
files=${file}
${result}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
path_url=/recycle-user-center/upload/image
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26273', 'Content-Type': 'multipart/form-data; boundary=84dd97f5f93305c0a5921a78e6cd95ed'}
body=b'--84dd97f5f93305c0a5921a78e6cd95ed\r\nContent-Disposition: form-data; name="filepath"; filename="20210803.jpg"\r\n\r\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x03\x02\x02\x03\x02\x02\x03\x03\x03\x03\x04\x03\x03\x04\x05\x08\x05\x05\x04\x04\x05\n\x07\x07\x06\x08\x0c\n\x0c\x0c\x0b\n\x0b\x0b\r\x0e\x12\x10\r\x0e\x11\x0e\x0b\x0b\x10\x16\x10\x11\x13\x14\x15\x15\x15\x0c\x0f\x17\x18\x16\x14\x18\x12\x14\x15\x14\xff\xdb\x00C\x01\x03\x04\x04\x05\x04\x05\t\x05\x05\t\x14\r\x0b\r\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\xff\xc0\x00\x11\x08\x00\x82\x00\xd0\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1d\x00\x00\x01\x04\x03\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x04\x05\x06\x08\x00\x02\x03\t\x01\xff\xc4\x00E\x10\x00\x02\x01\x02\x05\x01\x06\x04\x04\x04\x03\x06\x04\x07\x01\x00\x01\x02\x03\x04\x11\x00\x05\x06\x12!1\x07\x13"AQa\x082q\x81\x14\x91\xa1\xb1\x15#B\xc1\x163R\tbr\xd1\xe1\xf0$C\x82\xb2\x174cs\x92\x93\xa2\xc2\xff\xc4\x00\x1c\x01\x00\x02\x03\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x06\x03\x04\x07\x02\x01\x00\x08\xff\xc4\x008\x11\x00\x01\x03\x03\x02\x04\x02\x08\x05\x04\x02\x03\x00\x00\x00\x00\x01\x02\x03\x11\x00\x04!\x051\x12AQaq\x81\x06\x13"2\x91\xb1\xc1\xf0\x1434\xa1\xd1#Br\xf1\x15\xe1$5R\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xf4\x8a\x83+\x90J\x1ep\x11\x07;|\xce\x10\xeal\xea\x16\xdb\x96B\xe8e\x98r\x01\xe4 \xeb\xc7\xe9\x88\x16a\xda.\xa8\xce\xe0+C\x96&Y\xbdo\xbew\xef\x18}\x00\x00a\x0e\x8d\xc9+\xa93\xe9+sJ\xb9\xab*\xaa\x94\r\xd2/\x84\x057\xb2\x8f.\xb8\xc9\xee\xb5\xd0\xe0\x0cY\xa1\\* )DF\x0e0\x0es\xb5;7\xa5\xa9\x00\xbdr\xa0\nvH3\x9f,T\xebR\xb3PiZ\xf9)"i&\xeeN\xd5_\x98\xf9X{\xf5\xc0O\xbaL\xb4<N\xee^w\x1b#Q\xfeX\x1dY\xba\x92z\x8bb}\xda\xa6aXjr\xac\xb2\x08\xe4t\x944\x9bT\x1f\x19\x17\x1c\x9f+u\xbe!\x8fW+,t\xf5\r\x1c\xa5,\x92Ek\x80<\xac\xc3\xcca+_\xbci\xd7\xfdX\x04\x14\x08\x04\x8cI\x12G-\xc53i\x0c\xa9\xa68\xc9\x9e#=\xe0`~\xe2\x92\x14+V\xecm\xdc\xa4\x81\x80/`\x8czn\xfdx\xc7y$\x8e\'\xab\x8d\x1dQ\xac\xd72|\xce\xdeW\x1e\x97\x1f\xff\x00X\xca\xa8\x90@Dh\xad\xc2\xee2s\xb4\xff\x00\xbb\xfe\xf7\xaf\xb694O\\\xd5}\xe3\x17\x91\x93\x96E\xe2\xe4\xde\xd7\xfa\x9f\xbe\x11\x96\xf6\xe9\x03$\x92?y\x13\x83\xd2\x8faY;\x7f\xaa\x8eSF\xd5\x8a\xaf\x1a\x80%`\xa4\x13m\xa4\xdf\x83\xe9b\x08\xc3\xf3$1\xbc2.\xe7(\xaa\xc9\xbf\x8b[\x92\xc4z\x1b\x90\x07\\&\xa7\xa7\x955\'\xe1\xa8\xe2\x96o\xe2\x10~*\x04\x11\xdc3\x03i\x16\xfd\x01\xe00\xf7\'\xcf\x12h\xb4\x8dM\\5\x83\xba\x93\xbc\xa7\x99 \x92R\xa4\x85\x0c\x81\xcd\xbe\x81\x80\'\xa0\xb1\xc4\x96\xbaM\xc9\xe2,6I\xdew\x1eG\xac|+\xab\x8b\xb6\xd2G\x1a\xa0\x7f8\xf9\xd4p\xd5\xfe5!\x8aH\x98\xc5\x11"6\xdd`y\x02\xe4z\x01\xe9\x84\x12\x119v-\xb5\xd2\xeb`,\x1cn\xf2\xf4\xe3\x12\x88\xa9c\xa8\x8aG]\xebI\x1a\x98\xa3\x8a%\xbb\xec\x07\x93\xe7\xe2kr}8\xc2\x19r\xf7\x84o\x98\x80\x8eD\x8a\xecB\xad\xfd6\xdb\xafN1J\xfa\xcd\xd4\xa0-fx\x86\xfd\x86\x06\xc6c\xb9\xae\x9a} \xc0\x11\xf7\xf75\xf7H\xe6\rA\x9e\xd2M\x132\xaclKm\xeaE\xb9\x1f{`\xa5\xda\x86H\x99\xae\x9c\x96\xaa$QS\x0cbH\x99\xb8\xe6\xf7\x00\xfb\x1b\x9c\x0c\xa9\xa9\xadQ<\xb4\xbf\xc8\xa8\xa5\x1c\xb3\xf0./v\xb7@x\xf3\xc17G\xe7Rj\x9d9<S\xa9\x92\xa2\x0b\xa4\x81\x87\xcc\x086\xb7\xaf\xdf\r\x1e\x8c-)\xb7{M{w$\xa4\xf2\x903\x1d\xc4t\xa5\xddT\x10\xf3w\x88\xfe\xd8\x07\xcf\xe9A\xbe\xc7{y\x87;h(3:u\xcb\xddexL\xac|28\x16*.o{\xdb\x167/\xa3\x83.\xa7\x9a\xb0\x82\x89\xcc\x84\x1e\x83\x8f,Q\xad\x1d\xa3&\x83\xe2yt\xd3\x0b\xc2\xb5\xedZ.oh\x85\xe5 ~Ex\xc5\xd6\xd7\x19\x8c\x99~]\r<b\xc2g\xb3\x9by\x0e\xb8\xd2\xbd\x1e\nSKy\xe1)DD\xef$m\xe5\x8a\x1f\xe9+,\xb5p\xd2-\x8cq\x89>\x07\xec\xd4O8\xd4u\xd9\xac\xe5\x86\xe4\x8a\xfe\x08\xfa\x00<\xbe\xf8O\xf8i\x06dg\xdc{\xb9Ye\xf5\xb5\xb8#\xf5\xc6\xb1\x98\xe4ac\xb7\x8e\x01\xc3\xc5,\x1f\xcb!\xbaZ\xe3\x06\xdbYZ\x89Y\x93AHKI\x84\x88\xa8\x95\x14-E\xdeN\xa5\xae\xd7&5\x04\xdc\x0b[\x81\xc9\x17\xb9\xc3\r\x06mYI\x9b\x05\xefZ-\x8b`\x08;\xb7\x96\x1d?+\xfe\x98\x9agy}\x1c\x1as7\x8e\xae\x08\xe6\x82\xa6&\xa5\x14\xd5\x02\xea\xe8\xd7\x0c\x08\xbfB\r\xb1\x0e\xd2\xd9\x12\xd2\x18Z8\xd8\xf71\xaci$\xa4\x92\x00P\x00\x17\xe7\xcb\xafS\x89\x1c_\x04\t\xcd]aHXQP\xa3\x96S_\x16oHcyc\x92\xa21\xb6UC{\x1cV\xee\xd5\xbb-\xad\xc8u\xf2\xd7d\xeac\xa1\xcf_mDa\xc4j\xb5J?\x96\xc4\xdb\xc2\xa4\x17cnn\xb6\x1dpo\xd2p\xad\x0c\xe8#\n\xbb\xbem\xabk\x9f2q\x1b\xf8\xa0\xcc?\xc3\xbd\x93g\xd9\xf2\x15\x13e\x10\xadz\x16\xff\x00\xe9\xc8\xa7\xf6\xb8\xfb\xe2\xe5\xc8\x17v\xfe\xb0\xfb\xc9\xce7\xfb"\xaai\xb7n\xe9w\xe03\xb2\xf1\x07l\xed\xf00i\xbfDv[\x90vcC\x16w_\xddM\x9a\xc5H\x91\xcbT\xcd\xe1%|\xd1OC\xcf\xd7\x15\x0b\xe3\x1f\xe3"L\xcait~\x8b\xaa"\xa5.\x95\xb9\x85;\xf1Nmf\x8d\x08\xea\xf6\xbd\xdb\xfa~\xbd!\x9a\xef\xe2_Tv\xebE6K\x96V>A\x97\xcc\xa1&\xa8\xa6b\'\x97\xca\xd7\xfe\x95\xf2\xb0\xe4\xfa\xf9b\x07\x96|-\xeaA\xb2\xa7.hf\xa4\xb0e\xab\x9eU\x87\xb9k\xf3\xbc\x1b\xdf\xfe\xb8\n\xbb\xfbf\xff\x00\xf1\xfd\xc1\xbf\x0cd\xf74\xec\xcd\xa2\xd4\xff\x00\xe2\xb5\x15\xf1/\x94\xec;\x0f\xa5\t\xb2\\\x8d\xe5\xda\xce\xac\xdb\xc1ff\xf3=O>g\xfex&\xd0i\xf8\xe1\x8e\x9aD\xf1\xcd\xe3YBr\x19\x94\x8b\x10~\x96\xfc\x8e\x0cZc\xe1\x1bRgy\xdc\xa2\x9eZZ\\\x92)\x08\x86\xb5\x94\x93*\x90<J\x96\x07\xcb\xa9\xf4\xc1\xefK\xfc\x1d\xe9\xcc\xb6\x9d\x06a%Vc(\xb9\xbb\xcaQnE\x8f\x0bo\xdf\x02\x9c[\xf7\xc4~\x1d\x04\x8e\xa3o\x8e\xd5z\xe3W\xb3\xb5\x1e\xda\xf3\xd0oU_(\xa6V\x8e\x08\xf7\x7f3\xd4\xf0-k\x8f\xd6\xf8\x9fi\xbd?]\x9e\xcf\x15>UL\xf5\x15\x130N\xea$\xb9c\xd7\xed\xf7\xf2\xc5\x95?\x0b\xfa9!\n\xb9v\xc6\xbd\xcb,\xae\t\xfb\xdf\x0e\x14:V~\xca\xf2J\xc4\xc82\x88j\xe5 \xb2\xbb\xbd\xa6\x94\xdb\xa39\x1c\x8f!\xd3\x01_\xd0\xee\xe7\x8d\xd4\x90\x91\xbcd\xfc(q\xf4\x96\xd9\xc1\xc2\xcf\xbd\xcap>4Q\xa9\xcc)\xe9#\x92:eP\x17\x80\xef\xc78G\x16a(\xac\xa4c{\x97+\xb1\xcd\xb8>v\xfbc\x89\xa9u\x8c\x17\xb3\x1b\xf0@\x04\x908$\x1fNm\x8e\x13<\x9c\xb3x\x162\x18\x02<\x87\xbf\x9e:S\xae88\x82\xba\x18\xda \xcf\xd2\x81!\xa0\x04Eu\xed!{\xca\x8c\xbaM\xa1\xc2\x97\x02\xc4\x8d\xbd.I\x1f\\E(\xe9\xc7~\x1a4t\x12YU\x9c\x8eM\xbd\xfa\x9f\xb6\n9\xa6I\x1e\xa3\xc9\x84hUf\x03\xbc\x8aF$(p:\x1f;`q\xf8x\xd0\xcae\x94\xca\xd1\x9e\xe9\xa4K\xa2\\\x9elM\xc9\xbf\xa8\x02\xf8\x1f\xabZ)/\x87\xc8\x94\xaa\x08\xf1\x03=\xf0*\xde\x9fr\x14\xcf\xaa\x1b\xa7\x1f\x13H\xeahd\xfc#\xca\xc4\x0e\x0b\x0f\t\x1b\x86\xe27\\\x9e\x07\xb9\xc6e\xb4q\x19\x00o\r\xd0\x12\xa5\x88\xb2\xdf\xc4\xdcr\xa3\xce\xe4\xfd\xb0\xe1,\x82k\xec\xa5\xbd\xce\xe5i\x01\xe0\x8e.\xc0\x9f\xa0\x03\x9ciM\x0c\xd1\xc7,~\x11P\xcb\x7f\x00\x1dOOa\xe7\xeaz\x9c-\xae\xd9\t\xb8J\xd2\x99\x00t\x99#\xc7\xad\x13\xf5\xaa\xe0 \x98\xa6\x1d3\xa8\x0eO\xda\xd6v\x95\xf5[\xf2|\xbf"\x96\xba\x8f4d\x08bB\xeb\xde+\xa8*\x1a\xcb\x18\xda\xdby\x05\xbc\xfa\xc5\xfe\x1d~"\xf3~\xdf\xb5~\xad\xa4\xa7\xdf\x91\xe4\xf4\xd1C=!\x10\x99\xe4\x91w\x15 \xb5\xc0Ge\x00\xf9\xfd\xed\x8f\xbd\xba\xf6=\x97\xf6\xd7\xa5\xa3\xca\xa6\xcc\x7f\x01\x9d\xe5\xd14\xb4y\x80\x8f\xbc{\x9f\x9e\'m\xc0\xec`,GK\xf3\x81\xff\x00\xc2\xa7\xc3\xbdV\x8cz\x1dO\xaa\x16!V\xd4\xf1O\x96\xa5\x05t\xb1\xcbL\xe4\x92\xc2eP\x15\x83\'6\xdc@"\xc4\x1b\xe3I\xd3o\x19,\xa4\x85lL\xc1\x8d\xf7\xe7\xcb\xa1\xaf\\\xb7\xb4r\xd5\xc7\\?\xd4\x84\x84\x88\x98\x8ey\x80gs\xd3<\xea\xc2\xe6\x95\xb5\xb2x\x91&\xa4H\xd7\xc2\'\xb2\r\xdb\xacI\x1f\xd4p\xda\xd0MT\xcd\x1a)\x0b\xde\xa4\xd7{s\x7f0\xbe\xa4\x82m\xe8\xb8\x91fY\x83U\xf7\xadQ"xK\x15\x00X\xb8\x04\x0b\x1b\x0e\xb7\xb0\xc3c\xc1u\x90\x87\xe2V&\xeeE\xc0\xde\x18}\xc3_\xdf\x9cg\xda\x8a\x12\xed\xc2\xbd\xb2\xa0G`y\xf2\x18\x02b\xa2ee(\x03\x84\x03M\xb3\xd1\ny\xd65v\x99\xb7\x19e\xba\xf0\xc3\x82Xz\xf4\xf6\xc1\x17\xb3H\xbb\xaa\x8c\xdeG\xdcw\xd9\xbaXrN\x07\xf5H\xadYR\xf0\r\xa1X\xf56R\x0f@G\xbd\xcd\x8e\t\xbay\xe3\xd3\xba7\xf15\x8e"\xfeXr\xa7\xae\xdbp?\\{\xe8\xf3#\xfeIO\x1c%\x12{lF\xe7\xc6MS\xd4\xd6K\x01\xb1\x92\xa8\x1d\xf7\x9a\x12eYU\x1b|U\xa6d\xca\x1at\xcb\xde%}\xdd\t\r\xc1\xfa\x0b\xe0\xab\xda-uB\xd5\xd2@\x8bxJ\x97\'\xde\xf6\xc58\xd2\xbd\xa6\xd6\xe6\x1d\xb5\x7f\x8ai\xcb\xb6[\xf8\xde\xe8D\xa7\x8e\xe0\x12\xa4\x91\xee\t7\xc5\xe4\xce2\xb8\xb56W\x13\xc6\xe3\xbdO\x14m~\r\xc7\x9f\xb1\x18\xd0\xbd\x1fZ\xdd\xb6}\x80}\xae)\x03\xb1\xe5PzEl\xab+\x9be\xbb\x90\x10\x07\x81\x1f\xee\x87\x8a\xd2\x8en\xa4^\xc2\xeb\xce\x15H\xef_\x96T\xd2\xc9$\xb4\xd0\x95\xb8\x96\x0b+\xf1\xe6:\xf1\xc7\xdf\x1d\x13\xb9i\xde\x99\xbc\x0e\x84\xab3\xaf\x06\xdc\x1b\x0f<fg\x13\xd3\xe5\xf3,nX8\x1b\x8fRnG\xf6\xe3\x04\xda\\\x82\x17A\x9c\xdc\x14\xefL\xd5R\xa541\xd1\xcbQ%Y\xf9\x83\xcfn\xb7 [\xd0\xf3\xcf\xae9Q\xe6!\x18\x85\x0bu\xf0\x95\xb5\x888EW\x03\xf8\xe4\x94\x12i\xfem\xdf\xd4\x8c\x00\xbf\xd4\x1bq\x85tTK<\xf1\xc4\xe5\x16Y\x94wRX\x90\xc4\xf4W#\xa7\xfc_\x9e/%\x1c@\x11Q\x17\x08\x99\xa9n\x8f\xcd\xdel\xde8\x1a\x14E~\x15\xc7;\xb8\xbf\xdb\x02_\xf6\x8c\xe7k\x95|-\xea\xd8\x84\xc6\x19+\xbf\rF\xa5x$\xbdDw\x1fK\x03\x83\x8e\x87\xd3\x13d\xd0=^`\x9b+$\xe9\x1b\xb0v@.>a\xd7\x14\x97\xfd\xa7\xfd\xa3\xd3f\xf9&U\xa0\xe8\xe7W\x9c\xc83:\xd5\x1dUT0\x85I\xf7%\xdb\xe8\xa3\xd7\x05\xe7\xf0\xec\x00\xacI\x15B\xd9\xb3wz\x90\x9c\xc7\xd2\xa9\xf7b\x9a[9\xab\xc9\xdf5\xa3\xa8Yg\x81I\x14\xf2\x8f\xf3-\xce\xdd\xd7\xb8\'\x1e\x89\xf6\x0f\xd9\xadD\xf9%\x1ei\x9f\xc6\xbd\xe3F\xb2GFyX\xc9\x17$\xfa\x9f|T\x0f\x82\\\xaeMW\x14T;?\x91\x0c\xb7\x9dm\xf32\x9e\x05\xff\x00"~\xd8\xbf:\xfb2\\\x8bFI\x96\xd1\xd5\xa5\x1eaT\x9d\xdc@1V+\xc6\xed\xa4t6\xf3\xf7\xc2*\xadE\xed\xfb\xce\xdd\xa4p4q\xdc\xf2\x1f}i\xefY\xbfZZn\xd5\xa3\x95\x01\x9e`@\xe7\xbd9\xcb\xda\x1eGA\x9aI\x95R^\xae\xae4;\x9a+\x08\xd5\x80$&\xef3\xc7\x95\xed\x81\xc9\xed3Q\xe7Uq:T\x8a@\xe3p\x82\x99@\x0b\xc9\x16$\x8b\x9c2i|\x95hg\x8a\xa7\xb91\xba\x90\xc9f\xdc\x01\x02\xdc\xfd\xb0\xe7GE\xfc/P3*\x83\x05\xfb\xf4\x00qn\xbf\x90\xfe\xd8$\xbb\xa7]JBO\x00\x9d\x93\x8e\x91J\xe8\xb7i\xb2\xa9\x1cF79\xf1\xa5Y\xe6\xbc\xd4q\xe6\xc6\n\\\xcaT\xeeU\x14\xaa\xaa\x90Z\xd7bx\xe7\xad\xad\x89nU\xda\x85<T\xb4\xb0j\x17H\xab*>S\x14d\x8d\xbd\x01{|\xb7\xc4\x07/M\x80\xd7T\xdd\xa4\x94\xee\n:\xc8\xc7\x9b{{\x9c7\xd6$\xb5\xd9\x97{\xdd\x99\xe4<0Nl=\x00\xfe\xf8\xb8\xcd\xdb\xa8\xf6\x82\xa4\x9eG?\xb5B\xed\xbbK\x1c\x051\x1c\xc6(\xdb\x04\xcdM\x12#\x85\xd8I!$\x1e\x12C\x1e\x9d?;}0\xaa9E@\xeeT\x98\xce\xc2\xc6\x15\x01\x98\x93\xe7\xb8\xfe\xd8\xe3S\x1c\x0eWm\xc1\x0c\x18\xef\xb39#\xca\xd7\xb7\x9e9\xcf,!%\x0c\x8a\xab!\x0cm\xe0\xb1\xe2\xde\\\x9f<g\xa0\xaa\xdc\x14\x93\x80>8\xf8\xd34\x05\xe4\x0c\xd4\xdbKV\xb5M\x0fr\xf0\xb4\x0f\x18\xdb\xb5\x8d\x8f\xa5\xb0=\xccr\xb3\x95gR\xe5\xeb\x1b7u+8v,\x14#r\xa5\x8f\x9d\xcf\x1c[\xa7\'\x12|\x8a\xb5i\x19*ZQ!v!\x90\xf5a\xe4\xc3\x8em\xd2\xfe\xfe\xd8\x91\xe7y\x04z\x8a\x8a9a*\xb5!N\xd6#\x8b\x1e\xa3\xeb\xe9\xe9\x82\x0e\xdb\xafQ\xb6BR}\xb4dm\x90c\x1e&(R^\x16o\xa8\xab\xddW\xechl\x85K\x88\xef\xb6=\xdd@\xb2\xb3\x0e\xb6\xf5\x03\x81\xf5=|\xb1\xd6x\xccP,"N\xeeFRKI\xc9\x00\xf1{\x0e\xad\xc9\xfb\x9c9M\x91\xd5e\x8b\xdeTF\xe8\xd1\x9b\x00\xe0Y\xec\t\n=\x87\x04\x9f3\x86\xb1\x01y\xe6\x91\xdd\xf7\xba}X\xad\xbf 9\xfc\xc9\xc0\'\x1bq#\x85\xc4\x90O#\x88\x1f{Q\x94:\x972\x93\x8aC5\nw\x13K\xdem\x90\xc2@\xf5n\x00\xfc\x80\xfc\xce>\xd1\'\xe1)U\xf9R\x91\x05X\x8f[\x1e\x9f\xa5\x8d\xbd\xb0\xe4i\xd5\x8fueWb\xc4\x80.,\x16\xc0{\xff\x00N\x1a\xa9`\xda\xf1\x97wpE\xd7\x9e\xbb\x08\x00\x8f\xafL\tR\x03\x0eJ\x07"\t\xef \xc9\xef\x9a\xb4\x95q\xa4\x82idE\x90\xfe)\x84m1e\x8cxA\xb0\xdcW\x8fRn\xbf\xf6q\xcewyi{\x99\x9d7"\x932m\xb9&\xf7\xdd\xf7\xe0\xfd=1\xb5\x11\xff\x00\xc3\xa1\xde#H\xe5\xb1^7xn@\x03\xaf6\x03\tQ\xdb\xf1q\xc9\x1bmp\xa6\x9dJ\x80\xc7\x80,}\xaco\xfa\xe3\xd7\x1f\x01\x94\x93>\xd0\xc8\xeb$I\xef5\xe0O\xb4{S\xfe\x82\xcbE^q\x1cL\x97\xa5D\xef$B.\xa1\x80\xb6\xd3{\xf5`\x1b\x03\xcf\x8cn\xd5\x86\x9c\xd3?\xc02\xf9\xb6fY\x8d\xe0M\xb6\x04G\xfdl\x0f\xb2\xdc}X`\xc5\x96,z\x0bI\xbdUYU\xa8u2\xc8\xdd\x02\xf1\xd0\xdf\xa6<\xfe\xd4:\xaa~\xd7\xbbX\xcc3y\x0b\xcf@\xaei\xe97\xf2{\xa0\xdc\x11\xff\x00\x19\xbb}-\xe9\x86\x06\x87\xe0\xac\x13lD(\xfbJ\x1d\x01\xd8y\xf4\xf1\xa9\xf4[T\xdf\xea\n\xbb^[on\xe6\xa7}\x93\xe8\xe6\xa4\xcba\xa9+\x08\x89\xb6Y\xa4k\xc6T\x03{\xdb\x9br\xbf\x96,\xdfg\xdd\xa2\xbeWEKO\x9bT\x03\xf8\x87c\x1c\x8de\n/\xc0\'\xca\xe4\x1b}\x81\xc0\xbbKPS\xe5\xdaZ\x12\xe8b\xa5\xa6\x95\xdd\xa3[n\xdanl=\xcd\xc1\xf6\xe3\x8c}\xcdj\x9a\xa6\x18\x11b\x11\x10\xad\xfc\xb5\xf9W\x91\xc0\x07\xc8r=\xed\x80\x8ej\xcei\x0f%\xf6U\x98\x98\xeaL~\xdb\xd1K\xf6\x11\xab\x15!\xd1\x89\xdf\xa5YL\xc7OP\xe7\xee*\xe1~\xe6\xa5\x96\xdd\xeay\x8fq\x84u:J\xa8\xd1\xa2$\xf1K(7k\xddA\xb0\xe2\xd8\x00\xe5\x9a\xfb<\xd2\xf1F2\xea\x8e\xfe \xc0-<\xe0\xbd\x96\xc2\xf67\xb8\xfa_\xd7\x12\xec\xbf\xe2\x0e\xad\x04k\x99e-\x10cn\xfd%\xf0\x93\xec\x08\xb9\xb7\xb6\x1f-=+\xd1\xefS7 \xa1df&<qH\x8f\xe8:\x8d\xbf\xe4\x90\xa4\x8d\xb6\x9f\x81\xa2lZ$\xd53\x8a\xa5\x88D\xeaU\xb6\x9b\x92\x08\xb1\xc2\x9d;\xa32\xed5L\x8a\xd2\x9a\xb9";\xbb\xd9\xac-\xe9\xc7\x96!9\xefm3e9Q\xab\x87$\xab\xae-\x11\x961\x04\x91\xedan9\'\x14\xfbX||\xeb-T\xf2\xe5\xd9&OI\xa6C1\x8d\xe7\x9d\xbf\x134d\x1b\x1b\xdc\x04S\xe5\xf2\x9c33\xaa\xe9\xc2K\x00\xa8\xa7\xeb\xb6\xf5R\xd7D\xd55\x05\x10\x00\t\xe7\x91\x8f\xad\\\xbe\xd5\xfbj\xcbtLKB\xb3E.oR\x87\xf0\xf4\xa5\xb9#\xa6\xf6\xb7E\xbf\xe7\xd0c\xcfn\xda\xfb\x0b\xd4\x9a\xbb2\xcc\xf5<\xb5\xb2U\xd7\xd6\xb1\x9aY&\xbb\t\x18\xf0\x01\x1f\xd2-`\x00\xe8\x00\xe3\x1f2\xdc\xee\xbf8\xceEncW.a\\\xced\x92\xaeggv=l\xc7\xd0\x13\xd7\xa0\xe0ql[\x8e\xcbs\xba\x0c\xcfM\xc3E\x9a\xca\xaf\\\xfc\xa4\x05\x0e\xf6\x8c\xfc\x9b\x8fK\x9fO\xa6\x12\xee\xb5[\xab\xab\xce2\xe0H\x03\xd9\x06"gc\xdc\xd3\xa2t\x84\xe8l\x05!<d\xfb\xd8\xcf\x97@*\xb8\xff\x00\xb3\xa7+9Mn\xae\xcbs\nv\xa6\xcd)k<pM\xf3.\xe4\x04\x11\xf9^\xe3\xae\x0e\xdd\xa17\xf1\x1d\x7f[\xde4\x80\xd3\xaa\xc0\xb1\xb1\xb2\xed\x00\x1b\x8f\xa98\xe24\x82vS\xda\xb4Z\x9e*v\xa6\xcb\xb3P\xb45\x8ex\xb9RLl\xc3\xda\xec/\xe9oLO;B\xc9"\xfe!G\x99\xd1R\x8d\xf5\x82\xd3T\x01}\xc4\x01\xb7\xe8m\xf9\xdb\x06\x18w\xfeF\xd5\xc5\xc7\n\x82\x81P\xcc\xec\x07\xc2v\xedK7\x85-\xde%\xc0e*\x18?J\x89\xe5\xca\xf4\x81\x19\x11\x81>{\xad\xfb\xff\x00\xd7\n3L\xcb9\x93S\xe4\xb9v]\x90\xa3\xe5\xf2\x03%vs<\xca \xa6\x8c\xf5]\xa0\xee$\x81\xd7\xc8\x91`y\xc6@\xcbG-\x85\x9e\xa0\xff\x00O\xa1\xf7>g\xdb\x0b\xa5\x81\xbf\x06\xf11\xbc\x92\x86\xdco\xd4\xdb\xfeg\x16\x1a\x84\xe0r\xaa\xe6&H\x9f\xbd\xfc\xaa;\xa9\x1a\x96\x8b;\xa9\x86\x82\xa3\xf1t\xb4\xfe\x01)\xdc\x15\x05\xb9\x00\x0em\x7f?<iIP\xd2B\xdf\x85p\x88\xc3\x96\x84u\xe3\x9b\x1e\xb8\xef&L\xadT+\xbcQ\xba\r\xb2\xed\xebkX?\xd4q\x7f[\x0c=i\xec\xa5kj{\x83N\x01\x92\xdf\xcd\x8f\x82O\xaf\x1ex\xf9\xae%,\x92"O*\xe1|)@\xe7\x15?\xa2\xa5o\x1fyq~7\x10T\x00?o\xa7\xdf\x1c\x8b\xc3\x1dAm\xa6\xa6Usg\xd8YWw@\x01\xeb\xc7\x1d=p\xfb\xaah&\xa0\xcc\xd82\x17\x85\xda\xf1\xff\x00\xa4\x0f\xa7\xf6\xf6\xc4c\xbbjz\xb8]\x06\xe9\x9c\x82Y\xdb\xfaA7\xe9\xd6\xe4\xf9\xfa\x0c$\xdd\x91hC\'t\x98$\xcf\x91\xeef\x8e\xb2\xa0\xfax\xe7qK!\x9b\xbd\x96ief\x90\x7f\xa4\x80:y[\xa7\'\x92=\x86\x1c\xf2\x8di6T\xe9\xde/\xf2Y\x8a\x01\xd4\xa9\x1dp\xcb,OH;\xb4\x90\x962Z\xfdK7A\xf4\x02\xf8t\xa6\xd1y\x9eu\x08)\x14t\xd1\xb0\x0c\xaf(;\x81\xb5\x89\xb7_B\x0f\x1d1\x15\xb2\xee}d[\x82U\xbe3\xbdx\xf0\xb7\t\xfe\xb1\x10h\x80\xb2e\xfa\xb2\x88nux\xcf\x88r7\x0f#o\xcf\x11\xea\xfd\x1dUK6\xf8\x1d\xaa\xa2o$\xb0p<\x85\xb0\x9a\x8b\xb3\xbc\xc3."Z\\\xd1`\x9a\xc0]!\xe3\xee\t\xf3\xc3\xb3\xd5\xe7\xf9*\xb7yO\x16d\xa0\x0f\x14D\xab\x90\x07Nx\xbd\xfd\xf0\xdc\xe0]\xc2\x02\xaf\x98RH\xfe\xe1\x9f\x88\x19\xfd\xa9x\x10\xca\xe2\xd5\xd0GC\x8f\x9d2\xc5\xa5\xb3J\xdd\xf253)\xda\xf7$\xd8\xdb\x90\x15o\xcd\xce\x1b\xe1\xd2y\x84\xf5\xcb\x1ct\x92BUv\xafy\xc2\xa8\xb1\x03\x9f\xbd\xef\xe7\x86\xfdk\xf1c\xa2\xfb<v\x8bQV\xbeIR\xab\xb9\xa3\xaa\xa7\x945\xbd@\nn=\xc6!yO\xc7\x86\x89\xd6)/\xf8Yj\xf3\xed\xbe\x13$4\xed\x12\x06\xe3\x8b\xc8\x05\xfa\x8f,\rv\xcfK,\xf1\xa9j)\x06I\x83\xbe9\xc62(\x9bi\xd4\xd5\x80\xd6\xe3\x1c\xb1\xd7|\x8a3\'f\xd1\xb6\\\xd05Y\x82fm\xe5\xe2_\x08\x1f\xe9\xe7\x9eG\xbd\xf1\xcf,\xd3\x99f\x9b\x12\xcbP\xc2c\x19\x06\xe7\xc2.:X{q\x8a\xe7\x9e\xfc\\j\x9a\xfa\x8a\xdc\xbf/\xd3\xf4\xb4\x12C{\xc95Q\x91\x88\xf3\xda\x14\x0b\xdb\xd2\xf7\xc0\xf3P\xea\xcd[\xaeT\xcb_\xa8k"\x82\xa1\xf9\xa5\xa3\x8f\xb9B-bI\x06\xe7\x8e\xa2\xf8\xa0\xf5\xd6\x9a\xc1B\xad\xda\x12\x91\x82N>\x1dh\xbd\xb6\x87\xa8<\x08\xb9p%\'\xa6O\xed\xfc\xd4\x93\xe2\x83\xb7\n\xadi[.\x8f\xd3\xb2\xee\xa6BR\xba\xb5\r\x81\x07\xff\x00%O\xbf\x1b\x8f\x97O3h\x17c\x99FQ\x94g\x05\xb3\xa6h\xa9"\x88I4\x11=\xea\x02\xda\xe1\xd5:\xb2\xfb\xad\xfa\x91\x8c\xd3\xfa\x1dh\xea\x16I\x10:FM\xc5\x98(\x1d\t\xb0\xbd\x86\x1c;P\xd6\x99\x1ff\xf4y]6}\x91\xc7L\xe6\x91\xa7\xcb\xea)jK\xcd\xb7q;\x80(.\xac\xc4\xddM\x80\xb7_<P\xb7x\xdf\xb8\xae\x1c\x9d\xce\x0eOx\xe5N%\x08\xb4\xb7M\x95\xa8 \x1eb\x01\xeerw\xa3\x96E\x93\xc1\x9b\xc9\xdce\xcd,\xd4T\x905mL\xae\x85\x1a@\xb71\xc6\x14\xf3\xcb\x0b\x93\xec0\xd5Z\x9bbY\x18\x82\r\x81\x7fS\xfdD{\\\xe2_\xa0tu%\x16\x91\xd3z\xb6\x87\'\xa9:\xd2\xaf$\x15)\x11\xac*o4jZ2\x0f\x80\x12\x08\x00\x90@\xb08`\xd59\x15C\xc9O,\x19viIM\xdd\xa9\x92\x1c\xc8\x07}\xf7<4\x8aH#\xd2\xd6\x03\xc8b\ro\xd1\xf7Qd\x97\x88\x85\'\xde\x00\x13\xbcFONb\x96-5\x149r\xa6\xd2\xa9N\xd2`\x19\x1b\xe0\x1e|\x8dG%\xaa\x8a\x07\xdbO\x1aH|\x8b\x0b\x8b\xfd?\xe7\x84\x1b\x1a\xa6R\xf3\x13#_\x92\xc7\xcb\xfb\x0cw\x92\x8d\xd9\xcf\xf2\xbcw\xe5G\x97\xb5\xbd0\xad!x\x82\xa9\x8c\xaf\x1d]x\x18\xcbx\x82\x01\x02\x9bGZ$\xf6yGG\x9fi:\xda\t\x91\xa7\xfc;l\x8cm\xb3\x04apG\xdf\x1ez\xf6\xdd\xa5[J\xf6\xdd\xa8h\x11]a\xa8\x95j\xa2[\\\xff\x001nG\xff\x00\x98lz\'\xd8\xc5\x0c\xb2M\x9aTm\x1d\xd1\x84D\xb2\xf3}\xdb\x89\xf3\xf6\xc5B\xf8\xb1\xcaZn\xdd\xd1iRJ\x89c\xcbVI\xe6R6\x8f\xe6\xb0[\x93\xc6\xe3v\xe3\xfd\xde\x98\xd74\x82\xa4\xdb\xb0\xf2\x84q \x83\xe4pO\xc2\x05\x07\xd2\x9d\rjO\xb2\x0e\x08\x07\xcf\x15\x1a\xd2\xb4\xb1S\xd3\xac\x92\xba\x8d\xac\xa1i\x90\x10[\x91}\xc7\xcf\xa9\xe3\xda\xe7\xdc\xaf\xa5%\x9e:\x94x{\xce\xf0\x9eX7$\xde\xff\x00\xdb\xf4\xc0\xcbLe\xae\xf2)\xba\xc93\xb8f\x00\xee!\x88\xb0\xb8\x1fC\x83-&U[\x96\xc1NM%J\x06V\x0fh\xd9B\xa3y\x16\xe2\xfe\xa6\xd6\xea>\xc05\x03\xeb\x14I\xdb\xefjd}\xc4\xa7\xd9;\x9a:\xe7\xb4\x90k\xfe\xcd\x1a:\xa9\x15\xaa\\l\xef\x15C^A\xe7\xf9u\xf4\xc4S\xb1}}E\xda&\x9a\xcd\xf4\xa5}I\x87>\xc9\xa5j\n\xeav6\x96"?\xcb\x7fp\xcbfV\x1c\x10~\xb8Y\xd9nu\x0e]\x97WC\\\xe2H\x9d\x07t\x8c\x84\xdd\xadb>\x96\xb6\x03\x19\x97\xc2\xdem\x98v\xe1\'iy6\xb6\xab\xd2U\x12G\x1cMOAJ\xae\'\n\x0f\x12om\xac\x84m\x16*z_\x8c=h7k\xb9q\x0f\xa8aH \xe0\x99 \xc6|D\x90k1\xbf\xb3\tJ\xd9\xff\x00\xe5R\x93\xb4H\xccxQ\xa94\x1d~[]\xdc\xcb\r\xd3u\x92d\x17V\x1eF\xfeX\xeb\x0eU,\xf9\xc1\xa7Pl\x97\x88.\xdel:\x9f\xcf\x0fT\x1a\x83=\xa3\xa6\xf1<5\xa5\x13\xac\x9e\x06b\x0f=8\xf7\xfd1\xd3\xfcu\x99B\x1eI\xb2b\x19Wqh\x9c1\xb7\xe5|8&\xdd\x94\x81\x12\x91\xdc\x13\xfb\x8a_W\xe2\x04\xc8\x04\xf6"\x992\x1d5SW0\x88\xc2\xc6\x06\x05$g_.\x87\xef\x89L4\x19F\x85\xa1i\xe6\xa8\xde\xf1\xa1\xf11\xb5\xac<\x86\x01\xfd\xb3|[Vv[Oz\x8d\'\x9d\xd5\x07P\xc2\xa6\x9a\x00\xd4\xa9\xe5\xe3\x96\xfe\x13\xf5\\V\xac\xc3\xe2j\xa3\xb4\x8a\x86|\xf75J*\x077\x19}!\xb8o\xa9\xea\xdf\xa0\xf6\xc7.\xdc"\xc9\xae6PV\xaeX\xfaWM\xe9\xf7w\xa7>\xcak\xd2m)\xac\xa85\x95\x03R\xd5\x1d\x95*\x0e\xf8\\\xf2\x07\xa8\xc2\xd6\xd0\x14\xd2\xd5\xa5JN\xac\x88\x0c\x89\x19O\xea\xb1\xb1\xbfL\r;B\xd1\xb9\xb6\x98a\x9aee\xe7\x86/\x17s\x18&H\xacN\xe6[|\xe2\xc7\xe5\xeb\xc0\xeblv\xec\x9b\xb6Y5v\xa3L\x82@\xcdR 3o1\x95\x1bG[\xf5\xe7\x91\xf9\xe1A\x0f\x14:\x8b\x1dY\xae%\xc8\x85F\xe6q>tQ\xdb%\x16Uw\xa7\xaf\xd8\xc9#\xa7Z"dy\r>IB\xf9\x8dr\xee\x98\xdd\xce\xe3{s\xfb\xf4\xc7\x195\x9dT\xf5;aE\x8a z0\xb9=/\x8f\xba\xdb<\x8d@\xcb\xca\x16\x0e\x01$\x1bm\xf4\xc3\x1d<J\xd1\x86V\xb9\xbd\xec\xddp\xc4\xe1\x16\x1c6\xd6\x98\x808\x8f2h+I\xfcL\xbdp&v\xe9\x15\xc70\xcd*Z\xa9\xdai\xdd\xae\xc7m\xda\xddy\x1f\xb6\x1d\xf2\xcdA&WG#\xc8\xfd\xfa[\xc3\x1b\x1e/\x7f\\1f\xf4mU\x10#\x82\xa7\x9f\xec\x7fq\x84\x15o$\x8dO\x11w#\xab\x0b]\x8d\xfd\xbe\x83\xf5\xc7\x0c\xba\xeaW\xc6\x14I5#\x88l\xa7\x821N\xba\xf3\xb3\xad\x1f\xdb\xee\x94\xa9\xc956S\x15LsF\xc0#p\xf1\x9b|\xd1\xb8\xb1C\xee-\xf7\xc55\xd2\xbf\rs\xfc(\xeb\xea\xda*\xaa\x87\xcd4nk26_\x98H\x83\xbd\x82[\x11\xdc\xcdn.F\xd2\x18X5\x8f\x00\x8bb\xde\xc5\xaab\xc8\xc3\xc3D\x1d\xeaXm\xef\x82\x02\x17\x9e|\xed\xc6\x1e\xf5V\x9e\xa3\xedO\xb3\xfc\xcb\'\xcc\x90;TS2w\xaa,U\xadp\xe3\xddM\x88\xf7\x03\x16nYF\xa1j\xe5\xb00\xa3\x93\x1b\x123\xf1\xc7\xc2\xbe\xb2\xbdr\xc5\xf4\x95\xc9F\xdd\xc0;\x91UwTi\xaa:mM,\xcaV!U\x1aK\x14\x92\xdf\x83k\xb3\x0f[\x1e\x05\xfc\xcfLt\xd3\xb9\\1n\x96H\xa4\x9aV\xdc\xb0%\xec\t\xe6\xed~x\xf2\xe3\xcf\x08\xfb-\xcc\x7f\xc4Y&}\x96j)\xa6}C\xa6\xe7zyb\xf2\xdd\x15\xd6\xc3\xaf\r`x\xf5\xc4\x8a\x1a\x86\xcc"X\xe1@"$X\x93b\x00\xb8\x02\xe7\xc8\x1b\xfd\xf1\x8b_\x87m\xd5\xed\x819\x81\xbfm\xbeU\xaa\xb0\xe9Z8\x01\xda\x01?(\xf2\xac\x8d\xa1\xa1\x02*H\x12\xa6R@i\\\xde;\xfa\x04\x1f5\xbd\xcd\xb1\xc7_\xe8J.\xd04\x1es\x93UAOU_R\xd08\xcc\xea\x9d\x98\xd20}\x81\xd6\xc4X*\x19\x08E\x01O\x02\xc6\xf8s\xcb2\xf4\x15\x1d\xf3\xdc\x83\xff\x00\x98\x8b\xc8\xe8x\xfa\x0e\x7f/\\:\xe7\t\x1c*\x90C\x18\x1b\x9f\xbf\x9dT\xfc\xb6\x16\x8c7\xd0\\\x9fv\x18\xa7e}qhK\xcd\xe2\x06\xc3\x9fO,\xd4O$)iH\xdef|(\x83\x92\xebL\xb3-\xd3yfWK%m$ym<t\xe2\xaa5E\x95\xd2\x18\xbc6\xea\x17xB8\x06\xc7\xa7\\FuNwI\xa9*\x92\xa0\xbc\xd0\x98\xc5\xa6]\xf62\x1e\xa7m\xb8\xbd\xcf6\x1c\xe1\xa05\xdaH\xa3dt\x95,M\xba0\x17\xea=\x08${\x1c!xI\xa4\x85\\\\\x91\xbc\x11\xc6\xdem\x7f\xbd\xb1\x7fP\xf4\x92\xf2\xfe\xdf\xd48A\x03*\xc6$\x1c}(e\xae\x92\xc3\x0e\xfa\xd4\xc8?\xce\xf4\x9d\x92;\x86\x8a\x1d\xa3v\xed\xd2\x02I\x1fS\x8e\xd4\xe2\xa5eV\x12:o,.OSlb\xba\xb4+\xde\x14\xdd\xbbh@\xd7q\xef\xf4\xc4\x83Oi\x8a\x8c\xea\xb6\x08\xe9\xe5\x85wsi\r\xbc\xaex\xfe\xd8HCn>\xeaZlJ\x95\x10:\x9a:\xe3\xa8e\x05K0\x07Z&vsQS\x06\x87\x96j\xa52\x0e\xf1\xca\x16\xb1,\xa0\x7f\xd0\xe2\xbaR|7\xe6\x1d\xb8v\xb7\x99\xeb<\xfa\xba\xbb*\xd2\xd4\xd2\xfe\x16\x8a\x9e3\xdd\xc9X\x91\xf0\xcfn\x8b\x1b6\xef\x15\x89k\\XX\x9bgU\x93\xc2r\xdal\xa60\x16\x02\xa26U\xe0m\x1c\x9f\xcf\xfb\xe2\x15\xda\xa6\x7f=\x08\x8b#\xa4\x89\x92\x19\xe1&F\x00\x80T\x9d\xb6\xb8\xe9\xc5\xff\x00L~\x81\xb6\xd3T\xd3m\x87\xd5)m!$\xf5&$\n\xcd\x99\xd4\x9cK\xcb6\xc3\x85N\x13\x9e\x83\xaf\x8du\xd2y\'g\xfa*\t\xe0\xc9`\xcbi\xde\x98\x1e\xf9\xe2\x01\xa56\x1c\xdd\xba\x93\xf7\xc6I\xdaNT\xf4\xfd\xfa\xe5R\xb5;_\xc7.\xd5\xba\x8f;b\x15\x94\xe5\xb4\xf9]"\xab\xfc\xac\n\xf3\xcd\x81\xeb\xfaa\x9a)j\xb3yd\xa3\x08U\xa2~P\xfc\xa0\x83\xfb\x1e\xb8>\xd3\x8d\xa1\x01\r\xb6\x90;\x0f\x9c\xd5U\xdbq\xadKqjQ\xeaM\x12\xe2\xca\xb2]Y\x96\xcdW\x92\xa0\xa6\xac\x1d@\x00\x10O<\xf9}\xf1R\xfe \xbbt\xed+\xb1m[\xf8\x19\xb2L\xa6,\x8d\x945%l\x81\xe4\xfcK]AS\xca\xed"\xe4\xed\xb1\xe0\x12\t\x1d\x0c:\x83TW\xe8\xbc\xae\x93/\xa1\xadj*\xf9d2JR\xdb\x80Q\xe1@m\xd0\x92\t\xf5\xb67\x8eL\xb3\xe2+CfZWTE\x0c\xd9\xaa\xc6v\xca\xb1\xed\xef,/\xb9\x7f\xd2\xc0\xd8\xf1\xd3\xa8\xf3\xc4\xa1M\x8fe\x81\xc2\xae\x83\x00\xf8w\xab\xd6KU\xab\x81\xeb\x84\xf1\xb51\x99$\r\xa4v\xaa\x87\xa7>+\xfbC\xab\xcf\x12\xb6\xa6\xaa\x17\x82Y\xc4M\x96\xa58E\xb7R\x15\xaeO\x01\x94\xde\xfe\xb7\xc1*\xb7\xe3er\xedP\x99Bd?\xc5i\xe9\xad\x1dE}<\xe6\x1d\xf2\x83\xe3\x08\x08\xb6\xd1\xc8\xb9\xb5\xc8\xe81\\hr,\xcbCv\x95\x99\xe4Y\xa5E\xdf+\xad\xbb\xbd\xb9d\x02\xe5\xd5OK\xa2\x83~\x9d\x06:eY$\x95\xd5\x15u\x8b\x10\x80\xd5N\xec\x14p\x14\xb7\x88\xaa\xfd\xaeM\xf1\x0f\xe3\x1cna[\xc4|\xebM^\x9b\xa6\xdc\x80\xa56"1\x18\xdfm\xaa\xfdi>\xd04\xb7k\x19\\\x83.\xa8Z\xed\x87\xbb\x9a\x9ehJH\t\xe6\xc2\xfdG^G\x18\x19j_\x87\x8c\xa7,\xaf\x9f5\xcar\xaat@w\x14\xa6\x88,\x80\xdb\xc4x\x1f^<\xf1Xi\xb5n\xa0\xec\xd6\x98\xd7e\x15rP\xbe`\xfbU\xc1\xb3\xacHT3/\xa5\xcb\x01\xf4\x07\x16\x13\xe1\xbf\xe2\x1f;\xd5\xd9\xd0\xc8uCCU4\x8bx\xebH\x116\xf0lc+\xc0c\xfa\xe2\xcf\xadgPl!\xf0R\xa3\x80\xa4\x98=\xb34\xb3{\xa1\\\xe9\xe1O\xd9+\x89\x03%\'x\xe7\xe3\x15v\xb4\x16\xa7mK\x97\xbcu\xb2\xac\x8cI\x11\xbd\xac\\t\xfd\xfc\xf0=\x9f\xb3\xa7\xd0\x1d\xb3e\xba\xaf/H\xe2\xcbk{\xdaL\xc2 \x05\x90\xb8\xf0L\xbf\xe9\x05\xc0\x0c=H>g\rY%EV]]OV\xd5M\x0c0J\xa7\xbaC{(>v\xe4\x93\xe9\xe7|\x19\xe8s:={\x92\xb1\x88\'z91\xdfp\x03\xdf\x16]a7\xed\t\xfc\xc4e\'\xb8\xcd-\xdd\xb4\xbd1\xd5\xa9\xaf\xcaX!@l\'\x1f\xf7L\xba\xcf+\x96l\xce*\x94\x0c\xd1\xbam\xe3\xc8\xe1\x02\xc2a\x81VVH\xb6\x8e\xac\xe1p\x9b*\xd6\x7f\x80\xd4\xb5\x9aG:&\n\x87\x89\xa5\xa3\x94\x1f\xf3\xa2\xe8l\x7f\xd4\x84\xd8\xfd\x8fC\x8d*\xb2\xaa\x9c\xae\xa4\xc6A\x90\x11\xe1\x90\x13\xe2_[\xe0+\x9c\x0bR\x9e\x00\xe4\xc2\x87C\xff\x00|\xa8?\x02\xd8\x86\x95\xb4H=A\xe9Nt\xf5\xf4\x8fK-<\x95L\xcd"\xecY\x16-\xdb\x0f\xaf=\x7f\\7jl\xa8C\x1aU\xc5zX\xa5\x90\xc4\xe6V\x1b\xdc\x80-`<\x8d\x89?\xf2\xc7\xc5\x8f\xf0\xd0<\xef\xe0\x03\x81\xee|\x80\xc3d\xf55\rDwH\xee\xaa\xfb\x8a\x16\xe0\xdcZ\xf6\xc7\xc6\xe1\x01\xbe\x02\x9c\xf2>\x15\x17\xab%|I4\x9e:z2\xe9\xde6\xfb\x1f\x94!\xbd\xfdy\xc1\x0bI\xe6\xd4\x84\xa54hB\x95\xb0sk_\xe9\xd7\x03\xfc\xb9\x16\xb6Km1I{^\xc6\xc7\x13\xcd5\x96=#\x99$\x01\x15<_LG\xa7\xba\xb2\xf0P\x1c\xea;\xa4\'\x84\x82j\x98\xe7\x95\xd1\xe8\x1f\x8d\rY\x97+\x0f\xc3\xe7t\xf0Vwr5\x91\x99\xe3\n\xe4{\x02\x87\xf3\xc1\xa3Rh92(R\xb2\x95\xbb\xec\xbee\xe4\'&& u\xb7PM\xf9\xfbq\x80/o\x141\xf6\x81\xf1\x15Y]\x94O\xb2\xa3.xi\xd2x\xad\xbddAr=\xfa\xd8\x8f\xae,\xeff\xda\xc5r\xda8\xf2\xac\xf9\x0cS\x88\xee\xae\xe2\xea\xca\x07 {{a\x1bX\x16\x97Wjig\x84+\x01\\\x92F\xd3\xd8\xe2\xb4\x04\xad\xe6-\x9au\xbc\xa8\x01)\xe6Do\xe2*\x13\x0c\xcf\x96\xd2\x19%\xf1\x90\x0f\x80\xb5\x81$\x80\x01\xf6\xe3\xf2\xfa\xe3\x8c52TKU%\\\xbd\xe9s\xde~\x1e4\xda\xae\xe4x}\xec:\xdb\xd8`\xa5\xactm&\xaa\xcb)\xea2!\x05<\xf66\x8a\xc1RA{\xfd\x8f\x1e\x7fL\r\xbf\xc3\xb9\x9e_R\xd0KCQ\x14\x80\x81s\x19;\xad\xe6\x0fC\xf5\xc2=\xed\x8d\xce\x9ep8\xd0@\x85\t \xe3\xefz\xbfmv\xcd\xd2J\x8f\xb2\xae`\xee3\xf7\xb5k\x14\xef\x1dY\x94\x9d\xc4\x90\xc5\xba\x02H\xc7\x0c\xf1\xe4\x8e\xbd\xe9\xe2\xbfs\x19\xdc\x80\x8eX\x11\xba\xe7\xf3\xc3\x95\x0eI\x98\xe6\x13\x15ZY\x19\xb7"l\xd8E\x8fO>\x96\xe7\x13w\xecr\xaa\xb2\x96\x9ayk\xa3\xa4\x9cFVH\x9dK\x9b_\x8bX\xfaq\x8avZm\xf5\xf1X\xb7l\x91\xb9;s\xdaML\xf5\xfd\xb5\xaa\xd2]X\x1c\xba\xfc\xa8x\x99|2$r35\x98(\xb8[\xd8X\x92\x7f\xf6\xfd\xf0B\xec\xc7 \x96\xb76\x8f3_\xe4\xd0R\xeeU2r\xc4\xda\xdfK\xf3\xcf\xe5\x875\xd2\xda_Ie\xae\xf9\xa5B\xca\x05\x83\xb4\xef\xb1<?~\x98\x13v\x85\xf1-OJ%\xca4Lq\xd7\\li\xe3KS\xc0:^\xe3\xe6\xfb~xh\xb3\xd1\xc5\x83\xa8\xb9\xba \x94\x90xA\x93#"N\xc0u\x8d\xe8c\x8f=\xaa\x02\xc5\xaaL\x1cq\x1c\x009\xd5\x86\x8f>H\xa93l\xc8\xb7y\x15.\xe5\x07\xfe\x11\xc8\x1f~0#5\xf5Y\xb4\xd2U\xd6\xcc\xd3\xc8\xe7u\x98p\xbe\xc0y[\x1f>\x1ad\xccu_d9\xcd\x1ee;\xcb_5mI\x13Hy;\x88a\xf6\x04\x91o+a\xab;\xa7\xa8\xcaL\xb4S\xd4,Uh\xdb\x19#m\xcc\xbc\\\xdc\x0e\x9ct\xbd\xb1\xa72]z\xdd\xb7\x0eA\x92ci\x9d\xbe\x1did[\xa6\xda\xe5\xd6dq$\x81\xe5\xd4W:\xb9\xea+\t\xeew4`\x90\xd0\x11\xe2\x03\xd5O\x9f\xef\xf5\xc2<\xc7RM\xa6\xb4\xf5+QP\xcd%md\xcc\xb5Y\xac\x90\xde\n8\x92\xc2\xe4\x9e\x0b\x1e8\xeaM\x80\x04\x9bc\xed#\xa3%\x91\xe6c\xd0\x92\x02\x9f\xaf\x9e\x1e3|\x92l\xe7*\xa6\xa7x\xa9i_:zjv\x9e\xb2Ie\x06\x18\xc9\xdc\xcd\x11e]\xc0\x91\xb1\xd4\x82\r\xaeH `\xabM\x95\x02\x12s\x15#\x85)\x84\xafi\xa0\xedvt\xf9\x9eh\xf2\xcaY\x8b\\n\x99\xf75\xc9\xf3\xf7\xf5\xf7\xc4\xaf\xb2\xba*\xba}w\x94\xd6\xc1\x1c\x85R]\xb2\x10\xa7n\xd2\x08#\xf5\xbe\x07\xd9\x9c\xd5\x149\xa4\xf1SS\xad$\x11L\xc8\x95Q\x01!\x90)\xb0;\xf9\x1e^V\xc4\x8e\x86\xae\xb2jx\xd5\xabd*\xa7p\x94\xc8n\xad\xe4\xdf\xf5\xc5\x16\x94\x03\x92w\x06h\xb3\xcdK>\xad\x1b(E\x0e\x7f\xda\x1b\xa4\x86\x96\xed\x0f!\xd4\xf4qwI\x9a\xc0\xd4U.\xbcn*n\x07O5f\x1f\xfaG\xa6\x07\x1aW2\x85\xf2X*\xdd\x12Hc\x84\xbc\x8a\xef\xc2\x93{\x93a~\x08\x02\xddO\xd3\x06\xcf\xf6\x81T\xc7\x9bv\x17\xa33)e\xefk\x16\xb6\x10d=I\xee\xe4\x0c~\xe4b\xa5\xe9\x8c\xdef\xa0\x86-\xbbVFUd\xf2\xbf\x99#\xd8b\xd5\xda3\xc6\x81\xcf\xe6\x01\xa3\xda#\x8a{OB\x17\xba$|\x0cT\xaa\xb3\'\x9b;\x9eL\xc2\xa1B\xc0\x80\xf7b\xfc(\xeb`>\xb6?\\v\xd2\x94kI\x9eET7CKL\xad+\x96^\x80\x1f\x13_\xcb\xca\xe4\xf9\x9c(\x8aUV-S>\xf5\x0b\xe0\xa6\x81.nzy\xf0~\xbc\x0c8KO0H)\xe2\xbe],s\x89U\xa2\x97\xe6m\xa3n\xefR\r\xfd\xbc\\\x0e\xa7\x03\x02\x14\xb1\xc1\xca\x99\xdb\xb8SR\x15\xce\xaf\xe0\xa1\x9aZ~\xf68R \xa2\xc9\xbf\x82\x05\xbd\x01\xb9#\xdf\x0e\xfd\x95L\xb9\x06\xa4H\x1aW\x7f\xc5/vck]O]\xdcy}p\xca\xf9\x8fx\x8e\xd4\xfe%n\xa4t\xb7\xd4\x7f\xd3\t\x132\xcc2\xc4\x15\x14RIM)6\xf0\x05\x17 \xf2X\x93s\xe7\xd7\r\x08q-\xad+\xe6)\x05\xd6Wp\xc2\xd91\xedb\x95|e\xe8\xdc\xc2\xaf\xb3\xb95F@\xcfO\xa84\xfb\xff\x00\x11\xa5\x9e\x13\xe3;?\xcc_p\xd1\xee\xb8=l03\xf8v\xf8\xe1\xd3]\xa0\xa5.\x9e\xd6m\x1eM\x9bq\x1452\xd8A?\xa1\x0f\x7f\x0bt\xe0\xfd\x89\xc5\xa4\xa6\x9d\xb5~\x81\xddT\xa94\x92\xc6RP\x10\x10\xf6\xb8<{\x8f\xdf\x1e/\xf6\x93\x91\x0e\xcd\xbbU\xd49\x0bB\x0cYva$Q\x86\xe6\xf1\xee\xba\x03\xff\x00\xa4\x8cqx\xd0C\xfe\xbd\xac\x15\t\xec{\x11\xce\xa0\xd0\xec\xd9\xd5m\x1c\xd3\xee\xfd\xf6\xc9\xe1#q\xe1\xdak\xd9|\xe3+\x82\xbe\x82\x03A\xb6\xa6\x15%\xcb\xa1\xb9\xe9\xc7O/| \xa2\xd2\xc2ji\xa3"\xec\xca@\xf68\xa2\xdd\x83\xf6\xf7\xa9t=\x05\x1cy~\xa0\x82\xb6\x89\xc7\x87*\xac\xdc\xe1\x07\x1e\x18\xc9\x1f\xcb\xf6\x17#\xdb\x16\xd7K\xfcTdsS\xa4\xb9\xe5\x04\xf9,\xea\xa7\xbc\xbc}\xea\xb1\x1dJ\xb2\x8f\xd2\xd7\xc2\xfao\xac\x1ez\x1f<\n\xda\x08\xc7L\x1a\x05{\xa2\xdf\xd8J[\xf6\xd3\xd4o\xe6?\x8a\x9bdZe\xa3bz\xa8"\xc3\xdf\xd7\x0c\x1d\xbe\xf6\xa7O\xd96\x83\xa8\x967W\xcd\xea\x01\x8a\x92\x9f\x8f\x1c\x84y\xff\x00\xba:\x9f\xcb\xcf\x0c\x19\xcf\xc5vO\x99e\xed&\x8f\xa1|\xe4\xca\xa0\x8a\x80\xa5!P\xdel\xddE\x8fQk\xfd,q_\xf5|Y\x9fhy\xe8\xccs\xfc\xca)\x9a3\xe1\xa7\x8d\tD\xbf\xf4\xad\xaf\xc7\x9d\xfa\x93\xcf\xd2\xa6\xa1\xac\xdai\xcd\x16m\x95\xc4\xb3"v\x81\xce;\xf2\xa9t\xbd\x1d\xfb\xb7\xd2\xf5\xdaxP3\x1c\xcfj\x85v\x1fE\x99U\xeb\xca,\xc6b\xf2\xc6*L\xf5\xd5\x0c\xb7[\x1b\x96\xdc|\xd8\xde\xf6\x18\xba\xd9\xff\x00g\xf4z\x93 \x96!\x04r\xbc\x912\xc4\xee-m\xc3\xd4slW\xcd3'... (set the log level to DEBUG or TRACE to see the full content)
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"}
${result} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${result.json()}
data
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/repeat/proxy-order
params=orderItemId=${orderItemId} &plateNumber=${plateNumber} &netWeight=30000&weighingDate=${datatime}&orderType=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663876360049135616%20&plateNumber=%E4%BA%ACR76859%20&netWeight=30000&weighingDate=2021-12-02&orderType=3
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663876360049135616%20&plateNumber=%E4%BA%ACR76859%20&netWeight=30000&weighingDate=2021-12-02&orderType=3
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663876360049135616%20&plateNumber=%E4%BA%ACR76859%20&netWeight=30000&weighingDate=2021-12-02&orderType=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":[{"column":"oi.create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'oi.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":15500, \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}" }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":15500, "settleWeight":null, "unitSurcharge":0.02, "transactionMainEnterpriseId":"15", "transactionMainEnterpri...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":15500, "settleWeight":null, "unitSurcharge":0.02, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"江高仓", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"京R76859", "otherAmountList":[ ], "unitPrice":"1.675" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/save/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/save/weightnote
path_url=/recycle-service/admin/proxy-sell/save/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '987'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":15500, "settleWeight":null, "unitSurcharge":0.02, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"\xe6\xb1\x9f\xe9\xab\x98\xe4\xbb\x93", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR76859", "otherAmountList":[ ], "unitPrice":"1.675" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/save/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '663876366621609984', 'contractId': '663533697236078592'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.020000,"surcharge":310.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":15500.000,"settleWeight":null,"deductedPoint":null,"settlePrice":21758.130,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"settlePrice":21758.13,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'status': 51, 'bizOwnerName': '张山', 'orderOwnerId': '554128866793361643', 'orderOwnerName': '赖勇兰', 'orderOwnerPhone': '18888888888', 'orderType': 2, 'activityId': '660531609048584192', 'activitySettleType': 1, 'isEntire': 0, 'activityStatus': 1, 'activityName': 'Ceshi_factory--两次', 'startTime': '2021-11-23 14:37:04', 'endTime': '2021-11-24 14:37:04', 'unitSurcharge': 0.02, 'surcharge': None, 'totalEstimatedWeight': 30000.0, 'deliveryTime': '2021-12-02', 'paperMillDeliveryTime': '2021-12-02', 'remark': None, 'attenssion': '663876360007192576', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663876360007192576', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663876360049135616', 'adjustMoney': None, 'unitSurcharge': 0.02, 'surcharge': 310.0, 'unitPrice': 1.675, 'weightnoteInfo': {'id': '663876366621609984', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'type': None, 'weightDay': '2021-12-02', 'settleDay': '2021-12-02', 'settleUtiPrice': 1.675, 'netWeight': 15500.0, 'settleWeight': None, 'deductedPoint': None, 'settlePrice': 21758.13, 'remark': None, 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg']}, 'logisticcsInfo': {'id': '5337', 'plateNumber': '京R76859'}, 'status': 52, 'displayStatus': 52, 'auditStatus': 1, 'preTotalMoney': 25962.5, 'prepayMoney': 22068.13, 'preSettleMoney': 21758.13, 'settlePrice': 21758.13, 'finalPayMoney': None, 'otherAmountDtoList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'deductionNotes': '2021-12-02', 'totalOtherAmount': 0, 'paymentType': 1, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': 0, 'unSettleMoney': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'weightNoteImageUrl': None, 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': '江高仓', 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': 1.675, 'settleUnitPriceIncludeTax': 1.8358, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-02 20:08:44', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-02 20:08:44', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-02 20:08:45', 'rank': 2, 'status': 1}, {'description': '已审核,首款结算中', 'time': None, 'rank': 4, 'status': 0}, {'description': '首款已结算,待质检', 'time': None, 'rank': 5, 'status': 0}, {'description': '质检完成,待审核', 'time': None, 'rank': 6, 'status': 0}, {'description': '已审核,尾款结算中', 'time': None, 'rank': 7, 'status': 0}, {'description': '尾款已结算,订单完成', 'time': None, 'rank': 8, 'status': 0}], 'paperCategoryName': '花纸', 'proxySellerSettleType': 0, 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': None, 'receivablePriceIncludeTax': None, 'refundSubsidy': 0.0, 'unitRefundSubsidy': None, 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663876360007192576', 'createTime': '2021-12-02 20:08:44', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'factoryName': '88纸业', 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
上次送货单-两次付款活动
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":753,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 753, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663876360049135616
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876367238172672","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":21758.130000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876367238172672', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'categoryName': '花纸', 'settlePrice': 21758.13, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663876366621609984', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876367238172672
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876367238172672
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"logId":"1466378804724387842","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:45","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378799997407234","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:44","operatorName":"赖勇兰","logContent":"订单预约","remark":null},{"logId":"1466378798177079298","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:44","operatorName":"赖勇兰","logContent":"下单","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1466378804724387842', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:45', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378799997407234', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:44', 'operatorName': '赖勇兰', 'logContent': '订单预约', 'remark': None}, {'logId': '1466378798177079298', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:44', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876367238172672/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876367238172672/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876367238172672/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876367238172672","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876367317864448","driverName":null,"plateNumber":"京R76859","netWeight":15500.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":21758.130000,"adjustmentFee":null,"unitSurcharge":0.020000,"receivablePrice":22068.130000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":24186.67,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876367238172672', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876367317864448', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 15500.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 21758.13, 'adjustmentFee': None, 'unitSurcharge': 0.02, 'receivablePrice': 22068.13, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 24186.67, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 25962.5, 'prepayMoney': 22068.13, 'preSettleMoney': 21758.13, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876367317864448
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 15500.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876367317864448
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15500.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":"${paperMillPayAt}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":"${publicSubsidies}", \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"663876367317864448", "categoryName":"花纸", "netWeight":"15500.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"京R76859", ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '575'}
body=b'{ "auditRequestItemId":"663876367317864448", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"15500.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe4\xba\xacR76859", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":"0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.675", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId} &operationStatus=2
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984%20&operationStatus=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': []}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876367238172672","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":21758.130000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876367238172672
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876367238172672
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876367238172672/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876367238172672/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876367238172672/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876367238172672","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876367317864448","driverName":null,"plateNumber":"京R76859","netWeight":15500.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":21758.130000,"adjustmentFee":null,"unitSurcharge":0.020000,"receivablePrice":22068.130000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.835800,"receivablePriceIncludeTax":24186.67,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876367238172672', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876367317864448', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 15500.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 21758.13, 'adjustmentFee': None, 'unitSurcharge': 0.02, 'receivablePrice': 22068.13, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.8358, 'receivablePriceIncludeTax': 24186.67, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 25962.5, 'prepayMoney': 22068.13, 'preSettleMoney': 21758.13, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876367317864448
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 15500.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 310.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 310.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876367238172672
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876367317864448
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15500.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 310.0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876367238172672
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876367238172672", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663876367238172672", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
Executes the given keyword with the given arguments.
获取送货单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId} &orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:48 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.020000,"surcharge":310.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":15500.000,"settleWeight":null,"deductedPoint":null,"settlePrice":21758.130,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"settlePrice":21758.13,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.02
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 663876366621609984
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.021
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 15500.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 15800.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.021
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 15800.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663876366621609984
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"15800.0", "settleWeight":null, "unitSurcharge":0.021, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"15800.0", "settleWeight":null, "unitSurcharge":0.021, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"江高仓", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"京R76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"15800.0", "settleWeight":null, "unitSurcharge":0.021, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"\xe6\xb1\x9f\xe9\xab\x98\xe4\xbb\x93", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:48 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '663876366621609984', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:48 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Executes the given keyword with the given arguments.
获取上传送货单后的订单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.021,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.021000,"surcharge":331.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":15800.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":26465.000,"prepayMoney":22495.250,"preSettleMoney":22163.450,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 15800.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.021
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15800.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.021
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46057","orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876380345372672","weightNoteId":"663876366621609984","orderCreateTime":"2021-12-02 20:08:44","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R76859","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":15800.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.021,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"江高仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":331.800000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-02","refundSubsidy":null,"isNoPeriodOrder":false,"firstSettlementPrice":22163.450000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46057', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876380345372672', 'weightNoteId': '663876366621609984', 'orderCreateTime': '2021-12-02 20:08...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876380345372672","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":22163.450000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876380345372672
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876380345372672
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876380345372672/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876380345372672/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876380345372672/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876380345372672","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876380433453056","driverName":null,"plateNumber":"京R76859","netWeight":15800.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":22163.450000,"adjustmentFee":null,"unitSurcharge":0.021000,"receivablePrice":22495.250000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":24654.79,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":26465.000,"prepayMoney":22495.250,"preSettleMoney":22163.450,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876380345372672', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876380433453056', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 15800.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 22163.45, 'adjustmentFee': None, 'unitSurcharge': 0.021, 'receivablePrice': 22495.25, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 24654.79, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 26465.0, 'prepayMoney': 22495.25, 'preSettleMoney': 22163.45, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876380433453056
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 15800.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 331.8
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 331.8
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876380345372672
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876380433453056
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15800.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 331.8
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876380345372672
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876380345372672", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663876380345372672", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
Executes the given keyword with the given arguments.
获取送货单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId} &orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:50 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.021,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.021000,"surcharge":331.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":15800.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":26465.000,"prepayMoney":22495.250,"preSettleMoney":22163.450,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.021
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 663876366621609984
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.022000000000000002
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 15800.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 16100.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.022000000000000002
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 16100.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663876366621609984
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16100.0", "settleWeight":null, "unitSurcharge":0.022000000000000002, "transactionMainEnterpriseId":"15", "tra...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16100.0", "settleWeight":null, "unitSurcharge":0.022000000000000002, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"江高仓", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"京R76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1043'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16100.0", "settleWeight":null, "unitSurcharge":0.022000000000000002, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"\xe6\xb1\x9f\xe9\xab\x98\xe4\xbb\x93", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '663876366621609984', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Executes the given keyword with the given arguments.
获取上传送货单后的订单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.022,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.022000,"surcharge":354.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":16100.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":26967.500,"prepayMoney":22922.380,"preSettleMoney":22568.180,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16100.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.022
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16100.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.022
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46057","orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876390541725696","weightNoteId":"663876366621609984","orderCreateTime":"2021-12-02 20:08:44","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R76859","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":16100.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.022,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"江高仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":354.200000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-02","refundSubsidy":null,"isNoPeriodOrder":false,"firstSettlementPrice":22568.180000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46057', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876390541725696', 'weightNoteId': '663876366621609984', 'orderCreateTime': '2021-12-02 20:08...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876390541725696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":22568.180000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876390541725696
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876390541725696
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876390541725696/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876390541725696/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876390541725696/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876390541725696","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876390625611776","driverName":null,"plateNumber":"京R76859","netWeight":16100.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":22568.180000,"adjustmentFee":null,"unitSurcharge":0.022000,"receivablePrice":22922.380000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":25122.92,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":26967.500,"prepayMoney":22922.380,"preSettleMoney":22568.180,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876390541725696', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876390625611776', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 16100.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 22568.18, 'adjustmentFee': None, 'unitSurcharge': 0.022, 'receivablePrice': 22922.38, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 25122.92, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 26967.5, 'prepayMoney': 22922.38, 'preSettleMoney': 22568.18, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876390625611776
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 16100.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 354.2
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 354.2
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876390541725696
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876390625611776
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16100.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 354.2
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876390541725696
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876390541725696", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663876390541725696", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
Executes the given keyword with the given arguments.
获取送货单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId} &orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:53 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.022,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.022000,"surcharge":354.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":16100.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":26967.500,"prepayMoney":22922.380,"preSettleMoney":22568.180,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.022
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 663876366621609984
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.023
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16100.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 16400.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.023
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 16400.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663876366621609984
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16400.0", "settleWeight":null, "unitSurcharge":0.023, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16400.0", "settleWeight":null, "unitSurcharge":0.023, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"江高仓", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"京R76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16400.0", "settleWeight":null, "unitSurcharge":0.023, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"\xe6\xb1\x9f\xe9\xab\x98\xe4\xbb\x93", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:53 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '663876366621609984', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:53 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Executes the given keyword with the given arguments.
获取上传送货单后的订单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.023,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.023000,"surcharge":377.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":16400.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":27470.000,"prepayMoney":23349.500,"preSettleMoney":22972.300,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16400.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.023
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16400.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.023
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46057","orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876400951988224","weightNoteId":"663876366621609984","orderCreateTime":"2021-12-02 20:08:44","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R76859","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":16400.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.023,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"江高仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":377.200000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-02","refundSubsidy":null,"isNoPeriodOrder":false,"firstSettlementPrice":22972.300000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46057', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876400951988224', 'weightNoteId': '663876366621609984', 'orderCreateTime': '2021-12-02 20:08...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876400951988224","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":22972.300000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876400951988224
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876400951988224
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876400951988224/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876400951988224/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876400951988224/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876400951988224","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876401035874304","driverName":null,"plateNumber":"京R76859","netWeight":16400.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":22972.300000,"adjustmentFee":null,"unitSurcharge":0.023000,"receivablePrice":23349.500000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":25591.05,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":27470.000,"prepayMoney":23349.500,"preSettleMoney":22972.300,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876400951988224', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876401035874304', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 16400.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 22972.3, 'adjustmentFee': None, 'unitSurcharge': 0.023, 'receivablePrice': 23349.5, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 25591.05, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 27470.0, 'prepayMoney': 23349.5, 'preSettleMoney': 22972.3, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876401035874304
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 16400.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 377.2
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 377.2
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876400951988224
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876401035874304
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16400.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 377.2
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876400951988224
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876400951988224", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663876400951988224", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
Executes the given keyword with the given arguments.
获取送货单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId} &orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:55 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.023,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.023000,"surcharge":377.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":16400.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":27470.000,"prepayMoney":23349.500,"preSettleMoney":22972.300,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.023
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 663876366621609984
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.024
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16400.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 16700.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.024
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 16700.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663876366621609984
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16700.0", "settleWeight":null, "unitSurcharge":0.024, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16700.0", "settleWeight":null, "unitSurcharge":0.024, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"江高仓", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"京R76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16700.0", "settleWeight":null, "unitSurcharge":0.024, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"\xe6\xb1\x9f\xe9\xab\x98\xe4\xbb\x93", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '663876366621609984', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Executes the given keyword with the given arguments.
获取上传送货单后的订单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.024,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.024000,"surcharge":400.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":16700.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":27972.500,"prepayMoney":23776.630,"preSettleMoney":23375.830,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16700.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.024
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16700.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.024
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46057","orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876411009929216","weightNoteId":"663876366621609984","orderCreateTime":"2021-12-02 20:08:44","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R76859","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":16700.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.024,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"江高仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":400.800000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-02","refundSubsidy":null,"isNoPeriodOrder":false,"firstSettlementPrice":23375.830000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46057', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876411009929216', 'weightNoteId': '663876366621609984', 'orderCreateTime': '2021-12-02 20:08...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876411009929216","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":23375.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876411009929216
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876411009929216
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876411009929216/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876411009929216/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876411009929216/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876411009929216","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876411093815296","driverName":null,"plateNumber":"京R76859","netWeight":16700.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":23375.830000,"adjustmentFee":null,"unitSurcharge":0.024000,"receivablePrice":23776.630000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":26059.18,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":27972.500,"prepayMoney":23776.630,"preSettleMoney":23375.830,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876411009929216', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876411093815296', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 16700.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 23375.83, 'adjustmentFee': None, 'unitSurcharge': 0.024, 'receivablePrice': 23776.63, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 26059.18, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 27972.5, 'prepayMoney': 23776.63, 'preSettleMoney': 23375.83, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876411093815296
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 16700.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 400.8
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 400.8
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876411009929216
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876411093815296
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16700.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 400.8
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876411009929216
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876411009929216", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663876411009929216", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
Executes the given keyword with the given arguments.
获取送货单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId} &orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576%20&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.024,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.024000,"surcharge":400.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":16700.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":27972.500,"prepayMoney":23776.630,"preSettleMoney":23375.830,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.024
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 663876366621609984
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.025
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16700.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 17000.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.025
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 17000.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663876366621609984
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"17000.0", "settleWeight":null, "unitSurcharge":0.025, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"17000.0", "settleWeight":null, "unitSurcharge":0.025, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"江高仓", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"京R76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"17000.0", "settleWeight":null, "unitSurcharge":0.025, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "orderItemId":"663876360049135616", "orderId":"663876360007192576", "settleDay":"2021-12-02", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-02", "isInvoice":"1", "warehouseName":"\xe6\xb1\x9f\xe9\xab\x98\xe4\xbb\x93", "deductionNotes":"2021-12-02", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR76859", "otherAmountList":[ ], "unitPrice":"1.675", "id":"663876366621609984" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '663876366621609984', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Executes the given keyword with the given arguments.
获取上传送货单后的订单详情
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.025,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 17000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.025
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.025
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46057","orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876421101424640","weightNoteId":"663876366621609984","orderCreateTime":"2021-12-02 20:08:44","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R76859","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":17000.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.025,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"江高仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":425.000000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-02","refundSubsidy":null,"isNoPeriodOrder":false,"firstSettlementPrice":23778.750000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46057', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876421101424640', 'weightNoteId': '663876366621609984', 'orderCreateTime': '2021-12-02 20:08...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876421101424640","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876421101424640
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876421101424640
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876421101424640/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876421101424640/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876421101424640/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876421101424640","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876421185310720","driverName":null,"plateNumber":"京R76859","netWeight":17000.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":23778.750000,"adjustmentFee":null,"unitSurcharge":0.025000,"receivablePrice":24203.750000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":26527.31,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 2, 'auditRequestId': '663876421101424640', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876421185310720', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 17000.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 23778.75, 'adjustmentFee': None, 'unitSurcharge': 0.025, 'receivablePrice': 24203.75, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 26527.31, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876421185310720
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 17000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876421185310720
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":"${paperMillPayAt}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":"${publicSubsidies}", \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"663876421185310720", "categoryName":"花纸", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"京R76859", ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '575'}
body=b'{ "auditRequestItemId":"663876421185310720", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe4\xba\xacR76859", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":"0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.675", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876421101424640", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"663876421101424640", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:08:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
1
Slept 1 second
运营审核-两次付款活动
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list
params=pageNum=1&pageSize=10&status=&orderId=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663876360049135616
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876421101424640","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","weighingDate":"2021-12-02 00:00:00","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663876366621609984","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":1,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
${auditedTime} = None
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984&operationStatus=3
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${reps} = <Response [200]>
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663876421101424640","adminId":null,"isPass":1,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663876421101424640","adminId":null,"isPass":1,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': None}
Pauses the test executed for the given time.
1
Slept 1 second
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "id":"${auditRequestId}", \ \ \ \ "adminId":null }
${data}
${data} = { "id":"663876421101424640", "adminId":null }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '53'}
body=b'{ "id":"663876421101424640", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
代卖应付
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-payment-order-list
params=pageNum=1&pageSize=10&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"663876426428190720","orderId":"663876360007192576","orderItemId":"663876360049135616","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","settlementDate":"2021-12-02","settlePrice":23778.75,"bizOwnerName":"张山","paperMillPayAt":"2021-12-27","status":0,"isInvalid":0,"weighingDate":"2021-12-02","paidPrice":null,"bankFlowNo":null,"remark":null,"auditRequestId":"663876421101424640","receivablePrice":26527.310,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"663876366621609984","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"663876360007192576","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
${paymentOrderId} = 663876426428190720
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '663876426428190720', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'settlementDate': '2021-12-02', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'paperMillPayAt': '2021-12-27', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-02', 'paidPrice': None, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '663876421101424640', 'receivablePrice': 26527.31, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '663876366621609984', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '663876360007192576', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': None, 'firstPaidTime': None, 'secondPaidPrice': None, 'secondPaidTime': None, 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Makes a variable available globally in all tests and suites.
${paymentOrderId}
${paymentOrderId} = 663876426428190720
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876421101424640/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876421101424640/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876421101424640/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":2,"auditRequestId":"663876421101424640","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":1,"auditStatus":2,"settleStatus":2,"weightNoteImageUrlList":null,"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663876421185310720","driverName":null,"plateNumber":"京R76859","netWeight":17000.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":23778.750000,"adjustmentFee":null,"unitSurcharge":0.025000,"receivablePrice":24203.750000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.835800,"receivablePriceIncludeTax":26527.31,"preReceivablePriceIncludeTax":null,"noReceivablePrice":26527.310,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivablePriceIncludeTax
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 26527.31
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 26527.31
Makes a variable available globally in all tests and suites.
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 26527.31
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 26527.31
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }
${data}
${data} = { "paymentOrderId":"663876426428190720", "receivablePrice":"26527.31", "paidPrice":"26527.31", "noReceiveblePrice":"26527.31", "bankFlowNo":null, "paymentAdjustmentFee":null, ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/update/payment-order-status
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
path_url=/recycle-service/admin/operation/update/payment-order-status
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '233'}
body=b'{ "paymentOrderId":"663876426428190720", "receivablePrice":"26527.31", "paidPrice":"26527.31", "noReceiveblePrice":"26527.31", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
5
Slept 5 seconds
代卖应收
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order-item-list
params=pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","weightNoteId":"663876366621609984","orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-02","millSupplierName":"测试111","plateNumber":"京R76859","operationReviewStatus":51,"createTime":"2021-12-02 20:08:44","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":"2021-12-02 20:08:59","reviewOperatorName":"赖勇兰","activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activitySettleType":2,"weightNoteType":1,"netWeight":17000.000,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","rejected":false}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'weightNoteId': '663876366621609984', 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-02', 'millSupplierName': '测试111', 'plateNumber': '京R76859', 'operationReviewStatus': 51, 'createTime': '2021-12-02 20:08:44', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': '2021-12-02 20:08:59', 'reviewOperatorName': '赖勇兰', 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activitySettleType': 2, 'weightNoteType': 1, 'netWeight': 17000.0, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'rejected': False}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
orderItemId
${orderItemId}
${orderItemId} = 663876360049135616
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 663876360049135616
Fails if objects are unequal after converting them to strings.
${reps.json()["data"]["records"][0]["orderId"]}
${orderId}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.025,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":null,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":null},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":51,"displayStatus":56,"auditStatus":0,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-02","totalOtherAmount":0,"paymentType":2,"activityNoteStatus":0,"activityOrderAuditPassNum":1,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":"2021-12-02 20:08:59","rank":4,"status":1},{"description":"首款已结算,待质检","time":"2021-12-02 20:09:02","rank":5,"status":1},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.025
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${unitPrice}
${unitPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
millSupplierId
${millSupplierId}
${millSupplierId} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillSupplierName
${paperMillSupplierName}
${paperMillSupplierName} = 测试111
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
surcharge
${surcharge}
${surcharge} = 425.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
paymentType
${paymentType}
${paymentType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
activityNoteStatus
${activityNoteStatus}
${activityNoteStatus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Logs the given message with the given level.
${contractId}
663533697236078592
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.025
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${millSupplierId}
${millSupplierId} = 660525241805705216
Makes a variable available globally in all tests and suites.
${paperMillSupplierName}
${paperMillSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 425.0
Makes a variable available globally in all tests and suites.
${paymentType}
${paymentType} = 2
Makes a variable available globally in all tests and suites.
${activityNoteStatus}
${activityNoteStatus} = 0
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderId":"663876360007192576","orderItemId":"663876360049135616","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.675,"netWeight":17000.000,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"plateNumber":"京R76859","settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': '2021-12-02', 'settleDay': '2021-12-02', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'plateNumber': '京R76859', 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPriceIncludeTaxType
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
netWeight
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 1
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
/recycle-service/admin/contract/get/selectable-contract-list
params=orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663876360049135616
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/weightnote/${weightnoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/weightnote/663876366621609984
path_url=/recycle-service/admin/proxy-sell/get/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"unitSurcharge":0.025000,"surcharge":425.000000,"adjustMoney":null,"remark":null,"imageUrls":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"江高仓","preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.000,"finalPayMoney":null,"paymentType":null,"activityNoteStatus":null,"activitySettleType":1,"proxySellerSettleType":0,"publicSubsidies":null,"unitPrice":1.675000,"isEntire":0,"plateNumber":"京R76859","remarkImgs":null,"otherAmountList":[{"title":"freightSubsidies","unitAmount":null,"unitType":null,"isSubsidies":1},{"title":"otherSubsidies","unitAmount":null,"unitType":null,"isSubsidies":1},{"title":"contrabandPenalty","unitAmount":null,"unitType":null,"isSubsidies":0},{"title":"nonStandardPenalty","unitAmount":null,"unitType":null,"isSubsidies":0},{"title":"otherPenalty","unitAmount":null,"unitType":null,"isSubsidies":0}],"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":24203.750000,"receivablePriceIncludeTax":null,"receivableSettlementRules":0,"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"millSupplierId":null,"millSupplierName":null,"contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '663876366621609984', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'type': None, 'weightDay': '2021-12-02', 'settleDay': '2021-12-02', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'settleWeight': None, 'deductedPoint': None, 'unitSurcharge': 0.025, 'surcharge': 425.0, 'adjustMoney': None, 'remark': None, 'imageUrls': None, 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': '江高仓', 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'settlePrice': 0.0, 'finalPayMoney': None, 'paymentType': None, 'activityNoteStatus': None, 'activitySettleType': 1, 'proxySellerSettleType': 0, 'publicSubsidies': None, 'unitPrice': 1.675, 'isEntire': 0, 'plateNumber': '京R76859', 'remarkImgs': None, 'otherAmountList': [{'title': 'freightSubsidies', 'unitAmount': None, 'unitType': None, 'isSubsidies': 1}, {'title': 'otherSubsidies', 'unitAmount': None, 'unitType': None, 'isSubsidies': 1}, {'title': 'contrabandPenalty', 'unitAmount': None, 'unitType': None, 'isSubsidies': 0}, {'title': 'nonStandardPenalty', 'unitAmount': None, 'unitType': None, 'isSubsidies': 0}, {'title': 'otherPenalty', 'unitAmount': None, 'unitType': None, 'isSubsidies': 0}], 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': 24203.75, 'receivablePriceIncludeTax': None, 'receivableSettlementRules': 0, 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'millSupplierId': None, 'millSupplierName': None, 'contractId': '663533697236078592'}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/transaction-main-enterprise/get/warehouse-name
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
path_url=/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${仓库}
${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']
Evaluates the given expression in Python and returns the results.
random.choice(${仓库})
random
${所属仓库}
${所属仓库} = 石基仓
Logs the given message to the console.
\nvalue:${所属仓库}
Makes a variable available globally in all tests and suites.
${所属仓库}
${所属仓库} = 石基仓
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"id":"39","name":"千鸟-经纪业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"40","name":"千纸鹤代卖业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"41","name":"测试资金方","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"42","name":"千鸟-技术部测试数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"46","name":"千鸟","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"47","name":"千鸟数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":1},{"id":"49","name":"千鸟测试","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}, {'id': '49', 'name': '千鸟测试', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...
Logs the given message with the given level.
${item}
{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-经纪业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 39
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千纸鹤代卖业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 40
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 测试资金方
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 41
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-技术部测试数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 42
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 46
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 47
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Exiting for loop altogether.
Makes a variable available globally in all tests and suites.
${name}
${name} = 千鸟数据
Makes a variable available globally in all tests and suites.
${id}
${id} = 47
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"buyerEnterpriseName":"Ceshi_factory","buyerEnterpriseId":"660525239146516480","buyerPaperMillId":"660525241717624832","sellerEnterpriseName":"企业","sellerEnterpriseId":"37","sellerPaperMillId":null,"proxyPaySurcharge":0.013000,"advanceFund":null,"invoiceType":0,"hasInvoice":1,"taxRefundRate":9.600000,"hasSubsidiesTax":0,"remark":null,"contractLimitType":0,"limitLine":null,"startDate":"2021-12-01","endDate":"2023-01-01","signDateStart":"2021-12-01","signDateEnd":"2023-01-01","accountPeriodType":0,"accountPeriod":[25],"accountPeriodSql":null,"contractImageList":[],"contractCategories":[],"contractType":2,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"contractStatus":1,"assignAccountPeriod":null,"settlePriceIncludeTaxSettleRules":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'buyerEnterpriseName': 'Ceshi_factory', 'buyerEnterpriseId': '660525239146516480', 'buyerPaperMillId': '660525241717624832', 'sellerEnterpriseName': '企业', 'sellerEnterpriseId': '37', 'sellerPaperMillId': None, 'proxyPaySurcharge': 0.013, 'advanceFund': None, 'invoiceType': 0, 'hasInvoice': 1, 'taxRefundRate': 9.6, 'hasSubsidiesTax': 0, 'remark': None, 'contractLimitType': 0, 'limitLine': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'signDateStart': '2021-12-01', 'signDateEnd': '2023-01-01', 'accountPeriodType': 0, 'accountPeriod': [25], 'accountPeriodSql': None, 'contractImageList': [], 'contractCategories': [], 'contractType': 2, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'contractStatus': 1, 'assignAccountPeriod': None, 'settlePriceIncludeTaxSettleRules': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
advanceFund
${advanceFund}
${advanceFund} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
buyerEnterpriseId
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${settleRules}
${settleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
taxRefundRate
${taxRefundRate}
${taxRefundRate} = 9.6
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxyPaySurcharge
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
hasInvoice
${hasInvoice}
${hasInvoice} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriodType
${accountPeriodType}
${accountPeriodType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
isSubsidyAndDeductIncludeTax
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${receivableSettlementRules}
${receivableSettlementRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Sets variable based on the given condition.
'${advanceFund}'=='${None}'
0
${advanceFund}
${advanceFund}
${advanceFund} = 0
Sets variable based on the given condition.
'${proxyPaySurcharge}'=='${None}'
0
${proxyPaySurcharge}
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${advanceFund}
${advanceFund} = 0
Makes a variable available globally in all tests and suites.
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Makes a variable available globally in all tests and suites.
${taxRefundRate}
${taxRefundRate} = 9.6
Makes a variable available globally in all tests and suites.
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${hasInvoice}
${hasInvoice} = 1
Makes a variable available globally in all tests and suites.
${accountPeriodType}
${accountPeriodType} = 0
Makes a variable available globally in all tests and suites.
${settleRules}
${settleRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Makes a variable available globally in all tests and suites.
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Makes a variable available globally in all tests and suites.
${receivableSettlementRules}
${receivableSettlementRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${dataTime}
${dataTime} = 2021-12-02
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get-category-price-by-date
params=orderItemId=${orderItemId}&weightDay=${dataTime}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663876360049135616&weightDay=2021-12-02
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663876360049135616&weightDay=2021-12-02
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663876360049135616&weightDay=2021-12-02
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"price":1.650,"publicSubsidies":0.005,"paperCategoryId":"660529551931215872","priceDate":"2021-12-02 00:00:00","categoryName":"花纸"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'price': 1.65, 'publicSubsidies': 0.005, 'paperCategoryId': '660529551931215872', 'priceDate': '2021-12-02 00:00:00', 'categoryName': '花纸'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
price
${price}
${price} = 1.65
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = 0.005
Makes a variable available globally in all tests and suites.
${price}
${price} = 1.65
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0.005
Makes a variable available globally in all tests and suites.
${dataTime}
${dataTime} = 2021-12-02
Evaluates the given expression in Python and returns the results.
open('E:/lyl/图片/21042217001449712.png','rb')
${filepath}
Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'
Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/repeat/proxy-order
params=orderItemId=${orderItemId}&plateNumber=${carList}&settleWeight=13550&weighingDate=${datatime}&orderType=${orderType}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663876360049135616&plateNumber=%E4%BA%ACR76859&settleWeight=13550&weighingDate=2021-12-02&orderType=2
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663876360049135616&plateNumber=%E4%BA%ACR76859&settleWeight=13550&weighingDate=2021-12-02&orderType=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663876360049135616&plateNumber=%E4%BA%ACR76859&settleWeight=13550&weighingDate=2021-12-02&orderType=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":[{"column":"oi.create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'oi.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "id":"${weightNoteId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "type":null, \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "settleWeight":16200, \ \ \ \ "deductedPoint":7.5, \ \ \ \ "unitSurcharge":"${unitSurcharge}", \ \ \ \ "surcharge":"${surcharge}", \ \ \ \ "adjustMoney":"20", \ \ \ \ "remark":"${datatime}", \ \ \ \ "imageUrls":null, \ \ \ \ "transactionMainEnterpriseid":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "settlePrice":22585.5, \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "remarkImgs":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "otherAmountList":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"freightSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.002, \ \ \ \ \ \ \ \ \ \ \ \ "title":"contrabandPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":2, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":20, \ \ \ \ \ \ \ \ \ \ \ \ "title":"nonStandardPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":2, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":10, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ } \ \ \ \ ], \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "refundSubsidy":0.003, \ \ \ \ "receivableAdjustMoney":"20", \ \ \ \ "settleUtiPriceIncludeTax":1.337448648648649, \ \ \ \ "settleUtiPriceIncludeTaxType":"${settleUtiPriceIncludeTaxType}", \ \ \ \ "collectionCharges":"${proxyPaySurcharge}", \ \ \ \ "advanceFund":"${advanceFund}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "contractId":"${contractId}", \ \ \ \ "settlePriceIncludeTaxSettleRules":"${settlePriceIncludeTaxSettleRules}", \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "deductedWeight":1.5, \ \ \ \ "orderType":"${orderType}" }
${data}
${data} = { "id":"663876366621609984", "orderId":"663876360007192576", "orderItemId":"663876360049135616", "type":null, "weightDay":"2021-12-02", "settleDay":"2021-12-02", "settleUti...
Logs the given message with the given level.
${data}
{ "id":"663876366621609984", "orderId":"663876360007192576", "orderItemId":"663876360049135616", "type":null, "weightDay":"2021-12-02", "settleDay":"2021-12-02", "settleUtiPrice":"1.675", "netWeight":"17000.0", "settleWeight":16200, "deductedPoint":7.5, "unitSurcharge":"0.025", "surcharge":"425.0", "adjustMoney":"20", "remark":"2021-12-02", "imageUrls":null, "transactionMainEnterpriseid":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "warehouseName":"石基仓", "settlePrice":22585.5, "activitySettleType":"1", "proxySellerSettleType":"0", "publicSubsidies":0, "unitPrice":"1.675", "plateNumber":"京R76859", "remarkImgs":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.002, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":20, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":10, "title":"otherPenalty", "isSubsidies":0 } ], "isInvoice":"1", "invoicePoint":"9.6", "receivableSettlementRules":"0", "refundSubsidy":0.003, "receivableAdjustMoney":"20", "settleUtiPriceIncludeTax":1.337448648648649, "settleUtiPriceIncludeTaxType":"1", "collectionCharges":"0.013", "advanceFund":"0", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "contractId":"663533697236078592", "settlePriceIncludeTaxSettleRules":"0", "paperCategoryId":"660529551931215872", "deductionNotes":"2021-12-02", "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "deductedWeight":1.5, "orderType":"2" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '2321'}
body=b'{ "id":"663876366621609984", "orderId":"663876360007192576", "orderItemId":"663876360049135616", "type":null, "weightDay":"2021-12-02", "settleDay":"2021-12-02", "settleUtiPrice":"1.675", "netWeight":"17000.0", "settleWeight":16200, "deductedPoint":7.5, "unitSurcharge":"0.025", "surcharge":"425.0", "adjustMoney":"20", "remark":"2021-12-02", "imageUrls":null, "transactionMainEnterpriseid":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "settlePrice":22585.5, "activitySettleType":"1", "proxySellerSettleType":"0", "publicSubsidies":0, "unitPrice":"1.675", "plateNumber":"\xe4\xba\xacR76859", "remarkImgs":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.002, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":20, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":10, "title":"otherPenalty", "isSubsidies":0 } ], "isInvoice":"1", "invoicePoint":"9.6", "receivableSettlementRules":"0", "refundSubsidy":0.003, "receivableAdjustMoney":"20", "settleUtiPriceIncludeTax":1.337448648648649, "settleUtiPriceIncludeTaxType":"1", "collectionCharges":"0.013", "advanceFund":"0", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "contractId":"663533697236078592", "settlePriceIncludeTaxSettleRules":"0", "paperCategoryId":"660529551931215872", "deductionNotes":"2021-12-02", "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg" ], "deductedWeight":1.5, "orderType":"2" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"663876366621609984","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '663876366621609984', 'contractId': None}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
path_url=/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
path_url=/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663876360007192576?orderId=663876360007192576&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.025,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663876360007192576","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663876360007192576","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663876360049135616","adjustMoney":20.000,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"663876366621609984","orderId":"663876360007192576","orderItemId":"663876360049135616","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":16200.000,"deductedPoint":7.500,"settlePrice":0.000,"remark":"2021-12-02","imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"]},"logisticcsInfo":{"id":"5337","plateNumber":"京R76859"},"status":52,"displayStatus":57,"auditStatus":1,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.00,"finalPayMoney":2969.850,"otherAmountDtoList":[{"title":"运费补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-32.400,"unit":0.002000,"unitType":1},{"title":"装车不规范扣款","amount":-20.000,"unit":20.000000,"unitType":2},{"title":"其他扣款","amount":-10.000,"unit":10.000000,"unitType":2}],"deductionNotes":"2021-12-02","totalOtherAmount":-30.000000000,"paymentType":2,"activityNoteStatus":1,"activityOrderAuditPassNum":1,"unSettleMoney":2931.2500000000,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 20:08:44","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 20:08:44","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 20:08:45","rank":2,"status":1},{"description":"已审核,首款结算中","time":"2021-12-02 20:08:59","rank":4,"status":1},{"description":"首款已结算,待质检","time":"2021-12-02 20:09:02","rank":5,"status":1},{"description":"质检完成,待审核","time":"2021-12-02 20:09:10","rank":6,"status":1},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":48.60,"unitRefundSubsidy":0.003000,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":20.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663876360007192576","createTime":"2021-12-02 20:08:44","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'status': 51, 'bizOwnerName': '张山', 'orderOwnerId': '554128866793361643', 'orderOwnerName': '赖勇兰', 'orderOwnerPhone': '18888888888', 'orderType': 2, 'activityId': '660531609048584192', 'activitySettleType': 1, 'isEntire': 0, 'activityStatus': 1, 'activityName': 'Ceshi_factory--两次', 'startTime': '2021-11-23 14:37:04', 'endTime': '2021-11-24 14:37:04', 'unitSurcharge': 0.025, 'surcharge': None, 'totalEstimatedWeight': 30000.0, 'deliveryTime': '2021-12-02', 'paperMillDeliveryTime': '2021-12-02', 'remark': None, 'attenssion': '663876360007192576', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663876360007192576', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663876360049135616', 'adjustMoney': 20.0, 'unitSurcharge': 0.025, 'surcharge': 425.0, 'unitPrice': 1.675, 'weightnoteInfo': {'id': '663876366621609984', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'type': None, 'weightDay': '2021-12-02', 'settleDay': '2021-12-02', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'settleWeight': 16200.0, 'deductedPoint': 7.5, 'settlePrice': 0.0, 'remark': '2021-12-02', 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg']}, 'logisticcsInfo': {'id': '5337', 'plateNumber': '京R76859'}, 'status': 52, 'displayStatus': 57, 'auditStatus': 1, 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'settlePrice': 0.0, 'finalPayMoney': 2969.85, 'otherAmountDtoList': [{'title': '运费补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -32.4, 'unit': 0.002, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -20.0, 'unit': 20.0, 'unitType': 2}, {'title': '其他扣款', 'amount': -10.0, 'unit': 10.0, 'unitType': 2}], 'deductionNotes': '2021-12-02', 'totalOtherAmount': -30.0, 'paymentType': 2, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': 1, 'unSettleMoney': 2931.25, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'weightNoteImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': '石基仓', 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': 1.675, 'settleUnitPriceIncludeTax': 1.8358, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-02 20:08:44', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-02 20:08:44', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-02 20:08:45', 'rank': 2, 'status': 1}, {'description': '已审核,首款结算中', 'time': '2021-12-02 20:08:59', 'rank': 4, 'status': 1}, {'description': '首款已结算,待质检', 'time': '2021-12-02 20:09:02', 'rank': 5, 'status': 1}, {'description': '质检完成,待审核', 'time': '2021-12-02 20:09:10', 'rank': 6, 'status': 1}, {'description': '已审核,尾款结算中', 'time': None, 'rank': 7, 'status': 0}, {'description': '尾款已结算,订单完成', 'time': None, 'rank': 8, 'status': 0}], 'paperCategoryName': '花纸', 'proxySellerSettleType': 0, 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': None, 'receivablePriceIncludeTax': None, 'refundSubsidy': 48.6, 'unitRefundSubsidy': 0.003, 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': 20.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663876360007192576', 'createTime': '2021-12-02 20:08:44', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'factoryName': '88纸业', 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":753,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 753, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663876360049135616
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876469851820032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","settlePrice":2969.850000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663876366621609984","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":2,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876469851820032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'categoryName': '花纸', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663876366621609984', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 2, 'orderType': 2, 'financeRejectedTime': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663876469851820032
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663876366621609984
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663876469851820032
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663876366621609984
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"logId":"1466378907329646593","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:09:10","operatorName":"赖勇兰","logContent":"上传磅单信息","remark":null},{"logId":"1466378874517606402","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:09:02","operatorName":"赖勇兰","logContent":"财务确认结算","remark":null},{"logId":"1466378869937426433","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:09:01","operatorName":"赖勇兰","logContent":"财务审核通过","remark":"2021-12-02"},{"logId":"1466378864489025537","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:59","operatorName":"赖勇兰","logContent":"运营审核通过","remark":"2021-12-02"},{"logId":"1466378858570862593","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:58","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378852170354689","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:57","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378848466784258","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:56","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378842145968130","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:54","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378838408843266","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:53","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378832121581570","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:52","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378827990192130","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:51","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378821606461442","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:49","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378817760284673","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:48","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378811447857153","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:47","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378804724387842","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:45","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1466378799997407234","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:44","operatorName":"赖勇兰","logContent":"订单预约","remark":null},{"logId":"1466378798177079298","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:44","operatorName":"赖勇兰","logContent":"下单","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1466378907329646593', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:09:10', 'operatorName': '赖勇兰', 'logContent': '上传磅单信息', 'remark': None}, {'logId': '1466378874517606402', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:09:02', 'operatorName': '赖勇兰', 'logContent': '财务确认结算', 'remark': None}, {'logId': '1466378869937426433', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:09:01', 'operatorName': '赖勇兰', 'logContent': '财务审核通过', 'remark': '2021-12-02'}, {'logId': '1466378864489025537', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:59', 'operatorName': '赖勇兰', 'logContent': '运营审核通过', 'remark': '2021-12-02'}, {'logId': '1466378858570862593', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:58', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378852170354689', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:57', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378848466784258', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:56', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378842145968130', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:54', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378838408843266', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:53', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378832121581570', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:52', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378827990192130', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:51', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378821606461442', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:49', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378817760284673', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:48', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378811447857153', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:47', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378804724387842', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:45', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1466378799997407234', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:44', 'operatorName': '赖勇兰', 'logContent': '订单预约', 'remark': None}, {'logId': '1466378798177079298', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:44', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876469851820032/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876469851820032/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876469851820032/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":3,"auditRequestId":"663876469851820032","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663876469939900416","driverName":null,"plateNumber":"京R76859","netWeight":17000.000,"settleWeight":16200.000,"deductedWeight":800.000,"deductedWeightPoint":7.500,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"","settlePrice":2969.850000,"adjustmentFee":20.000,"unitSurcharge":0.025000,"receivablePrice":2901.250000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":3410.37,"preReceivablePriceIncludeTax":26527.31,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":2969.850,"paymentType":2,"weightNoteRemark":"2021-12-02","remarkImgs":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.833770,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-32.400,"unit":0.002000,"unitType":1},{"title":"装车不规范扣款","amount":-20.000,"unit":20.000000,"unitType":2},{"title":"其他扣款","amount":-10.000,"unit":10.000000,"unitType":2}],"refundSubsidy":0.003000,"receivableAdjustMoney":20.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '663876360049135616', 'auditType': 3, 'auditRequestId': '663876469851820032', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'scrapOrderId': '663876360007192576', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663876469939900416', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 17000.0, 'settleWeight': 16200.0, 'deductedWeight': 800.0, 'deductedWeightPoint': 7.5, 'unitPrice': 1.675, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '', 'settlePrice': 2969.85, 'adjustmentFee': 20.0, 'unitSurcharge': 0.025, 'receivablePrice': 2901.25, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 3410.37, 'preReceivablePriceIncludeTax': 26527.31, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'finalPayMoney': 2969.85, 'paymentType': 2, 'weightNoteRemark': '2021-12-02', 'remarkImgs': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.83377, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -32.4, 'unit': 0.002, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -20.0, 'unit': 20.0, 'unitType': 2}, {'title': '其他扣款', 'amount': -10.0, 'unit': 10.0, 'unitType': 2}], 'refundSubsidy': 0.003, 'receivableAdjustMoney': 20.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 663876469939900416
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 17000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 16200.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 16200.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663876469939900416
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 16200.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 16200.0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":null, \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "receivablePrice":5550, \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "settleUnitPriceIncludeTax":1.337449, \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"663876469939900416", "categoryName":"花纸", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":null, "plateNumber":"京R76859",...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '651'}
body=b'{ "auditRequestItemId":"663876469939900416", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":null, "plateNumber":"\xe4\xba\xacR76859", "receivablePrice":5550, "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"16200.0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":0, "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.675", "settleUnitPriceIncludeTax":1.337449, "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId} &operationStatus=2
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984%20&operationStatus=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"logId":"1466378852170354689","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:57","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378842145968130","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:54","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378832121581570","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:52","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378821606461442","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:49","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"},{"logId":"1466378811447857153","orderId":"663876360007192576","operatorId":null,"operationTime":"2021-12-02 20:08:47","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-02"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1466378852170354689', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:57', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378842145968130', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:54', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378832121581570', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:52', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378821606461442', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:49', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}, {'logId': '1466378811447857153', 'orderId': '663876360007192576', 'operatorId': None, 'operationTime': '2021-12-02 20:08:47', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-02'}]}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663876469851820032", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"663876469851820032", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
2
Slept 2 seconds
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list
params=pageNum=1&pageSize=10&status=&orderId=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663876360049135616
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663876360049135616
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663876360049135616
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876469851820032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","weighingDate":"2021-12-02 00:00:00","settlePrice":2969.850000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663876366621609984","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":2,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663876360007192576","orderItemId":"663876360049135616","auditRequestId":"663876421101424640","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","categoryName":"花纸","weighingDate":"2021-12-02 00:00:00","settlePrice":23778.750000,"bizOwnerName":"张山","status":2,"auditedTime":"2021-12-02 20:09:02","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663876366621609984","settleStatus":1,"financeAdminName":"赖勇兰","realSettlementDate":"2021-12-02","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":1,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":2,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876469851820032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'categoryName': '花纸', 'weighingDate': '2021-12-02 00:00:00', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'status': 0, 'auditedTime': None, 'auditorId': None, 'auditorName': None, 'weightNoteId': '663876366621609984', 'settleStatus': 0, 'financeAdminName': '赖勇兰', 'realSettlementDate': None, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceAuditAdminId': None, 'fundSourceAuditAdminName': None, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'paymentType': 2, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'settlementDate': '2021-12-02', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'auditRequestId': '663876421101424640', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'categoryName': '花纸', 'weighingDate': '2021-12-02 00:00:00', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 2, 'auditedTime': '2021-12-02 20:09:02', 'auditorId': 617003842541850624, 'auditorName': '', 'weightNoteId': '663876366621609984', 'settleStatus': 1, 'financeAdminName': '赖勇兰', 'realSettlementDate': '2021-12-02', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceAuditAdminId': None, 'fundSourceAuditAdminName': None, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'paymentType': 1, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'settlementDate': '2021-12-02', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 2, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984&operationStatus=3
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663876360007192576&weightNoteId=663876366621609984&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${reps} = <Response [200]>
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663876469851820032","adminId":null,"isPass":1,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663876469851820032","adminId":null,"isPass":1,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': None}
Pauses the test executed for the given time.
1
Slept 1 second
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "id":"${auditRequestId}", \ \ \ \ "adminId":null }
${data}
${data} = { "id":"663876469851820032", "adminId":null }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '53'}
body=b'{ "id":"663876469851820032", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:14 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
2
Slept 2 seconds
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-payment-order-list
params=pageNum=1&pageSize=10&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663876360007192576
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663876360007192576
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663876360007192576
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"663876475254083584","orderId":"663876360007192576","orderItemId":"663876360049135616","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","settlementDate":"2021-12-02","settlePrice":2969.85,"bizOwnerName":"张山","paperMillPayAt":"2021-12-27","status":0,"isInvalid":0,"weighingDate":"2021-12-02","paidPrice":null,"bankFlowNo":null,"remark":"2021-12-02","auditRequestId":"663876469851820032","receivablePrice":3410.370,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"663876366621609984","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"663876360007192576","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"id":"663876426428190720","orderId":"663876360007192576","orderItemId":"663876360049135616","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","settlementDate":"2021-12-02","settlePrice":23778.75,"bizOwnerName":"张山","paperMillPayAt":"2021-12-27","status":1,"isInvalid":0,"weighingDate":"2021-12-02","paidPrice":26527.310,"bankFlowNo":null,"remark":null,"auditRequestId":"663876421101424640","receivablePrice":26527.310,"financeAdminName":"赖勇兰","noReceivablePrice":0.000,"returnPayDate":"2021-12-02","weightNoteId":"663876366621609984","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"663876360007192576","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":26527.310,"firstPaidTime":"2021-12-02 00:00:00","secondPaidPrice":null,"secondPaidTime":null,"enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":2,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
${paymentOrderId} = 663876475254083584
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '663876475254083584', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'settlementDate': '2021-12-02', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'paperMillPayAt': '2021-12-27', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-02', 'paidPrice': None, 'bankFlowNo': None, 'remark': '2021-12-02', 'auditRequestId': '663876469851820032', 'receivablePrice': 3410.37, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '663876366621609984', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '663876360007192576', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': None, 'firstPaidTime': None, 'secondPaidPrice': None, 'secondPaidTime': None, 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'id': '663876426428190720', 'orderId': '663876360007192576', 'orderItemId': '663876360049135616', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663876360007192576', 'settlementDate': '2021-12-02', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'paperMillPayAt': '2021-12-27', 'status': 1, 'isInvalid': 0, 'weighingDate': '2021-12-02', 'paidPrice': 26527.31, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '663876421101424640', 'receivablePrice': 26527.31, 'financeAdminName': '赖勇兰', 'noReceivablePrice': 0.0, 'returnPayDate': '2021-12-02', 'weightNoteId': '663876366621609984', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '663876360007192576', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': 26527.31, 'firstPaidTime': '2021-12-02 00:00:00', 'secondPaidPrice': None, 'secondPaidTime': None, 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 2, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Makes a variable available globally in all tests and suites.
${paymentOrderId}
${paymentOrderId} = 663876475254083584
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876469851820032/663876366621609984
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663876469851820032/663876366621609984
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/663876469851820032/663876366621609984
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663876360049135616","auditType":3,"auditRequestId":"663876469851820032","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"663876360007192576","status":1,"auditStatus":3,"settleStatus":2,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"scrapOrderId":"663876360007192576","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663876469939900416","driverName":null,"plateNumber":"京R76859","netWeight":17000.000,"settleWeight":16200.000,"deductedWeight":800.000,"deductedWeightPoint":4.710,"unitPrice":1.6750000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":2969.850000,"adjustmentFee":20.000,"unitSurcharge":0.025000,"receivablePrice":2901.250000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.835800,"receivablePriceIncludeTax":3410.37,"preReceivablePriceIncludeTax":26527.31,"noReceivablePrice":3410.370,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":"2021-12-02","paymentAdjustmentFee":0.000,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":2969.850,"paymentType":2,"weightNoteRemark":"2021-12-02","remarkImgs":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638446925406.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.833770,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-32.400,"unit":0.002000,"unitType":1},{"title":"装车不规范扣款","amount":-20.000,"unit":20.000000,"unitType":2},{"title":"其他扣款","amount":-10.000,"unit":10.000000,"unitType":2}],"refundSubsidy":0.003000,"receivableAdjustMoney":20.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":"2021-12-02","orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivablePriceIncludeTax
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 3410.37
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 3410.37
Makes a variable available globally in all tests and suites.
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 3410.37
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 3410.37
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }
${data}
${data} = { "paymentOrderId":"663876475254083584", "receivablePrice":"3410.37", "paidPrice":"3410.37", "noReceiveblePrice":"3410.37", "bankFlowNo":null, "paymentAdjustmentFee":null, ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/update/payment-order-status
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
path_url=/recycle-service/admin/operation/update/payment-order-status
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '230'}
body=b'{ "paymentOrderId":"663876475254083584", "receivablePrice":"3410.37", "paidPrice":"3410.37", "noReceiveblePrice":"3410.37", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 12:09:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
代卖应收
Critical Tests
All Tests
002-Activeorder
002-Activeorder.1-Client(Test)
002-Activeorder.1-Client(Test).1-APPlogin(Test)
002-Activeorder.1-Client(Test).2.3createActiveorder-2
002-Activeorder.2-Background system(Test)
002-Activeorder.2-Background system(Test).1-WebLogin
002-Activeorder.2-Background system(Test).1-WebLogin.Weblogin
002-Activeorder.2-Background system(Test).2.1-Consignment management
002-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment
002-Activeorder.2-Background system(Test).2.1-Consignment management.2.3-ActiveUpload-deliverynote
002-Activeorder.2-Background system(Test).2.1-Consignment management.3.3-Operation audit
002-Activeorder.2-Background system(Test).3-Withdrawal application
002-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
002-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
002-Activeorder.2-Background system(Test).4-Consignment management
002-Activeorder.2-Background system(Test).4-Consignment management.2.3-ActiveUpload-weightnote
002-Activeorder.2-Background system(Test).4-Consignment management.3.3--Operation audit
002-Activeorder.2-Background system(Test).4-Consignment management.4.3-Financial audit
002-Activeorder.2-Background system(Test).4-Consignment management.5.3-Sales Receivable