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': 'Wed, 08 Dec 2021 09:33:46 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwg/P3BEdK2By2tZAsBnnZOQ==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwg/P3BEdK2By2tZAsBnnZOQ==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwg/P3BEdK2By2tZAsBnnZOQ==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwg/P3BEdK2By2tZAsBnnZOQ==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwg/P3BEdK2By2tZAsBnnZOQ=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwg/P3BEdK2By2tZAsBnnZOQ=="}'
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': 'Wed, 08 Dec 2021 09:33:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}
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': 'Wed, 08 Dec 2021 09:33:47 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}
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': 'Wed, 08 Dec 2021 09:33:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5363","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5362","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5361","scrapPaperOrderItemId":null,"plateNumber":"京R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5360","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5350","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': '5363', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5362', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5361', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5360', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5350', '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': '5363', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5362', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6666...
Evaluates the given expression in Python and returns the results.
random.sample(${carNumber},1)
random
${plateNumber_value}
${plateNumber_value} = [{'id': '5361', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', '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} = 京R66666
Makes a variable available globally in all tests and suites.
${plateNumber1}
${plateNumber1} = 京R66666
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}
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': 'Wed, 08 Dec 2021 09:33:47 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-08","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","enableSalesAgent":1,"proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":905.43,"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-08', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg', 'enableSalesAgent': 1, 'proxypaySurcharge': 0.02, 'foreignPaybackIntever': None, 'foreignPaybackIntervalString': '12', 'cumulativeWeight': 905.43, '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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}
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': 'Wed, 08 Dec 2021 09:33:47 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg=='}, 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-08
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-08...
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwXxCOD+/AqFEY1ncyY/85Sg==', '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-08", "carInfos":[ { "plateNumber":"\xe4\xba\xacR66666" } ] }'
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': 'Wed, 08 Dec 2021 09:33:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"666011694203539456"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666011694203539456'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 666011694203539456
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} = 666011694203539456
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': 'Wed, 08 Dec 2021 09:33:47 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': 'Wed, 08 Dec 2021 09:33: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":{"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=666011694203539456
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"id":"4730","orderId":"666011694203539456","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"花纸","sellerReservationDate":"2021-12-08","orderItemNum":1,"carNoList":["京R66666"],"status":0,"createTime":"2021-12-08 17:33:47","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': '4730', 'orderId': '666011694203539456', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '花纸', 'sellerReservationDate': '2021-12-08', 'orderItemNum': 1, 'carNoList': ['京R66666'], 'status': 0, 'createTime': '2021-12-08 17:33:47', '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} = 666011694203539456
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} = 4730
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} = ['京R66666']
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-08
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 京R66666
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} = 666011694203539456
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} = 4730
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-08
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} = 京R66666
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': 'Wed, 08 Dec 2021 09:33: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":[{"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-08
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":"666011694203539456","buyerReservationDate":"2021-12-08", "id":"4730","millDeliveryOrderId":"666011694203539456","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"666011694203539456","buyerReservationDate":"2021-12-08", "id":"4730","millDeliveryOrderId":"666011694203539456","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"666011694203539456"}
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":"666011694203539456","buyerReservationDate":"2021-12-08", "id":"4730","millDeliveryOrderId":"666011694203539456","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"666011694203539456"}'
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': 'Wed, 08 Dec 2021 09:33: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]>
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=666011694203539456
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"orderId":"666011694203539456","orderItemId":"666011694237093888","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-08","millSupplierName":"测试111","plateNumber":"京R66666","operationReviewStatus":51,"createTime":"2021-12-08 17:33:47","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': '666011694203539456', 'orderItemId': '666011694237093888', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-08', 'millSupplierName': '测试111', 'plateNumber': '京R66666', 'operationReviewStatus': 51, 'createTime': '2021-12-08 17:33:47', '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': '666011694203539456', 'orderItemId': '666011694237093888', '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': '666011694203539456', 'orderItemId': '666011694237093888', '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} = 666011694237093888
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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/666011694237093888
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666011694237093888
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/666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"orderId":"666011694203539456","orderItemId":"666011694237093888","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":"京R66666","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': '666011694203539456', 'orderItemId': '666011694237093888', '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': '京R66666', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R66666
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} = 京R66666
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': 'Wed, 08 Dec 2021 09:33: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":{"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=666011694237093888
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":[{"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': 'Wed, 08 Dec 2021 09:33: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":[{"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': 'Wed, 08 Dec 2021 09:33: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":[{"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': 'Wed, 08 Dec 2021 09:33: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":["石基仓","江高仓","大观仓","钟落潭仓"]}
${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/666011694237093888
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666011694237093888
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/666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"orderId":"666011694203539456","orderItemId":"666011694237093888","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":"京R66666","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': '666011694203539456', 'orderItemId': '666011694237093888', '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': '京R66666', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R66666
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} = 京R66666
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': 'Wed, 08 Dec 2021 09:33: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":[{"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=1df46139ec041d227ed8d0b23fa42332'}
body=b'--1df46139ec041d227ed8d0b23fa42332\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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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': 'Wed, 08 Dec 2021 09:33:48 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/1638956028610.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/1638956028610.jpg
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08
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=666011694237093888%20&plateNumber=%E4%BA%ACR66666%20&netWeight=30000&weighingDate=2021-12-08&orderType=3
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666011694237093888%20&plateNumber=%E4%BA%ACR66666%20&netWeight=30000&weighingDate=2021-12-08&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=666011694237093888%20&plateNumber=%E4%BA%ACR66666%20&netWeight=30000&weighingDate=2021-12-08&orderType=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"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-08
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"京R66666", "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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR66666", "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': 'Wed, 08 Dec 2021 09:33: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":"666011700205588480","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666011700205588480', 'contractId': '663533697236078592'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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-08
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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}
${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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.020000,"surcharge":310.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15500.000,"settleWeight":null,"deductedPoint":null,"settlePrice":21758.130,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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-08', 'paperMillDeliveryTime': '2021-12-08', 'remark': None, 'attenssion': '666011694203539456', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '666011694203539456', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '666011694237093888', 'adjustMoney': None, 'unitSurcharge': 0.02, 'surcharge': 310.0, 'unitPrice': 1.675, 'weightnoteInfo': {'id': '666011700205588480', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.675, 'netWeight': 15500.0, 'settleWeight': None, 'deductedPoint': None, 'settlePrice': 21758.13, 'remark': None, 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg']}, 'logisticcsInfo': {'id': '5364', 'plateNumber': '京R66666'}, '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-08', 'totalOtherAmount': 0, 'paymentType': 1, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': 0, 'unSettleMoney': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-08 17:33:47', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-08 17:33:48', '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': '666011694203539456', 'createTime': '2021-12-08 17:33:47', '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': 'Wed, 08 Dec 2021 09:33: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":"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":758,"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': 758, '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=666011694237093888
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011700746653696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":21758.130000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011700746653696', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R66666', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'categoryName': '花纸', 'settlePrice': 21758.13, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '666011700205588480', '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} = 666011700746653696
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666011700746653696
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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=666011694203539456&weightNoteId=666011700205588480
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666011694203539456&weightNoteId=666011700205588480
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=666011694203539456&weightNoteId=666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":[{"logId":"1468514138283200514","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:48","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514132360843265","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:47","operatorName":"赖勇兰","logContent":"下单","remark":null},{"logId":"1468514133933707265","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:47","operatorName":"赖勇兰","logContent":"订单预约","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468514138283200514', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:48', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514132360843265', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:47', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}, {'logId': '1468514133933707265', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:47', '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-08
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/666011700746653696/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011700746653696/666011700205588480
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/666011700746653696/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694237093888","auditType":2,"auditRequestId":"666011700746653696","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011700817956864","driverName":null,"plateNumber":"京R66666","netWeight":15500.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011700746653696', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011700817956864', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 15500.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011700817956864
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} = 京R66666
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} = 666011700817956864
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} = 京R66666
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-08
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":"666011700817956864", "categoryName":"花纸", "netWeight":"15500.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"京R66666", ...
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":"666011700817956864", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"15500.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe4\xba\xacR66666", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 09:33: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]>
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=666011694203539456&weightNoteId=666011700205588480%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666011694203539456&weightNoteId=666011700205588480%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=666011694203539456&weightNoteId=666011700205588480%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":[]}
${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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011700746653696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":21758.130000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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} = 666011700746653696
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} = 666011700746653696
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/666011700746653696/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011700746653696/666011700205588480
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/666011700746653696/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"orderItemId":"666011694237093888","auditType":2,"auditRequestId":"666011700746653696","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011700817956864","driverName":null,"plateNumber":"京R66666","netWeight":15500.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011700746653696', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011700817956864', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 15500.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011700817956864
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R66666
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666011700746653696
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666011700817956864
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} = 2022-01-02
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R66666
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} = 666011700746653696
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666011700746653696", "isPass":2, "remark":"2021-12-08" }
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":"666011700746653696", "isPass":2, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:33: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":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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.020000,"surcharge":310.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15500.000,"settleWeight":null,"deductedPoint":null,"settlePrice":21758.130,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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} = 666011700205588480
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} = 666011700205588480
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-08
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"京R66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }'
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': 'Wed, 08 Dec 2021 09:33: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":"666011700205588480","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666011700205588480', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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-08
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.021000,"surcharge":331.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15800.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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=666011694237093888
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"id":"46084","orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011712566202368","weightNoteId":"666011700205588480","orderCreateTime":"2021-12-08 17:33:47","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R66666","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0E-9,"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': '46084', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011712566202368', 'weightNoteId': '666011700205588480', 'orderCreateTime': '2021-12-08 17:33...
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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011712566202368","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":22163.450000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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} = 666011712566202368
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} = 666011712566202368
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/666011712566202368/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011712566202368/666011700205588480
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/666011712566202368/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694237093888","auditType":2,"auditRequestId":"666011712566202368","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011712629116928","driverName":null,"plateNumber":"京R66666","netWeight":15800.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011712566202368', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011712629116928', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 15800.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011712629116928
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} = 京R66666
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} = 666011712566202368
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666011712629116928
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} = 京R66666
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} = 666011712566202368
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666011712566202368", "isPass":2, "remark":"2021-12-08" }
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":"666011712566202368", "isPass":2, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:33: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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.021,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.021000,"surcharge":331.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15800.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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} = 666011700205588480
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} = 666011700205588480
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-08
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"京R66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }'
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': 'Wed, 08 Dec 2021 09:33: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":"666011700205588480","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666011700205588480', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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-08
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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}
${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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.022,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.022000,"surcharge":354.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16100.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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=666011694237093888
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"46084","orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011721676230656","weightNoteId":"666011700205588480","orderCreateTime":"2021-12-08 17:33:47","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R66666","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0E-9,"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': '46084', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011721676230656', 'weightNoteId': '666011700205588480', 'orderCreateTime': '2021-12-08 17:33...
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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011721676230656","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":22568.180000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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} = 666011721676230656
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} = 666011721676230656
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/666011721676230656/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011721676230656/666011700205588480
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/666011721676230656/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694237093888","auditType":2,"auditRequestId":"666011721676230656","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011721739145216","driverName":null,"plateNumber":"京R66666","netWeight":16100.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011721676230656', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011721739145216', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 16100.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011721739145216
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} = 京R66666
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} = 666011721676230656
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666011721739145216
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} = 京R66666
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} = 666011721676230656
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666011721676230656", "isPass":2, "remark":"2021-12-08" }
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":"666011721676230656", "isPass":2, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:33: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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.022,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.022000,"surcharge":354.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16100.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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} = 666011700205588480
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} = 666011700205588480
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-08
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"京R66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }'
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': 'Wed, 08 Dec 2021 09:33: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":"666011700205588480","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666011700205588480', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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-08
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.023,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.023000,"surcharge":377.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16400.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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=666011694237093888
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"46084","orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011731042111488","weightNoteId":"666011700205588480","orderCreateTime":"2021-12-08 17:33:47","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R66666","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0E-9,"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': '46084', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011731042111488', 'weightNoteId': '666011700205588480', 'orderCreateTime': '2021-12-08 17:33...
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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011731042111488","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":22972.300000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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} = 666011731042111488
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} = 666011731042111488
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/666011731042111488/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011731042111488/666011700205588480
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/666011731042111488/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694237093888","auditType":2,"auditRequestId":"666011731042111488","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011731105026048","driverName":null,"plateNumber":"京R66666","netWeight":16400.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011731042111488', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011731105026048', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 16400.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011731105026048
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} = 京R66666
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} = 666011731042111488
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666011731105026048
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} = 京R66666
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} = 666011731042111488
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666011731042111488", "isPass":2, "remark":"2021-12-08" }
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":"666011731042111488", "isPass":2, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:33: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}
${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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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.023,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.023000,"surcharge":377.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16400.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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} = 666011700205588480
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} = 666011700205588480
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-08
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"京R66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }'
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': 'Wed, 08 Dec 2021 09:33: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":"666011700205588480","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666011700205588480', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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-08
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.024000,"surcharge":400.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16700.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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=666011694237093888
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"id":"46084","orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011740491878400","weightNoteId":"666011700205588480","orderCreateTime":"2021-12-08 17:33:47","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R66666","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0E-9,"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': '46084', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011740491878400', 'weightNoteId': '666011700205588480', 'orderCreateTime': '2021-12-08 17:33...
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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":{"records":[{"orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011740491878400","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":23375.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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} = 666011740491878400
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} = 666011740491878400
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/666011740491878400/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011740491878400/666011700205588480
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/666011740491878400/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:33: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":"666011694237093888","auditType":2,"auditRequestId":"666011740491878400","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011740554792960","driverName":null,"plateNumber":"京R66666","netWeight":16700.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011740491878400', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011740554792960', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 16700.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011740554792960
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} = 京R66666
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} = 666011740491878400
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666011740554792960
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} = 京R66666
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} = 666011740491878400
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666011740491878400", "isPass":2, "remark":"2021-12-08" }
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":"666011740491878400", "isPass":2, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:33: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]>
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456%20&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:00 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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.024000,"surcharge":400.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16700.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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} = 666011700205588480
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} = 666011700205588480
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-08
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"京R66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }
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/1638956028610.jpg" ], "orderItemId":"666011694237093888", "orderId":"666011694203539456", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe4\xba\xacR66666", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666011700205588480" }'
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': 'Wed, 08 Dec 2021 09:34:00 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":"666011700205588480","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666011700205588480', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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-08
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:00 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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:00 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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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=666011694237093888
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:00 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":"46084","orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011749585129472","weightNoteId":"666011700205588480","orderCreateTime":"2021-12-08 17:33:47","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"京R66666","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0E-9,"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': '46084', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011749585129472', 'weightNoteId': '666011700205588480', 'orderCreateTime': '2021-12-08 17:33...
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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011749585129472","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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} = 666011749585129472
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} = 666011749585129472
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-08
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/666011749585129472/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011749585129472/666011700205588480
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/666011749585129472/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"orderItemId":"666011694237093888","auditType":2,"auditRequestId":"666011749585129472","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011749656432640","driverName":null,"plateNumber":"京R66666","netWeight":17000.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 2, 'auditRequestId': '666011749585129472', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011749656432640', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 17000.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011749656432640
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} = 京R66666
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} = 666011749656432640
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} = 京R66666
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-08
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":"666011749656432640", "categoryName":"花纸", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"京R66666", ...
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":"666011749656432640", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe4\xba\xacR66666", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 09:34: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]>
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":"666011749585129472", "isPass":1, "remark":"2021-12-08" }
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":"666011749585129472", "isPass":1, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:34: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]>
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=666011694237093888
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"records":[{"orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011749585129472","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666011700205588480","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-08","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=666011694203539456&weightNoteId=666011700205588480&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666011694203539456&weightNoteId=666011700205588480&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=666011694203539456&weightNoteId=666011700205588480&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":[]}
${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":"666011749585129472","adminId":null,"isPass":1,"remark":"2021-12-08" }
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":"666011749585129472","adminId":null,"isPass":1,"remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:34: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]>
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":"666011749585129472", "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":"666011749585129472", "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': 'Wed, 08 Dec 2021 09:34: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]>
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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:05 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":"666011753527775232","orderId":"666011694203539456","orderItemId":"666011694237093888","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","settlementDate":"2021-12-08","settlePrice":23778.75,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":0,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":null,"bankFlowNo":null,"remark":null,"auditRequestId":"666011749585129472","receivablePrice":26527.310,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"666011700205588480","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666011694203539456","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} = 666011753527775232
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '666011753527775232', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'settlementDate': '2021-12-08', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': None, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '666011749585129472', 'receivablePrice': 26527.31, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '666011700205588480', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666011694203539456', '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} = 666011753527775232
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/666011749585129472/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011749585129472/666011700205588480
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/666011749585129472/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:05 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":"666011694237093888","auditType":2,"auditRequestId":"666011749585129472","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":1,"auditStatus":0,"settleStatus":2,"weightNoteImageUrlList":null,"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011749656432640","driverName":null,"plateNumber":"京R66666","netWeight":17000.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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":"666011753527775232", "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":"666011753527775232", "receivablePrice":"26527.31", "paidPrice":"26527.31", "noReceiveblePrice":"26527.31", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:34:05 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=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":"666011694203539456","orderItemId":"666011694237093888","weightNoteId":"666011700205588480","orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-08","millSupplierName":"测试111","plateNumber":"京R66666","operationReviewStatus":51,"createTime":"2021-12-08 17:33:47","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":"2021-12-08 17:34:01","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': '666011694203539456', 'orderItemId': '666011694237093888', 'weightNoteId': '666011700205588480', 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-08', 'millSupplierName': '测试111', 'plateNumber': '京R66666', 'operationReviewStatus': 51, 'createTime': '2021-12-08 17:33:47', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': '2021-12-08 17:34:01', '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} = 666011694237093888
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":null,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":null},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":0,"paymentType":2,"activityNoteStatus":0,"activityOrderAuditPassNum":1,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","rank":2,"status":1},{"description":"已审核,首款结算中","time":"2021-12-08 17:34:01","rank":4,"status":1},{"description":"首款已结算,待质检","time":"2021-12-08 17:34:03","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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/666011694237093888
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666011694237093888
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/666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"orderId":"666011694203539456","orderItemId":"666011694237093888","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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/1638956028610.jpg"],"plateNumber":"京R66666","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': '666011694203539456', 'orderItemId': '666011694237093888', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', '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/1638956028610.jpg'], 'plateNumber': '京R66666', '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} = 京R66666
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} = 京R66666
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=666011694237093888
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":[{"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/666011700205588480
path_url=/recycle-service/admin/proxy-sell/get/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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":"京R66666","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': '666011700205588480', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', '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': '京R66666', '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': 'Wed, 08 Dec 2021 09:34: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":[{"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': 'Wed, 08 Dec 2021 09:34: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":["石基仓","江高仓","大观仓","钟落潭仓"]}
${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': 'Wed, 08 Dec 2021 09:34: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":[{"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': 'Wed, 08 Dec 2021 09:34: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":[{"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': 'Wed, 08 Dec 2021 09:34: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":{"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-08
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=666011694237093888&weightDay=2021-12-08
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666011694237093888&weightDay=2021-12-08
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=666011694237093888&weightDay=2021-12-08
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":[{"price":1.650,"publicSubsidies":0.005,"paperCategoryId":"660529551931215872","priceDate":"2021-12-08 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-08 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-08
Evaluates the given expression in Python and returns the results.
open('./21042217001449712.png','rb')
${filepath}
${filepath} = <_io.BufferedReader name='./21042217001449712.png'>
Evaluates the given expression in Python and returns the results.
open('./21042217001449712.png','rb')
${image}
${image} = <_io.BufferedReader name='./21042217001449712.png'>
Creates and returns a dictionary based on the given ``items``.
filepath=${filepath}
image=${image}
${file}
${file} = {'filepath': <_io.BufferedReader name='./21042217001449712.png'>, 'image': <_io.BufferedReader name='./21042217001449712.png'>}
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='./21042217001449712.png'>, 'image': <_io.BufferedReader name='./21042217001449712.png'>}
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': '143759', 'Content-Type': 'multipart/form-data; boundary=e7085f60e9cbbf9731b88217dd8ae9aa'}
body=b'--e7085f60e9cbbf9731b88217dd8ae9aa\r\nContent-Disposition: form-data; name="filepath"; filename="21042217001449712.png"\r\n\r\n\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x02\xb8\x00\x00\x03\xca\x08\x03\x00\x00\x00H\x83\xd9c\x00\x00\x03\x00PLTE\x00\x00\x00\x9b\x14\r\x98\x0f\x0c\x94\x0c\x0c\x95\x10\x0c\x96\x11\x0c\x94\t\r\x94\t\r\xecE=\xfc\x87\x00\xefE:\xe8f3\xe7\xf3\xe4\xff\xfd\xd5\xf8\x99\x13\xe9;-\xdfM1\xe5g&\x99\x17\x0b\xf9\xa53\xdcJ+\xf1\x88\x1a\xfa\xb2_\xe1`\'\xfe\xf9\xe4\xf1u#\xbf.\x0f\xfe\xf9\xe1\xec|\x1c\xfe\xf8\xdc\xd3L\x17\xf8\x8d\x0c\xf4\x87\x16\xfe\xf7\xd4\xd6F#\xfe\xf6\xd0\xf3\x83\x16\xfb\xcbW\xf4\x89 \xfd\xf4\xd3\xe0L$\xfc\xf5\xda\xfe\xf8\xdb\xf4\x85\x1e\xf9\xc1U\xfb\x88\r\xfe\xed\xab\xfc\xc8B\xea\xc1\x9f\xff\xcd\x15\xb6*\x19\xfe\xed\xaa\xf6\xa8S\xff\xd6K\xfb\xe1\x98\xf0\x84D\xf8\xa9K\xdfc\x18\xee?0\xfa\xa9H\xdaP\'\xfa\xd7\x88\xff\xcd\x16\xe4\xa9\x86\xf98\x08\xca\x80w\xf7\xd6\x8c\xdf\xb3\xad\xea\xcf\xca\x00\xaf\xff\x00\xaf\xff\x00\xb0\xff\x00\xaf\xff\x00\xb1\xff\x00\xb1\xff\xff\xe1\xc1\xf9\xec\xea\xff\xff\xff\xf7D<\xfaNG\xf5G>\xf7KC\xf6\xd1\xce\xdeA2\xff\xdb\x17\xea81\xe42,\xee<6\xf3>7\xed\xbdx\xda6\x1e\xf1B;\xfe\xe2=\xff\xe6\xc6\xee\xc1~\xe74.\xff\xfb\xe7\xff\xfa\xd7\xfe\xfa\xdf\xfb\xef\xbc\xfbH@\xfd\xf7\xc7\xd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\xb9\xack\'[n\x8c\xb41\xce\x9d\xef\x15\x97A\xc7\x05\xb7L\xfa\xdd\xfejV\x93S\xd2\xeamcL\nq\xc1\x11\xb8\xe8\xed\xa4L6\xac\xb7\xc6 .8\x02\xb3\x9eN\xdargHo\x8d\xe5\x10\x17\x1c\x81\xe9BXnY\xd7=\x7fS\xb8\x90\xd4s\x8d\xad4f\x86[\xeeB*\xae\x89\xfdo\x9a\x9ay\x94\x80\xd1\x92\xd5\x11\xbd}jR\x1b\xb2\xfd1\x11\xd7rV\xff\x7f \xee\xb8I\xbf\xd41\xe9\x90\xde\xca\x04\xe2\x82\xe3\xf1\xe8Z\x9d4\xfd\xdc\x13\x83\xb8\xe0x\xccm\xc3\xbd\x96\xde_R\x88\x0b\x8e\xc7\xdd,\xe6^o_\x1e\x8c)if\xe8\x9dQd\x87\xe1N\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x03\xf2 `\x8f\r\xb3oH\xb7\xd7\xb1\xf6\x93\x1c\x88\xe8\x927yyZ\x04\x87\xe6\xe5\xd3\xc7\xc2\xeb\x87\xdb\x1f\xff\xc3\xd7\x8f\xf7\xf3\x97}\xb3\xe9Q\x1a\x08\xe3x9\x1a\xdazh\x96\xb4!H+\xb5\x95"z\x90\x18\x12cb6\xde\xf6\x13\xac\xc9\x9a2\\d\x13\xe4B\xf0\xe5\xda\x84\xd3\xf2\x1d\xfc\x00\x9e=y\xb2\t_\xc0O\xb11\xd9#g\xa7<3\xf3\xf4\x05J\x8b\x89\xbb1\xfd\x15\xd6\xa5\x19\x86\x81\xfe\xe7\xff\xbc\xe0\xb6\xdc}\xc2P\xf4\x08O\xa1X\xf0\xa0\x08^\xa7\x94\xfa\\\x8e\\R\xb6V\xf2-t\xba\xc7/\xcf\xe2\xcf\xf5,\xa9\xe2_!\x03\x9d\xee\nh*\xdc=\xe4\x96\xbf:\x88\xbfW\xb8lF_\xd7\x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xf0\xa2\x82\x10\xeb\x87\xa8==\x87\xa0\xe4\x16\xb4?G\x0e\xcd&\xbb\xfa\xa5\x98?SS:.\xc5\t\x1c[\xf8\xbb\xc50\x97b4\x96\x93\x05I\x11)\x96b\x14<@\xfe\x9bXS\xe9&_\x18<\x92\xc2V\x04d\x17\xbf\x19\x03\x0eH&\xd6?O\xc5\xe2\xb6\xe7-\xbb\xb8\x0e\xd9\xa7\x99\x8an,Iq\x0b2\xa0#L\x18\x8d\xcd\xc1\xd7\xcf(3Bu\xa7S\xde\xbadU?\x10\xad5\t\xb5E"\xbcw\x1e\xa2\xafK/\x9396\xc0%\xd6\xd4=\xdf\xff/\xc1\x8d77\xb0\x85\'N\x80\xee\xd2\xd8f\x88\xeb\xcb\x87\xc5l\xab\x99M\xa2;p\xc7\xed=(\xacI\xc6\x99\x1dL\x95\xfd\xa7\x92D\xd7aq9\xe6\xd2\xb7\x04i}y0P\x0b\x86m\xc7\x8a\xe0\xf6P\xd9-p\xfbu\xc5-n\x12\xb7Mo9f\xae\x14\xe4ga\xa0Q\xf30\x0b\r\x89\\\xd9|\xffB]\x89\x9df\xa2tM|\xa0j\x0b\xf3\xf2\xaf/\xfc\x15Y\x1b\xe4\xcai\x85n\xc3\xdaZ\x88\xab\x021\xf5@x\xdf7\x8c\x82?\xd7\xd0\xd5^\x94\xb3\xfe\x98YRM\x1b\x1eV\xd7L\xac\xd70$i\x94x\xf3\xfc\xfe\xb8\x12\xc9-\xe9\xc3\x8a\xdb}K\x96l\xeed\xbc\xf3\xb6\x0bBz)?\xd3Z\xa7\xa9P\rY\xad_OE\xc4.\xa8\xf6<\x8a[\xf3\x16\xa7\x9c\xf4ay\xbc\x0b\x17\x18\xfe\x86\xac\x86\xa4\xd6\xc7\xed\xf6\xc2\xdc\xaa\x80s\xcdr\xdb\x831h:w\xb28'... (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': 'Wed, 08 Dec 2021 09:34:11 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/1638956051257.png"}
${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/1638956051257.png
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.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=666011694237093888&plateNumber=%E4%BA%ACR66666&settleWeight=13550&weighingDate=2021-12-08&orderType=2
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666011694237093888&plateNumber=%E4%BA%ACR66666&settleWeight=13550&weighingDate=2021-12-08&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=666011694237093888&plateNumber=%E4%BA%ACR66666&settleWeight=13550&weighingDate=2021-12-08&orderType=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"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-08
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":"666011700205588480", "orderId":"666011694203539456", "orderItemId":"666011694237093888", "type":null, "weightDay":"2021-12-08", "settleDay":"2021-12-08", "settleUti...
Logs the given message with the given level.
${data}
{ "id":"666011700205588480", "orderId":"666011694203539456", "orderItemId":"666011694237093888", "type":null, "weightDay":"2021-12-08", "settleDay":"2021-12-08", "settleUtiPrice":"1.675", "netWeight":"17000.0", "settleWeight":16200, "deductedPoint":7.5, "unitSurcharge":"0.025", "surcharge":"425.0", "adjustMoney":"20", "remark":"2021-12-08", "imageUrls":null, "transactionMainEnterpriseid":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "warehouseName":"大观仓", "settlePrice":22585.5, "activitySettleType":"1", "proxySellerSettleType":"0", "publicSubsidies":0, "unitPrice":"1.675", "plateNumber":"京R66666", "remarkImgs":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png" ], "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-08", "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png" ], "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":"666011700205588480", "orderId":"666011694203539456", "orderItemId":"666011694237093888", "type":null, "weightDay":"2021-12-08", "settleDay":"2021-12-08", "settleUtiPrice":"1.675", "netWeight":"17000.0", "settleWeight":16200, "deductedPoint":7.5, "unitSurcharge":"0.025", "surcharge":"425.0", "adjustMoney":"20", "remark":"2021-12-08", "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":"\xe5\xa4\xa7\xe8\xa7\x82\xe4\xbb\x93", "settlePrice":22585.5, "activitySettleType":"1", "proxySellerSettleType":"0", "publicSubsidies":0, "unitPrice":"1.675", "plateNumber":"\xe4\xba\xacR66666", "remarkImgs":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png" ], "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-08", "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png" ], "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': 'Wed, 08 Dec 2021 09:34: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":{"weightNoteId":"666011700205588480","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '666011700205588480', 'contractId': None}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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/666011700205588480
path_url=/recycle-service/admin/customer-service/audit/weightnote/666011700205588480
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/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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}
${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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
path_url=/recycle-service/admin/customer-service/get/proxy-order/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
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/666011694203539456?orderId=666011694203539456&orderItemId=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666011694203539456","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666011694203539456","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666011694237093888","adjustMoney":20.000,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666011700205588480","orderId":"666011694203539456","orderItemId":"666011694237093888","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":16200.000,"deductedPoint":7.500,"settlePrice":0.000,"remark":"2021-12-08","imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"]},"logisticcsInfo":{"id":"5364","plateNumber":"京R66666"},"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-08","totalOtherAmount":-30.000000000,"paymentType":2,"activityNoteStatus":1,"activityOrderAuditPassNum":1,"unSettleMoney":2931.2500000000,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"],"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-08 17:33:47","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 17:33:47","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 17:33:48","rank":2,"status":1},{"description":"已审核,首款结算中","time":"2021-12-08 17:34:01","rank":4,"status":1},{"description":"首款已结算,待质检","time":"2021-12-08 17:34:03","rank":5,"status":1},{"description":"质检完成,待审核","time":"2021-12-08 17:34:11","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":"666011694203539456","createTime":"2021-12-08 17:33:47","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-08', 'paperMillDeliveryTime': '2021-12-08', 'remark': None, 'attenssion': '666011694203539456', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '666011694203539456', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '666011694237093888', 'adjustMoney': 20.0, 'unitSurcharge': 0.025, 'surcharge': 425.0, 'unitPrice': 1.675, 'weightnoteInfo': {'id': '666011700205588480', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'settleWeight': 16200.0, 'deductedPoint': 7.5, 'settlePrice': 0.0, 'remark': '2021-12-08', 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png']}, 'logisticcsInfo': {'id': '5364', 'plateNumber': '京R66666'}, '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-08', 'totalOtherAmount': -30.0, 'paymentType': 2, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': 1, 'unSettleMoney': 2931.25, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg'], 'weightNoteImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png'], '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-08 17:33:47', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-08 17:33:47', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-08 17:33:48', 'rank': 2, 'status': 1}, {'description': '已审核,首款结算中', 'time': '2021-12-08 17:34:01', 'rank': 4, 'status': 1}, {'description': '首款已结算,待质检', 'time': '2021-12-08 17:34:03', 'rank': 5, 'status': 1}, {'description': '质检完成,待审核', 'time': '2021-12-08 17:34:11', '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': '666011694203539456', 'createTime': '2021-12-08 17:33:47', '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': 'Wed, 08 Dec 2021 09:34: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":{"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":758,"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': 758, '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=666011694237093888
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:12 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":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011795768610816","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","settlePrice":2969.850000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666011700205588480","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': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011795768610816', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R66666', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'categoryName': '花纸', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '666011700205588480', '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} = 666011795768610816
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666011700205588480
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666011795768610816
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666011700205588480
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=666011694203539456&weightNoteId=666011700205588480
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666011694203539456&weightNoteId=666011700205588480
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=666011694203539456&weightNoteId=666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:12 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":"1468514233300963329","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:34:11","operatorName":"赖勇兰","logContent":"上传磅单信息","remark":null},{"logId":"1468514201482973185","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:34:03","operatorName":"赖勇兰","logContent":"财务确认结算","remark":null},{"logId":"1468514196936347650","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:34:02","operatorName":"赖勇兰","logContent":"财务审核通过","remark":"2021-12-08"},{"logId":"1468514191555055618","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:34:01","operatorName":"赖勇兰","logContent":"运营审核通过","remark":"2021-12-08"},{"logId":"1468514187075538945","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:34:00","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514181165764610","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:59","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514178020036610","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:58","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514171745357825","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:56","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514168570269698","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:56","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514162530471937","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:54","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514159216971778","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:53","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514153277837313","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:52","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514150090166273","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:51","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514144134254593","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:50","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514138283200514","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:48","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468514132360843265","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:47","operatorName":"赖勇兰","logContent":"下单","remark":null},{"logId":"1468514133933707265","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:47","operatorName":"赖勇兰","logContent":"订单预约","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468514233300963329', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:34:11', 'operatorName': '赖勇兰', 'logContent': '上传磅单信息', 'remark': None}, {'logId': '1468514201482973185', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:34:03', 'operatorName': '赖勇兰', 'logContent': '财务确认结算', 'remark': None}, {'logId': '1468514196936347650', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:34:02', 'operatorName': '赖勇兰', 'logContent': '财务审核通过', 'remark': '2021-12-08'}, {'logId': '1468514191555055618', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:34:01', 'operatorName': '赖勇兰', 'logContent': '运营审核通过', 'remark': '2021-12-08'}, {'logId': '1468514187075538945', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:34:00', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514181165764610', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:59', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514178020036610', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:58', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514171745357825', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:56', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514168570269698', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:56', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514162530471937', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:54', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514159216971778', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:53', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514153277837313', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:52', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514150090166273', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:51', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514144134254593', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:50', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514138283200514', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:48', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468514132360843265', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:47', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}, {'logId': '1468514133933707265', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:47', '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-08
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/666011795768610816/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011795768610816/666011700205588480
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/666011795768610816/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:12 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":"666011694237093888","auditType":3,"auditRequestId":"666011795768610816","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"],"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011795831525376","driverName":null,"plateNumber":"京R66666","netWeight":17000.000,"settleWeight":16200.000,"deductedWeight":800.000,"deductedWeightPoint":7.500,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","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-08","remarkImgs":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"],"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.833770,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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': '666011694237093888', 'auditType': 3, 'auditRequestId': '666011795768610816', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png'], 'scrapOrderId': '666011694203539456', 'orderDate': '2021-12-08', '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': '666011795831525376', 'driverName': None, 'plateNumber': '京R66666', 'netWeight': 17000.0, 'settleWeight': 16200.0, 'deductedWeight': 800.0, 'deductedWeightPoint': 7.5, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', '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-08', 'remarkImgs': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png'], 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.83377, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', '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} = 666011795831525376
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} = 京R66666
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} = 666011795831525376
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} = 京R66666
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-08
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":"666011795831525376", "categoryName":"花纸", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":null, "plateNumber":"京R66666",...
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":"666011795831525376", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":null, "plateNumber":"\xe4\xba\xacR66666", "receivablePrice":5550, "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 09:34:12 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=666011694203539456&weightNoteId=666011700205588480%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666011694203539456&weightNoteId=666011700205588480%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=666011694203539456&weightNoteId=666011700205588480%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:12 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":"1468514181165764610","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:59","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514171745357825","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:56","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514162530471937","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:54","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514153277837313","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:52","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468514144134254593","orderId":"666011694203539456","operatorId":null,"operationTime":"2021-12-08 17:33:50","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468514181165764610', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:59', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514171745357825', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:56', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514162530471937', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:54', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514153277837313', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:52', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468514144134254593', 'orderId': '666011694203539456', 'operatorId': None, 'operationTime': '2021-12-08 17:33:50', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}]}
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":"666011795768610816", "isPass":1, "remark":"2021-12-08" }
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":"666011795768610816", "isPass":1, "remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:34:12 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=666011694237093888
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666011694237093888
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=666011694237093888
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34: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":{"records":[{"orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011795768610816","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":2969.850000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666011700205588480","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-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666011694203539456","orderItemId":"666011694237093888","auditRequestId":"666011749585129472","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R66666","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":23778.750000,"bizOwnerName":"张山","status":2,"auditedTime":"2021-12-08 17:34:03","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666011700205588480","settleStatus":1,"financeAdminName":"赖勇兰","realSettlementDate":"2021-12-08","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":1,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","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': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011795768610816', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R66666', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'categoryName': '花纸', 'weighingDate': '2021-12-08 00:00:00', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'status': 0, 'auditedTime': None, 'auditorId': None, 'auditorName': None, 'weightNoteId': '666011700205588480', '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-08', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'auditRequestId': '666011749585129472', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R66666', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'categoryName': '花纸', 'weighingDate': '2021-12-08 00:00:00', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 2, 'auditedTime': '2021-12-08 17:34:03', 'auditorId': 617003842541850624, 'auditorName': '', 'weightNoteId': '666011700205588480', 'settleStatus': 1, 'financeAdminName': '赖勇兰', 'realSettlementDate': '2021-12-08', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceAuditAdminId': None, 'fundSourceAuditAdminName': None, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'paymentType': 1, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'settlementDate': '2021-12-08', '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=666011694203539456&weightNoteId=666011700205588480&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666011694203539456&weightNoteId=666011700205588480&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=666011694203539456&weightNoteId=666011700205588480&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:15 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":"666011795768610816","adminId":null,"isPass":1,"remark":"2021-12-08" }
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":"666011795768610816","adminId":null,"isPass":1,"remark":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:34:15 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":"666011795768610816", "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":"666011795768610816", "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': 'Wed, 08 Dec 2021 09:34:16 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=666011694203539456
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666011694203539456
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=666011694203539456
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:18 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":"666011800629809152","orderId":"666011694203539456","orderItemId":"666011694237093888","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","settlementDate":"2021-12-08","settlePrice":2969.85,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":0,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":null,"bankFlowNo":null,"remark":"2021-12-08","auditRequestId":"666011795768610816","receivablePrice":3410.370,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"666011700205588480","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666011694203539456","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":"666011753527775232","orderId":"666011694203539456","orderItemId":"666011694237093888","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","settlementDate":"2021-12-08","settlePrice":23778.75,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":1,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":26527.310,"bankFlowNo":null,"remark":null,"auditRequestId":"666011749585129472","receivablePrice":26527.310,"financeAdminName":"赖勇兰","noReceivablePrice":0.000,"returnPayDate":"2021-12-08","weightNoteId":"666011700205588480","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666011694203539456","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":26527.310,"firstPaidTime":"2021-12-08 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} = 666011800629809152
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '666011800629809152', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'settlementDate': '2021-12-08', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': None, 'bankFlowNo': None, 'remark': '2021-12-08', 'auditRequestId': '666011795768610816', 'receivablePrice': 3410.37, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '666011700205588480', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666011694203539456', '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': '666011753527775232', 'orderId': '666011694203539456', 'orderItemId': '666011694237093888', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666011694203539456', 'settlementDate': '2021-12-08', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 1, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': 26527.31, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '666011749585129472', 'receivablePrice': 26527.31, 'financeAdminName': '赖勇兰', 'noReceivablePrice': 0.0, 'returnPayDate': '2021-12-08', 'weightNoteId': '666011700205588480', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666011694203539456', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': 26527.31, 'firstPaidTime': '2021-12-08 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} = 666011800629809152
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/666011795768610816/666011700205588480
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666011795768610816/666011700205588480
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/666011795768610816/666011700205588480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 09:34:18 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":"666011694237093888","auditType":3,"auditRequestId":"666011795768610816","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666011694203539456","status":1,"auditStatus":3,"settleStatus":2,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"],"scrapOrderId":"666011694203539456","orderDate":"2021-12-08","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":"666011795831525376","driverName":null,"plateNumber":"京R66666","netWeight":17000.000,"settleWeight":16200.000,"deductedWeight":800.000,"deductedWeightPoint":4.710,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","paymentAdjustmentFee":0.000,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":2969.850,"paymentType":2,"weightNoteRemark":"2021-12-08","remarkImgs":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956051257.png"],"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638956028610.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.833770,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","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-08","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":"666011800629809152", "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":"666011800629809152", "receivablePrice":"3410.37", "paidPrice":"3410.37", "noReceiveblePrice":"3410.37", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-08" }'
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': 'Wed, 08 Dec 2021 09:34:18 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