Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
ZTBT
https://api-client-uec-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
account=18888888888
captcha=888888
accountType=2
${data}
${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}
Returns the given values which can then be assigned to a variables.
18888888888
${account}
${account} = 18888888888
Sends a POST request on a previously created HTTP Session.
ZTBT
uec/authorize/by-captcha
json=${data}
${respones}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
body=b'{"account": "18888888888", "captcha": "888888", "accountType": "2"}'
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==","userId":"659450159519895552"}}
${respones} = <Response [200]>
Logs the given message with the given level.
${respones.status_code}
200
Logs the given message with the given level.
${respones.json()}
{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==
Makes a variable available globally in all tests and suites.
${account}
${account} = 18888888888
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
loginToken=${token}
${token1}
${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-user-center/authorize/get/product-line-token/by/login-token
json=${token1}
${reps}
POST Request : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
path_url=/recycle-user-center/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '106'}
body=b'{"loginToken": "d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=="}'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:31 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==","userToken":null,"userId":"659450159519895552"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
token
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
userId
${userId}
${userId} = 659450159519895552
Logs the given message with the given level.
${reps.json()["data"]["token"]}
d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==
Makes a variable available globally in all tests and suites.
${userId}
${userId} = 659450159519895552
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}, 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-city
${reps}
GET Request : url=https://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-city
path_url=/recycle-service/get/paper-mill-city
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}
body=None
GET Response : url=https://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-city
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:31 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":[{"cityId":"110100","cityName":"北京市"},{"cityId":"350200","cityName":"厦门市"},{"cityId":"430100","cityName":"长沙市"},{"cityId":"150200","cityName":"包头市"},{"cityId":"440800","cityName":"湛江市"},{"cityId":"520100","cityName":"贵阳市"},{"cityId":"130800","cityName":"承德市"},{"cityId":"450100","cityName":"南宁市"},{"cityId":"232700","cityName":"大兴安岭地区"},{"cityId":"210300","cityName":"鞍山市"},{"cityId":"360200","cityName":"景德镇市"},{"cityId":"320400","cityName":"常州市"},{"cityId":"440900","cityName":"茂名市"},{"cityId":"130200","cityName":"唐山市"},{"cityId":"360700","cityName":"赣州市"},{"cityId":"140200","cityName":"大同市"},{"cityId":"530500","cityName":"保山市"},{"cityId":"440500","cityName":"汕头市"},{"cityId":"310100","cityName":"上海市"},{"cityId":"430400","cityName":"衡阳市"},{"cityId":"442000","cityName":"中山市"},{"cityId":"440700","cityName":"江门市"},{"cityId":"810200","cityName":"九龙"},{"cityId":"445300","cityName":"云浮市"},{"cityId":"451300","cityName":"来宾市"},{"cityId":"421000","cityName":"荆州市"},{"cityId":"440100","cityName":"广州市"},{"cityId":"441900","cityName":"东莞市"}]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'cityId': '110100', 'cityName': '北京市'}, {'cityId': '350200', 'cityName': '厦门市'}, {'cityId': '430100', 'cityName': '长沙市'}, {'cityId': '150200', 'cityName': '包头市'}, {'cityId': '440800', 'cityName': '湛...
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 北京市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 110100
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 厦门市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 350200
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 长沙市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 430100
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 包头市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 150200
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 湛江市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 440800
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 贵阳市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 520100
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 承德市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 130800
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 南宁市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 450100
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 大兴安岭地区
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 232700
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 鞍山市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 210300
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 景德镇市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 360200
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 常州市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 320400
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 茂名市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 440900
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 唐山市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 130200
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 赣州市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 360700
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 大同市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 140200
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Exiting for loop altogether.
Makes a variable available globally in all tests and suites.
${cityId}
${cityId} = 140200
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Create Session: create a HTTP session to a server
factorylist
http://api-client-ztb-test.qniao.cn
${header}
Creating Session using : alias=factorylist, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
factorylist
recycle-service/get/paper-mill-paper-category-price-list
params=cityId=${cityId}&enableSalesAgent=1&pageNum=1&pageSize=20&listType=0
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list?cityId=140200&enableSalesAgent=1&pageNum=1&pageSize=20&listType=0
path_url=/recycle-service/get/paper-mill-paper-category-price-list?cityId=140200&enableSalesAgent=1&pageNum=1&pageSize=20&listType=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list?cityId=140200&enableSalesAgent=1&pageNum=1&pageSize=20&listType=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:32 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.650,"floatingPrice":0.000,"publicSubsidies":0.005,"allowOrder":null},{"categoryId":"661536965862232064","categoryName":"小白纸","yesterdayUnitPrice":null,"unitPrice":2.200,"floatingPrice":0.000,"publicSubsidies":null,"allowOrder":null},{"categoryId":"661536969788100608","categoryName":"坑卡","yesterdayUnitPrice":null,"unitPrice":1.620,"floatingPrice":0.000,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":"山西省","locCityName":"大同市","locDistrictName":"大同县","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":"2021-12-02 00:00:00","proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":617.21,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":true,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":true,"isRecentlySale":true}],"total":1,"size":20,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${records}
${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.65, 'floatin...
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 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.65, 'floatingPrice': 0.0, 'publicSubsidies': 0.005, 'allowOrder': None}, {'categoryId': '66153696...
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
cumulativeWeight
${cumulativeWeight}
${cumulativeWeight} = 617.21
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}
locProvinceName
${locProvinceName}
${locProvinceName} = 山西省
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
locCityName
${locCityName}
${locCityName} = 大同市
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
locDistrictName
${locDistrictName}
${locDistrictName} = 大同县
Stops executing the enclosing for loop if the ``condition`` is true.
'${name}'=='Ceshi_factory'
Exiting for loop altogether.
Evaluates the given expression in Python and returns the results.
random.choice(${paperCategoryList})
random
${value}
${value} = {'categoryId': '661536969788100608', 'categoryName': '坑卡', 'yesterdayUnitPrice': None, 'unitPrice': 1.62, 'floatingPrice': 0.0, 'publicSubsidies': None, 'allowOrder': None}
Logs the given message to the console.
\nvalue: ${value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
categoryId
${categoryid}
${categoryid} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
categoryName
${categoryName}
${categoryName} = 坑卡
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
unitPrice
${unitPrice}
${unitPrice} = 1.62
Catenates the given items together and returns the resulted string.
${locProvinceName}
${locCityName}
${locDistrictName}
${paperMillAddress}
${paperMillAddress} = 山西省 大同市 大同县
Makes a variable available globally in all tests and suites.
${categoryid}
${categoryid} = 661536969788100608
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.62
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperMillAddress}
${paperMillAddress} = 山西省 大同市 大同县
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${name}
${name} = Ceshi_factory
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Create Session: create a HTTP session to a server
get-carinfo
http://api-client-ztb-test.qniao.cn
${header}
Creating Session using : alias=get-carinfo, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
get-carinfo
recycle-service/proxy-sell/get/his-car-info
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
path_url=/recycle-service/proxy-sell/get/his-car-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5332","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5331","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5330","scrapPaperOrderItemId":null,"plateNumber":"京R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5325","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5322","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0}],"total":0,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '5332', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5331', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5330', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5325', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${carNumber}
${carNumber} = [{'id': '5332', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5331', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6789...
Evaluates the given expression in Python and returns the results.
random.choice(${carNumber})
random
${plateNumber1}
${plateNumber1} = {'id': '5331', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}
Logs the given message to the console.
\nvalue:${plateNumber1}
Returns a value from the given ``dictionary`` based on the given ``key``.
${plateNumber1}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Logs the given message with the given level.
${datatime}
2021-12-02
Returns the given values which can then be assigned to a variables.
{"paperCategoryId":"${categoryid}" ,"unitPrice":${unitPrice},"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"${datatime}","carInfos":[{"plateNumber":"${plateNumber}"}]}
${data}
${data} = {"paperCategoryId":"661536969788100608" ,"unitPrice":1.62,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-02","carInfos":[{"plateNumber":"贵R67890"}]}
Logs the given message with the given level.
${data}
{"paperCategoryId":"661536969788100608" ,"unitPrice":1.62,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-02","carInfos":[{"plateNumber":"贵R67890"}]}
Create Session: create a HTTP session to a server
createorder
http://api-client-ztb-test.qniao.cn
${header}
Creating Session using : alias=createorder, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
createorder
recycle-service/proxy-sell/create/order
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
path_url=/recycle-service/proxy-sell/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypM63pwIxgHD+XI2gzSWIpWOhS7wHsv5FlLbDOzZXdVv0w==', 'Content-Length': '183'}
body=b'{"paperCategoryId":"661536969788100608" ,"unitPrice":1.62,"totalEstimatedWeight":30000,"customerName":"\xe8\xb5\x96\xe5\x8b\x87\xe5\x85\xb0","deliveryTime":"2021-12-02","carInfos":[{"plateNumber":"\xe8\xb4\xb5R67890"}]}'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"663871782146674688"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 663871782146674688
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663871782146674688'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-02
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 663871782146674688
Runs the given keyword with the given arguments, if the test failed.
Fatal Error
创建常规订单
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/x-www-form-urlencoded
X-APP-ID=470236309865238555
${header}
${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
username=laiyonglan@qniao.cn
password=qn123456
&{data}
&{data} = { username=laiyonglan@qniao.cn | password=qn123456 }
Logs the given message with the given level.
${data}
{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/login
data=${data}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
path_url=/recycle-service/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555', 'Content-Length': '48'}
body=username=laiyonglan%40qniao.cn&password=qn123456
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 200, 'message': '登陆成功'}
Returns the given values which can then be assigned to a variables.
Token 6b08add42d6bcf73abb935b2adf83525
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
登陆成功
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Creates and returns a dictionary based on the given ``items``.
X-APP-ID=470236309865238555
Authorization=Token 6b08add42d6bcf73abb935b2adf83525
${header}
${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
Create Session: create a HTTP session to a server
login-info
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=login-info, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
login-info
recycle-service/admin/employee/get/login-info
${reps_data}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
path_url=/recycle-service/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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=663871782146674688
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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":"4699","orderId":"663871782146674688","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"坑卡","sellerReservationDate":"2021-12-02","orderItemNum":1,"carNoList":["贵R67890"],"status":0,"createTime":"2021-12-02 19:50:32","bizOwnerName":"张山","orderType":1,"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': '4699', 'orderId': '663871782146674688', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '坑卡', 'sellerReservationDate': '2021-12-02', 'orderItemNum': 1, 'carNoList': ['贵R67890'], 'status': 0, 'createTime': '2021-12-02 19:50:32', 'bizOwnerName': '张山', 'orderType': 1, '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} = 663871782146674688
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} = 4699
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderType
${orderType}
${orderType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
carNoList
${carNoList}
${carNoList} = ['贵R67890']
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
paperMillName
${paperMillName}
${paperMillName} = Ceshi_factory
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
sellerReservationDate
${sellerReservationDate}
${sellerReservationDate} = 2021-12-02
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 贵R67890
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} = 663871782146674688
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} = 4699
Makes a variable available globally in all tests and suites.
${paperMillName}
${paperMillName} = Ceshi_factory
Makes a variable available globally in all tests and suites.
${sellerReservationDate}
${sellerReservationDate} = 2021-12-02
Makes a variable available globally in all tests and suites.
${orderType}
${orderType} = 1
Makes a variable available globally in all tests and suites.
${carList}
${carList} = 贵R67890
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'name': '测试111', 'id': '660525241805705216'}]
Evaluates the given expression in Python and returns the results.
random.choice(${data})
random
${value}
${value} = {'name': '测试111', 'id': '660525241805705216'}
Logs the given message to the console.
\nvalue: ${value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
id
${supplier_id}
${supplier_id} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
name
${millSupplierName}
${millSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${supplier_id}
${supplier_id} = 660525241805705216
Makes a variable available globally in all tests and suites.
${millSupplierName}
${millSupplierName} = 测试111
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}
${data}
${data} = {"attention":"663871782146674688","buyerReservationDate":"2021-12-02", "id":"4699","millDeliveryOrderId":"663871782146674688","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"663871782146674688","buyerReservationDate":"2021-12-02", "id":"4699","millDeliveryOrderId":"663871782146674688","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663871782146674688"}
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":"663871782146674688","buyerReservationDate":"2021-12-02", "id":"4699","millDeliveryOrderId":"663871782146674688","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"663871782146674688"}'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/update/reservation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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=1%20&pageNum=1&pageSize=10&status=51&orderId=663871782146674688
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=1%20&pageNum=1&pageSize=10&status=51&orderId=663871782146674688
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=1%20&pageNum=1&pageSize=10&status=51&orderId=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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":"663871782146674688","orderItemId":"663871782402527232","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"坑卡","deliveryTime":"2021-12-02","millSupplierName":"测试111","plateNumber":"贵R67890","operationReviewStatus":51,"createTime":"2021-12-02 19:50:32","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":null,"reviewOperatorName":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activitySettleType":null,"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': '663871782146674688', 'orderItemId': '663871782402527232', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '坑卡', 'deliveryTime': '2021-12-02', 'millSupplierName': '测试111', 'plateNumber': '贵R67890', 'operationReviewStatus': 51, 'createTime': '2021-12-02 19:50:32', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': None, 'reviewOperatorName': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activitySettleType': None, '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"][0]}
orderItemId
${orderItemId}
${orderItemId} = 663871782402527232
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
bizOwnerName
${bizOwnerName}
${bizOwnerName} = 张山
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
bizOwnerId
${bizOwnerId}
${bizOwnerId} = 498985714587930624
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 663871782402527232
Fails if the given objects are unequal.
${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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
path_url=/recycle-service/admin/customer-service/get/proxy-order/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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":1,"activityId":null,"activitySettleType":null,"isEntire":null,"activityStatus":null,"activityName":null,"startTime":null,"endTime":null,"unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663871782146674688","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663871782146674688","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663871782402527232","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6200000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5333","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":null,"activityNoteStatus":0,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 19:50:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 19:50:33","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,结算中","time":null,"rank":3,"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":"663871782146674688","createTime":"2021-12-02 19:50:32","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null}}
${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.02
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} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${unitPrice}
${unitPrice} = 1.62
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
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.62
Sets variable based on the given condition.
'${unitSurcharge}'=='${None}'
0
${unitSurcharge}
${unitSurcharge}
${unitSurcharge} = 0.02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
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.02
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.62
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.62
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
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/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/list
path_url=/recycle-service/admin/transaction-main-enterprise/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/transaction-main-enterprise/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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":"13","name":"广州千鸟张文纸业有限公司","createTime":"2020-12-02 10:22:24","updateTime":"2021-11-17 17:53:49","isDelete":0,"financeAdminName":"赖勇兰","financeAdminEmployeeId":"617003842541850624","settlementChannelId":"2"},{"id":"14","name":"广州千鸟顺强再生资源回收有限公司","createTime":"2020-12-02 10:23:46","updateTime":"2021-11-24 16:15:56","isDelete":0,"financeAdminName":"王颖勋","financeAdminEmployeeId":"605394333729951744","settlementChannelId":"2"},{"id":"15","name":"厦门千纸互联科技有限公司","createTime":"2020-12-02 10:24:08","updateTime":"2021-11-24 16:16:00","isDelete":0,"financeAdminName":"赖勇兰","financeAdminEmployeeId":"617003842541850624","settlementChannelId":"2"},{"id":"16","name":"长沙市千鸟互联科技有限公司","createTime":"2020-12-02 10:25:22","updateTime":"2021-11-25 10:50:01","isDelete":0,"financeAdminName":"赖勇兰","financeAdminEmployeeId":"617003842541850624","settlementChannelId":null},{"id":"19","name":"千鸟数据有限公司","createTime":"2021-03-03 10:12:58","updateTime":"2021-11-25 09:20:13","isDelete":0,"financeAdminName":"赖勇兰","financeAdminEmployeeId":"617003842541850624","settlementChannelId":"1"}]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${交易数据}
${交易数据} = [{'id': '13', 'name': '广州千鸟张文纸业有限公司', 'createTime': '2020-12-02 10:22:24', 'updateTime': '2021-11-17 17:53:49', 'isDelete': 0, 'financeAdminName': '赖勇兰', 'financeAdminEmployeeId': '617003842541850624'...
Evaluates the given expression in Python and returns the results.
random.choice(${交易数据})
random
${交易信息}
${交易信息} = {'id': '15', 'name': '厦门千纸互联科技有限公司', 'createTime': '2020-12-02 10:24:08', 'updateTime': '2021-11-24 16:16:00', 'isDelete': 0, 'financeAdminName': '赖勇兰', 'financeAdminEmployeeId': '617003842541850624',...
Logs the given message to the console.
\nvalue:${交易信息}
Returns a value from the given ``dictionary`` based on the given ``key``.
${交易信息}
id
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${交易信息}
name
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
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} = 厦门千纸互联科技有限公司
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/transaction-main-enterprise/get/warehouse-name
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
path_url=/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${仓库}
${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']
Evaluates the given expression in Python and returns the results.
random.choice(${仓库})
random
${所属仓库}
${所属仓库} = 钟落潭仓
Logs the given message to the console.
\nvalue:${所属仓库}
Makes a variable available globally in all tests and suites.
${所属仓库}
${所属仓库} = 钟落潭仓
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:33 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/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=663871782402527232
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${dataTime}
${dataTime} = 2021-12-02
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get-category-price-by-date
params=orderItemId=${orderItemId}&weightDay=${dataTime}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663871782402527232&weightDay=2021-12-02
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663871782402527232&weightDay=2021-12-02
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663871782402527232&weightDay=2021-12-02
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 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.620,"publicSubsidies":0.000,"paperCategoryId":"661536969788100608","priceDate":"2021-12-02 00:00:00","categoryName":"坑卡"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'price': 1.62, 'publicSubsidies': 0.0, 'paperCategoryId': '661536969788100608', 'priceDate': '2021-12-02 00:00:00', 'categoryName': '坑卡'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
price
${price}
${price} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = 0.0
Makes a variable available globally in all tests and suites.
${price}
${price} = 1.62
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0.0
Makes a variable available globally in all tests and suites.
${dataTime}
${dataTime} = 2021-12-02
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 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
Sets variable based on the given condition.
'${taxRefundRate}'=='${None}'
0
${taxRefundRate}
${taxRefundRate}
${taxRefundRate} = 9.6
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
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=0e7241a0268c77ec25e1ad08856467ae'}
body=b'--0e7241a0268c77ec25e1ad08856467ae\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\xdb?0\xee92\xd91\x19\xf0\xc6\x84\xf1\xca\x8a\xf8\xe5\xe4\xfc\xbc\xa1\xf2\xcf\x91\xfd\xd8\xb9\xf8\xe7\xb1\xfe\xe9n\xd5<.\xfc\xc3\xa6\xca4(\xf4\xd5\x99\xd08+\xf8\xe0\xac\xf9\xb4+\xf7\xde\xa6\xf5\xae)\xf1\xab(\xf1\xcb\xc8\xea\xa5%\xee\xa7&\xe6\xa0%\xc30$\xf6\xc4\xc1\xfc\xcd\xaf\xe6\x964\xfe\xf2\xd2\xff\xd9W\xff\xe6\x80\xfe\xeb\xcc\xfe\xd3=\xff\xddf\xe6A7\xf7\xca\xc8\xff\xc7\x16\xf6\xd8\xa1\xff\xfd\xf0\xff\xd6K\xe4+&\xeb3-\xfe\xf8\xf7\xff\xee\xa4\xff\xe0t\xff\xec\x97\xf8\xe0\xde\xe70*\xf2\x92t\xff\xcf2\xff\xe9\x8c\xef\xc5\xc2\xbc+ \xff\xde\'\xf4\x9e\x81\xff\x82z\xff\xcb%\xf5\xc2\x8b\xfbVO\xfe\xfd\xa8\xf9\xb4\x99\xeaj&\xf7\xbd\xba\xb3\'\x1e\xfb`X\xfd\xd3\x13\xf6WO\xfe\xe7e\xf1\xd4\xd1\xe6\x98!\xfd\xf2\xf0\xf5\xdb\xd9\xf9\xd6\xd4\xdd82\xf6\xa9\x90\xecp,\xba*\x00\xdb@&\xef\x7fj\xfa9\n\xf2\xb6\xb2c\x05\x02\xdbH.\xa8"\x19\xff\xdf5\xf7\xcf\x9b\xdf\x895\xfdpi\xee\xbe\xbb\xf1\xb7\x89\xf0\xae{\xf6\xc8\x94\xf0\x9d(\xf0\xaa\xa6\xf8\xca\x16\xf8\xadG\xe8\xa2\x9e\xe2\xad\xa9\xdf\x9c\x98\xe0U9\xedWN\xe6\xb6\xb2\xfe\xe6R|\x10\x0c\xdc\x8a\x85\xf7\xb1\xad\xe4w\x03\xdbO*\xfa\x98A\xef\x81\x00\xe8\x8b[\xe2`C\xfew1\xfc\x86:\xe0\x8e\x1f\xc3:\x00\xe2%\x1f\xe4kN\xea\x97e\xf4\xc0\x16\xf0j[\xe6\x93\x8f\xe7NF\xd2R\x00\xee\xa4p\xd7\\\x02\xec\x9fZ\xdfi\x01\xcaF\x00\xf5\xc9:\xeb\xa69\xe8v\\\xf8\xd2f\xee\xb86\xef\xb5\x16\xf4\xc7Y\x97\x1b\x15\xe6\xc0\xbc\xd8}x\xd9\x83\x1d\xd6/*\x00\xae\xff\xe9\xa9\x15\xf5\xbcL\xe7\x80L\xe6\xb7R\xf9\xc0-\xfa\xd2%\xd0ib\xc0B7\xc7UM\xcfs \x00\xb2\xff{\xa96\xc3\x00\x00\x00KtRNS\x00\n\x146\x1f)CL\xfd\xfe\x811\re\xfe\xb4\xf9\xd4h\x14\\\xfe\xfe\xfe\xd0\x1f\x8c\xe6\xfe\x8ep\xbf`ME4\x9e1B\x1f\x9e\xbe\xa8\x7fO\xdd\xe1n\xfe\xd3\xca\xbf\xcc\xbfu\xbe\x9e\xbc\xcc\xe0\xd7\xc8\x8c\xfe\xdcz\xa5\x99\xb7>v\xd3\xac\xf7\xeb\xbe1\x8e\xc6\x00\x01\x14\x9fIDATx\xda\xec\x9cAn\xd3@\x14\x86\x9de\xd4\xca\x12\x8a\xba\xa8\x04$\x08\xd2.\xe2&\xb2\x02\x11\x08\xc5\x8b\x9e\x81\x1bp\x00\xd6=\x80%\xd6\xb57\xbd\x81\xef\x11\xb5\xfbH\xb9\x04\x8a\xd4e\xd6<\xfbM\xfc\xd7\xf3lg\x92\xa68\r\xf3\xcdd2\xf8\xbd\x19\x17\xfc\xf51P\x8ac\xb1X,\x16\xcb\x8b\xf2n\xac1q$\x93\xb1\xe4T\xcb\xf98\x96|p,\x96\x97a|\xabq]&\xee\xad\xe4\xa3Q\x8e\xc5\x02\xf6.\xee/z\xfdT\x93w\x8e\xe4\x03\x87~\xd2\xc83b"7RI\xfc\xfaE\xdd\x11\\\x0eKHW\x0f\xf7\xc3\xf8\xda~\xb2\xfc\x1f\xa0\xe2\x92jU\x15\xf72\xcfA\xe6X\xcb\x19\xde\xea \x05|D\x14\xe0\xc3\xd8\x07\xe3K\xc7r\xfc\xd4\x1c\x15\xea\xad\x1cn6r\xd2\x80\xb8\xc4\xd0\x16\xdd\xff\x00a\xcc\xb2K\x0cD\x96\xa4K\xb4j\x8f\xb8\xdf\xbb)\xbd\x17\x16\xd7\x9e\xad\xffK\xa4\xb8m\xb7\xed~2\xf8\x93\xd7\x03%^\xd4\xa9\x1d\xbb\xedt\xaf\x8b\x7f/\xee\xd0\xb1\x1c;\xc2\x98\xc7v\x1b\xe2\xd6\xf9\xb6\xa4\xc4A\xdda""mi\xaf\x8d\x1b\xc5WWW\xe1\xed^\xb9v,GN*n\x9cuz\xb1\xb8\x84\x12\x17\xe4a\x95M\x84\x94\xd7\xcd\x85\xe4\x00\xe2\xc4*\xd5\x16)\x9c\x878\xb2)/*Y\x8fy\x8c\xb9X\xcf\x1d\xab\xb9u;\x8e\xe5\xa8\x19\xf3\xb3\xc6@\xe2\xbaR\xdc\xb1\n\xab4\x9a\xf0I\x00g\t\x0eP\xcbg7Y\xc5\x1d\x14\xc5\x85[\xdc\xa9)q\xe3\xc2\xfe\x98\xab\x86}\xb1\\\xbfJ]\x89\xee^\x9d8\x96cf\x0c]\xb8\x95W\xdcI\x9eC\xd0\x90\xceo(q\xad\xc7u\xbe\x1eCvP\xe0\x0c\x88\x1b\xaf\x13p_\x88\x0b\xf98\x82\x8f\x0bs\xa2(*\xd6`\xcf\xf4\x93\xe6\xc2\xb1\xbc>Z\x1dSq\xd5\xa3\xa7\x81_\x10W\nG\xc0\x97xE\x89=\x15\x1f\xe6\xe1<~\x97j\xdb>\xd3\xf6\x91y\x99\xb8\xcbxg\xb0\x15\xe6\xf1C\xbb}\xe5lA\xa7\xe5X\x0e\x81 0\x167.\xaa\xab\x89{z\xc9\xb0#\x85q\xe9\xba\xee\'\x8e\x92\x8f0[Aa\xa2{Y\x14W\xe4e\x15\x97\xa0`\xb7\xbd5\xeeMX\xd8j=\x7f\xc0!\xc5\xf4\xd7\xcbr\x00\x8c\x12\xbfe*\xae\x86&\xeed\xf7B\xa8\xf8\xa8\x89+i\xbb\xb9\xb8.:f\xe8Z #\x8a\x05,\xee\x99c\xcc\xf9}2r,\x8d\xe3%I\xe25#.0\x15\xb7\xaa\xe2.*\xab\xec\x93\xd9\xc2m\xbb1!\xc5%\xce\xb7\xf8DO\xee\xed\x99\xb8q\xfa\xf7$n\xb0\xb3\xb8\x8b\x7f,\xee\x1d\xddq\xc1\xe2\xd2\xbb\xbb\xee\xfc\xf6\xf4\x8a\x1a\x08\xcch\x8c\xe2\nq{\xc6\'\\?I\x12\xbf\xefX\x1a\xe5\xdcO\x88\xfb\xdazs\xfaA1\x8c5\x967\xc4g\x8a\xf4sq\xef\xe22\xee\xa8!T\x16\xe7.\xc5E\\\x89\x9b\x9a\x9b\x8a\xbb\xc8\xa1+\xd4\xf1\xae]#0_\x96\x8aKAcq\xbd$\xc5\xb7\x7f\xf7\xdb\x14(\x1f\xc4\xa8\xb6(\xb3x4\xa2e\x1d&N\x94\xb8\x1c\xd4\xbb\xd2V\xae\xc7F\xaa{\x1d\x02\xf7\xcd3\xb0<\x93\xd2\xd9\x99q\xc9\xed\x1fhKsq\x83$#\xb0\xe66\xc9(a\xfcZq3\xf5\xb81\xba\x7fwJ\\\x15P\x96\x110\x97;\xd6\xcb\x96\x0e\xb3\x05q\x81\xfbj\xcbi\xc8J\xaaSK\x7f"\xf9\xa0bSy{\x12\x97\xe8\x99\x1f\xad\x18{\xccm\x94\x91z\x0e\xfdZqsI\x0b3x\x95\x8b\x0b;c\xa4\x16\x8bt!\x07\x9d\x07]\\\x04\xb3FP|\x93\xb8\x93;\xc94\x17W\xed\x83\xfbC\xdc-\n\xaeo\xbdm\x98>\x1f\x16\x82zq\x15\xb1\x9ci\x15\x17\xb1z\xa0\x0f\xd6Hq\xe5*\x1c\x15v\x15\x17\xc62\x10\xd7\xfcl\xe5\x8f\xec\xd7 \x9a\'\x10\x7f\xd8\x10\xe2n\xe4\xbaG\x9c\xc0\x98\xed1\x11w/\x15Wr\x03q\xcd\xceV\xc1\xb9c9\x00.\xd2*\xe2\xed*.\x8a\xd6\xc0\x9b\xa6,\x9f\x81\xdb\x80\xb8[U\\\xdf\x9e\x12\x0e\x88N\x90\xfc\x08\xf6 n\x96\xdd[<\x8fzq\xc3]\xc5\x1d\x10\xbdgW\xdc\xbe=%\x1c\x16\x9e\x9f\xf4k\xc5\rU\xcb;\xde\xc3\x97\x13\x17w\xe1f(.\xd6\xe5\xcb\x96\x0b\xa2K\xe2\xe6W\xf1\xf6\xc7\\\xdc\xc0\x9e\x12\x0e\x8cs?\xa8\x15\x17\xf6@$\xe8\xfbB\xe2j7\xa1f(.\xbc]\x0f\x10\x17WU\xca6\xe2\xda/\x98\x1d\x1e5\xcf\xe4\x948\xa1\x87\xbb\x0c3w`\xed\n\xb6A\xdcY(\xc8\xd4\x00g2\xe3\xacL\\u\x1b\xee<eqOk\x99d\xb9\xbcRT\xdc|\'\xec\xac\xc4\xb5\x1c%,n\xaaN60e\xe2^|W>\xa0\x87\xdf\xbbE\xe8\x92\x96\xf14z\x92\x8bK!$\xf2l\xb1x\x0c7\x82t\xea J\xc5U!\xe4Yq\x8f\x9aL\\<q~\xe6$\xee|\xddX\\\xc2{j\x0f3q\nt\xb2h\x01Q\xefY\\\x91\x07qM\xec\xc5\x87\x01q\x11\xe6\xcbV\xdc\xe3\x86\xc5\x05\xa2\xe2\nq\x81\x14\x970\x14\x17@\xdc]\x80\xb8\x00\xe2\xce\xad\xb8\xaf\x8c\xd1\xa8c.\xee\xa3\x14\x97J\xed1\x88\xbbm\xc5\xed\x8c<\xc7\xd2$A\xe2\x1b\xaa\xdbj\xb5\xa6\xa5\xe2~j)\x9cJq\xff\xcc\x89^\x9d\xb8gs\xe2d\xb3\xb8\xd1\xb3\xc4\xe5\x9f\x82\xfc\xe8\xb6\xac\xb8\x9d\xc0\xb7\xdf\x04\xd10A\x92\x98\xaa\x9b\x95\xab\xa8\xd0Vs\xe2\x93\x96\xe5\x15\xb3\xa8\xb3\xb8\x83\'\xe2"\xc6\xad\\\\\xa4a6\x9f\x93\xb8\xb8\x8a&\xae\x89\x86\xc5\xc553|Z\x99U[?I\xac\xb8M\x01q\xcd\xd5\x9d\xa6\x8f\x99_\xdc+\xc5-\xf4H\x8a\xcb!\xb8[..\x87\xa5{RU-\xb3\xa2\xb3\xb8"\x0f\xbf\x1f\x98jk\xc5m\x1c\x12\xd7\\\xddiD\x0f\x7f\xfd\xc8\xab+.\xcc\xe0.\xc5U1\xe4E\xa5\xe2\xaa,\xe4\xb1{Q(\xd7\xe3\xc7pZ\xbb\xce\xd6\xeby\xd4!\xae\x99\xb6V\xdc\x03\x80\xc45Ww\x1a\xe5:\xf2P!\xae\nC]]\xdc\x08\xbbp\xaf\x10\x17{d\x9d\xc5]E:\x1c\xcaA:\x86\xac\xb3\xb8,1:\x8e\n&g\xdb\xc4\x8a{\x10@\xdc\x1f\x9b\xff\xfd\xc8\x14n\xf0P%nXL\x14\xe2\n\xd9*\xc4\xd5`\xf7\xcef3\xcf\xfb<\xabf\xa5\xaf!\x96Y$\x13\x17\xea2\xa8\xb8\x1b\xab\xed\x8f\xc4\x8a{ \x04\xc9\xbdO\x04A0\xf2\xbc\xbec$.x\xa8\xaa\xb8P\xa6R\\\x10V\x8b\x1b\x8a\xad\xe6)\x8e\xf3m^\xcd,\xdf\x17<\xaa\x18\x89+\xb46\xac\xb8\xad\xbe\xe7\x8d\x82 \xf0\t\xfb_+4M\xa7\xdf\xef\xa0\xcen)ne\xc5\x05\xf5\xe2\x1aW\xdc]\xc4\x05R\\\x00q\xcdi\xd1\xaf\x9a\xfd^\xc9W\x84i\xc5\x15\xcc\x8eK\\\xcb+c\x17qQq\xdf\xef_\xdc\xa5`e\xc5\xb5\x94\x89\xfb;"\xf8\xedw\x8d\xb8\xbf\x8b}\xa6\x89K\xd7\xb4\xa4\xb7\xa5\xe2"\xce/\xeaJ\xdc\x8b\x1e1\x88\x04_\xe8\xf2W\xb5\x06]\x89\xfb\xa6\xd7\xfb\xa2\xb6\xc2\x86V\xdc\xbf\xec\x9cAk\x13A\x1c\xc5\xd5\xab\xbd\xd9K%x(\x08=\x14\x16\xc1\x15\x03\xb6\x07\xbf\x94 z\x91@{\xca9\x1f"\xdf"\xd0{\x8e\xb9\x86e\xd3\xd0\xd0C\x0e\x05o\xfeg\xde\xcc\xbe\xce\xfcgcDE\x99\xcc\x9bq6\x99\xf7\xfe3+\xfbs\\A\xcd_\x17\xe6Y\xdb\xe6\x86\x9by;o5\xb8\x0c\xb8>\x93X\x00.lv{\xe2\xb6\x1a\\\xef\xf3\xdaZp\xa1w2\x13\xb5s7\x1d\xf7\x07\xa9k\x87\xf8\xb5\x87*.:k\x0b\xb8y\xeb\xc2?\xf0\xebk\x8c7\xadH\x81+.\x02\x1e<AC\xf4\x08\\\xd8\xc8\xe0\xd3\xc0$R\'n\x97t\xd7\xd6\xc8\x05>\xfay\xde\xd7\x0b\x99\xae\xe4;:\xeb\xef\xa5\xaa\x03\xf7\x1a.\x9a\xbb\xbb\x02n\xc6\xba\xc0\x03gK\x83\x8b\x08\xe8@>\x05.B>\x95\x04\x97{\x89p\r\xc0\xbd\xbb&\x84\xf0\xef\xcct\xd5\x81\xc9\xeb\x83\x07\x97kZKT\xc0\xcd^5\x88\xa0\xd2\xe0\x123\x9f\xd7\xe0b\x9e\xf8\xa4\xc1\x85\x90\xc3\x05\xe0\xfae\x08>|\xf0\xf9\xed\xd1\x84\xaf\xbb\xef\xc0\xa5@{9q\xf3\xd7\x05I\xc1e\xd3\x0bn@\x8d\x02\x97&\xd4\x0f.\x19\x84\x00.7\xa2\xc5\xc3s\xc6\xdd\x9dx\xe2\xd6\xe1\x92\xe5\xc4=\x08\xd9\xa7\xbe\xc7\x89\xab\xa4\xc1\xa5v\x83Kip\xdf\xa5\x96\x01\xb8\x94\x06\x17*\xe0\x1e\x90\xfe3p\xeb\x84\xbb7\xb8\xfa\xee\x8a\xb2\x95z\xea\xebVt\xf6\xaf\xc0\xbdK\xe3\xd9~\xfbEp\xa7\x05\xdc\xcc\xa5O\xdc\xdd\xe0\x8e\xf6\x07w\xbe\'\xb8#\x82\x9b\xb0\xd7\xd6}\xdb\x85\xcb\x89[\xe4\xc0\x1d\x05\xcd\x9d\xb8G\xe7U\x00\xae\xb7E\xf8\xa0\xc0\x1d\x85\xad\x0f\xdc\x91n\x00\x17\xfb(wa\xdd\xf7\xde\xb8f\x82\xe0\xaa\xaar\xe2f/\x0b.a\x03\xb8\x8b\xb7\x06\x06\x04\x08T\x18\xfc\x16\x81\x0b\x0f\x1dC\xf2U\x01v\x18%\xb8\x1f\x1f/@\xfc\x01.K\xf1\x91\xe0\x8e\xc2\xaa\x02\xee\x01\xa8\xf6,t8\xac\x1f\xf0=\x00\x97><}\xe2z\xbf\xbb\x8e\x92\'n\x90Q\'nM\xcf\xb9\xa3\xb61n\xa5\xf6\x7f\x0c\xae\x9f\xe3\xb5\x80\x9b\xbbjy\xd2a7\x83\x02\xf7\xb1\x03{\x1a\x83\xcb\x15\x90J\x83\x1bf\xb0,\xc15\xdf\xc3\x85n\xac9\xacF\xaa\x8a\xaf\nz\xcd\x02n\xf6\xaaG\x01\xb3x\xf2\x98\x13\x1a+\xa7\x8f\x98\xc3\x0f\xe8f*z_u\x1a\xb9\x08\x13\xeb.\x11\x80\xcb\r\xbc\x1a#\xba\xe2p\xa1YktVa\x02?\x9c\xff gq\x03p\xe1R\x16\xdc\xa6\x80\x9b\xb1\xe4\xa9S\xd7\xc1E\x0e\xda\xd8#S\x14\x13Q\x94:\n\xc0%\xbb\xe8\x04\xb7\xd2K\x0e\xacyL\x87+?\x88\x01p\xe9\xa0\x0b\xb8b\x15p\xf3\xd5\xeb\xean\xd4\xab\xb3\xe1`\xf4\xbb\xd2\xe0j\x11\xdcZ{\xad5O\x14\xd2\x1a\\\xaa\x80\x9b\xb3\x8e^W5\xa9M\xf34Ws\x7f\x17\\\xde\x0f\xe1\x84Y\xc0-\xb2:\xa9\x93\x84\xfd[p_hkm\xbda\x01\xb7(\x02h\x9c"iLpuH\'\xf5l\xe4\xbc2\xc2\xbe:Kp\xcf\xf5J\x8b\x06\x04V\x89\xba\r\xc1\xd5u\x05\xdc<%\x00\x8dm\x93\xee\x1a/\xe64\xdbL\xb7\x16\\\xa6\xc6*\xaa\xca\xb9\x00\x1d\xe9 \xf3)\xf7\x8d\x96\xf0\xe0V>\xcf\xd6Z\xef\x14V\xb8\x19\xc1\xf5k\xd2,\xe0\xe6*\x00$\x92\x91\\Zfo7\xd3\x01xi\xe6\x9c\xe7\x95\xc8\xa2<\xf2\x1fS\x94\x007\xac7\x03\xc1\xadc\xe0\x8d\x85\xd2*\xb1\xff:\x06\x17\xb5v,\xe0f*\x02$\xcd\r\xa0x\xddPs\x99a\x0f/\xac\xd6>>p"\x00\x971\xd7:p\xa3\xe5E\x1bk}\x90\xff\x9dg\x1cxv\x98ypY\xe1C\x05\xdc\\e\x00\xa2HS\x08nkOc\xc8\xd9\xa4\x92\xa2O\x8f\x89\x10\\\xc6"\xdbz,Dbf\xad3\x80\x0b\x8f\x84\x12\\\x88\xe8\x16p\xb3\x15\xc1\x8d)\xfcJn\xc1\xd3s\x19\xb7:\xbahBi\x90[\x9a\x04\x97\xb6\x02\xb7\xd2\xce\xb6q\x00\x12NjJp\x83[+\xe0f,\x02\x14k\xbd4j\x96\xe6\xb7\xe8\xe1\xabS\x01W\xbelun\x81\x8c\xd3r\x07\xb8\x12\x94\xbe\x13\\\xb1q\xaaFB\xfds\xc0\xa9\xef\x80\xe0j\xaf\x80\x9b\xa5\x0c@\xf7\xf5\xa2]n\xc6\x91f\x16\\\xc3\xec3D\x9f\xcb\xd7\x1ep\xa9$\xb84\xcd\xd0\x0f\xae\xcd\xa4\x00\xbcE\xf5\x93>8Eg;\xbc\x02n~:\xb9<\x7fa\x91\xd4\xe0\x02\x07\xaa\x17\\Q\x83\xde\x0bn\xe3\xed\xdd\xe0\x9a\xcc\x93#m|\xb6\x85\xc3\x1ep\xe7\x05\xdc\x03\x95\x03\xf7\n\x1dC\x1f\xb8H\xb0\x01\r\xaa\xe1:~h\xe9\x12\xdc\xae\x9e+\xba\x13\xf75\xa6h\x00?\xf07\x1e\x87\xfbw\xeb\xbf\xb4\xe0\xa2\x84\xc5\x05\xdc\xac\xe5\xc1\xb5\xcd\r1\xb8\xd0\xb98\xcc\xa4\xce\xb4\x17\xe3\x98\\\x80\x15\xff}\\\xc4BF\x01n\x15\xc0g#@\xffTV\x87A[\xfa\x95\xa7\xba\xe6r.PN\xdc\xbce\xc1\xbd\xba"\xb8\xe6c\x1a\\\xa4\xa4#-R\xe0\x9ai\xfa\x92M\x82\xdb\xf9\xec\x0e\xdc\x1a\xdca\xca\x11m\xf5\xcc\x96\x19+(\xddt\xe0v\x1e\xeb\x0b\xb89\x0b\xe0:Rp\xed;q\xc3\x8ci1\xb8@\x8b4\xf6\x82\xeb\x01\xe3\x07\x80{\x0f\x8b\xf5\x0e\xcd\x0fRVu\xfb\xb3\xfa\xabu\x8f\r\xb80X_^\x15\xf2\xd6\xc9\xcb\xe3g\xf2\xd4C`\xfa\xc0%\x1d\x90\x06\x17\x1e\xc74\xb8\xf0\x11\x81\x00\xae[\x80\xf5\xb8\x15\xdc\xcb%\xf7\xe7\r\xf8\xf7\x88\x1aFP?(\xe0f.\x80K\xf5\x81Kf\x80\x88\x06\x97B2\r.\x13\xf6Bp\xcf\xa3z\xd1v\x89=\xfc\xa1\x1a&\xe6\xd6=Q?\x85\xf2\xaap\x10\xda\x17\\%\r.\xb5\x13\\\xad\xe5J\xda\xa5\x9eo\x96\xcb\x15Vx\x139t\xd5O\xc13\xbf*\xe0f-\xf5\xd4\xa7B\xd1>\xe0\x0eV\xa2\xdd\xe0\xcaJ\xab\xdd\xe0N\xec\xb82\x94i\xfcne^\xdaS\xf9\xd7\x1a\x91\x03w%\xee\x87\x1ep\x07\xb2u\x017g%\xc0]\xed\x05\xee\xe2\xa7\xe06\x12H\x82Kl!\x93[\xde\xaa\xfa\xcf+\xa3\x0f\xd8^if\xdd\xb3\xbe\x13\xd7\x98\x05\xdc\x8cU\x0b?A\x9b\x82\x87P\x95O\xb1m#pu\xa2\x11\x1c5\xb8\xc6\x8a\x92&\xd7\xe8\xfa\x85\x99_\xbd\x94\xaaKm^\xcdW\xfe\x06\xea\x84;(\xe0f\xae\xda>\xe7\t\xdb"\t\xeeD\x017\x8f\xc0U\xecL\x92\'n\xb0\x86\xc8|7\xb9\xad\xaeo-\x9a\xc7\xf6\x15W\xed?Y\x1a\xaaW\xa7\x1d\xb8Au9q\xb3W=\xc1C\xf7\x17\xbc\x02\xbcT\xe0\x02\x0c\xdf\xa5)pap\xb5^p\x11a\xce\x82;E%\xbbA\xd3\xe8\x04E\xf1\xfe_Wp\xddO!\x0c\x14p\xf3\xd7\x9b\t\x01\xb2J\x83K\xdfg[\x05n\x98\xe8\x05\x97\x9b\x811\x80\xfbi\x12\xeb;\xd0\xc4/\x1b\xb5\xff\xdc\xb9\x00\x97r\xc1\x02n\xee\xba\x8d\x9ez\x1a\xdcK\x98\x94\x06\x97 B\xbd\xe0j\x99\xdcD\xd5\x7f\xb1d\x0eA\xa6\xda\x7f\xd9\xfd\xd9\x0c6#\x05\xdc\x83\x90\xa2h\x9b\x06W\xa9Q\xe0R\xbf\x0en3I\xdd\x08\xee\xe4(Q\xe2\xde\x14N\x01\xae\xd6\xbc\x80\x9b\xb9\xf4#O\x81[\xf7`y\xfc\xa7\xc0\xdd&\xcb\x81f5I\x9b\xa2\xa7\xf1\xcd\x95\x13\xf7@\xa4yk\xf7\x04w\xf9G\xc1\xfd\xc1\x9e\x19\xeb6\rEa\xd8\x0eT\x0c\xc0B:\x80%@\xb2\x84\x00\xc9R\x95H\x0c,y-\x84\x04O\xe0\x17@b\xf0\xc6\xc4\xe6\'\xc9\xc8\x19\x18\xa2(faAb\xe8\x828\xd7\xe7\xde\x9c\xf8\x1e\xd7\xa9hI$\xe7\xffl\xc7\xa9\xcf\xef\xeb\xb4\xferr\xdb~\xe8=\xcaL\xdc4\xdc\xf0\xbe\xf1\xf3\x08t\xdc\x13\x85}\xab\xfc"\xabN\x01\x14\xe7\x8e\x86\xfc"\xfd0\x1aH\x97\xab\xc5\xd5\xab\xf9\xf1\xdcP\x97\x9f\xe2\xf3\xdf\x85\x7f?\x14\xa6T\xb5\xef.\n\xef\x9b7\xa6\x8e\x8e;z^\xa8\xb1\xde\xca\x15+an\xf9\x0f\xef\xa2*\xf7\x8eS\xd4\x15W\n\x9aZs\xc0\x8a\xab\xc2\x86\x9d\x13W\xbe\x92Mv_\xdb\x0b\xbc\xdaz\xd9R\xc9\xc3{Ws\xedX\xc4\r\xa7\xe9\x86\x8e;v\n\xe9y\xbc\xf1\xda*\xc3\xde\x9a[>\xf5\x8e\x05\xd7\x98\x8fMW\xcbi;\x88\xe6\\\xef\xa6\xab:\xaeC\xdf\x03,\xee\xa6\xd2c\xbe\xfe\x8b\xe4\x85\xbc\xd0\xe3\xdb\xfd\xa6i\xcd\x9d\xfby\x8c\x9c*\x9b?\x7f\xd9\x10A\xdc\x11s\xe1\xb5\x10+\x1c\xad\x13\xe7\x91njF\x90\xfc+q\x8c:\xe2\xca\xf9\x9a\\\x11\x91\x11W\x8a\xed\xb2\x85\xe8[eX\x93#O\x16\xb6\xf4\xce\r\xec\x8aA\xdc\xf0\xfa\xf5\xf5-\x89\x81\xb8\xe3\xa5\xab\xc5\xa7 En\xf5V!}Ct<\xd9\x15W\xfc\xd1\xd4\x8a\x98X\\\x1dB]#Z\xad\xd7EQ\xbc]\xef\xd0\xb4r\xa6\xc9\x8b\xa2\xe5\x8f)q\xc3\xd5\x8e\x1b\x86\r\xea\xfe\xe2:\xc4\x1d1\xb3*\xe2#9\xee\x18\xbdE\x0be\xd3\xf6\xbc\xa4+\xae2 \xae\x85H\x86j(f\x9exr\xb2\xe4*\xae\x01\x1dw\xe4T1_\xc9q\xd7\x88\xdbk\xe5\xfcV\xc5\x9d\x10\x13\xe4\x95\xa7Y\xe2\x99\x87c\xb2v.>\x83\xb8\'\xc7\x93*F\xa6\x00\x13\xd3\x97#.\xe9\xd6\xc5\xb5]U\xd5\xbbO\x96\xf3\x04\x1d\xf7d)\xaa\x98\x8dX\xc4\x0cJ\xf9\x9b\x1c\xd9~q\xcf\xae/nF\x06\x99\xb2\xf4\x96\xe6\t:\xee\xe9\xc2s\x80\xb2\n\x1b/v\n zk]\x9erc\x8e\xcc\x98\xba\xc3J9 n\xe9/(\xab\x8a{\x96\x1b\x12On\x99\xa8\xb8~\xa0\x12\xe2\x9e\x0c31R\xa5\xfbN=\xe2.$\xb3co\xb9\xd2Oka\x1a\xaa!S^%niVr\xdc\xf4\x9b\xe8\\\xbf\xda@\xdc1#\xb6\xed\xde\xf6h\n \xbc\xd9uBvD\x91\x95S\xe3m\xbf\xb8R\xd3\x1cS\xde\\\\\xb5V\x16\x88;n.J\xbe\xc9\x8c>\xc4S\x00qR\x8a\x9ak\xfd\xae\x89vC\xa5wFS\xbd\xe2\x96\x1a\x08\xe1\x1b\x8b\xeb\x87\xd3\xebC\xdc\x91\xb3(\xe5v\xeb\xc3\xba\x15\xf2\xbc\x93*BQ\x83\x1b\x97\xa2yW\\!\x84\xae\x10W\xe5\xd2\xd1~:f\xffL\x18K\x90\xa7\x10w\xd4Te\xc4w\xf6\x96\x97\xb3XoA\xd5\x90\x86\xfb\xac\xaf\xe3jh\xc5!+\xae\x14uw\x0b\xd8\x8e\xeb\xc4\xad!\xeeX)\xca\x98oT\xdb\x8f\xed\xcb]?$&~\xe7]q5"4\xbd\x1dW\x88;\xa4\x95\xd0PE\xcak\xc6\xa4\xd1q\xc7\xcd\xa2\x8cY\xd5\x8e\xb9q\xcd\xc6\x9c\xe1iG\\C\xc3CYq\x0f\xc3\xa6f \xee8\xb1\xae\xfdl\x85\xac\xb3=z\xfft)\xf1{X\\\x0e\x1dO\\\x82\xb8#\xc5\x1a\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\x9b\xba"\xb7V\xc5\xf0=\xb7\xcc\xe2\x15\x8fQ\\3\xb8:|\xc7t\x93\x92U!\xf4\xacp]\xcf\xe7k\xef\xc8\x94;\x17[\xfeK\\\xa5\xb5\xc5k\xfa\x8c.\x9c\xa0\xfa\xf5\xfc\x02({-\xdcgP\xedvp\xae|V\xddN\xa9\xd5\xebB\xf0J\xb9\xed\xdaj\xfa\x9c\x96\x1c=\xf6\x8b\xe1\xb9\xd9\xcd\x13\xfb\xe8JaU\xd2=\x9e\x8e\xbeOA\xae\xdb]\x1d\x16Zs\x9f\xd3Y:\x8eQ\xa8\xa1\xfb\xb9\xe0\xd0\x92\xab\xe7K\xdc\xb7\x8e\xbc\xd5\x01\xdd\x0el\xb3b\xb4\xdc\x9c\xa9\x90\xa2sU\x94\x07?\xf6\xd5\xf6\xa0\xac\xd8m\xb5\xf5!P\x05\x9c\xd8s\xf8\x18:3\xf1\x13\x9e\x0b.u\xe8\xea\xae\xd0\xfd\xca\xad\xbe\x19\x93_\tP\xa7\x90(H\x9d\x02\x11\x01G#\xf8\xcc\xf2\x10E\xaa8\x1a\x8cs\xab\xf4\x15\xb2\x9a \xe4<P0\xd9\xf8\xc9\xd1-M\xc3\x87;\xe4\x8ft-\xc3\xa8\x95Iq\x9b\x18\xc2K\xbfk\xa0\xfb\xc4\xd0j\x10x\n\xd0Tj\xe9\x9c\xc3?\x16\xbd*\xe5\xfe\x02%&\x9c\xb8N\xa9p\x15}I\t\x88\xcf\t\x96\x0c<G\xe6Ccw\xed\x83\xc6\xf2|h\x9b\xad\xa6x\x0eY\xa6\x08|\xce\xe8]\xa8\xb6\x9d2\xc6)&\xf5\x1eI\x05\xc8\xaeny\x13\x86\xb6!E\x9b\xb4\x08\xc1\xc0I7\'\xfcc\xa1\xc1\xaa\xa2<\xf9\x86\xb1\xa2v\xe0\x0e\xd7\x94I\xc0O\x8d&k\xc6\xef\xd8\xb9\xa1v`\xda\xc5:\xec\x9b\xeeP<g\xb1Y\xc7\xf9\xb8\x99\x8bm0\xff\xa8\xaa=\xa3\x84p=!\xdc\x89Y\xe6M\xe3\xc6\x9b~V\xfbf\x8dZp\x10\x87\xe0\xb6\x0b\x12|B\xe1\xe2\x168\x0e\xe2U\xc2-E\xa1\x0f~5\x1bj5[U\xd5\xcf(\xabO\x1fU\xc6f$\x1c\xe8\xc6\xcc\xa9}\xc0\xd2T\xb5mh\xf6\r\xe1\x12S\x93\xac\x17\xfc\x15\xc6\x9bh\xe8Q\x95%\xb91\x8f\xaa\xccfk\xbaUjt\xa6\xd3M\x8c\x1b\xb1$2\xbb\xd9\xc4Y\xdbF*\x93/\x01\x81;\xd9\x1e>y\xf5L\x93*\x8e\xaf\xcd\x88\x9f\x86\x10\xe2\x7f\xa2bkSY\xdd\x041\x05r~\x13q\xf2\xa5\xb3\xbb2KX\x9a#9\xed\tN\x83$v\x06\xf9Mu\xeb\x1cQ\x9b\xe1:\xb2\xe4\xafn\xf9\x9bm\x15\xc3N\xac\xe9\x8a\x88\xe5\x87j\x82\x9e\x96\xca\xb1II\xd0\xec\xcf{\x95p\x8f\xa6s:\x9dD\xcc|\xc6\x18\x1eO\x1a=\xadN\x85\xbb\x9e\xc5\x15\xc8\xf8<%b8\n&]3\xa1\x8b\xd2\x0bd\xbe\x9c\xe3\t$\xbe3\x08u\xf4\xb0W;N\xb8\xb3\x81S\xae\xa2\x03\xe6\x90(HR\xf4^\x91\xf5\x98\x1bd\xf0.)\xdc\xd0L7\xc1\xdfL/\'\x85\xa1C\xafF\xe0\xba~\xd00\xa5\x8a\xa31\xe1\xc2L}\xc6T\\!\xcd\xec\xab\xea\x84\xf8Y\xc1}\x9c\xfb\x9c\xabA=\xb77\x1cD\x96F\x87\xf4\xd6\x9f08\'\x13\x05\x9fq\xb1\x81\xa1\xc5\x91\x15\x12\xaf\x11\xcbgG\x17\rU\x85\xd8\xef\xf4\xd5\x18\x8d\x00t\x1b\xa9KM\xf0\xcdI,@\x06\xab.\x04\xce\r\xca=\x1c$\x0c\xa9b/=\x16\x1bQh\x005"\xc7n\x0f\xce\x84\x02\'\xa1\xdao\x03\x83\x05\xdapZ0\xc9f>a\x96V3\xc5L\x8b\xebv\x1ca\xde\xa3\xe8\x05\xcc\xcc\\V\x0eJ\x97\x08\xb7>\xb5\xf6\xd0qwt" \xcb\x1c]\x8a&\x86\x99\x14\x97\xc8D\x97k5A?%\xb6\x1a\xdd\xdd\xa5\x08\'\x01\xe8\xf6p\x90xx\xbfR\xee^4;\xe9{c\x9e\x81R\xef\xabi\x8f<\xec\rD\n\xd4\x00\x8c\xb5\xc1\xbb\x9e\x96\xd7$]n\x98\xa5\xe1s\xe6\xb6\xa1\t\x0c\x1c\xbbXC\x02\x99\xfef6\x8f\xad\x04\xe1\xb6w\x8cne\xd3\x0b\x02j\xa7/\xd9g/i\xb6\xe3L\x08/\xa6\xce\xae\xfb\xed8\xe0\xcf\x88\xd3V\xe3\x9c\x1c<\xc2)\xd9\xd6\x10\xe4`\x90x\xf8\xfa\xfbC\xa9\x02\xd9\xf5\xc1o\xc6<\x90o\xb8p\r&Atb\xdb\xc8t\x93\x96;\xf2\xb4\x8e\'J\xe8\xd1TX\x9a"\x9a\n\xbd\xf4X\xb0\xb6\x06VfE\xabvx&\xdc\x8avK]\x8f\xf0\xca>h`\x13\xc3\xa8\xc7x\xe2\x11>5m\x7f\xd5\xe3\xa4\xbe\x1ey4\x08\x8b\xc2T}\xbd`s\x8f.\x87\xda\x01\xdd~\x7f,U\xec\x15n\xf4\x99\x86\xe7\x01oy\xad\xd5p{\xd8ZB6W\x9f\xd5\xf6\x13y\x8b\xab\xe8\xa0K\xac\xcd\xb2\xb5\x0fx\xe1L\xb8\xa8\xdcb\'\x97\xe7f-\xd9P\x85\xb1\xf3/a\xf8\xcc\xa5\xd3\xa7\xf2Q\xe2\xe7 "z\xce(ON\xaf\x0e\x1c\x8f\xbed67\xc1W%E\xd4\xe5\x9e.\x8ary\xdd\xdf\xb2^\xfa\xd0[\x08\xce\xcdC\xba\xfd\xfe\xba&U\xec\xc6p\xcc\x88\xe7\xdc\xb5\xe6m\x13pP\x82\xac\x8a\xe9)\x1e\xa0\xc3\xc9\xed\xb5o\xd7w5IE\xdd,\xca-\xd9c\'\xc7\x03\'1\x96\xfb\xdfx>\x7f\xeaQ,9U\xe6\x91b\xc7>|/3!\x1b\x7f\xb1VOlmO\x8f\x10\xc6\xecJ\x85R\xb3\x15d\xd5}fn9\r`n\xa8\xcd\xf2tKy_\x97*\xf2\x90Et\xbf\xec\xa5\xcao\x10h\x14\xf2_\xe8\xe9\x18\xed\x8f\x1b\xb6\x91\xa9\xccx\x98EK\x83\xb9@\xee\x8bA=\x11\xb6\xb9r\x19M+\x9d\x90\x92\x82\x87\x9f\xb9\xc3\xe4-9\xb5:8\xa2j\xf3dO\xd7\x98wg\xb7\xf1A\xca\x17.)\x88\'\x8bF\x08\xcc}\x01\xc2\xcd\xd1-\xe5\x81t\x8bh\xce]5|\xd9R\x18:\x17\xd0\xe2T\x01:4\x8es\xd5D!\xbf\xff\xcc\x13\xea\xc2@\x1af\x0cIi\xf2\xa9\x12\xe5\x96\x05NGh\xff\xccH\xb6\xef\xc1\xda\x98=6Qf<3.|\x10\x9c,vo\x9e\xd6\x13\xab\x13\xfe|\xd6\x08\xaf\x87\x1d\x8a,\xa5a\xea\xceS\x17\xee+R\xe4\x06o\x0cv\x0e\x83\xee\xe0<\xdd\x02\xf7\xa5[\xa3\xe6\xb4\xef\xf5\xee\xa8r\x85a`\x8dC\x18\xba\x05q\x10\x9a\x99\xe7\xaaj\xbf`\x8a\x8cF\xc3\x11\xfcXC\xf7>\x86\xdbE\xf9,\x1a\x8d\x97/\xa2\x86\x94,\x14\xe3\x93K\xbb\x96\x8a\xc8p\xc0\x8fn\'\xd5T\x80\x15\xe5\xe7\x06>\x0e\x80\x1fx\xa7\xd2\x1b8\x89Z\x8f\xf0\xf9.~\xfc\xd8\xe6&\x8a\x9c\x8d?b\xe6Enc\x19v\x1e\x9b1\xff\x97\xa6"\x82\x0c0\xfa94\xf2t\x0b\xbc5\xa4\xdb\x00dK\xb1\xef\xa6rc}+\xee\rX\x8b\xbb-a\x18W\xd7\xd4p\xbbB\x1f\xa8\xdbt[3\xee\xd2\x84\x90 \x08\xa2~\x94"s\x05R\xde\xf5j\x98(\xa0Q2_R\xd2y\xc7\xd9l6\xfb0\xcb\xb08\x1b\xc5\xd4\x1a\xb0A\x1f\xf0\x1f\xf1\xe0\'\x18\x1b\xae.\x95\x0f\xef\xfaS\x1c\x14\xee\x95\x9d\xa7\x1c\xb7\xd5$\x05\xd1_h\xbc\xee\x03 {\xce\xd1\xedm\xe6\n\xb5\xba}\x0f\xb0\xef\xe2\xb7\xd2p\x1d\x01\xac\xcfYI\xd3AU\xd3\x1a\xebdHU\x16\x87\x04\xcb\xe9\xf5\x89\xe8&\xa1\x89\xc6L\x90\xc0H\xcf\x8dL\x8c\xc9\x1e\x93F\xac\xef\xf1\x16\xfd\xdf\xd8\xc4\n\x9f\x0c\xc2\xf0\xd7\xae\xe3|\x89+\x0f\xbe\xfe\n\xd9\xb0\xec\xe8\xd0\xd6\xb2\xabC3L\xe5&B\\\xc0\xe8k^m\x86\n\xc7\xa8\x80\xbf$Y0\x7f\xb5\xb8\xd4\xa1\xbb\x92\xa3\xdb[\xcc\x15\x8c^\xff\x1e\xa7}\x07\xbf\x04\xf9\xc3\xdd\xd9\xec(\rEq\x1c\xdciA\xd3\x14\x06\t0\x14\x07A\xa7\x83.$\xc2\xf8\x91\x18\xb7<\xc1\x98`,;M\xc4\x1dq\xab7a\xc5C\xb0\xe8\xd2\x15kL\x06L\xe6\x05\x88\x89\x0bgEx\x06\xb6\x9e\xcb\xb9\xf7\x1e\xe8\xad\xed\xa8\xe8\x10\xff\x85\t\xad\xfd\xb8\xd0\xdf\xfd\xdfsN\x0b\x82a\xa8\x10\xc1o\xa7\x85\x83\xc3\\\x8e\xf5Wz\xfb%\r\x99\x19\x9f%\xf5^\x9f}I\xa7\xd3\x8e\x15P$%\x0f\xc5\xa0CF\x10 \xc8\xcd*\n\x0f\xd8#WG\xa9]/\x167Og\xa5\x98\x0e\xd4\xd9\x80\xba\x07{\xf3%\x1d\xa2r\\\xe3\x8c\xa4\xddZH|#]\xa1\xe0\x12\xe1\xf4\xd1\xc0+\x12s\xe5\n\xe3\x06\xee()\x97P!1\x80[\xd2\xb3+\xb1\x7f-\xcb\xe6\xd8\xee2\xb9\x1c3\x9f\xe5\xa9\x10\xb6\x00\xd7Z\x1f>\xde[\xe9\xcb\xf5O\xceA\xa9\xf4\x1cgQ+l\xe9\x8a\x81~\xb3\x94t\x1f\xf1\xcd\x98\x9bb\xf6\xbd\x1a\xb9\xf9\x01\xea{\xa0w\xea\xe0o\xb4<\xdf\xae\x05s\xdb#\xf4\xd8t\x96\x0e\x93\xa3\xb7\x8et3\x19\x18A\xa9\x9e4\xb7\xe3a\xe0\xca\x15\xd9p\xb1\xd8\x0b\x98NZ\x1d\xa1\xa1\xe8?*7k\xd5\x8d\x10n\xc9q\xff=\xb8\xf6\xd5M\x15w\xae&\x87ER\x82v\xcd\'\xd9\xf3\xa3R\xe1\xa9\xbc\xa5\xe9\xcd\xdb\xc3B\x81\xcf\x92\x86\xc37\xd3\xe9\x9b\xe7\x96o\x87\x84\xad\xb2\xb4j\\\x16\x15\xb8\xde6i\x13\xcb\xa9q\x08\xd5\xc9\xed\x9d\xa5k\xbe<\xd6\x0e\xe6\xf6}\x874\x0e\xe7\xb6f\xeb\xfeHzpT\xa1\x9a\x0fe\x84R\xef\x80\xae\x10\xd1\xb8\xbf\xc8\x07j&;\x98+B{**\x0c\x1a\x81N\x16\x7f\xb4\xc9\xed%\xd8\x9dU\xf6\x91[\xab\xfcn\xa8\x1c\xdfznG\xc5\x1c\x1d5\x1c\xc8\xa0\xfa\x15%\xac\x91\x92\x12\xfc\x07D qz\xd7\xa7u\xda\xcf\x1d\xa7\x12O(\x13;qh\xfd\n\xe7v6P\xd6y\x02\xe3z\xd6\xf7\x19j \xe2&\xa4\xf6\xc9\x0c\xf51\x90[\xb4pj]\xaf\xd7e\xb4q\xaf^,\xdb\x1a\xb8\xf4\xce\xdf\x07\xd3\xa5\xf6\xc8\xa4}\xce\x82\xc1\xddk\x91u\xfb\x8b\nN\xf0\xae\xef\xacs{\xe7r\x92z\xbb\x16An4\xb0\xd9\xdb\x95\xa3\xfb\xcd\x06v\xfcm\xeb\xe0\xc1`,\xd4\x97\xec\xb6p\xfee\xe3(\xa2\xb6\x8e\xe1\xabv\'Wsqv\xc6\x07\x7f\xe54\x1f\xc1\xf3\xe2\x89\x02\x13\xf3k\xe0\x1a+*O\x98\xf2\xa0\x99\xb0GR\xd6.\xeb\xaa\xdf\xeb\xac\x83\x0b\xefa0\x18\xdc\x1b<m\x94\x83\xa4\xf8H\x1c\xf0\xd6-\x16\x93\x96\xda\xb6\xbf\x97\xce\xeb\x03a\x95\x9cy\\\xb6Bs\x04&\x01\xff\x18\x0c\xee\xa4\xafzH\x85\\?4zN]>\xb7`)~r\xed\x0b\x02kY\xd9\xdb\x00l\xb3\xfe\xf81\xda\t\x84\xf6\xdb\x14\r\xd5\xa8/\x83W\x124\xb1\x04\xca\xb6\x9dH\xf9\xbf\xe1\x9b\xc0\x98t\x8f\x91\xa5\xcdx\x02G&\xd6\xaf\xdbt\xf44h\xd1S\x04\x02E\xfe\xe2S\xdc\xd2u\xb0>\x14\xb8\xf0pe\xb8j\x05)N\xad\x8b\xdb\xb5|>\xbd\xd7\'.?\xe6\xb1\x10\xed\x0fx\xa8\xa8\x10\x0f\xcd\x11\\\x19f\x07\x83\x9b\x1e\xba\xb2S\xd6\r\x15\\\xb8\x1d7$z\xbeB1\xee\xb5\xd8\xa5\xc9(^\xdd\x94\xd6Z\xedD!\xb0\xf5\xc7g\x80+<\xa5\x9a\xb1\xed+\xab\x06\xe2\x8f\xef\x89\x1e\t\xae\x1b\r\xeeaU{\xbf\x9b#y\x1b-\r\x8b\n\xe8<G\t\xa1J\xb9\x08\x9a*H\xa6\xb0j\xe5B_\xec%\xb5\x06}_7\n\x93q\x8ca\xa7T{\x91\xc7\xae\xa2\xe7f.<\xc2JV\xc2>]\xc4\xb0?\xa9\x99\xa6Y\x14\x0fRq\xd0\x11\x9c\x0e\x85u\'\x19\xccqu\xd1\x82Cb\x85\x17\x97z\xb97\xfbK\xe4\xda\xdcb\xcfV\xe2\xd0n\xb0\x0bN\xb5\xfd\xc6Ip\x17-\xe9\x90\x8bt:\xcf\'\x07\xf8\x88\x06\xd7\xf2[8\xdf\xf6\xb5B\x9e\r\xd1\xd2\x94\x89\xb9\xe3\xfa\xc3\xa4P\xe1\xe1\x91a\x90\xaf\xb7\x80"\xcd\xdf"j\xfe\xad\xf9F\xb8[HD\r0\x00\xee\x90\xf1v`\xeb\xd2yS\xc7\x87\xc7\xe3\x82\xdcwu;<G\xc0=\x01\xb8\xceQ\x90\x1e\xca\x15\xdc\x89\x88\x90\n\x88zX\xf4\x9c\x12u\xb0T\xecR\x15w|\xe4\x86\x9d\x9c\xcac\t-2\x0b\x0f\xa5\xc7\xb7c\xdb\x96\xa1jM{m\x15g\xe6\xf3\x1c\xbe\xdaZn\xe6\xb2\r\x91\x13\xb3\xa7\xbenX)bB"\xd5\x85\xbd\x81\xd5P\xfa\xed\x0e\x9btg8\\Q\xab\x1eR\xc5\x14\x02\x05\xe3\xa2\xdc\xa2!\xb6&\xf9\xfc\xa2-f1\xe4\x0eS\xc5\xcc\xe3\xfa\x08\x0f\x7f\xaf#\xc7\xd2\xc1E\xb8\xe0A\xb5;Md\x9f|b\xad\xbb\x81\xba\x89G\x82\x15\xe6\x8e\xdc7n\x11\x12=g\x9f\xed\x02\xb7zY\xach\xc5B\xc9\x9d\xd1\xb4\xa9\xfa\xd6*#t\xb4\xe1x:\x9d\x8eO>\xaa$B\x06k\xc5\xfbT[\x1f\x9c\xec\xadi>fT\xe5\xdc\xec\x85\x16O\xa5\x1a\xf7:\x04c\x1eG\x7fUT`\x13\xa7t\x93\xc6\xf6\x12,\xa7\x1e\x83\xe1f4\xb7\xee\x1a\xb7\xf9\xcfS\xa6\xc8u\xb5\xd0%\xb0u\xb82\x06\n\x08\xa6VTpq\x1a\xeb\xa9\x85N8\x9f~&WL\xedzJ\x05\x17.(\xf4\x92\xdc\r\xce\xed.|\xf7a\xad\xb8P+GDqG\x8f\xcf\x08Z\x1f\xbb\xcdm\xe7\x98\xc6\xf3\x15\x83\xaf\xee5\x9f\xba2\xe9/:+\xd9\xc4\x17\x9b\x04g\xcaz\x9cf\x19\x86Q)\xa8\x81\x96r\x1fUT`s\x9b\x9fn\xa1\xdc\xdd\x9br\xdd\xfeD\x0b7\x83\x7fq\xb7\xe3R\x00\xfa9\x0fZti\x91\xf6\xc3^A\xad\x93.9\xfd\x9c7\xed\xa0\xceqW\xe18-G\xe6f\xae\x7f\n|\xc8\xa2B\xe9.\xccaT\xfc\xf3\x917\x05\xdc\xeeF\xcd_\xa6h5\x07\xdb\x13A\xae\x08\x12\x88\xda\xbf\x15\xe6V\x91\xa1\\R\x15\x80\xdc\xf1\xf3$\xa8T\xc5\xc1]/\xaes\x8b\xa3\xcb\x98u# aQ\x96\xd6\xc2\xdc\x87N1\xec\x0bN\xe0\x01\x81A^\tNoV.\xc2\xad\xda\xb6\x7f\xca\xb9\x1dAGb\n\x1f\xf7\xf0 \xea\x92\x8b\xda\xbe\xbb\xc8{N\xf6\xe7\xebp\xc2N\x9d\x88\xdc\x8c\xabC\xcf\xe0\x07\xf7\xd7\x86!.&\xbb\xb8M+$z\xce>{\xb4\x1b\xdc\xf2\xf4\x9d\xc7\x08v\xf6B\xfe,\xe2[M\xdff\xb3Jl{\xa2\xba\xcf\xcd\xd2\xda]%\\<?O\x8a3\xac\x15\xd7\xbf\xf5\xc8\x90\xf4\x91\xb4J\x86\xcbN\xf3\x00\xa3<\x90\xbbZ\x0c\xce\x93\xbd\x8d\xae\xb7aV\xab\xcc\xcc\x8a\xe6\x966b\xc3\xcf^\xde;.\x9b\xf9\xe5@-\xc4[f\xc2{\xaa \x87\x9d\x8e<\xd1:=7C\x1e\xf1\xaaA(\xb8>\x9f\x05\xe9\xafA\xeds\xf9\xfd%&(\xa7\xc1*@\xfb\xbbsw@\xbcL7\x8fD\xe9\xfe, 5\xfb\x06\x13$h\xdb{G\x94\x15\x03\xb8%I\x84*s\x89\x01\x9d\xff\xe9n\xd6(g-Af`\x953\x99\xa3\x00\x91r\x9f\x03\xb9t\xda\xb0m\xa7y\x0f\xab\xaf4\xb1\x13`\xd0\x88\xe6\x96\x1c\x8eM\x97\x9e\xe7\x1dW\xb2eo4\xef\xa3\xe1\x81\xe0\xbdDE\x1a\xb2uK\xcft\xac\xc0\x95\xfa\xae\x10t\xb3\xf0\x8f\xcf\xdd\x14"L\xaf\xe5\x8b\xfe\xe9r\x7f\xf5\xcb\xef\xa5\xbb\xf2\x1f\xc7\x8d\xdd\x81skr4\xc7\xfd\x86\x7f\xbf\xcd\x1a\xdb\x0bs)e\xca\x15\x84\x07\xcaR\r+@\xba\xef\xca$h\xfc\xd9\\\xd7\xa2-\x19\x87TY7!\x05#\xcf}$\x8c\xa5\x9c\xd8\xe2\xd41\x9c\xd1h\xd1\xc2=\xab\xe9\x03P\x14\xd5\xb1\xc5YG\xf2\x90[3\x15\x87R\x81\xf7y\xc8\x17\tT\n\xd5(\x8bD\xc7[x^9\x1b\xec\xcaLb7h\x84\x17\x15Ts\xc8x\x03^\xb3\xf6\xe9\xd2K\xad\xbem\x82\xdcrMw\xf4\x0e\xed?%W\xd37\x8e-<\x9d\xed\x86\xb8\x18\xcd\xdd;DG\x94g!\x97\xa4\xda:\x8c\xc9\xe5\xca\xba\x9e\xab\x90\x12\xaf\x82\xe9I\xbf0\xd7\xcf#\xd3\xae&\x128B\xa2\x1f\xf6\'v\xacr\xec\x8dN\x99\x0c\n\xd1\x91\xe6#\xa4(L\xc8\xad\xa8.\x8d\x81[d\xddr<\xefk\xd7\x95\n\xcb\xcf\x12\x85\x9cr\xc3\xe1rd\xf2K!\x81)\x17\x8a\x8f\x0f\xd9\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': 'Thu, 02 Dec 2021 11:50:34 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/1638445834445.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/1638445834445.png
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.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=17550&weighingDate=${datatime}&orderType=${orderType}&settlePrice= 41953.05
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663871782402527232&plateNumber=%E8%B4%B5R67890&settleWeight=17550&weighingDate=2021-12-02&orderType=1&settlePrice=%2041953.05
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663871782402527232&plateNumber=%E8%B4%B5R67890&settleWeight=17550&weighingDate=2021-12-02&orderType=1&settlePrice=%2041953.05
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=663871782402527232&plateNumber=%E8%B4%B5R67890&settleWeight=17550&weighingDate=2021-12-02&orderType=1&settlePrice=%2041953.05
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 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]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${records}
${records} = []
Returns a list containing given items.
${orderItemId_list}
${orderItemId_list} = []
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderItemId_list}
${orderItemId_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
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "remark":"${datatime}", \ \ \ \ "repeatOrderItem":${orderItemId_list} }
${data}
${data} = { "orderItemId":"663871782402527232", "remark":"2021-12-02", "repeatOrderItem":[] }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/confirm/repeat/proxy-order
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/confirm/repeat/proxy-order
path_url=/recycle-service/admin/customer-service/confirm/repeat/proxy-order
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': '95'}
body=b'{ "orderItemId":"663871782402527232", "remark":"2021-12-02", "repeatOrderItem":[] }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/confirm/repeat/proxy-order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 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]>
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "deductedPoint":0, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "settleUtiPriceIncludeTax":2.04012, \ \ \ \ "settleUtiPriceIncludeTaxType":1, \ \ \ \ "receivableAdjustMoney":"100", \ \ \ \ "refundSubsidy":0.002, \ \ \ \ "adjustMoney":"0", \ \ \ \ "collectionCharges":"${proxyPaySurcharge}", \ \ \ \ "advanceFund":"${advanceFund}", \ \ \ \ "contractId":"${contractId}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "plateNumber":"${carList}", \ \ \ \ "settlePriceIncludeTaxSettleRules":"${settlePriceIncludeTaxSettleRules}", \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "netWeight":300, \ \ \ \ "activitySettleType":null, \ \ \ \ "unitSurcharge":"${unitSurcharge}", \ \ \ \ "deliveryImageUrls":[ \ \ \ \ \ ], \ \ \ \ "publicSubsidies":0, \ \ \ \ "isSubsidyAndDeductIncludeTax":0, \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleWeight":230, \ \ \ \ "deductedWeight":2, \ \ \ \ "orderType":"${orderType}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"freightSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"contrabandPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"nonStandardPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ } \ \ \ \ ] }
${data}
${data} = { "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice":"1.62", "paperCategoryId":"661536969788100608", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "settleUtiPriceIncludeTax":2.04012, "settleUtiPriceIncludeTaxType":1, "receivableAdjustMoney":"100", "refundSubsidy":0.002, "adjustMoney":"0", "collectionCharges":"0.013", "advanceFund":"0", "contractId":"663533697236078592", "warehouseName":"钟落潭仓", "weightDay":"2021-12-02", "settleDay":"2021-12-02", "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-02", "plateNumber":"贵R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.62", "netWeight":300, "activitySettleType":null, "unitSurcharge":"0.02", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"663871782146674688", "settleWeight":230, "deductedWeight":2, "orderType":"1", "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"otherPenalty", "isSubsidies":0 } ] }
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': '2104'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice":"1.62", "paperCategoryId":"661536969788100608", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "settleUtiPriceIncludeTax":2.04012, "settleUtiPriceIncludeTaxType":1, "receivableAdjustMoney":"100", "refundSubsidy":0.002, "adjustMoney":"0", "collectionCharges":"0.013", "advanceFund":"0", "contractId":"663533697236078592", "warehouseName":"\xe9\x92\x9f\xe8\x90\xbd\xe6\xbd\xad\xe4\xbb\x93", "weightDay":"2021-12-02", "settleDay":"2021-12-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", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.62", "netWeight":300, "activitySettleType":null, "unitSurcharge":"0.02", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"663871782146674688", "settleWeight":230, "deductedWeight":2, "orderType":"1", "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"otherPenalty", "isSubsidies":0 } ] }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/save/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:34 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":"663871791441252352","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '663871791441252352', 'contractId': '663533697236078592'}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663871791441252352
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663871791441252352
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/663871791441252352
path_url=/recycle-service/admin/customer-service/audit/weightnote/663871791441252352
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/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:35 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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
path_url=/recycle-service/admin/customer-service/get/proxy-order/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:35 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":1,"activityId":null,"activitySettleType":null,"isEntire":null,"activityStatus":null,"activityName":null,"startTime":null,"endTime":null,"unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663871782146674688","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663871782146674688","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663871782402527232","adjustMoney":0.000,"unitSurcharge":0.020000,"surcharge":6.000000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"663871791441252352","orderId":"663871782146674688","orderItemId":"663871782402527232","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6200000,"netWeight":300.000,"settleWeight":230.000,"deductedPoint":0.000,"settlePrice":366.830,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"]},"logisticcsInfo":{"id":"5333","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":366.83,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.230,"unit":0.001000,"unitType":1}],"deductionNotes":"2021-12-02","totalOtherAmount":-0.230000000,"paymentType":null,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 19:50:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 19:50:33","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 19:50:34","rank":2,"status":1},{"description":"已审核,结算中","time":null,"rank":3,"status":0},{"description":"已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"坑卡","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.46,"unitRefundSubsidy":0.002000,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":100.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663871782146674688","createTime":"2021-12-02 19:50:32","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': 1, 'activityId': None, 'activitySettleType': None, 'isEntire': None, 'activityStatus': None, 'activityName': None, 'startTime': None, 'endTime': None, 'unitSurcharge': 0.02, 'surcharge': None, 'totalEstimatedWeight': 30000.0, 'deliveryTime': '2021-12-02', 'paperMillDeliveryTime': '2021-12-02', 'remark': None, 'attenssion': '663871782146674688', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663871782146674688', 'paperCategoryId': '661536969788100608', 'paperCategoryName': '坑卡', 'paperCategoryPrice': 1.62, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663871782402527232', 'adjustMoney': 0.0, 'unitSurcharge': 0.02, 'surcharge': 6.0, 'unitPrice': 1.62, 'weightnoteInfo': {'id': '663871791441252352', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'type': None, 'weightDay': '2021-12-02', 'settleDay': '2021-12-02', 'settleUtiPrice': 1.62, 'netWeight': 300.0, 'settleWeight': 230.0, 'deductedPoint': 0.0, 'settlePrice': 366.83, 'remark': None, 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png']}, 'logisticcsInfo': {'id': '5333', 'plateNumber': '贵R67890'}, 'status': 52, 'displayStatus': 52, 'auditStatus': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': 366.83, 'finalPayMoney': None, 'otherAmountDtoList': [{'title': '运费补贴', 'amount': 0.23, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.23, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}], 'deductionNotes': '2021-12-02', 'totalOtherAmount': -0.23, 'paymentType': None, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': None, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'publicSubsidies': 0.0, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': 1.62, 'settleUnitPriceIncludeTax': 2.04012, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-02 19:50:32', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-02 19:50:33', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-02 19:50:34', 'rank': 2, 'status': 1}, {'description': '已审核,结算中', 'time': None, 'rank': 3, 'status': 0}, {'description': '已结算,订单完成', 'time': None, 'rank': 8, 'status': 0}], 'paperCategoryName': '坑卡', 'proxySellerSettleType': 0, 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': None, 'receivablePriceIncludeTax': None, 'refundSubsidy': 0.46, 'unitRefundSubsidy': 0.002, 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': 100.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663871782146674688', 'createTime': '2021-12-02 19:50:32', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'factoryName': '88纸业', 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
上传磅单-常规
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:35 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":753,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 753, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663871782402527232
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:35 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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871792091369472","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":366.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"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': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871792091369472', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'categoryName': '坑卡', 'settlePrice': 366.83, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663871791441252352', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, '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} = 663871792091369472
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663871791441252352
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871792091369472
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663871791441252352
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=663871782146674688&weightNoteId=663871791441252352
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663871782146674688&weightNoteId=663871791441252352
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=663871782146674688&weightNoteId=663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:35 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":"1466374229531447298","orderId":"663871782146674688","operatorId":null,"operationTime":"2021-12-02 19:50:34","operatorName":"赖勇兰","logContent":"上传磅单信息","remark":null},{"logId":"1466374228717752322","orderId":"663871782146674688","operatorId":null,"operationTime":"2021-12-02 19:50:34","operatorName":"赖勇兰","logContent":"疑似重复订单","remark":"2021-12-02,疑似重复订单为: "},{"logId":"1466374222887669762","orderId":"663871782146674688","operatorId":null,"operationTime":"2021-12-02 19:50:33","operatorName":"赖勇兰","logContent":"订单预约","remark":null},{"logId":"1466374220731797505","orderId":"663871782146674688","operatorId":null,"operationTime":"2021-12-02 19:50:32","operatorName":"赖勇兰","logContent":"下单","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1466374229531447298', 'orderId': '663871782146674688', 'operatorId': None, 'operationTime': '2021-12-02 19:50:34', 'operatorName': '赖勇兰', 'logContent': '上传磅单信息', 'remark': None}, {'logId': '1466374228717752322', 'orderId': '663871782146674688', 'operatorId': None, 'operationTime': '2021-12-02 19:50:34', 'operatorName': '赖勇兰', 'logContent': '疑似重复订单', 'remark': '2021-12-02,疑似重复订单为: '}, {'logId': '1466374222887669762', 'orderId': '663871782146674688', 'operatorId': None, 'operationTime': '2021-12-02 19:50:33', 'operatorName': '赖勇兰', 'logContent': '订单预约', 'remark': None}, {'logId': '1466374220731797505', 'orderId': '663871782146674688', 'operatorId': None, 'operationTime': '2021-12-02 19:50:32', '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
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/663871792091369472/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871792091369472/663871791441252352
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/663871792091369472/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:35 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":"663871782402527232","auditType":0,"auditRequestId":"663871792091369472","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871792179449856","driverName":null,"plateNumber":"贵R67890","netWeight":300.000,"settleWeight":230.000,"deductedWeight":70.000,"deductedWeightPoint":0.000,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":366.830000,"adjustmentFee":0.000,"unitSurcharge":0.020000,"receivablePrice":372.370000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":511.11,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.230,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":100.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871792091369472', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871792179449856', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 300.0, 'settleWeight': 230.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 366.83, 'adjustmentFee': 0.0, 'unitSurcharge': 0.02, 'receivablePrice': 372.37, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 511.11, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': None, 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.23, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.23, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 100.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871792179449856
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 300.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 230.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 6.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 4.6000000000000005
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 6.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${audit_status}
${audit_status} = 0
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871792179449856
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 300.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 230.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 6.0
Makes a variable available globally in all tests and suites.
${audit_status}
${audit_status} = 0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "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":"663871792179449856", "categoryName":"坑卡", "netWeight":"300.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871792179449856", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"300.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"230.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:36 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=663871782146674688&weightNoteId=663871791441252352%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663871782146674688&weightNoteId=663871791441252352%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=663871782146674688&weightNoteId=663871791441252352%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:36 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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:36 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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871792091369472","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":366.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"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} = 663871792091369472
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} = 663871792091369472
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/663871792091369472/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871792091369472/663871791441252352
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/663871792091369472/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:36 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":"663871782402527232","auditType":0,"auditRequestId":"663871792091369472","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871792179449856","driverName":null,"plateNumber":"贵R67890","netWeight":300.000,"settleWeight":230.000,"deductedWeight":70.000,"deductedWeightPoint":23.330,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":366.830000,"adjustmentFee":0.000,"unitSurcharge":0.020000,"receivablePrice":372.370000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":511.11,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.230,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":100.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871792091369472', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871792179449856', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 300.0, 'settleWeight': 230.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 23.33, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 366.83, 'adjustmentFee': 0.0, 'unitSurcharge': 0.02, 'receivablePrice': 372.37, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 511.11, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': None, 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.23, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.23, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.23, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 100.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871792179449856
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} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 300.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 230.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 230.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 6.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 4.6000000000000005
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 6.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871792091369472
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871792179449856
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 300.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 230.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = None
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 6.0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871792091369472
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871792091369472", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871792091369472", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:36 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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
path_url=/recycle-service/admin/customer-service/get/proxy-order/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:38 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":1,"activityId":null,"activitySettleType":null,"isEntire":null,"activityStatus":null,"activityName":null,"startTime":null,"endTime":null,"unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663871782146674688","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663871782146674688","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663871782402527232","adjustMoney":0.000,"unitSurcharge":0.020000,"surcharge":6.000000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"663871791441252352","orderId":"663871782146674688","orderItemId":"663871782402527232","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6200000,"netWeight":300.000,"settleWeight":230.000,"deductedPoint":23.330,"settlePrice":366.830,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"]},"logisticcsInfo":{"id":"5333","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":366.83,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.230,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.230,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.230,"unit":0.001000,"unitType":1}],"deductionNotes":"2021-12-02","totalOtherAmount":-0.230000000,"paymentType":null,"activityNoteStatus":0,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 19:50:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 19:50:33","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,结算中","time":null,"rank":3,"status":0},{"description":"已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"坑卡","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.46,"unitRefundSubsidy":0.002000,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":100.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663871782146674688","createTime":"2021-12-02 19:50:32","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"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.02
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} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${unitPrice}
${unitPrice} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = 0.0
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
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0.0
Sets variable based on the given condition.
'${unitSurcharge}'=='${None}'
0
${unitSurcharge}
${unitSurcharge}
${unitSurcharge} = 0.02
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} = 663871791441252352
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 100.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
adjustMoney
${adjustMoney}
${adjustMoney} = 0.0
Sets variable based on the given condition.
'${receivableAdjustMoney}'=='${None}'
0
${receivableAdjustMoney}
${receivableAdjustMoney}
${receivableAdjustMoney} = 100.0
Sets variable based on the given condition.
'${adjustMoney}'=='${None}'
0
${adjustMoney}
${adjustMoney}
${adjustMoney} = 0.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 300.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
settleWeight
${settleWeight}
${settleWeight} = 230.0
Evaluates the given expression in Python and returns the results.
${netWeight}+30
${netWeight1}
${netWeight1} = 330.0
Evaluates the given expression in Python and returns the results.
${settleWeight}+30
${settleWeight1}
${settleWeight1} = 260.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge1}
${unitSurcharge1} = 0.021
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Evaluates the given expression in Python and returns the results.
${settleUtiPrice}+0.1
${settleUtiPrice1}
${settleUtiPrice1} = 1.7200000000000002
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Evaluates the given expression in Python and returns the results.
${receivableAdjustMoney}+10
${receivableAdjustMoney1}
${receivableAdjustMoney1} = 110.0
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Exiting for loop altogether.
Evaluates the given expression in Python and returns the results.
${adjustMoney}+10
${adjustMoney1}
${adjustMoney1} = 10.0
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Exiting for loop altogether.
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.02
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${settleUtiPrice1}
${settleUtiPrice1} = 1.7200000000000002
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.62
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0.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.
${netWeight1}
${netWeight1} = 330.0
Makes a variable available globally in all tests and suites.
${settleWeight1}
${settleWeight1} = 260.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663871791441252352
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Makes a variable available globally in all tests and suites.
${unitSurcharge1}
${unitSurcharge1} = 0.021
Makes a variable available globally in all tests and suites.
${adjustMoney1}
${adjustMoney1} = 10.0
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney1}
${receivableAdjustMoney1} = 110.0
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "deductedPoint":0, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "settleUtiPriceIncludeTax":2.04012, \ \ \ \ "settleUtiPriceIncludeTaxType":1, \ \ \ \ "receivableAdjustMoney":"${receivableAdjustMoney1}", \ \ \ \ "refundSubsidy":0.002, \ \ \ \ "adjustMoney":"${adjustMoney1}", \ \ \ \ "collectionCharges":"${proxyPaySurcharge}", \ \ \ \ "advanceFund":"${advanceFund}", \ \ \ \ "contractId":"${contractId}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "plateNumber":"${carList}", \ \ \ \ "settlePriceIncludeTaxSettleRules":"${settlePriceIncludeTaxSettleRules}", \ \ \ \ "settleUtiPrice":"${settleUtiPrice1}", \ \ \ \ "netWeight":"${netWeight1}", \ \ \ \ "activitySettleType":null, \ \ \ \ "unitSurcharge":"${unitSurcharge1}", \ \ \ \ "deliveryImageUrls":[ \ \ \ \ \ ], \ \ \ \ "publicSubsidies":0, \ \ \ \ "isSubsidyAndDeductIncludeTax":0, \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleWeight":"${settleWeight1}", \ \ \ \ "deductedWeight":2, \ \ \ \ "orderType":"${orderType}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"freightSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"contrabandPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"nonStandardPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ } \ \ \ \ ], \ \ \ \ "id":"${磅单id}" \ \ \ \ }
${data}
${data} = { "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice":"1.62", "paperCategoryId":"661536969788100608", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "settleUtiPriceIncludeTax":2.04012, "settleUtiPriceIncludeTaxType":1, "receivableAdjustMoney":"110.0", "refundSubsidy":0.002, "adjustMoney":"10.0", "collectionCharges":"0.013", "advanceFund":"0", "contractId":"663533697236078592", "warehouseName":"钟落潭仓", "weightDay":"2021-12-02", "settleDay":"2021-12-02", "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-02", "plateNumber":"贵R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"330.0", "activitySettleType":null, "unitSurcharge":"0.021", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"663871782146674688", "settleWeight":"260.0", "deductedWeight":2, "orderType":"1", "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"otherPenalty", "isSubsidies":0 } ], "id":"663871791441252352" }
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': '2167'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice":"1.62", "paperCategoryId":"661536969788100608", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "settleUtiPriceIncludeTax":2.04012, "settleUtiPriceIncludeTaxType":1, "receivableAdjustMoney":"110.0", "refundSubsidy":0.002, "adjustMoney":"10.0", "collectionCharges":"0.013", "advanceFund":"0", "contractId":"663533697236078592", "warehouseName":"\xe9\x92\x9f\xe8\x90\xbd\xe6\xbd\xad\xe4\xbb\x93", "weightDay":"2021-12-02", "settleDay":"2021-12-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", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"330.0", "activitySettleType":null, "unitSurcharge":"0.021", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"663871782146674688", "settleWeight":"260.0", "deductedWeight":2, "orderType":"1", "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"otherPenalty", "isSubsidies":0 } ], "id":"663871791441252352" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:38 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":"663871791441252352","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '663871791441252352', 'contractId': '663533697236078592'}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663871791441252352
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663871791441252352
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
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/663871791441252352
path_url=/recycle-service/admin/customer-service/audit/weightnote/663871791441252352
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/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:38 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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
path_url=/recycle-service/admin/customer-service/get/proxy-order/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:38 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":1,"activityId":null,"activitySettleType":null,"isEntire":null,"activityStatus":null,"activityName":null,"startTime":null,"endTime":null,"unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663871782146674688","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663871782146674688","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663871782402527232","adjustMoney":10.000,"unitSurcharge":0.021000,"surcharge":6.930000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"663871791441252352","orderId":"663871782146674688","orderItemId":"663871782402527232","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6200000,"netWeight":330.000,"settleWeight":260.000,"deductedPoint":0.000,"settlePrice":424.530,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"]},"logisticcsInfo":{"id":"5333","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":424.53,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":0.260,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.260,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.260,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.260,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.260,"unit":0.001000,"unitType":1}],"deductionNotes":"2021-12-02","totalOtherAmount":-0.260000000,"paymentType":null,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 19:50:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 19:50:33","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 19:50:34","rank":2,"status":1},{"description":"已审核,结算中","time":null,"rank":3,"status":0},{"description":"已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"坑卡","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.52,"unitRefundSubsidy":0.002000,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":110.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663871782146674688","createTime":"2021-12-02 19:50:32","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"]}
settleUtiPrice
${settleUnitPrice}
${settleUnitPrice} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.021
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 330.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
settleWeight
${settleWeight}
${settleWeight} = 260.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 110.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
adjustMoney
${adjustMoney}
${adjustMoney} = 10.0
Makes a variable available globally in all tests and suites.
${settleUnitPrice}
${settleUnitPrice} = 1.62
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.021
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 330.0
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 260.0
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 110.0
Makes a variable available globally in all tests and suites.
${adjustMoney}
${adjustMoney} = 10.0
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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:38 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":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871806758850560","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":424.530,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":330.000,"deductedPoint":0.000,"settleWeight":260.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.021,"adjustMoney":10.000,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":1,"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.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":2.040120,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":110.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":6.930000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.260000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.002000,"isNoPeriodOrder":false,"firstSettlementPrice":424.530000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871806758850560', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
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"]}
Fails if objects are unequal after converting them to real numbers.
${settleWeight}
${reps.json()["data"]["records"][0]["settleWeight"]}
Fails if objects are unequal after converting them to real numbers.
${settleUnitPrice}
${reps.json()["data"]["records"][0]["settleUtiPrice"]}
Fails if objects are unequal after converting them to real numbers.
${receivableAdjustMoney}
${reps.json()["data"]["records"][0]["receivableAdjustMoney"]}
Fails if objects are unequal after converting them to real numbers.
${adjustMoney}
${reps.json()["data"]["records"][0]["adjustMoney"]}
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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:38 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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871806758850560","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":424.530000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"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} = 663871806758850560
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} = 663871806758850560
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/663871806758850560/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871806758850560/663871791441252352
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/663871806758850560/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:39 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":"663871782402527232","auditType":0,"auditRequestId":"663871806758850560","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871806792404992","driverName":null,"plateNumber":"贵R67890","netWeight":330.000,"settleWeight":260.000,"deductedWeight":70.000,"deductedWeightPoint":0.000,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":424.530000,"adjustmentFee":10.000,"unitSurcharge":0.021000,"receivablePrice":420.940000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":574.73,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.260,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.260,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.260,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.260,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.260,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":110.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871806758850560', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871806792404992', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 330.0, 'settleWeight': 260.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 424.53, 'adjustmentFee': 10.0, 'unitSurcharge': 0.021, 'receivablePrice': 420.94, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 574.73, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': None, 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.26, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.26, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.26, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.26, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.26, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 110.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871806792404992
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} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 330.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 260.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 260.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 6.930000000000001
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 5.46
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 6.930000000000001
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871806758850560
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871806792404992
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 330.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 260.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = None
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 6.930000000000001
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871806758850560
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871806758850560", "isPass":2, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871806758850560", "isPass":2, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:39 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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
path_url=/recycle-service/admin/customer-service/get/proxy-order/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:40 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":1,"activityId":null,"activitySettleType":null,"isEntire":null,"activityStatus":null,"activityName":null,"startTime":null,"endTime":null,"unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663871782146674688","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663871782146674688","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663871782402527232","adjustMoney":10.000,"unitSurcharge":0.021000,"surcharge":6.930000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"663871791441252352","orderId":"663871782146674688","orderItemId":"663871782402527232","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6200000,"netWeight":330.000,"settleWeight":260.000,"deductedPoint":0.000,"settlePrice":424.530,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"]},"logisticcsInfo":{"id":"5333","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":424.53,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":0.260,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.260,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.260,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.260,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.260,"unit":0.001000,"unitType":1}],"deductionNotes":"2021-12-02","totalOtherAmount":-0.260000000,"paymentType":null,"activityNoteStatus":0,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":"2021-12-02","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 19:50:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 19:50:33","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,结算中","time":null,"rank":3,"status":0},{"description":"已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"坑卡","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.52,"unitRefundSubsidy":0.002000,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":110.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663871782146674688","createTime":"2021-12-02 19:50:32","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"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.021
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} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${unitPrice}
${unitPrice} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = 0.0
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
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0.0
Sets variable based on the given condition.
'${unitSurcharge}'=='${None}'
0
${unitSurcharge}
${unitSurcharge}
${unitSurcharge} = 0.021
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} = 663871791441252352
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 110.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
adjustMoney
${adjustMoney}
${adjustMoney} = 10.0
Sets variable based on the given condition.
'${receivableAdjustMoney}'=='${None}'
0
${receivableAdjustMoney}
${receivableAdjustMoney}
${receivableAdjustMoney} = 110.0
Sets variable based on the given condition.
'${adjustMoney}'=='${None}'
0
${adjustMoney}
${adjustMoney}
${adjustMoney} = 10.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 330.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
settleWeight
${settleWeight}
${settleWeight} = 260.0
Evaluates the given expression in Python and returns the results.
${netWeight}+30
${netWeight1}
${netWeight1} = 360.0
Evaluates the given expression in Python and returns the results.
${settleWeight}+30
${settleWeight1}
${settleWeight1} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge1}
${unitSurcharge1} = 0.022000000000000002
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge1}'
Evaluates the given expression in Python and returns the results.
${settleUtiPrice}+0.1
${settleUtiPrice1}
${settleUtiPrice1} = 1.7200000000000002
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${结算单价index}'=='${settleUtiPrice1}'
Evaluates the given expression in Python and returns the results.
${receivableAdjustMoney}+10
${receivableAdjustMoney1}
${receivableAdjustMoney1} = 120.0
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${receivableAdjustMoney1}'
Exiting for loop altogether.
Evaluates the given expression in Python and returns the results.
${adjustMoney}+10
${adjustMoney1}
${adjustMoney1} = 20.0
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${应收调节费index}'=='${adjustMoney1}'
Exiting for loop altogether.
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.021
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${settleUtiPrice1}
${settleUtiPrice1} = 1.7200000000000002
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.62
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0.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.
${netWeight1}
${netWeight1} = 360.0
Makes a variable available globally in all tests and suites.
${settleWeight1}
${settleWeight1} = 290.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 663871791441252352
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Makes a variable available globally in all tests and suites.
${unitSurcharge1}
${unitSurcharge1} = 0.022000000000000002
Makes a variable available globally in all tests and suites.
${adjustMoney1}
${adjustMoney1} = 20.0
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney1}
${receivableAdjustMoney1} = 120.0
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "deductedPoint":0, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "settleUtiPriceIncludeTax":2.04012, \ \ \ \ "settleUtiPriceIncludeTaxType":1, \ \ \ \ "receivableAdjustMoney":"${receivableAdjustMoney1}", \ \ \ \ "refundSubsidy":0.002, \ \ \ \ "adjustMoney":"${adjustMoney1}", \ \ \ \ "collectionCharges":"${proxyPaySurcharge}", \ \ \ \ "advanceFund":"${advanceFund}", \ \ \ \ "contractId":"${contractId}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "plateNumber":"${carList}", \ \ \ \ "settlePriceIncludeTaxSettleRules":"${settlePriceIncludeTaxSettleRules}", \ \ \ \ "settleUtiPrice":"${settleUtiPrice1}", \ \ \ \ "netWeight":"${netWeight1}", \ \ \ \ "activitySettleType":null, \ \ \ \ "unitSurcharge":"${unitSurcharge1}", \ \ \ \ "deliveryImageUrls":[ \ \ \ \ \ ], \ \ \ \ "publicSubsidies":0, \ \ \ \ "isSubsidyAndDeductIncludeTax":0, \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleWeight":"${settleWeight1}", \ \ \ \ "deductedWeight":2, \ \ \ \ "orderType":"${orderType}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"freightSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"contrabandPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"nonStandardPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ } \ \ \ \ ], \ \ \ \ "id":"${磅单id}" \ \ \ \ }
${data}
${data} = { "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice":"1.62", "paperCategoryId":"661536969788100608", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "settleUtiPriceIncludeTax":2.04012, "settleUtiPriceIncludeTaxType":1, "receivableAdjustMoney":"120.0", "refundSubsidy":0.002, "adjustMoney":"20.0", "collectionCharges":"0.013", "advanceFund":"0", "contractId":"663533697236078592", "warehouseName":"钟落潭仓", "weightDay":"2021-12-02", "settleDay":"2021-12-02", "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-02", "plateNumber":"贵R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"360.0", "activitySettleType":null, "unitSurcharge":"0.022000000000000002", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"663871782146674688", "settleWeight":"290.0", "deductedWeight":2, "orderType":"1", "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"otherPenalty", "isSubsidies":0 } ], "id":"663871791441252352" }
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': '2182'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png" ], "orderItemId":"663871782402527232", "unitPrice":"1.62", "paperCategoryId":"661536969788100608", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "settleUtiPriceIncludeTax":2.04012, "settleUtiPriceIncludeTaxType":1, "receivableAdjustMoney":"120.0", "refundSubsidy":0.002, "adjustMoney":"20.0", "collectionCharges":"0.013", "advanceFund":"0", "contractId":"663533697236078592", "warehouseName":"\xe9\x92\x9f\xe8\x90\xbd\xe6\xbd\xad\xe4\xbb\x93", "weightDay":"2021-12-02", "settleDay":"2021-12-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", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"360.0", "activitySettleType":null, "unitSurcharge":"0.022000000000000002", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"663871782146674688", "settleWeight":"290.0", "deductedWeight":2, "orderType":"1", "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"otherPenalty", "isSubsidies":0 } ], "id":"663871791441252352" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:40 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":"663871791441252352","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '663871791441252352', 'contractId': '663533697236078592'}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 663871791441252352
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 663871791441252352
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
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/663871791441252352
path_url=/recycle-service/admin/customer-service/audit/weightnote/663871791441252352
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/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:41 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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
path_url=/recycle-service/admin/customer-service/get/proxy-order/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
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/663871782146674688?orderId=663871782146674688&orderItemId=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:41 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":1,"activityId":null,"activitySettleType":null,"isEntire":null,"activityStatus":null,"activityName":null,"startTime":null,"endTime":null,"unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-02","paperMillDeliveryTime":"2021-12-02","remark":null,"attenssion":"663871782146674688","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663871782146674688","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663871782402527232","adjustMoney":20.000,"unitSurcharge":0.022000,"surcharge":7.920000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"663871791441252352","orderId":"663871782146674688","orderItemId":"663871782402527232","type":null,"weightDay":"2021-12-02","settleDay":"2021-12-02","settleUtiPrice":1.6200000,"netWeight":360.000,"settleWeight":290.000,"deductedPoint":0.000,"settlePrice":482.170,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"]},"logisticcsInfo":{"id":"5333","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":482.17,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"deductionNotes":"2021-12-02","totalOtherAmount":-0.290000000,"paymentType":null,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-02 19:50:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-02 19:50:33","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-02 19:50:34","rank":2,"status":1},{"description":"已审核,结算中","time":null,"rank":3,"status":0},{"description":"已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"坑卡","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.58,"unitRefundSubsidy":0.002000,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":120.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"663871782146674688","createTime":"2021-12-02 19:50:32","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"]}
settleUtiPrice
${settleUnitPrice}
${settleUnitPrice} = 1.62
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.022
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
adjustMoney
${adjustMoney}
${adjustMoney} = 20.0
Makes a variable available globally in all tests and suites.
${settleUnitPrice}
${settleUnitPrice} = 1.62
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.022
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Makes a variable available globally in all tests and suites.
${adjustMoney}
${adjustMoney} = 20.0
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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:41 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":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":482.170,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":360.000,"deductedPoint":0.000,"settleWeight":290.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.022,"adjustMoney":20.000,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":1,"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.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":2.040120,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":120.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":7.920000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.290000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.002000,"isNoPeriodOrder":false,"firstSettlementPrice":482.170000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871817534017536', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
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"]}
Fails if objects are unequal after converting them to real numbers.
${settleWeight}
${reps.json()["data"]["records"][0]["settleWeight"]}
Fails if objects are unequal after converting them to real numbers.
${settleUnitPrice}
${reps.json()["data"]["records"][0]["settleUtiPrice"]}
Fails if objects are unequal after converting them to real numbers.
${receivableAdjustMoney}
${reps.json()["data"]["records"][0]["receivableAdjustMoney"]}
Fails if objects are unequal after converting them to real numbers.
${adjustMoney}
${reps.json()["data"]["records"][0]["adjustMoney"]}
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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:41 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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"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} = 663871817534017536
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} = 663871817534017536
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/663871817534017536/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871817534017536/663871791441252352
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/663871817534017536/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:41 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":"663871782402527232","auditType":0,"auditRequestId":"663871817534017536","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871817567571968","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":0.000,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871817534017536', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871817567571968', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 482.17, 'adjustmentFee': 20.0, 'unitSurcharge': 0.022, 'receivablePrice': 469.51, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 638.35, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': None, 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 120.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871817567571968
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 7.92
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 6.38
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 7.92
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871817534017536
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871817567571968
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 7.92
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871817534017536
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "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":"663871817567571968", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871817567571968", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"290.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:42 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":"663871817534017536", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"663871817534017536", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:42 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-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=663871782402527232
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:42 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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
${auditedTime} = None
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=663871782146674688&weightNoteId=663871791441252352&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=663871782146674688&weightNoteId=663871791441252352&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=663871782146674688&weightNoteId=663871791441252352&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:42 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]>
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-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=663871782402527232
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:42 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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${staus}
${staus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871817534017536
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${staus}
${staus} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871817534017536
Runs the given keyword with the given arguments, if ``condition`` is true.
'${staus}'=='0'
财务驳回
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":2,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663871817534017536","adminId":null,"isPass":2,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663871817534017536","adminId":null,"isPass":2,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:42 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
Executes the given keyword with the given arguments.
get_operation_list
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/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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871825566109696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-02 19:50:43","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} = 663871825566109696
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} = 663871825566109696
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
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 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/663871825566109696/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871825566109696/663871791441252352
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/663871825566109696/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871825566109696","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871825649995776","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":"2021-12-02","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871825566109696', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871825649995776', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 482.17, 'adjustmentFee': 20.0, 'unitSurcharge': 0.022, 'receivablePrice': 469.51, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 638.35, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': '2021-12-02', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 120.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871825649995776
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 7.92
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 6.38
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 7.92
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871825566109696
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871825649995776
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 7.92
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871825566109696
Executes the given keyword with the given arguments.
order-receipt-audit-details
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
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":"663871825649995776", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871825649995776", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"290.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
运营审核通过
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871825566109696", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871825566109696", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Executes the given keyword with the given arguments.
运营审核后详情
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 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/663871825566109696/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871825566109696/663871791441252352
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/663871825566109696/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871825566109696","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663871825649995776","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":638.350,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 638.35
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 638.35
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Executes the given keyword with the given arguments.
台账查询
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/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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871825566109696","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":482.170,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":360.000,"deductedPoint":19.440,"settleWeight":290.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.350000,"unitSurcharge":0.022,"adjustMoney":20.000,"receivablePrice":469.510,"paybackDay":null,"paybackId":"663871832818061313 ","state":2,"isDelay":0,"paidPrice":0.000,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":null,"warehouseName":"钟落潭仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"invoicePoint":9.600,"allCollectionCharges":3.7700,"allMatCharges":0.0000,"allPublicSubsidies":0.0000,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":638.350,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":120.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":7.920000,"purchaseUnitPrice":1.662655,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":469.510000,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":638.350000,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.290000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.580000,"isNoPeriodOrder":false,"firstSettlementPrice":482.170000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871825566109696', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
Fails if objects are unequal after converting them to real numbers.
${noReceivablePrice}
${reps.json()["data"]["records"][0]["noReceivablePrice"]}
Fails if objects are unequal after converting them to strings.
${paperMillPayAt}
${reps.json()["data"]["records"][0]["paperMillPayAt"]}
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-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=663871782402527232
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871825566109696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:42","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":2,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${staus}
${staus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871825566109696
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${staus}
${staus} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871825566109696
Runs the given keyword with the given arguments, if ``condition`` is true.
'${staus}'=='0'
财务驳回
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":2,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663871825566109696","adminId":null,"isPass":2,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663871825566109696","adminId":null,"isPass":2,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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
Executes the given keyword with the given arguments.
get_operation_list
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/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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871835959595008","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-02 19:50:45","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} = 663871835959595008
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} = 663871835959595008
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
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 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/663871835959595008/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871835959595008/663871791441252352
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/663871835959595008/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871835959595008","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871836035092480","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":"2021-12-02","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871835959595008', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871836035092480', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 482.17, 'adjustmentFee': 20.0, 'unitSurcharge': 0.022, 'receivablePrice': 469.51, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 638.35, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': '2021-12-02', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 120.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871836035092480
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 7.92
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 6.38
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 7.92
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871835959595008
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871836035092480
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 7.92
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871835959595008
Executes the given keyword with the given arguments.
order-receipt-audit-details
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
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":"663871836035092480", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871836035092480", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"290.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
运营审核通过
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871835959595008", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871835959595008", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
Executes the given keyword with the given arguments.
运营审核后详情
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 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/663871835959595008/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871835959595008/663871791441252352
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/663871835959595008/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871835959595008","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663871836035092480","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":638.350,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 638.35
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 638.35
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Executes the given keyword with the given arguments.
台账查询
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/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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871835959595008","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":482.170,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":360.000,"deductedPoint":19.440,"settleWeight":290.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.350000,"unitSurcharge":0.022,"adjustMoney":20.000,"receivablePrice":469.510,"paybackDay":null,"paybackId":"663871843219935233 ","state":2,"isDelay":0,"paidPrice":0.000,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":null,"warehouseName":"钟落潭仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"invoicePoint":9.600,"allCollectionCharges":3.7700,"allMatCharges":0.0000,"allPublicSubsidies":0.0000,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":638.350,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":120.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":7.920000,"purchaseUnitPrice":1.662655,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":469.510000,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":638.350000,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.290000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.580000,"isNoPeriodOrder":false,"firstSettlementPrice":482.170000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871835959595008', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
Fails if objects are unequal after converting them to real numbers.
${noReceivablePrice}
${reps.json()["data"]["records"][0]["noReceivablePrice"]}
Fails if objects are unequal after converting them to strings.
${paperMillPayAt}
${reps.json()["data"]["records"][0]["paperMillPayAt"]}
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-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=663871782402527232
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871835959595008","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871825566109696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:45","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:42","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":3,"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]}
status
${staus}
${staus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871835959595008
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${staus}
${staus} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871835959595008
Runs the given keyword with the given arguments, if ``condition`` is true.
'${staus}'=='0'
财务驳回
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":2,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663871835959595008","adminId":null,"isPass":2,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663871835959595008","adminId":null,"isPass":2,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
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
Executes the given keyword with the given arguments.
get_operation_list
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/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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":[{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871845904289792","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-02 19:50:48","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} = 663871845904289792
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} = 663871845904289792
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
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 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/663871845904289792/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871845904289792/663871791441252352
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/663871845904289792/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782402527232","auditType":0,"auditRequestId":"663871845904289792","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871845983981568","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871845904289792', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871845983981568', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 482.17, 'adjustmentFee': 20.0, 'unitSurcharge': 0.022, 'receivablePrice': 469.51, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 638.35, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': None, 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 120.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871845983981568
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 7.92
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 6.38
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 7.92
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871845904289792
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871845983981568
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 7.92
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871845904289792
Executes the given keyword with the given arguments.
order-receipt-audit-details
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
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":"663871845983981568", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871845983981568", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"290.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
运营审核通过
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871845904289792", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871845904289792", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
Executes the given keyword with the given arguments.
运营审核后详情
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 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/663871845904289792/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871845904289792/663871791441252352
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/663871845904289792/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782402527232","auditType":0,"auditRequestId":"663871845904289792","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663871845983981568","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":638.350,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 638.35
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 638.35
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Executes the given keyword with the given arguments.
台账查询
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/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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871845904289792","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":482.170,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":360.000,"deductedPoint":19.440,"settleWeight":290.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.350000,"unitSurcharge":0.022,"adjustMoney":20.000,"receivablePrice":469.510,"paybackDay":null,"paybackId":"663871853114298369 ","state":2,"isDelay":0,"paidPrice":0.000,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":null,"warehouseName":"钟落潭仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"invoicePoint":9.600,"allCollectionCharges":3.7700,"allMatCharges":0.0000,"allPublicSubsidies":0.0000,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":638.350,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":120.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":7.920000,"purchaseUnitPrice":1.662655,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":469.510000,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":638.350000,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.290000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.580000,"isNoPeriodOrder":false,"firstSettlementPrice":482.170000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871845904289792', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
Fails if objects are unequal after converting them to real numbers.
${noReceivablePrice}
${reps.json()["data"]["records"][0]["noReceivablePrice"]}
Fails if objects are unequal after converting them to strings.
${paperMillPayAt}
${reps.json()["data"]["records"][0]["paperMillPayAt"]}
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-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=663871782402527232
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871845904289792","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871835959595008","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:47","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871825566109696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:45","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:42","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":4,"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]}
status
${staus}
${staus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871845904289792
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${staus}
${staus} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871845904289792
Runs the given keyword with the given arguments, if ``condition`` is true.
'${staus}'=='0'
财务驳回
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":2,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663871845904289792","adminId":null,"isPass":2,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663871845904289792","adminId":null,"isPass":2,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
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
Executes the given keyword with the given arguments.
get_operation_list
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/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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871855874150400","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-02 19:50:50","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} = 663871855874150400
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} = 663871855874150400
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
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 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/663871855874150400/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871855874150400/663871791441252352
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/663871855874150400/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871855874150400","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871855958036480","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":"2021-12-02","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871855874150400', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871855958036480', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 482.17, 'adjustmentFee': 20.0, 'unitSurcharge': 0.022, 'receivablePrice': 469.51, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 638.35, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': '2021-12-02', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 120.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871855958036480
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 7.92
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 6.38
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 7.92
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871855874150400
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871855958036480
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 7.92
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871855874150400
Executes the given keyword with the given arguments.
order-receipt-audit-details
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
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":"663871855958036480", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871855958036480", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"290.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
运营审核通过
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871855874150400", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871855874150400", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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}
${reps} = <Response [200]>
Executes the given keyword with the given arguments.
运营审核后详情
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 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/663871855874150400/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871855874150400/663871791441252352
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/663871855874150400/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782402527232","auditType":0,"auditRequestId":"663871855874150400","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663871855958036480","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":638.350,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 638.35
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 638.35
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Executes the given keyword with the given arguments.
台账查询
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/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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871855874150400","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":482.170,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":360.000,"deductedPoint":19.440,"settleWeight":290.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.350000,"unitSurcharge":0.022,"adjustMoney":20.000,"receivablePrice":469.510,"paybackDay":null,"paybackId":"663871863017050112 ","state":2,"isDelay":0,"paidPrice":0.000,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":null,"warehouseName":"钟落潭仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"invoicePoint":9.600,"allCollectionCharges":3.7700,"allMatCharges":0.0000,"allPublicSubsidies":0.0000,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":638.350,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":120.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":7.920000,"purchaseUnitPrice":1.662655,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":469.510000,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":638.350000,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.290000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.580000,"isNoPeriodOrder":false,"firstSettlementPrice":482.170000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871855874150400', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
Fails if objects are unequal after converting them to real numbers.
${noReceivablePrice}
${reps.json()["data"]["records"][0]["noReceivablePrice"]}
Fails if objects are unequal after converting them to strings.
${paperMillPayAt}
${reps.json()["data"]["records"][0]["paperMillPayAt"]}
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-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=663871782402527232
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871855874150400","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871845904289792","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:50","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871835959595008","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:47","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871825566109696","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:45","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871817534017536","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","weighingDate":"2021-12-02 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-02 19:50:42","auditorId":617003842541850624,"auditorName":"","weightNoteId":"663871791441252352","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-02","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":5,"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]}
status
${staus}
${staus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871855874150400
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${staus}
${staus} = 0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871855874150400
Runs the given keyword with the given arguments, if ``condition`` is true.
'${staus}'=='0'
财务驳回
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":2,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"663871855874150400","adminId":null,"isPass":2,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663871855874150400","adminId":null,"isPass":2,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
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
Executes the given keyword with the given arguments.
get_operation_list
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/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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":{"records":[{"orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871865831428096","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663871791441252352","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-02 19:50:53","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} = 663871865831428096
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} = 663871865831428096
Executes the given keyword with the given arguments.
get_order-receipt-audit-details
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 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/663871865831428096/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871865831428096/663871791441252352
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/663871865831428096/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871865831428096","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"663871865911119872","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":"2021-12-02","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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': '663871782402527232', 'auditType': 0, 'auditRequestId': '663871865831428096', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png'], 'scrapOrderId': '663871782146674688', 'orderDate': '2021-12-02', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '663871865911119872', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-02', 'settlementDate': '2021-12-02', 'paperMillPayAt': '2021-12-27', 'settlePrice': 482.17, 'adjustmentFee': 20.0, 'unitSurcharge': 0.022, 'receivablePrice': 469.51, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.77552, 'receivablePriceIncludeTax': 638.35, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'finalPayMoney': None, 'paymentType': None, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': 0.0, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.774424, 'settleUnitPrice': 1.62, 'financeAuditNotPassedRemark': '2021-12-02', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-02', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 0.29, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -0.29, 'unit': 0.001, 'unitType': 1}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 120.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': None, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 1, 'activitySettleType': None, 'isEntire': None, '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} = 663871865911119872
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"]["items"][0]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 360.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 290.0
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 290.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 7.92
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 6.38
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 7.92
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 663871865831428096
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 663871865911119872
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 坑卡
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 360.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 290.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 661536969788100608
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 7.92
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 663871865831428096
Executes the given keyword with the given arguments.
order-receipt-audit-details
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
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":"663871865911119872", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"贵R6...
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': '588'}
body=b'{ "auditRequestItemId":"663871865911119872", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2021-12-27", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-02", "weighingDate":"2021-12-02", "settleWeight":"290.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.0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.62", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
运营审核通过
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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-02
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"663871865831428096", "isPass":1, "remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"663871865831428096", "isPass":1, "remark":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
Executes the given keyword with the given arguments.
运营审核后详情
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 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/663871865831428096/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871865831428096/663871791441252352
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/663871865831428096/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871782402527232","auditType":0,"auditRequestId":"663871865831428096","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663871865911119872","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":638.350,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 638.35
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivableAdjustMoney
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 638.35
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2021-12-27
Makes a variable available globally in all tests and suites.
${receivableAdjustMoney}
${receivableAdjustMoney} = 120.0
Executes the given keyword with the given arguments.
台账查询
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/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=663871782402527232
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=663871782402527232
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=663871782402527232
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"46053","orderId":"663871782146674688","orderItemId":"663871782402527232","auditRequestId":"663871865831428096","weightNoteId":"663871791441252352","orderCreateTime":"2021-12-02 19:50:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":482.170,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","netWeight":360.000,"deductedPoint":19.440,"settleWeight":290.000,"settleUtiPrice":1.620000,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.350000,"unitSurcharge":0.022,"adjustMoney":20.000,"receivablePrice":469.510,"paybackDay":null,"paybackId":"663871872978522113 ","state":2,"isDelay":0,"paidPrice":0.000,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":null,"warehouseName":"钟落潭仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.620000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"invoicePoint":9.600,"allCollectionCharges":3.7700,"allMatCharges":0.0000,"allPublicSubsidies":0.0000,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-02","paperMillPayAt":"2021-12-27","paybackIntever":"25","noReceivablePrice":638.350,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":120.000000,"paperMillBizName":"qniaoGuest","allAgencyFee":7.920000,"purchaseUnitPrice":1.662655,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":469.510000,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":638.350000,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-02","totalOtherAmount":-0.290000,"remark":null,"contractType":2,"settlementType":0,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":null,"activitySettleType":null,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"100%","settleDay":"2021-12-02","refundSubsidy":0.580000,"isNoPeriodOrder":false,"firstSettlementPrice":482.170000,"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': '46053', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'auditRequestId': '663871865831428096', 'weightNoteId': '663871791441252352', 'orderCreateTime': '2021-12-02 19:50...
Fails if objects are unequal after converting them to real numbers.
${noReceivablePrice}
${reps.json()["data"]["records"][0]["noReceivablePrice"]}
Fails if objects are unequal after converting them to strings.
${paperMillPayAt}
${reps.json()["data"]["records"][0]["paperMillPayAt"]}
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":"663871865831428096","adminId":null,"isPass":1,"remark":"2021-12-02" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"663871865831428096","adminId":null,"isPass":1,"remark":"2021-12-02" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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]>
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":"663871865831428096", "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":"663871865831428096", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":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=663871782146674688
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663871782146674688
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=663871782146674688
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50: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":"663871872978522113","orderId":"663871782146674688","orderItemId":"663871782402527232","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","settlementDate":"2021-12-02","settlePrice":482.17,"bizOwnerName":"张山","paperMillPayAt":"2021-12-27","status":0,"isInvalid":0,"weighingDate":"2021-12-02","paidPrice":null,"bankFlowNo":null,"remark":null,"auditRequestId":"663871865831428096","receivablePrice":638.350,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"663871791441252352","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"663871782146674688","paybackIntever":25,"activityName":null,"activityId":null,"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} = 663871872978522113
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '663871872978522113', 'orderId': '663871782146674688', 'orderItemId': '663871782402527232', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663871782146674688', 'settlementDate': '2021-12-02', 'settlePrice': 482.17, 'bizOwnerName': '张山', 'paperMillPayAt': '2021-12-27', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-02', 'paidPrice': None, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '663871865831428096', 'receivablePrice': 638.35, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '663871791441252352', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '663871782146674688', 'paybackIntever': 25, 'activityName': None, 'activityId': None, '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} = 663871872978522113
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/663871865831428096/663871791441252352
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/663871865831428096/663871791441252352
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/663871865831428096/663871791441252352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"663871782402527232","auditType":0,"auditRequestId":"663871865831428096","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"663871782146674688","status":1,"auditStatus":3,"settleStatus":2,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638445834445.png"],"scrapOrderId":"663871782146674688","orderDate":"2021-12-02","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"663871865911119872","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-02","settlementDate":"2021-12-02","paperMillPayAt":"2021-12-27","settlePrice":482.170000,"adjustmentFee":20.000,"unitSurcharge":0.022000,"receivablePrice":469.510000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.775520,"receivablePriceIncludeTax":638.35,"preReceivablePriceIncludeTax":null,"noReceivablePrice":638.350,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":null,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.774424,"settleUnitPrice":1.620000,"financeAuditNotPassedRemark":null,"categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-02","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":0.290,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-0.290,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-0.290,"unit":0.001000,"unitType":1}],"refundSubsidy":0.002000,"receivableAdjustMoney":120.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":null,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":1,"activitySettleType":null,"isEntire":null,"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} = 638.35
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 638.35
Makes a variable available globally in all tests and suites.
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 638.35
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 638.35
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":"663871872978522113", "receivablePrice":"638.35", "paidPrice":"638.35", "noReceiveblePrice":"638.35", "bankFlowNo":null, "paymentAdjustmentFee":null, "re...
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': '227'}
body=b'{ "paymentOrderId":"663871872978522113", "receivablePrice":"638.35", "paidPrice":"638.35", "noReceiveblePrice":"638.35", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-02" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Thu, 02 Dec 2021 11:50:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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
代卖应收
Critical Tests
All Tests
000-Regularorder
000-Regularorder.1-Client(Test)
000-Regularorder.1-Client(Test).1-APPlogin(Test)
000-Regularorder.1-Client(Test).2.1-CreateRegularorder
000-Regularorder.2-Background system(Test)
000-Regularorder.2-Background system(Test).1-WebLogin
000-Regularorder.2-Background system(Test).1-WebLogin.Weblogin
000-Regularorder.2-Background system(Test).2.1-Consignment management
000-Regularorder.2-Background system(Test).2.1-Consignment management.1-Appointment
000-Regularorder.2-Background system(Test).2.1-Consignment management.2.1-RegularUpload-weightnote
000-Regularorder.2-Background system(Test).2.1-Consignment management.3.1-Operation audit
000-Regularorder.2-Background system(Test).3-Withdrawal application
000-Regularorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
000-Regularorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables