Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
ZTBT
https://api-client-uec-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
account=18888888888
captcha=888888
accountType=2
${data}
${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}
Returns the given values which can then be assigned to a variables.
18888888888
${account}
${account} = 18888888888
Sends a POST request on a previously created HTTP Session.
ZTBT
uec/authorize/by-captcha
json=${data}
${respones}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
body=b'{"account": "18888888888", "captcha": "888888", "accountType": "2"}'
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:06:58 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBw1m/ekvE4tSzTW6O3cCTYGg==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBw1m/ekvE4tSzTW6O3cCTYGg==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBw1m/ekvE4tSzTW6O3cCTYGg==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBw1m/ekvE4tSzTW6O3cCTYGg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBw1m/ekvE4tSzTW6O3cCTYGg=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBw1m/ekvE4tSzTW6O3cCTYGg=="}'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:06:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}
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': 'Wed, 08 Dec 2021 10:06:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":[{"cityId":"430100","cityName":"长沙市"},{"cityId":"350200","cityName":"厦门市"},{"cityId":"520100","cityName":"贵阳市"},{"cityId":"150200","cityName":"包头市"},{"cityId":"440800","cityName":"湛江市"},{"cityId":"110100","cityName":"北京市"},{"cityId":"130800","cityName":"承德市"},{"cityId":"210300","cityName":"鞍山市"},{"cityId":"450100","cityName":"南宁市"},{"cityId":"232700","cityName":"大兴安岭地区"},{"cityId":"360200","cityName":"景德镇市"},{"cityId":"320400","cityName":"常州市"},{"cityId":"440900","cityName":"茂名市"},{"cityId":"140200","cityName":"大同市"},{"cityId":"130200","cityName":"唐山市"},{"cityId":"360700","cityName":"赣州市"},{"cityId":"440500","cityName":"汕头市"},{"cityId":"530500","cityName":"保山市"},{"cityId":"310100","cityName":"上海市"},{"cityId":"430400","cityName":"衡阳市"},{"cityId":"442000","cityName":"中山市"},{"cityId":"810200","cityName":"九龙"},{"cityId":"440700","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': '430100', 'cityName': '长沙市'}, {'cityId': '350200', 'cityName': '厦门市'}, {'cityId': '520100', '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} = 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} = 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} = 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} = 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} = 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} = 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} = 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} = 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} = 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} = 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}
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': 'Wed, 08 Dec 2021 10:06:59 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-08 00:00:00","proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":905.43,"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} = 905.43
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:06:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5374","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5373","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5370","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5365","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5364","scrapPaperOrderItemId":null,"plateNumber":"京R66666","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': '5374', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5373', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5370', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5365', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5364', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', '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': '5374', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5373', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6789...
Evaluates the given expression in Python and returns the results.
random.choice(${carNumber})
random
${plateNumber1}
${plateNumber1} = {'id': '5373', '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-08
Logs the given message with the given level.
${datatime}
2021-12-08
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-08","carInfos":[{"plateNumber":"贵R67890"}]}
Logs the given message with the given level.
${data}
{"paperCategoryId":"661536969788100608" ,"unitPrice":1.62,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-08","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwY426cfCIzmbLEumi94WkNw==', '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-08","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': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"666020051782078464"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 666020051782078464
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020051782078464'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 666020051782078464
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': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 200, 'message': '登陆成功'}
Returns the given values which can then be assigned to a variables.
Token 6b08add42d6bcf73abb935b2adf83525
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
登陆成功
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Creates and returns a dictionary based on the given ``items``.
X-APP-ID=470236309865238555
Authorization=Token 6b08add42d6bcf73abb935b2adf83525
${header}
${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
Create Session: create a HTTP session to a server
login-info
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=login-info, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
login-info
recycle-service/admin/employee/get/login-info
${reps_data}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
path_url=/recycle-service/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"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=666020051782078464
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"4741","orderId":"666020051782078464","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"坑卡","sellerReservationDate":"2021-12-08","orderItemNum":1,"carNoList":["贵R67890"],"status":0,"createTime":"2021-12-08 18:07:00","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': '4741', 'orderId': '666020051782078464', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '坑卡', 'sellerReservationDate': '2021-12-08', 'orderItemNum': 1, 'carNoList': ['贵R67890'], 'status': 0, 'createTime': '2021-12-08 18:07:00', '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} = 666020051782078464
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} = 4741
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-08
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} = 666020051782078464
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} = 4741
Makes a variable available globally in all tests and suites.
${paperMillName}
${paperMillName} = Ceshi_factory
Makes a variable available globally in all tests and suites.
${sellerReservationDate}
${sellerReservationDate} = 2021-12-08
Makes a variable available globally in all tests and suites.
${orderType}
${orderType} = 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': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'name': '测试111', 'id': '660525241805705216'}]
Evaluates the given expression in Python and returns the results.
random.choice(${data})
random
${value}
${value} = {'name': '测试111', 'id': '660525241805705216'}
Logs the given message to the console.
\nvalue: ${value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
id
${supplier_id}
${supplier_id} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
name
${millSupplierName}
${millSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${supplier_id}
${supplier_id} = 660525241805705216
Makes a variable available globally in all tests and suites.
${millSupplierName}
${millSupplierName} = 测试111
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}
${data}
${data} = {"attention":"666020051782078464","buyerReservationDate":"2021-12-08", "id":"4741","millDeliveryOrderId":"666020051782078464","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"666020051782078464","buyerReservationDate":"2021-12-08", "id":"4741","millDeliveryOrderId":"666020051782078464","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"666020051782078464"}
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":"666020051782078464","buyerReservationDate":"2021-12-08", "id":"4741","millDeliveryOrderId":"666020051782078464","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"666020051782078464"}'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/update/reservation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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=666020051782078464
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=1%20&pageNum=1&pageSize=10&status=51&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"坑卡","deliveryTime":"2021-12-08","millSupplierName":"测试111","plateNumber":"贵R67890","operationReviewStatus":51,"createTime":"2021-12-08 18:07:00","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': '666020051782078464', 'orderItemId': '666020051824021504', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '坑卡', 'deliveryTime': '2021-12-08', 'millSupplierName': '测试111', 'plateNumber': '贵R67890', 'operationReviewStatus': 51, 'createTime': '2021-12-08 18:07:00', '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} = 666020051824021504
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} = 666020051824021504
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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
headers={'User-Agent': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020051782078464","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020051782078464","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020051824021504","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6200000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5375","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-08 18:07:00","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:00","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":"666020051782078464","createTime":"2021-12-08 18:07","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': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"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': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${仓库}
${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']
Evaluates the given expression in Python and returns the results.
random.choice(${仓库})
random
${所属仓库}
${所属仓库} = 石基仓
Logs the given message to the console.
\nvalue:${所属仓库}
Makes a variable available globally in all tests and suites.
${所属仓库}
${所属仓库} = 石基仓
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"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=666020051824021504
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"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-08
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get-category-price-by-date
params=orderItemId=${orderItemId}&weightDay=${dataTime}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666020051824021504&weightDay=2021-12-08
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666020051824021504&weightDay=2021-12-08
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666020051824021504&weightDay=2021-12-08
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"price":1.620,"publicSubsidies":0.000,"paperCategoryId":"661536969788100608","priceDate":"2021-12-08 00:00:00","categoryName":"坑卡"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'price': 1.62, 'publicSubsidies': 0.0, 'paperCategoryId': '661536969788100608', 'priceDate': '2021-12-08 00:00:00', 'categoryName': '坑卡'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
price
${price}
${price} = 1.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-08
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"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=5896599b59c78151808b0415ca523512'}
body=b'--5896599b59c78151808b0415ca523512\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\x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S\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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\x0b\r\x89\\\xd9|\xffB]\x89\x9df\xa2tM|\xa0j\x0b\xf3\xf2\xaf/\xfc\x15Y\x1b\xe4\xcai\x85n\xc3\xdaZ\x88\xab\x021\xf5@x\xdf7\x8c\x82?\xd7\xd0\xd5^\x94\xb3\xfe\x98YRM\x1b\x1eV\xd7L\xac\xd70$i\x94x\xf3\xfc\xfe\xb8\x12\xc9-\xe9\xc3\x8a\xdb}K\x96l\xeed\xbc\xf3\xb6\x0bBz)?\xd3Z\xa7\xa9P\rY\xad_OE\xc4.\xa8\xf6<\x8a[\xf3\x16\xa7\x9c\xf4ay\xbc\x0b\x17\x18\xfe\x86\xac\x86\xa4\xd6\xc7\xed\xf6\xc2\xdc\xaa\x80s\xcdr\xdb\x831h:w\xb28'... (set the log level to DEBUG or TRACE to see the full content)
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 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/1638958021336.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/1638958021336.png
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.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=666020051824021504&plateNumber=%E8%B4%B5R67890&settleWeight=17550&weighingDate=2021-12-08&orderType=1&settlePrice=%2041953.05
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020051824021504&plateNumber=%E8%B4%B5R67890&settleWeight=17550&weighingDate=2021-12-08&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=666020051824021504&plateNumber=%E8%B4%B5R67890&settleWeight=17550&weighingDate=2021-12-08&orderType=1&settlePrice=%2041953.05
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"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":"666020051824021504", "remark":"2021-12-08", "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":"666020051824021504", "remark":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "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/1638958021336.png" ], "orderItemId":"666020051824021504", "unitPrice...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png" ], "orderItemId":"666020051824021504", "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-08", "settleDay":"2021-12-08", "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-08", "plateNumber":"贵R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.62", "netWeight":300, "activitySettleType":null, "unitSurcharge":"0.02", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"666020051782078464", "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': '2101'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png" ], "orderItemId":"666020051824021504", "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":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "weightDay":"2021-12-08", "settleDay":"2021-12-08", "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-08", "plateNumber":"\xe8\xb4\xb5R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.62", "netWeight":300, "activitySettleType":null, "unitSurcharge":"0.02", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"666020051782078464", "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': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"666020058945949696","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '666020058945949696', 'contractId': '663533697236078592'}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020058945949696
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020058945949696
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/666020058945949696
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020058945949696
headers={'User-Agent': '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/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
headers={'User-Agent': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020051782078464","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020051782078464","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020051824021504","adjustMoney":0.000,"unitSurcharge":0.020000,"surcharge":6.000000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"666020058945949696","orderId":"666020051782078464","orderItemId":"666020051824021504","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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/1638958021336.png"]},"logisticcsInfo":{"id":"5375","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-08","totalOtherAmount":-0.230000000,"paymentType":null,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.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-08 18:07:00","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:00","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:01","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":"666020051782078464","createTime":"2021-12-08 18:07","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-08', 'paperMillDeliveryTime': '2021-12-08', 'remark': None, 'attenssion': '666020051782078464', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '666020051782078464', 'paperCategoryId': '661536969788100608', 'paperCategoryName': '坑卡', 'paperCategoryPrice': 1.62, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '666020051824021504', 'adjustMoney': 0.0, 'unitSurcharge': 0.02, 'surcharge': 6.0, 'unitPrice': 1.62, 'weightnoteInfo': {'id': '666020058945949696', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', '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/1638958021336.png']}, 'logisticcsInfo': {'id': '5375', '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-08', 'totalOtherAmount': -0.23, 'paymentType': None, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': None, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.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-08 18:07:00', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-08 18:07:00', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-08 18:07:01', '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': '666020051782078464', 'createTime': '2021-12-08 18:07', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'factoryName': '88纸业', 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
上传磅单-常规
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":758,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 758, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020051824021504
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020059537346560","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":366.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","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': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020059537346560', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'categoryName': '坑卡', 'settlePrice': 366.83, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '666020058945949696', '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} = 666020059537346560
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020058945949696
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020059537346560
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020058945949696
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=666020051782078464&weightNoteId=666020058945949696
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020051782078464&weightNoteId=666020058945949696
headers={'User-Agent': '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=666020051782078464&weightNoteId=666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"logId":"1468522496306335745","orderId":"666020051782078464","operatorId":null,"operationTime":"2021-12-08 18:07:01","operatorName":"赖勇兰","logContent":"疑似重复订单","remark":"2021-12-08,疑似重复订单为: "},{"logId":"1468522497015173122","orderId":"666020051782078464","operatorId":null,"operationTime":"2021-12-08 18:07:01","operatorName":"赖勇兰","logContent":"上传磅单信息","remark":null},{"logId":"1468522491692601345","orderId":"666020051782078464","operatorId":null,"operationTime":"2021-12-08 18:07:00","operatorName":"赖勇兰","logContent":"订单预约","remark":null},{"logId":"1468522489943576578","orderId":"666020051782078464","operatorId":null,"operationTime":"2021-12-08 18:07:00","operatorName":"赖勇兰","logContent":"下单","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468522496306335745', 'orderId': '666020051782078464', 'operatorId': None, 'operationTime': '2021-12-08 18:07:01', 'operatorName': '赖勇兰', 'logContent': '疑似重复订单', 'remark': '2021-12-08,疑似重复订单为: '}, {'logId': '1468522497015173122', 'orderId': '666020051782078464', 'operatorId': None, 'operationTime': '2021-12-08 18:07:01', 'operatorName': '赖勇兰', 'logContent': '上传磅单信息', 'remark': None}, {'logId': '1468522491692601345', 'orderId': '666020051782078464', 'operatorId': None, 'operationTime': '2021-12-08 18:07:00', 'operatorName': '赖勇兰', 'logContent': '订单预约', 'remark': None}, {'logId': '1468522489943576578', 'orderId': '666020051782078464', 'operatorId': None, 'operationTime': '2021-12-08 18:07:00', '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/666020059537346560/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020059537346560/666020058945949696
headers={'User-Agent': '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/666020059537346560/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020059537346560","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020059570900992","driverName":null,"plateNumber":"贵R67890","netWeight":300.000,"settleWeight":230.000,"deductedWeight":70.000,"deductedWeightPoint":0.000,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020059537346560', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020059570900992', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 300.0, 'settleWeight': 230.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', '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} = 666020059570900992
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} = 2022-01-02
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} = 2022-01-02
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} = 666020059570900992
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} = 2022-01-02
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-08
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":"666020059570900992", "categoryName":"坑卡", "netWeight":"300.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020059570900992", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"300.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:02 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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=666020051782078464&weightNoteId=666020058945949696%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020051782078464&weightNoteId=666020058945949696%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=666020051782078464&weightNoteId=666020058945949696%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020059537346560","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":366.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","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} = 666020059537346560
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} = 666020059537346560
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/666020059537346560/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020059537346560/666020058945949696
headers={'User-Agent': '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/666020059537346560/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020059537346560","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020059570900992","driverName":null,"plateNumber":"贵R67890","netWeight":300.000,"settleWeight":230.000,"deductedWeight":70.000,"deductedWeightPoint":23.330,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020059537346560', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020059570900992', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 300.0, 'settleWeight': 230.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 23.33, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', '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} = 666020059570900992
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020059537346560
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020059570900992
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} = 2022-01-02
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} = 666020059537346560
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020059537346560", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020059537346560", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
headers={'User-Agent': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:04 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020051782078464","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020051782078464","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020051824021504","adjustMoney":0.000,"unitSurcharge":0.020000,"surcharge":6.000000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"666020058945949696","orderId":"666020051782078464","orderItemId":"666020051824021504","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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/1638958021336.png"]},"logisticcsInfo":{"id":"5375","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-08","totalOtherAmount":-0.230000000,"paymentType":null,"activityNoteStatus":0,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:00","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:00","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":"666020051782078464","createTime":"2021-12-08 18:07","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} = 666020058945949696
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} = 666020058945949696
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-08
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/1638958021336.png" ], "orderItemId":"666020051824021504", "unitPrice...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png" ], "orderItemId":"666020051824021504", "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-08", "settleDay":"2021-12-08", "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-08", "plateNumber":"贵R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"330.0", "activitySettleType":null, "unitSurcharge":"0.021", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"666020051782078464", "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":"666020058945949696" }
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': '2164'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png" ], "orderItemId":"666020051824021504", "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":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "weightDay":"2021-12-08", "settleDay":"2021-12-08", "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-08", "plateNumber":"\xe8\xb4\xb5R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"330.0", "activitySettleType":null, "unitSurcharge":"0.021", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"666020051782078464", "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":"666020058945949696" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:04 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020058945949696","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '666020058945949696', 'contractId': '663533697236078592'}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020058945949696
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020058945949696
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/666020058945949696
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020058945949696
headers={'User-Agent': '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/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
headers={'User-Agent': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020051782078464","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020051782078464","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020051824021504","adjustMoney":10.000,"unitSurcharge":0.021000,"surcharge":6.930000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"666020058945949696","orderId":"666020051782078464","orderItemId":"666020051824021504","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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/1638958021336.png"]},"logisticcsInfo":{"id":"5375","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-08","totalOtherAmount":-0.260000000,"paymentType":null,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.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-08 18:07:00","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:00","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:01","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":"666020051782078464","createTime":"2021-12-08 18:07","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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020072824901632","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0.520000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020072824901632', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020072824901632","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":424.530000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","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} = 666020072824901632
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} = 666020072824901632
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/666020072824901632/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020072824901632/666020058945949696
headers={'User-Agent': '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/666020072824901632/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020072824901632","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020072845873152","driverName":null,"plateNumber":"贵R67890","netWeight":330.000,"settleWeight":260.000,"deductedWeight":70.000,"deductedWeightPoint":0.000,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020072824901632', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020072845873152', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 330.0, 'settleWeight': 260.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', '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} = 666020072845873152
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020072824901632
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020072845873152
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} = 2022-01-02
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} = 666020072824901632
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020072824901632", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020072824901632", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
headers={'User-Agent': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:06 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020051782078464","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020051782078464","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020051824021504","adjustMoney":10.000,"unitSurcharge":0.021000,"surcharge":6.930000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"666020058945949696","orderId":"666020051782078464","orderItemId":"666020051824021504","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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/1638958021336.png"]},"logisticcsInfo":{"id":"5375","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-08","totalOtherAmount":-0.260000000,"paymentType":null,"activityNoteStatus":0,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.620000,"settleUnitPriceIncludeTax":2.040120,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:00","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:00","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":"666020051782078464","createTime":"2021-12-08 18:07","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} = 666020058945949696
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} = 666020058945949696
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-08
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/1638958021336.png" ], "orderItemId":"666020051824021504", "unitPrice...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png" ], "orderItemId":"666020051824021504", "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-08", "settleDay":"2021-12-08", "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-08", "plateNumber":"贵R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"360.0", "activitySettleType":null, "unitSurcharge":"0.022000000000000002", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"666020051782078464", "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":"666020058945949696" }
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': '2179'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png" ], "orderItemId":"666020051824021504", "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":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "weightDay":"2021-12-08", "settleDay":"2021-12-08", "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-08", "plateNumber":"\xe8\xb4\xb5R67890", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.7200000000000002", "netWeight":"360.0", "activitySettleType":null, "unitSurcharge":"0.022000000000000002", "deliveryImageUrls":[ ], "publicSubsidies":0, "isSubsidyAndDeductIncludeTax":0, "orderId":"666020051782078464", "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":"666020058945949696" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020058945949696","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '666020058945949696', 'contractId': '663533697236078592'}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020058945949696
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020058945949696
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/666020058945949696
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020058945949696
headers={'User-Agent': '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/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
headers={'User-Agent': '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/666020051782078464?orderId=666020051782078464&orderItemId=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020051782078464","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020051782078464","paperCategoryId":"661536969788100608","paperCategoryName":"坑卡","paperCategoryPrice":1.6200000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020051824021504","adjustMoney":20.000,"unitSurcharge":0.022000,"surcharge":7.920000,"unitPrice":1.6200000,"weightnoteInfo":{"id":"666020058945949696","orderId":"666020051782078464","orderItemId":"666020051824021504","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","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/1638958021336.png"]},"logisticcsInfo":{"id":"5375","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-08","totalOtherAmount":-0.290000000,"paymentType":null,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.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-08 18:07:00","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:00","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:01","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":"666020051782078464","createTime":"2021-12-08 18:07","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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":0.580000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020082551492608', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","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} = 666020082551492608
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} = 666020082551492608
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/666020082551492608/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020082551492608/666020058945949696
headers={'User-Agent': '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/666020082551492608/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020051824021504","auditType":0,"auditRequestId":"666020082551492608","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020082576658432","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":0.000,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020082551492608', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020082576658432', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', '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} = 666020082576658432
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020082551492608
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020082576658432
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} = 2022-01-02
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} = 666020082551492608
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "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":"666020082576658432", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020082576658432", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":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":"666020082551492608", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"666020082551492608", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":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=666020051824021504
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
${auditedTime} = None
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=666020051782078464&weightNoteId=666020058945949696&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020051782078464&weightNoteId=666020058945949696&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=666020051782078464&weightNoteId=666020058945949696&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${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=666020051824021504
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:08 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${staus}
${staus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020082551492608
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} = 666020082551492608
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":"666020082551492608","adminId":null,"isPass":2,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020082551492608","adminId":null,"isPass":2,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020089635672064","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-08 18:07:09","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} = 666020089635672064
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} = 666020089635672064
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/666020089635672064/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020089635672064/666020058945949696
headers={'User-Agent': '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/666020089635672064/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020089635672064","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020089698586624","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020089635672064', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020089698586624', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-08', '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} = 666020089698586624
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020089635672064
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020089698586624
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} = 2022-01-02
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} = 666020089635672064
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":"666020089698586624", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020089698586624", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020089635672064", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020089635672064", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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/666020089635672064/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020089635672064/666020058945949696
headers={'User-Agent': '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/666020089635672064/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020089635672064","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020089698586624","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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} = 2022-01-02
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} = 2022-01-02
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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020089635672064","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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":"666020096438833153 ","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":168.200000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020089635672064', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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=666020051824021504
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020089635672064","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:08","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":2,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
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} = 666020089635672064
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} = 666020089635672064
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":"666020089635672064","adminId":null,"isPass":2,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020089635672064","adminId":null,"isPass":2,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020098900889600","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-08 18:07:11","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} = 666020098900889600
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} = 666020098900889600
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/666020098900889600/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020098900889600/666020058945949696
headers={'User-Agent': '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/666020098900889600/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020098900889600","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020098959609856","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020098900889600', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020098959609856', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-08', '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} = 666020098959609856
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020098900889600
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020098959609856
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} = 2022-01-02
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} = 666020098900889600
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":"666020098959609856", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020098959609856", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020098900889600", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020098900889600", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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/666020098900889600/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020098900889600/666020058945949696
headers={'User-Agent': '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/666020098900889600/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020098900889600","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020098959609856","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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} = 2022-01-02
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} = 2022-01-02
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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020098900889600","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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":"666020105456586753 ","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":168.200000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020098900889600', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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=666020051824021504
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020098900889600","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020089635672064","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:11","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:08","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","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} = 666020098900889600
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} = 666020098900889600
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":"666020098900889600","adminId":null,"isPass":2,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020098900889600","adminId":null,"isPass":2,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': None}
Pauses the test executed for the given time.
1
Slept 1 second
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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:14 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020107906060288","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-08 18:07:13","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} = 666020107906060288
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} = 666020107906060288
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/666020107906060288/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020107906060288/666020058945949696
headers={'User-Agent': '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/666020107906060288/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:14 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020107906060288","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020107968974848","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020107906060288', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020107968974848', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-08', '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} = 666020107968974848
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020107906060288
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020107968974848
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} = 2022-01-02
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} = 666020107906060288
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":"666020107968974848", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020107968974848", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:14 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020107906060288", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020107906060288", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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/666020107906060288/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020107906060288/666020058945949696
headers={'User-Agent': '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/666020107906060288/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020107906060288","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020107968974848","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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} = 2022-01-02
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} = 2022-01-02
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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020107906060288","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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":"666020114851827713 ","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":168.200000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020107906060288', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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=666020051824021504
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020107906060288","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020098900889600","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:13","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020089635672064","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:11","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:08","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","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} = 666020107906060288
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} = 666020107906060288
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":"666020107906060288","adminId":null,"isPass":2,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020107906060288","adminId":null,"isPass":2,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:15 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': None}
Pauses the test executed for the given time.
1
Slept 1 second
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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:16 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020117276135424","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-08 18:07:16","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} = 666020117276135424
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} = 666020117276135424
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/666020117276135424/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020117276135424/666020058945949696
headers={'User-Agent': '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/666020117276135424/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:16 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020117276135424","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020117334855680","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020117276135424', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020117334855680', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', '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} = 666020117334855680
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020117276135424
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020117334855680
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} = 2022-01-02
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} = 666020117276135424
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":"666020117334855680", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020117334855680", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020117276135424", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020117276135424", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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/666020117276135424/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020117276135424/666020058945949696
headers={'User-Agent': '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/666020117276135424/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020051824021504","auditType":0,"auditRequestId":"666020117276135424","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020117334855680","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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} = 2022-01-02
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} = 2022-01-02
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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020117276135424","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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":"666020124012187648 ","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":168.200000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020117276135424', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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=666020051824021504
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020117276135424","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020107906060288","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:15","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020098900889600","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:13","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020089635672064","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:11","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020082551492608","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","weighingDate":"2021-12-08 00:00:00","settlePrice":482.170000,"bizOwnerName":"张山","status":3,"auditedTime":"2021-12-08 18:07:08","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020058945949696","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":null,"activityId":null,"paymentType":null,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","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} = 666020117276135424
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} = 666020117276135424
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":"666020117276135424","adminId":null,"isPass":2,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020117276135424","adminId":null,"isPass":2,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:17 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020126465855488","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","categoryName":"坑卡","settlePrice":482.170000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020058945949696","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-12-08 18:07:18","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} = 666020126465855488
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} = 666020126465855488
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/666020126465855488/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020126465855488/666020058945949696
headers={'User-Agent': '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/666020126465855488/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:19 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020051824021504","auditType":0,"auditRequestId":"666020126465855488","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020126541352960","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","categoryName":"坑卡","paperCategoryId":"661536969788100608","deductionNotes":"2021-12-08","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': '666020051824021504', 'auditType': 0, 'auditRequestId': '666020126465855488', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '坑卡', 'paperCategoryId': None, 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png'], 'scrapOrderId': '666020051782078464', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020126541352960', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 360.0, 'settleWeight': 290.0, 'deductedWeight': 70.0, 'deductedWeightPoint': 19.44, 'unitPrice': 1.62, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', '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-08', 'categoryName': '坑卡', 'paperCategoryId': '661536969788100608', 'deductionNotes': '2021-12-08', '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} = 666020126541352960
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} = 2022-01-02
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} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020126465855488
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020126541352960
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} = 2022-01-02
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} = 666020126465855488
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":"666020126541352960", "categoryName":"坑卡", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "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":"666020126541352960", "categoryName":"\xe5\x9d\x91\xe5\x8d\xa1", "netWeight":"360.0", "paperCategoryId":"661536969788100608", "paperMillPayAt":"2022-01-02", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:19 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020126465855488", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020126465855488", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:19 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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/666020126465855488/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020126465855488/666020058945949696
headers={'User-Agent': '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/666020126465855488/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:19 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020051824021504","auditType":0,"auditRequestId":"666020126465855488","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":1,"auditStatus":2,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020126541352960","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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} = 2022-01-02
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} = 2022-01-02
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=666020051824021504
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020051824021504
headers={'User-Agent': '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=666020051824021504
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:19 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"46095","orderId":"666020051782078464","orderItemId":"666020051824021504","auditRequestId":"666020126465855488","weightNoteId":"666020058945949696","orderCreateTime":"2021-12-08 18:07","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":"666020133214490625 ","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-08","paperMillPayAt":"2022-01-02","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-08","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-08","refundSubsidy":168.200000000,"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': '46095', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'auditRequestId': '666020126465855488', 'weightNoteId': '666020058945949696', 'orderCreateTime': '2021-12-08 18:07...
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":"666020126465855488","adminId":null,"isPass":1,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020126465855488","adminId":null,"isPass":1,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:19 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020126465855488", "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":"666020126465855488", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:20 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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=666020051782078464
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666020051782078464
headers={'User-Agent': '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=666020051782078464
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:22 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020133214490625","orderId":"666020051782078464","orderItemId":"666020051824021504","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","settlementDate":"2021-12-08","settlePrice":482.17,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":0,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":null,"bankFlowNo":null,"remark":null,"auditRequestId":"666020126465855488","receivablePrice":638.350,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"666020058945949696","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666020051782078464","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} = 666020133214490625
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '666020133214490625', 'orderId': '666020051782078464', 'orderItemId': '666020051824021504', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020051782078464', 'settlementDate': '2021-12-08', 'settlePrice': 482.17, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': None, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '666020126465855488', 'receivablePrice': 638.35, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '666020058945949696', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666020051782078464', '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} = 666020133214490625
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/666020126465855488/666020058945949696
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020126465855488/666020058945949696
headers={'User-Agent': '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/666020126465855488/666020058945949696
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:22 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020051824021504","auditType":0,"auditRequestId":"666020126465855488","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"坑卡","paperCategoryId":null,"millSupplierName":"测试111","millDelieveryOrderId":"666020051782078464","status":1,"auditStatus":3,"settleStatus":2,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958021336.png"],"scrapOrderId":"666020051782078464","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020126541352960","driverName":null,"plateNumber":"贵R67890","netWeight":360.000,"settleWeight":290.000,"deductedWeight":70.000,"deductedWeightPoint":19.440,"unitPrice":1.6200000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","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-08","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":"666020133214490625", "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":"666020133214490625", "receivablePrice":"638.35", "paidPrice":"638.35", "noReceiveblePrice":"638.35", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:22 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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
代卖应收
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
ZTBT
https://api-client-uec-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
account=18888888888
captcha=888888
accountType=2
${data}
${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}
Returns the given values which can then be assigned to a variables.
18888888888
${account}
${account} = 18888888888
Sends a POST request on a previously created HTTP Session.
ZTBT
uec/authorize/by-captcha
json=${data}
${respones}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
body=b'{"account": "18888888888", "captcha": "888888", "accountType": "2"}'
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:23 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=="}'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:23 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==
Makes a variable available globally in all tests and suites.
${userId}
${userId} = 659450159519895552
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell-activity/list
params=pageNum=1&pageSize=15
${repsponse}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
path_url=/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:23 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.675,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","shortName":"Ceshi_factory","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649450137.jpg","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649450137.jpg"}}},{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.710,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","shortName":"Ceshi_factory","startTime":"2021-11-23 14:35:47","endTime":"2021-11-24 14:35:47","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649372318.png","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649372318.png"}}},{"paperMillId":"647892637390606336","name":"格森纸业有限公司","paperCategoryList":[{"categoryId":"648502476105977856","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.670,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null},{"categoryId":"648502476126949376","categoryName":"白纸","yesterdayUnitPrice":null,"unitPrice":1.880,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634636091226.png","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"649965536695947264","activityName":"格森--两次活动","shortName":"格森纸业","startTime":"2021-10-25 10:51:19","endTime":"2021-10-31 10:51:19","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635130303548.png","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635130303548.png"}}},{"paperMillId":"647892637390606336","name":"格森纸业有限公司","paperCategoryList":[{"categoryId":"648502476147920896","categoryName":"小花","yesterdayUnitPrice":null,"unitPrice":3.335,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634636091226.png","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"649688261702324224","activityName":"测试","shortName":"格森纸业","startTime":"2021-10-24 16:29:29","endTime":"2021-11-28 16:29:29","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635064207174.jpg","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635064207174.jpg"}}}],"total":4,"size":15,"current":1,"orders":null,"searchCount":true,"pages":1}}
${repsponse} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${repsponse.json()["data"]}
records
${records}
${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floati...
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityName
${activityName}
${activityName} = Ceshi_factory--两次
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperCategoryList
${paperCategoryList}
${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityId
${activityId}
${activityId} = 660531609048584192
Stops executing the enclosing for loop if the ``condition`` is true.
'${activityName}'=='Ceshi_factory--一次'
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityName
${activityName}
${activityName} = Ceshi_factory--一次
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperCategoryList
${paperCategoryList}
${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.71, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityId
${activityId}
${activityId} = 660531287664234496
Stops executing the enclosing for loop if the ``condition`` is true.
'${activityName}'=='Ceshi_factory--一次'
Exiting for loop altogether.
Evaluates the given expression in Python and returns the results.
random.choice(${paperCategoryList})
random
${Category_value}
${Category_value} = {'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.71, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}
Logs the given message to the console.
\nvalue: ${Category_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
categoryId
${categoryId}
${categoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
unitPrice
${unitPrice}
${unitPrice} = 1.71
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${activityId}
${activityId} = 660531287664234496
Makes a variable available globally in all tests and suites.
${categoryId}
${categoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.71
Create Session: create a HTTP session to a server
get-carinfo
${url}
${headers}
Creating Session using : alias=get-carinfo, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:23 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5375","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5374","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5370","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5365","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5364","scrapPaperOrderItemId":null,"plateNumber":"京R66666","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': '5375', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5374', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5370', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5365', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5364', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', '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': '5375', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5374', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC678...
Evaluates the given expression in Python and returns the results.
random.sample(${carNumber},1)
random
${plateNumber_value}
${plateNumber_value} = [{'id': '5365', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}]
Logs the given message to the console.
\nvalue:${plateNumber_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${plateNumber_value[0]}
plateNumber
${plateNumber1}
${plateNumber1} = 京R76859
Makes a variable available globally in all tests and suites.
${plateNumber1}
${plateNumber1} = 京R76859
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/get/paper-mill-paper-category-price-details/${paperMillId}
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
path_url=/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:23 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","unitPrice":1.650,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":0.005,"isAllowOrder":true},{"categoryId":"661536965862232064","categoryName":"小白纸","unitPrice":2.200,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":null,"isAllowOrder":true},{"categoryId":"661536969788100608","categoryName":"坑卡","unitPrice":1.620,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":null,"isAllowOrder":true}],"locProvinceName":"山西省","locCityName":"大同市","locDistrictName":"大同县","attentionsLoadingCar":"","attentionsRegulations":"","attentionsArrival":"","attentionsReportCar":"","locDetails":"","priceDate":"2021-12-08","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","enableSalesAgent":1,"proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":905.43,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":true,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isCooperate":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'unitPrice': 1.65, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': 0.005, 'isAllowOrder': True}, {'categoryId': '661536965862232064', 'categoryName': '小白纸', 'unitPrice': 2.2, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': None, 'isAllowOrder': True}, {'categoryId': '661536969788100608', 'categoryName': '坑卡', 'unitPrice': 1.62, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': None, 'isAllowOrder': True}], 'locProvinceName': '山西省', 'locCityName': '大同市', 'locDistrictName': '大同县', 'attentionsLoadingCar': '', 'attentionsRegulations': '', 'attentionsArrival': '', 'attentionsReportCar': '', 'locDetails': '', 'priceDate': '2021-12-08', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg', 'enableSalesAgent': 1, 'proxypaySurcharge': 0.02, 'foreignPaybackIntever': None, 'foreignPaybackIntervalString': '12', 'cumulativeWeight': 905.43, 'yesterdayTotalQuantity': None, 'yesterdayRetainedQuantity': None, 'hasFollowed': True, 'isOperations': True, 'manageNotifyMessage': '该纸厂已暂停接单,请联系相关负责人!', 'isCooperate': 0}}
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell/get/relation
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/relation
path_url=/recycle-service/proxy-sell/get/relation
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/relation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:23 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"249","customerName":"赖勇兰","cusormerId":"554128866793361643","bizUserId":"498985714587930624","bizUserName":"张山","status":0,"createTime":"2021-11-22 13:54:27","mobile":"13060994305","factoryName":null,"factoryId":null}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
bizUserId
${bizUserId}
${bizUserId} = 498985714587930624
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
cusormerId
${cusormerId}
${cusormerId} = 554128866793361643
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
customerName
${customerName}
${customerName} = 赖勇兰
Makes a variable available globally in all tests and suites.
${bizUserId}
${bizUserId} = 498985714587930624
Makes a variable available globally in all tests and suites.
${cusormerId}
${cusormerId} = 554128866793361643
Makes a variable available globally in all tests and suites.
${customerName}
${customerName} = 赖勇兰
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "totalEstimatedWeight":30000, \ \ \ \ "activityId":"${activityId}", \ \ \ \ "customerName":"${customerName}", \ \ \ \ "deliveryTime":"${datatime}", \ \ \ \ "carInfos":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "plateNumber":"${plateNumber1}" \ \ \ \ \ \ \ \ } \ \ \ \ ] }
${order_data}
${order_data} = { "paperCategoryId":"660529551931215872", "unitPrice":"1.71", "totalEstimatedWeight":30000, "activityId":"660531287664234496", "customerName":"赖勇兰", "deliveryTime":"2021-12-08"...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell/create/order
${order_data.encode('utf-8')}
${reps}
POST Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
path_url=/recycle-service/proxy-sell/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwQeYoM9kg05UKdmyBgQND1g==', 'Content-Length': '290'}
body=b'{ "paperCategoryId":"660529551931215872", "unitPrice":"1.71", "totalEstimatedWeight":30000, "activityId":"660531287664234496", "customerName":"\xe8\xb5\x96\xe5\x8b\x87\xe5\x85\xb0", "deliveryTime":"2021-12-08", "carInfos":[ { "plateNumber":"\xe4\xba\xacR76859" } ] }'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"666020152076275712"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020152076275712'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 666020152076275712
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 666020152076275712
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/x-www-form-urlencoded
X-APP-ID=470236309865238555
${header}
${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
username=laiyonglan@qniao.cn
password=qn123456
&{data}
&{data} = { username=laiyonglan@qniao.cn | password=qn123456 }
Logs the given message with the given level.
${data}
{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/login
data=${data}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
path_url=/recycle-service/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555', 'Content-Length': '48'}
body=username=laiyonglan%40qniao.cn&password=qn123456
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 200, 'message': '登陆成功'}
Returns the given values which can then be assigned to a variables.
Token 6b08add42d6bcf73abb935b2adf83525
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
登陆成功
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525
Creates and returns a dictionary based on the given ``items``.
X-APP-ID=470236309865238555
Authorization=Token 6b08add42d6bcf73abb935b2adf83525
${header}
${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
Create Session: create a HTTP session to a server
login-info
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=login-info, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
login-info
recycle-service/admin/employee/get/login-info
${reps_data}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
path_url=/recycle-service/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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=666020152076275712
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=666020152076275712
headers={'User-Agent': '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=666020152076275712
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"4742","orderId":"666020152076275712","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"花纸","sellerReservationDate":"2021-12-08","orderItemNum":1,"carNoList":["京R76859"],"status":0,"createTime":"2021-12-08 18:07:23","bizOwnerName":"张山","orderType":2,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
${reps_data} = <Response [200]>
Logs the given message with the given level.
${reps_data.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '4742', 'orderId': '666020152076275712', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '花纸', 'sellerReservationDate': '2021-12-08', 'orderItemNum': 1, 'carNoList': ['京R76859'], 'status': 0, 'createTime': '2021-12-08 18:07:23', 'bizOwnerName': '张山', 'orderType': 2, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderId
${orderId}
${orderId} = 666020152076275712
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} = 4742
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderType
${orderType}
${orderType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
carNoList
${carNoList}
${carNoList} = ['京R76859']
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
paperMillName
${paperMillName}
${paperMillName} = Ceshi_factory
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
sellerReservationDate
${sellerReservationDate}
${sellerReservationDate} = 2021-12-08
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 京R76859
Logs the given message to the console.
\nvalue:${carList}
Fails if objects are unequal after converting them to strings.
${reps_data.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 666020152076275712
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} = 4742
Makes a variable available globally in all tests and suites.
${paperMillName}
${paperMillName} = Ceshi_factory
Makes a variable available globally in all tests and suites.
${sellerReservationDate}
${sellerReservationDate} = 2021-12-08
Makes a variable available globally in all tests and suites.
${orderType}
${orderType} = 2
Makes a variable available globally in all tests and suites.
${carList}
${carList} = 京R76859
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'name': '测试111', 'id': '660525241805705216'}]
Evaluates the given expression in Python and returns the results.
random.choice(${data})
random
${value}
${value} = {'name': '测试111', 'id': '660525241805705216'}
Logs the given message to the console.
\nvalue: ${value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
id
${supplier_id}
${supplier_id} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
name
${millSupplierName}
${millSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${supplier_id}
${supplier_id} = 660525241805705216
Makes a variable available globally in all tests and suites.
${millSupplierName}
${millSupplierName} = 测试111
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}
${data}
${data} = {"attention":"666020152076275712","buyerReservationDate":"2021-12-08", "id":"4742","millDeliveryOrderId":"666020152076275712","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"666020152076275712","buyerReservationDate":"2021-12-08", "id":"4742","millDeliveryOrderId":"666020152076275712","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"666020152076275712"}
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":"666020152076275712","buyerReservationDate":"2021-12-08", "id":"4742","millDeliveryOrderId":"666020152076275712","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"666020152076275712"}'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/update/reservation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
预约送货
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order-item-list
params=orderType=${orderType} &pageNum=1&pageSize=10&status=51&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666020152076275712
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666020152076275712
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666020152076275712
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020152076275712","orderItemId":"666020152122413056","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-08","millSupplierName":"测试111","plateNumber":"京R76859","operationReviewStatus":51,"createTime":"2021-12-08 18:07:23","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":null,"reviewOperatorName":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activitySettleType":1,"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': '666020152076275712', 'orderItemId': '666020152122413056', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-08', 'millSupplierName': '测试111', 'plateNumber': '京R76859', 'operationReviewStatus': 51, 'createTime': '2021-12-08 18:07:23', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': None, 'reviewOperatorName': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activitySettleType': 1, 'weightNoteType': None, 'netWeight': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'rejected': False}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${records}
${records} = [{'orderId': '666020152076275712', 'orderItemId': '666020152122413056', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '20...
Evaluates the given expression in Python and returns the results.
random.choice(${records})
random
${orderItemId_value}
${orderItemId_value} = {'orderId': '666020152076275712', 'orderItemId': '666020152122413056', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '202...
Logs the given message to the console.
\nvalue: ${orderItemId_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${orderItemId_value}
orderItemId
${orderItemId}
${orderItemId} = 666020152122413056
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 666020152122413056
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/666020152076275712?orderId=666020152076275712%20&orderItemId=666020152122413056
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020152076275712?orderId=666020152076275712%20&orderItemId=666020152122413056
headers={'User-Agent': '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/666020152076275712?orderId=666020152076275712%20&orderItemId=666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531287664234496","activitySettleType":2,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--一次","startTime":"2021-11-23 14:35:47","endTime":"2021-11-24 14:35:47","unitSurcharge":0.015,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020152076275712","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020152076275712","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.7100000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020152122413056","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.7100000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5376","plateNumber":"京R76859"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":3,"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-08 18:07:24","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:24","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":"666020152076275712","createTime":"2021-12-08 18:07:23","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":16,"transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.71
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 16
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 长沙市千鸟互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.015
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
settleUtiPriceIncludeTaxType
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 1
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.71
Sets variable based on the given condition.
'${unitSurcharge}'=='${None}'
0
${unitSurcharge}
${unitSurcharge}
${unitSurcharge} = 0.015
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.71
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 2
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.71
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 16
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 长沙市千鸟互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.015
Makes a variable available globally in all tests and suites.
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 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/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020152122413056
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020152122413056
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderId":"666020152076275712","orderItemId":"666020152122413056","activityId":"660531287664234496","transactionMainEnterpriseId":"16","transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.710,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":2,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.015,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"京R76859","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020152076275712', 'orderItemId': '666020152122413056', 'activityId': '660531287664234496', 'transactionMainEnterpriseId': '16', 'transactionMainEnterpriseName': '长沙市千鸟互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.71, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 2, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.015, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '京R76859', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.71
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.71
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"buyerEnterpriseName":"Ceshi_factory","buyerEnterpriseId":"660525239146516480","buyerPaperMillId":"660525241717624832","sellerEnterpriseName":"企业","sellerEnterpriseId":"37","sellerPaperMillId":null,"proxyPaySurcharge":0.013000,"advanceFund":null,"invoiceType":0,"hasInvoice":1,"taxRefundRate":9.600000,"hasSubsidiesTax":0,"remark":null,"contractLimitType":0,"limitLine":null,"startDate":"2021-12-01","endDate":"2023-01-01","signDateStart":"2021-12-01","signDateEnd":"2023-01-01","accountPeriodType":0,"accountPeriod":[25],"accountPeriodSql":null,"contractImageList":[],"contractCategories":[],"contractType":2,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"contractStatus":1,"assignAccountPeriod":null,"settlePriceIncludeTaxSettleRules":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'buyerEnterpriseName': 'Ceshi_factory', 'buyerEnterpriseId': '660525239146516480', 'buyerPaperMillId': '660525241717624832', 'sellerEnterpriseName': '企业', 'sellerEnterpriseId': '37', 'sellerPaperMillId': None, 'proxyPaySurcharge': 0.013, 'advanceFund': None, 'invoiceType': 0, 'hasInvoice': 1, 'taxRefundRate': 9.6, 'hasSubsidiesTax': 0, 'remark': None, 'contractLimitType': 0, 'limitLine': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'signDateStart': '2021-12-01', 'signDateEnd': '2023-01-01', 'accountPeriodType': 0, 'accountPeriod': [25], 'accountPeriodSql': None, 'contractImageList': [], 'contractCategories': [], 'contractType': 2, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'contractStatus': 1, 'assignAccountPeriod': None, 'settlePriceIncludeTaxSettleRules': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
advanceFund
${advanceFund}
${advanceFund} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriod
${accountPeriod}
${accountPeriod} = [25]
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
buyerEnterpriseId
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
taxRefundRate
${taxRefundRate}
${taxRefundRate} = 9.6
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxyPaySurcharge
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
hasInvoice
${hasInvoice}
${hasInvoice} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriodType
${accountPeriodType}
${accountPeriodType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
isSubsidyAndDeductIncludeTax
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${receivableSettlementRules}
${receivableSettlementRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Sets variable based on the given condition.
'${advanceFund}'=='${None}'
0
${advanceFund}
${advanceFund}
${advanceFund} = 0
Sets variable based on the given condition.
'${proxyPaySurcharge}'=='${None}'
0
${proxyPaySurcharge}
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${advanceFund}
${advanceFund} = 0
Makes a variable available globally in all tests and suites.
${accountPeriod}
${accountPeriod} = [25]
Makes a variable available globally in all tests and suites.
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Makes a variable available globally in all tests and suites.
${taxRefundRate}
${taxRefundRate} = 9.6
Makes a variable available globally in all tests and suites.
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${hasInvoice}
${hasInvoice} = 1
Makes a variable available globally in all tests and suites.
${accountPeriodType}
${accountPeriodType} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Makes a variable available globally in all tests and suites.
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Makes a variable available globally in all tests and suites.
${receivableSettlementRules}
${receivableSettlementRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
/recycle-service/admin/contract/get/selectable-contract-list
params=orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020152122413056
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020152122413056
headers={'User-Agent': '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=666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:24 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"id":"39","name":"千鸟-经纪业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"40","name":"千纸鹤代卖业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"41","name":"测试资金方","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"42","name":"千鸟-技术部测试数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"46","name":"千鸟","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"47","name":"千鸟数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":1},{"id":"49","name":"千鸟测试","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}, {'id': '49', 'name': '千鸟测试', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...
Logs the given message with the given level.
${item}
{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-经纪业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 39
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千纸鹤代卖业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 40
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 测试资金方
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 41
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-技术部测试数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 42
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 46
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 47
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Exiting for loop altogether.
Makes a variable available globally in all tests and suites.
${name}
${name} = 千鸟数据
Makes a variable available globally in all tests and suites.
${id}
${id} = 47
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/transaction-main-enterprise/get/warehouse-name
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
path_url=/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${仓库}
${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']
Evaluates the given expression in Python and returns the results.
random.choice(${仓库})
random
${所属仓库}
${所属仓库} = 钟落潭仓
Logs the given message to the console.
\nvalue:${所属仓库}
Makes a variable available globally in all tests and suites.
${所属仓库}
${所属仓库} = 钟落潭仓
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020152122413056
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020152122413056
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderId":"666020152076275712","orderItemId":"666020152122413056","activityId":"660531287664234496","transactionMainEnterpriseId":"16","transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.710,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":2,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.015,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"京R76859","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020152076275712', 'orderItemId': '666020152122413056', 'activityId': '660531287664234496', 'transactionMainEnterpriseId': '16', 'transactionMainEnterpriseName': '长沙市千鸟互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.71, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 2, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.015, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '京R76859', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.71
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.71
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Evaluates the given expression in Python and returns the results.
open('./16pic_6879381_b.jpg','rb')
${filepath}
${filepath} = <_io.BufferedReader name='./16pic_6879381_b.jpg'>
Evaluates the given expression in Python and returns the results.
open('./16pic_6879381_b.jpg','rb')
${image}
${image} = <_io.BufferedReader name='./16pic_6879381_b.jpg'>
Creates and returns a dictionary based on the given ``items``.
filepath=${filepath}
image=${image}
${file}
${file} = {'filepath': <_io.BufferedReader name='./16pic_6879381_b.jpg'>, 'image': <_io.BufferedReader name='./16pic_6879381_b.jpg'>}
Create Session: create a HTTP session to a server
ZTBT
${URL}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${file}
{'filepath': <_io.BufferedReader name='./16pic_6879381_b.jpg'>, 'image': <_io.BufferedReader name='./16pic_6879381_b.jpg'>}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-user-center/upload/image
files=${file}
${result}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
path_url=/recycle-user-center/upload/image
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '488079', 'Content-Type': 'multipart/form-data; boundary=62950f75c3bd485db53b028840edf903'}
body=b'--62950f75c3bd485db53b028840edf903\r\nContent-Disposition: form-data; name="filepath"; filename="16pic_6879381_b.jpg"\r\n\r\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x01\x01,\x01,\x00\x00\xff\xe1\x00\xf5Exif\x00\x00MM\x00*\x00\x00\x00\x08\x00\x04\x01\x0f\x00\x02\x00\x00\x00\x06\x00\x00\x00>\x01\x10\x00\x02\x00\x00\x00\x0e\x00\x00\x00D\x82\x9a\x00\x05\x00\x00\x00\x01\x00\x00\x00R\x87i\x00\x04\x00\x00\x00\x01\x00\x00\x00Z\x00\x00\x00\x00Canon\x00Canon EOS 70D\x00\x00\x00\x00\x01\x00\x00\x03 \x00\x07\x82\x9a\x00\x05\x00\x00\x00\x01\x00\x00\x00\xb0\x82\x9d\x00\x05\x00\x00\x00\x01\x00\x00\x00\xb8\x88\'\x00\x03\x00\x00\x00\x02\x00d\x00\x00\x90\x03\x00\x02\x00\x00\x00\x14\x00\x00\x00\xc0\x92\t\x00\x03\x00\x00\x00\x02\x00\x10\x00\x00\x92\n\x00\x05\x00\x00\x00\x01\x00\x00\x00\xd4\xa44\x00\x02\x00\x00\x00\x11\x00\x00\x00\xdc\x00\x00\x00\x01\x00\x00\x03 \x00\x00\x00 \x00\x00\x00\n2014:10:31 12:33:19\x00\x00\x00\x002\x00\x00\x00\x01EF50mm f/1.4 USM\x00\xff\xdb\x00C\x00\x03\x02\x02\x02\x02\x02\x03\x02\x02\x02\x03\x03\x03\x03\x04\x06\x04\x04\x04\x04\x04\x08\x06\x06\x05\x06\t\x08\n\n\t\x08\t\t\n\x0c\x0f\x0c\n\x0b\x0e\x0b\t\t\r\x11\r\x0e\x0f\x10\x10\x11\x10\n\x0c\x12\x13\x12\x10\x13\x0f\x10\x10\x10\xff\xdb\x00C\x01\x03\x03\x03\x04\x03\x04\x08\x04\x04\x08\x10\x0b\t\x0b\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\x10\xff\xc0\x00\x11\x08\x02\xab\x03\xc0\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1d\x00\x00\x01\x04\x03\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x04\x05\x07\x08\x00\x02\x03\x01\t\xff\xc4\x00\\\x10\x00\x02\x01\x03\x03\x02\x04\x04\x03\x05\x05\x04\x06\x05\x01\x19\x01\x02\x03\x04\x05\x11\x00\x06\x12\x07!\x13"1A\x08\x14Qa2q\x81\x15#B\x91\xa1\x16R\xb1\xc1\xd1$3br\t\x17C\x82\xe1\xf0%4S\x92\xa2\xc2\xf1\x18cs\x83\xa3&DT\x93\xb2\xd2\xd35\x956d\xb3\xc3\xe2FU\x84\x85\xa5\xff\xc4\x00\x1b\x01\x00\x03\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\xff\xc4\x007\x11\x00\x02\x02\x01\x03\x02\x04\x04\x05\x04\x03\x01\x00\x02\x03\x00\x00\x01\x02\x11\x03\x12!1\x04A\x13"Qa2q\xb1\xf0\x81\x91\xa1\xc1\xd1\x14#B\xe1\x053\xf1R\x06r\x15$C\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xb7z\xcdf\xb3@\x19\xac\xd6k4\x01\x9a\xcdf\xb3@\x19\xac\xd6k4\x01\x9a\xcdf\xb3@\x19\xac\xd6k4\x01\x9a\xcdf\xb3@\x19\xac\xd6k4\x01\x9a\xcdf\xb3@\x19\xdb\xdf[k]m\xa0\x0c\xd6k5\x9a\x00\xcdl\x80\x13\xdfZ\xebd \x1e\xfa\x00\xea\x07\xd7^\x1c{k\xce`\x0f]h\xceO\xa6\x80=v\xf6\xd6\x9a\xcdf\x803[\xa1:\xd3[ \xee\x0e\x80:k5\x9a\xcd\x00f\xb3Y\xac\xed\x83\x9f_m\x00z\xb8\xcf|v\xef\xdf^\x03\x82N\x01\xed\xac\xc9 \x0c\xf6\x1a\xcd\x00n\x08U\xe4\n\xe7\x05q\xef\xdfX\xd9\xca\xe7\x8f\x120>\x83\xef\xadW\x889a\x91\xafC\x0c\x90\xd9\n{\xe0h\x00C\xab\x1b\x1e\r\xff\x00\xb4d\xb0=d\x94fyP$\xf1\xb1\x0e\x9d\xc7,~`\x1dV\xcf\x89\xdd\x95m\xe9\xf5>\xd6\x97n\xd7\xd4@R\xa1|c\xcc\x92\xe1@\xc1?|\x03\xfc\xf5d\xfa\x91<\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6q\xa3B\x076\x9d\x01\xc6\xc9N\xc8\xcf\x03\x02\xbd\xb8\x93\xf5\xf7\xcf\xf9k_\xd9\x0c\x88\xc2I\x10)\x19!s\xeb\xed\xfagD\x92P\x97\x07\x94\\\xf9\x81\xcb\xbf\xd3I\xde\xdd\x17u\x14\xcb\x91\xfd5>\x18\xfcG\xc0)Qg\x94/\x88\xa5\\\xfb\x04\x1d\xcf\xf3\xd77\xa2\x96*7\x13eP\x82\n\x1f_\xb1\xd1\x04\xb4p\x07nQ\x03\xecA\x1am\x9a)#i\x15P\xaeU\x94\x11\xd8\x8e@\x81\xa4\xe1E\xc6z\x99H\xf7%;\xcb\xba\xaef\x15\xc2EX\xe7\x93\x1e\xde\xa3\xdb\xf5\xd28\xc5\x15\x14\xc2Ij\x0bM\xd9\x91G\xe1\xc8\xd2\xbd\xdd\x15w\xf6\xe2\xed\x0c19\x81k\x9c\xb1=\x80\xee\x0f\xf9\xeb\x94P\xda\xd6\xa0\xc7U\xca~=\xc2\x81\xf8G\xe9\xaf6\x7f\x13;\xa0\xee)\x0b\xa0\xac\xaf\xb9M\x04T\xd07\x850!\xccY##\xef\xed\xa9\xa3\xe1"\xd9[E\xd6\x18*\'(\x15\xa9\x99B\x8c\x96\xc8a\xa8n\x96\xed8\x90R\xd1\xc6\x94\xd0\x8fly\x88\xc6\xa6_\x85:k\xa2u\x86\x96\xaa\xa41C\x1b\x05\x0c\xde\xc4\xaf|{{\xe9\xf4\xfbeB\xea\x7f\xebe\xf5\xb3\x13\xe0\x8f\xcc\xfah;\xa81\x83y\x84\x11\xeb\x0eH?\x9e\x8b\xed$\xf0#\xe8\xdd\xb43\xbf\x94\xfe\xd6\xa4l\xfa\xc4\xc3\xfa\x8d{\'\x8c\x08\xbd\xad\x14,\x8a\x84\x87\'\x97\xe7\xed\xa0\xde\xa6\xd8\x04\x9b\x06\xf9 U~4\xb5,H\xf4Q\xc0\xf6\xef\xa9.\x97=\x88\xf7\xf6\x1al\xea%\xb3\xc6\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4\xb4[\xea\xf5\x04\x124\x8a\xf5<\xca\xa8\xc9\x04\x81\xdbHm\x96\xd2\x90\xbc\xb7"\x94\xc4\xa7\xa6G#\xdf\xdfD\xfdp\x8a\xbbn\xf5\x1a\xe9n1\x0cK\'\x8a\xb2q\xeeF\x00\xed\xf5\xef\xef\xa1z\xa5\x9a\xa9\xe3\x95\xbc\x9f\xc3\xc9\xf1\xfe\x1a\xf2sF\xa4\xd9\xeab\x96\xc2\xb8\xea-\xd6\xf9W\xe4\xe1giF\x04\x84~\xbe\xa7\xbe\xa5\x1f\x85\xfb\xad\xc2^\xb2\xdb\x0c\xf91\xb0pB~\x10r\xbe\xbf]E0\xb5\x9e\x18c\x8aR\xd52)\xe5\x9f\xa7lc\xe9\xa9;\xe1\xe2\xf2\xf1\xf5\x96\xc7O\x1a*B\xdc\xcfq\xe6\'\xb7\xe9\xa3\xa7\xdb*\x0e\xa7|l\xfa\x15i#\x9c\x9f\xf3h\x7f~\x8f\xf6\xda\x16\xf7\xe2\xe3?\xcbO\xb6\xa6"\xa2e\'>c\xa6=\xfb\xdaz\x07\xff\x00\x89\xbd?-{\x07\x8c7R"\x95\x19\xce\xb9\xefx\x0c\xdbB\xf3\x10\\\x87\xb6L\xbf\xd3[\xd2)*\x03\x1c\x10=\xb4\xa2\xec\x9e5\xa2'... (set the log level to DEBUG or TRACE to see the full content)
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 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/1638958045244.jpg"}
${result} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${result.json()}
data
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
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=14800&weighingDate=${datatime}&orderType=${orderType}&settlePrice=29466.6
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020152122413056&plateNumber=%E4%BA%ACR76859&settleWeight=14800&weighingDate=2021-12-08&orderType=2&settlePrice=29466.6
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020152122413056&plateNumber=%E4%BA%ACR76859&settleWeight=14800&weighingDate=2021-12-08&orderType=2&settlePrice=29466.6
headers={'User-Agent': '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=666020152122413056&plateNumber=%E4%BA%ACR76859&settleWeight=14800&weighingDate=2021-12-08&orderType=2&settlePrice=29466.6
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020152122413056", "remark":"2021-12-08", "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":"666020152122413056", "remark":"2021-12-08", "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': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "deductedPoint":0, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "scrapeOrderId":"", \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "settleUtiPriceIncludeTax":1.6608157894736841, \ \ \ \ "settleUtiPriceIncludeTaxType":"${settleUtiPriceIncludeTaxType}", \ \ \ \ "receivableAdjustMoney":"30", \ \ \ \ "refundSubsidy":0.002, \ \ \ \ "adjustMoney":"20", \ \ \ \ "collectionCharges":"${proxyPaySurcharge}", \ \ \ \ "advanceFund":"${advanceFund}", \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ "contractId":"${contractId}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "settlePriceIncludeTaxSettleRules":"${settlePriceIncludeTaxSettleRules}", \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "netWeight":20000, \ \ \ \ "activitySettleType":null, \ \ \ \ "unitSurcharge":"${unitSurcharge}", \ \ \ \ "deliveryImageUrls":[ \ \ \ \ \ ], \ \ \ \ "publicSubsidies":0, \ \ \ \ "orderId":"${orderId}", \ \ \ \ "nonStandardPenalty_car":"", \ \ \ \ "settleWeight":10000, \ \ \ \ "deductedWeight":0, \ \ \ \ "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":2, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":15, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"nonStandardPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ } \ \ \ \ ] }
${data}
${data} = { "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg" ], "scrapeOrderId":"", "orderItemId":"66602015212...
Logs the given message with the given level.
${data}
{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg" ], "scrapeOrderId":"", "orderItemId":"666020152122413056", "unitPrice":"1.71", "paperCategoryId":"660529551931215872", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "settleUtiPriceIncludeTax":1.6608157894736841, "settleUtiPriceIncludeTaxType":"1", "receivableAdjustMoney":"30", "refundSubsidy":0.002, "adjustMoney":"20", "collectionCharges":"0.013", "advanceFund":"0", "transactionMainEnterpriseId":"16", "contractId":"663533697236078592", "warehouseName":"钟落潭仓", "weightDay":"2021-12-08", "settleDay":"2021-12-08", "transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司", "proxySellerSettleType":"0", "receivableSettlementRules":"0", "isInvoice":"1", "invoicePoint":"9.6", "deductionNotes":"2021-12-08", "plateNumber":"京R76859", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.71", "netWeight":20000, "activitySettleType":null, "unitSurcharge":"0.015", "deliveryImageUrls":[ ], "publicSubsidies":0, "orderId":"666020152076275712", "nonStandardPenalty_car":"", "settleWeight":10000, "deductedWeight":0, "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":2, "unitAmount":15, "title":"otherPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "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': '2138'}
body=b'{ "deductedPoint":0, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg" ], "scrapeOrderId":"", "orderItemId":"666020152122413056", "unitPrice":"1.71", "paperCategoryId":"660529551931215872", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "settleUtiPriceIncludeTax":1.6608157894736841, "settleUtiPriceIncludeTaxType":"1", "receivableAdjustMoney":"30", "refundSubsidy":0.002, "adjustMoney":"20", "collectionCharges":"0.013", "advanceFund":"0", "transactionMainEnterpriseId":"16", "contractId":"663533697236078592", "warehouseName":"\xe9\x92\x9f\xe8\x90\xbd\xe6\xbd\xad\xe4\xbb\x93", "weightDay":"2021-12-08", "settleDay":"2021-12-08", "transactionMainEnterpriseName":"\xe9\x95\xbf\xe6\xb2\x99\xe5\xb8\x82\xe5\x8d\x83\xe9\xb8\x9f\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-08", "plateNumber":"\xe4\xba\xacR76859", "settlePriceIncludeTaxSettleRules":"0", "settleUtiPrice":"1.71", "netWeight":20000, "activitySettleType":null, "unitSurcharge":"0.015", "deliveryImageUrls":[ ], "publicSubsidies":0, "orderId":"666020152076275712", "nonStandardPenalty_car":"", "settleWeight":10000, "deductedWeight":0, "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":2, "unitAmount":15, "title":"otherPenalty", "isSubsidies":0 }, { "unitType":1, "unitAmount":0.001, "title":"nonStandardPenalty", "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': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020158942351360","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020158942351360', 'contractId': '663533697236078592'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020158942351360
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020158942351360
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020158942351360
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020158942351360
headers={'User-Agent': '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/666020158942351360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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/666020152076275712?orderId=666020152076275712&orderItemId=666020152122413056
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020152076275712?orderId=666020152076275712&orderItemId=666020152122413056
headers={'User-Agent': '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/666020152076275712?orderId=666020152076275712&orderItemId=666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:25 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531287664234496","activitySettleType":2,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--一次","startTime":"2021-11-23 14:35:47","endTime":"2021-11-24 14:35:47","unitSurcharge":0.015,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020152076275712","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020152076275712","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.7100000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020152122413056","adjustMoney":20.000,"unitSurcharge":0.015000,"surcharge":300.000000,"unitPrice":1.7100000,"weightnoteInfo":{"id":"666020158942351360","orderId":"666020152076275712","orderItemId":"666020152122413056","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.7100000,"netWeight":20000.000,"settleWeight":10000.000,"deductedPoint":0.000,"settlePrice":16825.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg"]},"logisticcsInfo":{"id":"5376","plateNumber":"京R76859"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":16825.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":10.000,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":10.000,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-10.000,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-10.000,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-15.000,"unit":15.000000,"unitType":2}],"deductionNotes":"2021-12-08","totalOtherAmount":-15.000000000,"paymentType":3,"activityNoteStatus":1,"activityOrderAuditPassNum":null,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg"],"transactionMainEnterpriseId":16,"transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司","warehouseName":"钟落潭仓","publicSubsidies":0.000,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.710000,"settleUnitPriceIncludeTax":1.660816,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:24","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:24","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:25","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":20.00,"unitRefundSubsidy":0.002000,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":30.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020152076275712","createTime":"2021-12-08 18:07:23","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":16,"transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'status': 51, 'bizOwnerName': '张山', 'orderOwnerId': '554128866793361643', 'orderOwnerName': '赖勇兰', 'orderOwnerPhone': '18888888888', 'orderType': 2, 'activityId': '660531287664234496', 'activitySettleType': 2, 'isEntire': 0, 'activityStatus': 1, 'activityName': 'Ceshi_factory--一次', 'startTime': '2021-11-23 14:35:47', 'endTime': '2021-11-24 14:35:47', 'unitSurcharge': 0.015, 'surcharge': None, 'totalEstimatedWeight': 30000.0, 'deliveryTime': '2021-12-08', 'paperMillDeliveryTime': '2021-12-08', 'remark': None, 'attenssion': '666020152076275712', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '666020152076275712', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.71, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '666020152122413056', 'adjustMoney': 20.0, 'unitSurcharge': 0.015, 'surcharge': 300.0, 'unitPrice': 1.71, 'weightnoteInfo': {'id': '666020158942351360', 'orderId': '666020152076275712', 'orderItemId': '666020152122413056', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.71, 'netWeight': 20000.0, 'settleWeight': 10000.0, 'deductedPoint': 0.0, 'settlePrice': 16825.0, 'remark': None, 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg']}, 'logisticcsInfo': {'id': '5376', 'plateNumber': '京R76859'}, 'status': 52, 'displayStatus': 52, 'auditStatus': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': 16825.0, 'finalPayMoney': None, 'otherAmountDtoList': [{'title': '运费补贴', 'amount': 10.0, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 10.0, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -10.0, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -10.0, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -15.0, 'unit': 15.0, 'unitType': 2}], 'deductionNotes': '2021-12-08', 'totalOtherAmount': -15.0, 'paymentType': 3, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': None, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg'], 'transactionMainEnterpriseId': 16, 'transactionMainEnterpriseName': '长沙市千鸟互联科技有限公司', 'warehouseName': '钟落潭仓', 'publicSubsidies': 0.0, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': 1.71, 'settleUnitPriceIncludeTax': 1.660816, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-08 18:07:24', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-08 18:07:24', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-08 18:07:25', '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': 20.0, 'unitRefundSubsidy': 0.002, 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': 30.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '666020152076275712', 'createTime': '2021-12-08 18:07:23', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'factoryName': '88纸业', 'transactionMainEnterpriseId': 16, 'transactionMainEnterpriseName': '长沙市千鸟互联科技有限公司'}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
上传磅单-一次付款活动
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":758,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 758, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020152122413056
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020152122413056
headers={'User-Agent': '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=666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020152076275712","orderItemId":"666020152122413056","auditRequestId":"666020159495999488","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"666020152076275712","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020158942351360","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":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': '666020152076275712', 'orderItemId': '666020152122413056', 'auditRequestId': '666020159495999488', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020152076275712', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '666020158942351360', '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': 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} = 666020159495999488
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020158942351360
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020159495999488
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020158942351360
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=666020152076275712&weightNoteId=666020158942351360
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020152076275712&weightNoteId=666020158942351360
headers={'User-Agent': '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=666020152076275712&weightNoteId=666020158942351360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"1468522596344680449","orderId":"666020152076275712","operatorId":null,"operationTime":"2021-12-08 18:07:25","operatorName":"赖勇兰","logContent":"疑似重复订单","remark":"2021-12-08,疑似重复订单为: "},{"logId":"1468522596986408962","orderId":"666020152076275712","operatorId":null,"operationTime":"2021-12-08 18:07:25","operatorName":"赖勇兰","logContent":"上传磅单信息","remark":null},{"logId":"1468522590279716866","orderId":"666020152076275712","operatorId":null,"operationTime":"2021-12-08 18:07:24","operatorName":"赖勇兰","logContent":"下单","remark":null},{"logId":"1468522592167153666","orderId":"666020152076275712","operatorId":null,"operationTime":"2021-12-08 18:07:24","operatorName":"赖勇兰","logContent":"订单预约","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468522596344680449', 'orderId': '666020152076275712', 'operatorId': None, 'operationTime': '2021-12-08 18:07:25', 'operatorName': '赖勇兰', 'logContent': '疑似重复订单', 'remark': '2021-12-08,疑似重复订单为: '}, {'logId': '1468522596986408962', 'orderId': '666020152076275712', 'operatorId': None, 'operationTime': '2021-12-08 18:07:25', 'operatorName': '赖勇兰', 'logContent': '上传磅单信息', 'remark': None}, {'logId': '1468522590279716866', 'orderId': '666020152076275712', 'operatorId': None, 'operationTime': '2021-12-08 18:07:24', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}, {'logId': '1468522592167153666', 'orderId': '666020152076275712', 'operatorId': None, 'operationTime': '2021-12-08 18:07:24', 'operatorName': '赖勇兰', 'logContent': '订单预约', 'remark': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/666020159495999488/666020158942351360
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020159495999488/666020158942351360
headers={'User-Agent': '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/666020159495999488/666020158942351360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020152122413056","auditType":1,"auditRequestId":"666020159495999488","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020152076275712","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg"],"scrapOrderId":"666020152076275712","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"16","transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020159521165312","driverName":null,"plateNumber":"京R76859","netWeight":20000.000,"settleWeight":10000.000,"deductedWeight":10000.000,"deductedWeightPoint":0.000,"unitPrice":1.7100000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":16825.000000,"adjustmentFee":20.000,"unitSurcharge":0.015000,"receivablePrice":17085.000000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":18885.16,"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":3,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.872516,"settleUnitPrice":1.7100000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":10.000,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":10.000,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-10.000,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-10.000,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-15.000,"unit":15.000000,"unitType":2}],"refundSubsidy":0.002000,"receivableAdjustMoney":30.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":2,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020152122413056', 'auditType': 1, 'auditRequestId': '666020159495999488', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020152076275712', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg'], 'scrapOrderId': '666020152076275712', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '16', 'transactionMainEnterpriseName': '长沙市千鸟互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020159521165312', 'driverName': None, 'plateNumber': '京R76859', 'netWeight': 20000.0, 'settleWeight': 10000.0, 'deductedWeight': 10000.0, 'deductedWeightPoint': 0.0, 'unitPrice': 1.71, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 16825.0, 'adjustmentFee': 20.0, 'unitSurcharge': 0.015, 'receivablePrice': 17085.0, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 18885.16, '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': 3, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': None, 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.872516, 'settleUnitPrice': 1.71, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 10.0, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 10.0, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -10.0, 'unit': 0.001, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -10.0, 'unit': 0.001, 'unitType': 1}, {'title': '其他扣款', 'amount': -15.0, 'unit': 15.0, 'unitType': 2}], 'refundSubsidy': 0.002, 'receivableAdjustMoney': 30.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 2, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020159521165312
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 20000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 京R76859
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 10000.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 300.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 150.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 300.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020159521165312
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 20000.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 京R76859
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 10000.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":"${paperMillPayAt}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":"${publicSubsidies}", \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"666020159521165312", "categoryName":"花纸", "netWeight":"20000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"京R76859", ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '583'}
body=b'{ "auditRequestItemId":"666020159521165312", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"20000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe4\xba\xacR76859", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "settleWeight":"10000.0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe9\x95\xbf\xe6\xb2\x99\xe5\xb8\x82\xe5\x8d\x83\xe9\xb8\x9f\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":"0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.71", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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=666020152076275712&weightNoteId=666020158942351360%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020152076275712&weightNoteId=666020158942351360%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=666020152076275712&weightNoteId=666020158942351360%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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
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":"666020159495999488", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"666020159495999488", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
1
Slept 1 second
运用审核-一次付款活动
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list
params=pageNum=1&pageSize=10&status=&orderId=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020152122413056
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020152122413056
headers={'User-Agent': '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=666020152122413056
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020152076275712","orderItemId":"666020152122413056","auditRequestId":"666020159495999488","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"666020152076275712","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020158942351360","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--一次","activityId":"660531287664234496","paymentType":3,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
${auditedTime} = None
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=666020152076275712&weightNoteId=666020158942351360&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020152076275712&weightNoteId=666020158942351360&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=666020152076275712&weightNoteId=666020158942351360&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:28 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${reps} = <Response [200]>
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"666020159495999488","adminId":null,"isPass":1,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020159495999488","adminId":null,"isPass":1,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:28 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020159495999488", "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":"666020159495999488", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:29 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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=666020152076275712
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666020152076275712
headers={'User-Agent': '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=666020152076275712
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020164113928192","orderId":"666020152076275712","orderItemId":"666020152122413056","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666020152076275712","settlementDate":"2021-12-08","settlePrice":16825.00,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":0,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":null,"bankFlowNo":null,"remark":null,"auditRequestId":"666020159495999488","receivablePrice":18885.160,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"666020158942351360","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666020152076275712","paybackIntever":25,"activityName":"Ceshi_factory--一次","activityId":"660531287664234496","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} = 666020164113928192
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '666020164113928192', 'orderId': '666020152076275712', 'orderItemId': '666020152122413056', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020152076275712', 'settlementDate': '2021-12-08', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': None, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '666020159495999488', 'receivablePrice': 18885.16, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '666020158942351360', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666020152076275712', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--一次', 'activityId': '660531287664234496', '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} = 666020164113928192
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/666020159495999488/666020158942351360
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020159495999488/666020158942351360
headers={'User-Agent': '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/666020159495999488/666020158942351360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020152122413056","auditType":1,"auditRequestId":"666020159495999488","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020152076275712","status":1,"auditStatus":3,"settleStatus":2,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958045244.jpg"],"scrapOrderId":"666020152076275712","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"16","transactionMainEnterpriseName":"长沙市千鸟互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020159521165312","driverName":null,"plateNumber":"京R76859","netWeight":20000.000,"settleWeight":10000.000,"deductedWeight":10000.000,"deductedWeightPoint":50.000,"unitPrice":1.7100000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","settlePrice":16825.000000,"adjustmentFee":20.000,"unitSurcharge":0.015000,"receivablePrice":17085.000000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.874160,"receivablePriceIncludeTax":18885.16,"preReceivablePriceIncludeTax":null,"noReceivablePrice":18885.160,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"finalPayMoney":null,"paymentType":3,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":null,"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.872516,"settleUnitPrice":1.7100000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":10.000,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":10.000,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-10.000,"unit":0.001000,"unitType":1},{"title":"装车不规范扣款","amount":-10.000,"unit":0.001000,"unitType":1},{"title":"其他扣款","amount":-15.000,"unit":15.000000,"unitType":2}],"refundSubsidy":0.002000,"receivableAdjustMoney":30.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":2,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivablePriceIncludeTax
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 18885.16
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 18885.16
Makes a variable available globally in all tests and suites.
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 18885.16
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 18885.16
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":"666020164113928192", "receivablePrice":"18885.16", "paidPrice":"18885.16", "noReceiveblePrice":"18885.16", "bankFlowNo":null, "paymentAdjustmentFee":null, ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/update/payment-order-status
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
path_url=/recycle-service/admin/operation/update/payment-order-status
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '233'}
body=b'{ "paymentOrderId":"666020164113928192", "receivablePrice":"18885.16", "paidPrice":"18885.16", "noReceiveblePrice":"18885.16", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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
代卖应收
Helper for quickly disabling all urllib3 warnings.
Create Session: create a HTTP session to a server
ZTBT
https://api-client-uec-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
account=18888888888
captcha=888888
accountType=2
${data}
${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}
Returns the given values which can then be assigned to a variables.
18888888888
${account}
${account} = 18888888888
Sends a POST request on a previously created HTTP Session.
ZTBT
uec/authorize/by-captcha
json=${data}
${respones}
POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
body=b'{"account": "18888888888", "captcha": "888888", "accountType": "2"}'
POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=="}'
POST Response : url=http://api-client-ztb-test.qniao.cn/recycle-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:31 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==","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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==
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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==
Makes a variable available globally in all tests and suites.
${userId}
${userId} = 659450159519895552
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell-activity/list
params=pageNum=1&pageSize=15
${repsponse}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
path_url=/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&pageSize=15
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:31 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.675,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","shortName":"Ceshi_factory","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649450137.jpg","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649450137.jpg"}}},{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.710,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","shortName":"Ceshi_factory","startTime":"2021-11-23 14:35:47","endTime":"2021-11-24 14:35:47","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649372318.png","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637649372318.png"}}},{"paperMillId":"647892637390606336","name":"格森纸业有限公司","paperCategoryList":[{"categoryId":"648502476105977856","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.670,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null},{"categoryId":"648502476126949376","categoryName":"白纸","yesterdayUnitPrice":null,"unitPrice":1.880,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634636091226.png","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"649965536695947264","activityName":"格森--两次活动","shortName":"格森纸业","startTime":"2021-10-25 10:51:19","endTime":"2021-10-31 10:51:19","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635130303548.png","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635130303548.png"}}},{"paperMillId":"647892637390606336","name":"格森纸业有限公司","paperCategoryList":[{"categoryId":"648502476147920896","categoryName":"小花","yesterdayUnitPrice":null,"unitPrice":3.335,"floatingPrice":null,"publicSubsidies":null,"allowOrder":null}],"locProvinceName":null,"locCityName":null,"locDistrictName":null,"logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634636091226.png","priceDate":null,"proxypaySurcharge":null,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":null,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单!","isPlaceAnOrder":null,"isRecentlySale":false,"activityId":"649688261702324224","activityName":"测试","shortName":"格森纸业","startTime":"2021-10-24 16:29:29","endTime":"2021-11-28 16:29:29","ruleUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635064207174.jpg","redirectInfo":{"targetView":"showImage","params":{"id":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635064207174.jpg"}}}],"total":4,"size":15,"current":1,"orders":null,"searchCount":true,"pages":1}}
${repsponse} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${repsponse.json()["data"]}
records
${records}
${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floati...
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityName
${activityName}
${activityName} = Ceshi_factory--两次
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperCategoryList
${paperCategoryList}
${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
activityId
${activityId}
${activityId} = 660531609048584192
Stops executing the enclosing for loop if the ``condition`` is true.
'${activityName}'=='Ceshi_factory--两次'
Exiting for loop altogether.
Evaluates the given expression in Python and returns the results.
random.choice(${paperCategoryList})
random
${Category_value}
${Category_value} = {'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}
Logs the given message to the console.
\nvalue: ${Category_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
categoryId
${categoryId}
${categoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${Category_value}
unitPrice
${unitPrice}
${unitPrice} = 1.675
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${activityId}
${activityId} = 660531609048584192
Makes a variable available globally in all tests and suites.
${categoryId}
${categoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.675
Create Session: create a HTTP session to a server
get-carinfo
${url}
${headers}
Creating Session using : alias=get-carinfo, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/his-car-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:31 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5376","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5375","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5374","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5370","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5364","scrapPaperOrderItemId":null,"plateNumber":"京R66666","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': '5376', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5375', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5374', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5370', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5364', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', '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': '5376', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5375', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6789...
Evaluates the given expression in Python and returns the results.
random.sample(${carNumber},1)
random
${plateNumber_value}
${plateNumber_value} = [{'id': '5375', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}]
Logs the given message to the console.
\nvalue:${plateNumber_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${plateNumber_value[0]}
plateNumber
${plateNumber1}
${plateNumber1} = 贵R67890
Makes a variable available globally in all tests and suites.
${plateNumber1}
${plateNumber1} = 贵R67890
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/get/paper-mill-paper-category-price-details/${paperMillId}
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
path_url=/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-details/660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"paperMillId":"660525241717624832","name":"Ceshi_factory","paperCategoryList":[{"categoryId":"660529551931215872","categoryName":"花纸","unitPrice":1.650,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":0.005,"isAllowOrder":true},{"categoryId":"661536965862232064","categoryName":"小白纸","unitPrice":2.200,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":null,"isAllowOrder":true},{"categoryId":"661536969788100608","categoryName":"坑卡","unitPrice":1.620,"inspectionNote":null,"floatingPrice":0.000,"publicSubsidies":null,"isAllowOrder":true}],"locProvinceName":"山西省","locCityName":"大同市","locDistrictName":"大同县","attentionsLoadingCar":"","attentionsRegulations":"","attentionsArrival":"","attentionsReportCar":"","locDetails":"","priceDate":"2021-12-08","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","enableSalesAgent":1,"proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":905.43,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":true,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isCooperate":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'unitPrice': 1.65, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': 0.005, 'isAllowOrder': True}, {'categoryId': '661536965862232064', 'categoryName': '小白纸', 'unitPrice': 2.2, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': None, 'isAllowOrder': True}, {'categoryId': '661536969788100608', 'categoryName': '坑卡', 'unitPrice': 1.62, 'inspectionNote': None, 'floatingPrice': 0.0, 'publicSubsidies': None, 'isAllowOrder': True}], 'locProvinceName': '山西省', 'locCityName': '大同市', 'locDistrictName': '大同县', 'attentionsLoadingCar': '', 'attentionsRegulations': '', 'attentionsArrival': '', 'attentionsReportCar': '', 'locDetails': '', 'priceDate': '2021-12-08', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg', 'enableSalesAgent': 1, 'proxypaySurcharge': 0.02, 'foreignPaybackIntever': None, 'foreignPaybackIntervalString': '12', 'cumulativeWeight': 905.43, 'yesterdayTotalQuantity': None, 'yesterdayRetainedQuantity': None, 'hasFollowed': True, 'isOperations': True, 'manageNotifyMessage': '该纸厂已暂停接单,请联系相关负责人!', 'isCooperate': 0}}
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell/get/relation
${reps}
GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/relation
path_url=/recycle-service/proxy-sell/get/relation
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}
body=None
GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/get/relation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"249","customerName":"赖勇兰","cusormerId":"554128866793361643","bizUserId":"498985714587930624","bizUserName":"张山","status":0,"createTime":"2021-11-22 13:54:27","mobile":"13060994305","factoryName":null,"factoryId":null}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
bizUserId
${bizUserId}
${bizUserId} = 498985714587930624
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
cusormerId
${cusormerId}
${cusormerId} = 554128866793361643
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
customerName
${customerName}
${customerName} = 赖勇兰
Makes a variable available globally in all tests and suites.
${bizUserId}
${bizUserId} = 498985714587930624
Makes a variable available globally in all tests and suites.
${cusormerId}
${cusormerId} = 554128866793361643
Makes a variable available globally in all tests and suites.
${customerName}
${customerName} = 赖勇兰
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "totalEstimatedWeight":30000, \ \ \ \ "activityId":"${activityId}", \ \ \ \ "customerName":"${customerName}", \ \ \ \ "deliveryTime":"${datatime}", \ \ \ \ "carInfos":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "plateNumber":"${plateNumber1}" \ \ \ \ \ \ \ \ } \ \ \ \ ] }
${order_data}
${order_data} = { "paperCategoryId":"660529551931215872", "unitPrice":"1.675", "totalEstimatedWeight":30000, "activityId":"660531609048584192", "customerName":"赖勇兰", "deliveryTime":"2021-12-08...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/proxy-sell/create/order
${order_data.encode('utf-8')}
${reps}
POST Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell/create/order
path_url=/recycle-service/proxy-sell/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMkUaK4enqNKvXJf3QuixBwtO0jtnxsLsh/xVA+3mPFTA==', 'Content-Length': '291'}
body=b'{ "paperCategoryId":"660529551931215872", "unitPrice":"1.675", "totalEstimatedWeight":30000, "activityId":"660531609048584192", "customerName":"\xe8\xb5\x96\xe5\x8b\x87\xe5\x85\xb0", "deliveryTime":"2021-12-08", "carInfos":[ { "plateNumber":"\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': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"666020186775752704"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020186775752704'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 666020186775752704
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 666020186775752704
Creates and returns a dictionary based on the given ``items``.
Content-Type=application/x-www-form-urlencoded
X-APP-ID=470236309865238555
${header}
${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Creates and returns a dictionary based on the given ``items``.
username=laiyonglan@qniao.cn
password=qn123456
&{data}
&{data} = { username=laiyonglan@qniao.cn | password=qn123456 }
Logs the given message with the given level.
${data}
{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/login
data=${data}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
path_url=/recycle-service/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555', 'Content-Length': '48'}
body=username=laiyonglan%40qniao.cn&password=qn123456
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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=666020186775752704
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"4743","orderId":"666020186775752704","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"花纸","sellerReservationDate":"2021-12-08","orderItemNum":1,"carNoList":["贵R67890"],"status":0,"createTime":"2021-12-08 18:07:32","bizOwnerName":"张山","orderType":2,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
${reps_data} = <Response [200]>
Logs the given message with the given level.
${reps_data.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '4743', 'orderId': '666020186775752704', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '花纸', 'sellerReservationDate': '2021-12-08', 'orderItemNum': 1, 'carNoList': ['贵R67890'], 'status': 0, 'createTime': '2021-12-08 18:07:32', 'bizOwnerName': '张山', 'orderType': 2, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderId
${orderId}
${orderId} = 666020186775752704
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} = 4743
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderType
${orderType}
${orderType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
carNoList
${carNoList}
${carNoList} = ['贵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-08
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} = 666020186775752704
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} = 4743
Makes a variable available globally in all tests and suites.
${paperMillName}
${paperMillName} = Ceshi_factory
Makes a variable available globally in all tests and suites.
${sellerReservationDate}
${sellerReservationDate} = 2021-12-08
Makes a variable available globally in all tests and suites.
${orderType}
${orderType} = 2
Makes a variable available globally in all tests and suites.
${carList}
${carList} = 贵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': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'name': '测试111', 'id': '660525241805705216'}]
Evaluates the given expression in Python and returns the results.
random.choice(${data})
random
${value}
${value} = {'name': '测试111', 'id': '660525241805705216'}
Logs the given message to the console.
\nvalue: ${value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
id
${supplier_id}
${supplier_id} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${value}
name
${millSupplierName}
${millSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${supplier_id}
${supplier_id} = 660525241805705216
Makes a variable available globally in all tests and suites.
${millSupplierName}
${millSupplierName} = 测试111
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}
${data}
${data} = {"attention":"666020186775752704","buyerReservationDate":"2021-12-08", "id":"4743","millDeliveryOrderId":"666020186775752704","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"666020186775752704","buyerReservationDate":"2021-12-08", "id":"4743","millDeliveryOrderId":"666020186775752704","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"666020186775752704"}
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":"666020186775752704","buyerReservationDate":"2021-12-08", "id":"4743","millDeliveryOrderId":"666020186775752704","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"666020186775752704"}'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/update/reservation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
预约送货
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order-item-list
params=orderType=${orderType} &pageNum=1&pageSize=10&status=51&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666020186775752704
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666020186775752704
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020186775752704","orderItemId":"666020186809307136","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-08","millSupplierName":"测试111","plateNumber":"贵R67890","operationReviewStatus":51,"createTime":"2021-12-08 18:07:32","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":null,"reviewOperatorName":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activitySettleType":2,"weightNoteType":null,"netWeight":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","rejected":false}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-08', 'millSupplierName': '测试111', 'plateNumber': '贵R67890', 'operationReviewStatus': 51, 'createTime': '2021-12-08 18:07:32', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': None, 'reviewOperatorName': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activitySettleType': 2, 'weightNoteType': None, 'netWeight': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'rejected': False}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
records
${records}
${records} = [{'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '20...
Evaluates the given expression in Python and returns the results.
random.choice(${records})
random
${orderItemId_value}
${orderItemId_value} = {'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '202...
Logs the given message to the console.
\nvalue: ${orderItemId_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${orderItemId_value}
orderItemId
${orderItemId}
${orderItemId} = 666020186809307136
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 666020186809307136
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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5377","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":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":null,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.02
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.02
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"orderId":"666020186775752704","orderItemId":"666020186809307136","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"贵R67890","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '贵R67890', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"buyerEnterpriseName":"Ceshi_factory","buyerEnterpriseId":"660525239146516480","buyerPaperMillId":"660525241717624832","sellerEnterpriseName":"企业","sellerEnterpriseId":"37","sellerPaperMillId":null,"proxyPaySurcharge":0.013000,"advanceFund":null,"invoiceType":0,"hasInvoice":1,"taxRefundRate":9.600000,"hasSubsidiesTax":0,"remark":null,"contractLimitType":0,"limitLine":null,"startDate":"2021-12-01","endDate":"2023-01-01","signDateStart":"2021-12-01","signDateEnd":"2023-01-01","accountPeriodType":0,"accountPeriod":[25],"accountPeriodSql":null,"contractImageList":[],"contractCategories":[],"contractType":2,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"contractStatus":1,"assignAccountPeriod":null,"settlePriceIncludeTaxSettleRules":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'buyerEnterpriseName': 'Ceshi_factory', 'buyerEnterpriseId': '660525239146516480', 'buyerPaperMillId': '660525241717624832', 'sellerEnterpriseName': '企业', 'sellerEnterpriseId': '37', 'sellerPaperMillId': None, 'proxyPaySurcharge': 0.013, 'advanceFund': None, 'invoiceType': 0, 'hasInvoice': 1, 'taxRefundRate': 9.6, 'hasSubsidiesTax': 0, 'remark': None, 'contractLimitType': 0, 'limitLine': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'signDateStart': '2021-12-01', 'signDateEnd': '2023-01-01', 'accountPeriodType': 0, 'accountPeriod': [25], 'accountPeriodSql': None, 'contractImageList': [], 'contractCategories': [], 'contractType': 2, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'contractStatus': 1, 'assignAccountPeriod': None, 'settlePriceIncludeTaxSettleRules': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
advanceFund
${advanceFund}
${advanceFund} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriod
${accountPeriod}
${accountPeriod} = [25]
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
buyerEnterpriseId
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
taxRefundRate
${taxRefundRate}
${taxRefundRate} = 9.6
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxyPaySurcharge
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
hasInvoice
${hasInvoice}
${hasInvoice} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriodType
${accountPeriodType}
${accountPeriodType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
isSubsidyAndDeductIncludeTax
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${receivableSettlementRules}
${receivableSettlementRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Sets variable based on the given condition.
'${advanceFund}'=='${None}'
0
${advanceFund}
${advanceFund}
${advanceFund} = 0
Sets variable based on the given condition.
'${proxyPaySurcharge}'=='${None}'
0
${proxyPaySurcharge}
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${advanceFund}
${advanceFund} = 0
Makes a variable available globally in all tests and suites.
${accountPeriod}
${accountPeriod} = [25]
Makes a variable available globally in all tests and suites.
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Makes a variable available globally in all tests and suites.
${taxRefundRate}
${taxRefundRate} = 9.6
Makes a variable available globally in all tests and suites.
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${hasInvoice}
${hasInvoice} = 1
Makes a variable available globally in all tests and suites.
${accountPeriodType}
${accountPeriodType} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Makes a variable available globally in all tests and suites.
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Makes a variable available globally in all tests and suites.
${receivableSettlementRules}
${receivableSettlementRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
/recycle-service/admin/contract/get/selectable-contract-list
params=orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020186809307136
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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'}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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/transaction-main-enterprise/get/warehouse-name
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
path_url=/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"orderId":"666020186775752704","orderItemId":"666020186809307136","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"贵R67890","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '贵R67890', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Evaluates the given expression in Python and returns the results.
open('./20210803.jpg','rb')
${filepath}
${filepath} = <_io.BufferedReader name='./20210803.jpg'>
Evaluates the given expression in Python and returns the results.
open('./20210803.jpg','rb')
${image}
${image} = <_io.BufferedReader name='./20210803.jpg'>
Creates and returns a dictionary based on the given ``items``.
filepath=${filepath}
image=${image}
${file}
${file} = {'filepath': <_io.BufferedReader name='./20210803.jpg'>, 'image': <_io.BufferedReader name='./20210803.jpg'>}
Create Session: create a HTTP session to a server
ZTBT
${URL}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${file}
{'filepath': <_io.BufferedReader name='./20210803.jpg'>, 'image': <_io.BufferedReader name='./20210803.jpg'>}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-user-center/upload/image
files=${file}
${result}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
path_url=/recycle-user-center/upload/image
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '26273', 'Content-Type': 'multipart/form-data; boundary=2134c21c86c2877537948dd5beeb2a3e'}
body=b'--2134c21c86c2877537948dd5beeb2a3e\r\nContent-Disposition: form-data; name="filepath"; filename="20210803.jpg"\r\n\r\n\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x03\x02\x02\x03\x02\x02\x03\x03\x03\x03\x04\x03\x03\x04\x05\x08\x05\x05\x04\x04\x05\n\x07\x07\x06\x08\x0c\n\x0c\x0c\x0b\n\x0b\x0b\r\x0e\x12\x10\r\x0e\x11\x0e\x0b\x0b\x10\x16\x10\x11\x13\x14\x15\x15\x15\x0c\x0f\x17\x18\x16\x14\x18\x12\x14\x15\x14\xff\xdb\x00C\x01\x03\x04\x04\x05\x04\x05\t\x05\x05\t\x14\r\x0b\r\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\x14\xff\xc0\x00\x11\x08\x00\x82\x00\xd0\x03\x01"\x00\x02\x11\x01\x03\x11\x01\xff\xc4\x00\x1d\x00\x00\x01\x04\x03\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x04\x05\x06\x08\x00\x02\x03\t\x01\xff\xc4\x00E\x10\x00\x02\x01\x02\x05\x01\x06\x04\x04\x04\x03\x06\x04\x07\x01\x00\x01\x02\x03\x04\x11\x00\x05\x06\x12!1\x07\x13"AQa\x082q\x81\x14\x91\xa1\xb1\x15#B\xc1\x163R\tbr\xd1\xe1\xf0$C\x82\xb2\x174cs\x92\x93\xa2\xc2\xff\xc4\x00\x1c\x01\x00\x02\x03\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x06\x03\x04\x07\x02\x01\x00\x08\xff\xc4\x008\x11\x00\x01\x03\x03\x02\x04\x02\x08\x05\x04\x02\x03\x00\x00\x00\x00\x01\x02\x03\x11\x00\x04!\x051\x12AQaq\x81\x06\x13"2\x91\xb1\xc1\xf0\x1434\xa1\xd1#Br\xf1\x15\xe1$5R\xff\xda\x00\x0c\x03\x01\x00\x02\x11\x03\x11\x00?\x00\xf4\x8a\x83+\x90J\x1ep\x11\x07;|\xce\x10\xeal\xea\x16\xdb\x96B\xe8e\x98r\x01\xe4 \xeb\xc7\xe9\x88\x16a\xda.\xa8\xce\xe0+C\x96&Y\xbdo\xbew\xef\x18}\x00\x00a\x0e\x8d\xc9+\xa93\xe9+sJ\xb9\xab*\xaa\x94\r\xd2/\x84\x057\xb2\x8f.\xb8\xc9\xee\xb5\xd0\xe0\x0cY\xa1\\* )DF\x0e0\x0es\xb5;7\xa5\xa9\x00\xbdr\xa0\nvH3\x9f,T\xebR\xb3PiZ\xf9)"i&\xeeN\xd5_\x98\xf9X{\xf5\xc0O\xbaL\xb4<N\xee^w\x1b#Q\xfeX\x1dY\xba\x92z\x8bb}\xda\xa6aXjr\xac\xb2\x08\xe4t\x944\x9bT\x1f\x19\x17\x1c\x9f+u\xbe!\x8fW+,t\xf5\r\x1c\xa5,\x92Ek\x80<\xac\xc3\xcca+_\xbci\xd7\xfdX\x04\x14\x08\x04\x8cI\x12G-\xc53i\x0c\xa9\xa68\xc9\x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3+\x82\xbe\x82\x03A\xb6\xa6\x15%\xcb\xa1\xb9\xe9\xc7O/| \xa2\xd2\xc2ji\xa3"\xec\xca@\xf68\xa2\xdd\x83\xf6\xf7\xa9t=\x05\x1cy~\xa0\x82\xb6\x89\xc7\x87*\xac\xdc\xe1\x07\x1e\x18\xc9\x1f\xcb\xf6\x17#\xdb\x16\xd7K\xfcTdsS\xa4\xb9\xe5\x04\xf9,\xea\xa7\xbc\xbc}\xea\xb1\x1dJ\xb2\x8f\xd2\xd7\xc2\xfao\xac\x1ez\x1f<\n\xda\x08\xc7L\x1a\x05{\xa2\xdf\xd8J[\xf6\xd3\xd4o\xe6?\x8a\x9bdZe\xa3bz\xa8"\xc3\xdf\xd7\x0c\x1d\xbe\xf6\xa7O\xd96\x83\xa8\x967W\xcd\xea\x01\x8a\x92\x9f\x8f\x1c\x84y\xff\x00\xba:\x9f\xcb\xcf\x0c\x19\xcf\xc5vO\x99e\xed&\x8f\xa1|\xe4\xca\xa0\x8a\x80\xa5!P\xdel\xddE\x8fQk\xfd,q_\xf5|Y\x9fhy\xe8\xccs\xfc\xca)\x9a3\xe1\xa7\x8d\tD\xbf\xf4\xad\xaf\xc7\x9d\xfa\x93\xcf\xd2\xa6\xa1\xac\xdai\xcd\x16m\x95\xc4\xb3"v\x81\xce;\xf2\xa9t\xbd\x1d\xfb\xb7\xd2\xf5\xdaxP3\x1c\xcfj\x85v\x1fE\x99U\xeb\xca,\xc6b\xf2\xc6*L\xf5\xd5\x0c\xb7[\x1b\x96\xdc|\xd8\xde\xf6\x18\xba\xd9\xff\x00g\xf4z\x93 \x96!\x04r\xbc\x912\xc4\xee-m\xc3\xd4slW\xcd3'... (set the log level to DEBUG or TRACE to see the full content)
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:33 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/1638958053491.jpg"}
${result} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${result.json()}
data
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/repeat/proxy-order
params=orderItemId=${orderItemId} &plateNumber=${plateNumber} &netWeight=30000&weighingDate=${datatime}&orderType=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020186809307136%20&plateNumber=%E8%B4%B5R67890%20&netWeight=30000&weighingDate=2021-12-08&orderType=3
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020186809307136%20&plateNumber=%E8%B4%B5R67890%20&netWeight=30000&weighingDate=2021-12-08&orderType=3
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020186809307136%20&plateNumber=%E8%B4%B5R67890%20&netWeight=30000&weighingDate=2021-12-08&orderType=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"oi.create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'oi.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":15500, \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}" }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":15500, "settleWeight":null, "unitSurcharge":0.02, "transactionMainEnterpriseId":"15", "transactionMainEnterpri...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":15500, "settleWeight":null, "unitSurcharge":0.02, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"贵R67890", "otherAmountList":[ ], "unitPrice":"1.675" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/save/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/save/weightnote
path_url=/recycle-service/admin/proxy-sell/save/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '987'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":15500, "settleWeight":null, "unitSurcharge":0.02, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe8\xb4\xb5R67890", "otherAmountList":[ ], "unitPrice":"1.675" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/save/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"weightNoteId":"666020193234980864","contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020193234980864', 'contractId': '663533697236078592'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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}
${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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.020000,"surcharge":310.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15500.000,"settleWeight":null,"deductedPoint":null,"settlePrice":21758.130,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"settlePrice":21758.13,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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': 2, 'activityId': '660531609048584192', 'activitySettleType': 1, 'isEntire': 0, 'activityStatus': 1, 'activityName': 'Ceshi_factory--两次', 'startTime': '2021-11-23 14:37:04', 'endTime': '2021-11-24 14:37:04', 'unitSurcharge': 0.02, 'surcharge': None, 'totalEstimatedWeight': 30000.0, 'deliveryTime': '2021-12-08', 'paperMillDeliveryTime': '2021-12-08', 'remark': None, 'attenssion': '666020186775752704', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '666020186775752704', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '666020186809307136', 'adjustMoney': None, 'unitSurcharge': 0.02, 'surcharge': 310.0, 'unitPrice': 1.675, 'weightnoteInfo': {'id': '666020193234980864', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.675, 'netWeight': 15500.0, 'settleWeight': None, 'deductedPoint': None, 'settlePrice': 21758.13, 'remark': None, 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg']}, 'logisticcsInfo': {'id': '5377', 'plateNumber': '贵R67890'}, 'status': 52, 'displayStatus': 52, 'auditStatus': 1, 'preTotalMoney': 25962.5, 'prepayMoney': 22068.13, 'preSettleMoney': 21758.13, 'settlePrice': 21758.13, 'finalPayMoney': None, 'otherAmountDtoList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'deductionNotes': '2021-12-08', 'totalOtherAmount': 0, 'paymentType': 1, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': 0, 'unSettleMoney': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'weightNoteImageUrl': None, 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': '石基仓', 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': 1.675, 'settleUnitPriceIncludeTax': 1.8358, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-08 18:07:32', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-08 18:07:32', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-08 18:07:33', 'rank': 2, 'status': 1}, {'description': '已审核,首款结算中', 'time': None, 'rank': 4, 'status': 0}, {'description': '首款已结算,待质检', 'time': None, 'rank': 5, 'status': 0}, {'description': '质检完成,待审核', 'time': None, 'rank': 6, 'status': 0}, {'description': '已审核,尾款结算中', 'time': None, 'rank': 7, 'status': 0}, {'description': '尾款已结算,订单完成', 'time': None, 'rank': 8, 'status': 0}], 'paperCategoryName': '花纸', 'proxySellerSettleType': 0, 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': None, 'receivablePriceIncludeTax': None, 'refundSubsidy': 0.0, 'unitRefundSubsidy': None, 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '666020186775752704', 'createTime': '2021-12-08 18:07: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': 'Wed, 08 Dec 2021 10:07: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":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":758,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 758, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020186809307136
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020193868320768","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":21758.130000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020193868320768', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'categoryName': '花纸', 'settlePrice': 21758.13, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '666020193234980864', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020193868320768
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020193868320768
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
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=666020186775752704&weightNoteId=666020193234980864
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864
headers={'User-Agent': '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=666020186775752704&weightNoteId=666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"logId":"1468522631329370113","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:33","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522624974999553","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:32","operatorName":"赖勇兰","logContent":"下单","remark":null},{"logId":"1468522626795327489","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:32","operatorName":"赖勇兰","logContent":"订单预约","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468522631329370113', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:33', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522624974999553', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:32', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}, {'logId': '1468522626795327489', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07: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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/666020193868320768/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020193868320768/666020193234980864
headers={'User-Agent': '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/666020193868320768/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"orderItemId":"666020186809307136","auditType":2,"auditRequestId":"666020193868320768","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020194002538496","driverName":null,"plateNumber":"贵R67890","netWeight":15500.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":21758.130000,"adjustmentFee":null,"unitSurcharge":0.020000,"receivablePrice":22068.130000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":24186.67,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020193868320768', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020194002538496', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 15500.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 21758.13, 'adjustmentFee': None, 'unitSurcharge': 0.02, 'receivablePrice': 22068.13, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 24186.67, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 25962.5, 'prepayMoney': 22068.13, 'preSettleMoney': 21758.13, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020194002538496
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 15500.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020194002538496
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15500.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":"${paperMillPayAt}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":"${publicSubsidies}", \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"666020194002538496", "categoryName":"花纸", "netWeight":"15500.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"贵R67890", ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '575'}
body=b'{ "auditRequestItemId":"666020194002538496", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"15500.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "settleWeight":"0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":"0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.675", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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]>
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=666020186775752704&weightNoteId=666020193234980864%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864%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=666020186775752704&weightNoteId=666020193234980864%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[]}
${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=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020193868320768","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":21758.130000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020193868320768
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} = 666020193868320768
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/666020193868320768/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020193868320768/666020193234980864
headers={'User-Agent': '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/666020193868320768/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186809307136","auditType":2,"auditRequestId":"666020193868320768","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020194002538496","driverName":null,"plateNumber":"贵R67890","netWeight":15500.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","settlePrice":21758.130000,"adjustmentFee":null,"unitSurcharge":0.020000,"receivablePrice":22068.130000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.835800,"receivablePriceIncludeTax":24186.67,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020193868320768', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020194002538496', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 15500.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '2022-01-02', 'settlePrice': 21758.13, 'adjustmentFee': None, 'unitSurcharge': 0.02, 'receivablePrice': 22068.13, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': 1.8358, 'receivablePriceIncludeTax': 24186.67, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 25962.5, 'prepayMoney': 22068.13, 'preSettleMoney': 21758.13, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020194002538496
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 15500.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 310.0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 310.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} = 2022-01-02
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020193868320768
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020194002538496
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15500.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} = 2022-01-02
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 310.0
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020193868320768
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020193868320768", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020193868320768", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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}
${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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.020,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.020000,"surcharge":310.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15500.000,"settleWeight":null,"deductedPoint":null,"settlePrice":21758.130,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":25962.500,"prepayMoney":22068.130,"preSettleMoney":21758.130,"settlePrice":21758.13,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.02
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 666020193234980864
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.021
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 15500.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 15800.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.021
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 15800.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 666020193234980864
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"15800.0", "settleWeight":null, "unitSurcharge":0.021, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"15800.0", "settleWeight":null, "unitSurcharge":0.021, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"贵R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"15800.0", "settleWeight":null, "unitSurcharge":0.021, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe8\xb4\xb5R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"weightNoteId":"666020193234980864","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020193234980864', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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}
${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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:37 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.021,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.021000,"surcharge":331.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15800.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":26465.000,"prepayMoney":22495.250,"preSettleMoney":22163.450,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
netWeight
${netWeight}
${netWeight} = 15800.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.021
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15800.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.021
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:37 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"46097","orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020206358958080","weightNoteId":"666020193234980864","orderCreateTime":"2021-12-08 18:07:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":15800.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.021,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"石基仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-08","paperMillPayAt":"2022-01-02","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":331.800000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-08","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-08","refundSubsidy":0E-9,"isNoPeriodOrder":false,"firstSettlementPrice":22163.450000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46097', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020206358958080', 'weightNoteId': '666020193234980864', 'orderCreateTime': '2021-12-08 18:07...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:37 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020206358958080","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":22163.450000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020206358958080
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} = 666020206358958080
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/666020206358958080/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020206358958080/666020193234980864
headers={'User-Agent': '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/666020206358958080/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:37 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020186809307136","auditType":2,"auditRequestId":"666020206358958080","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020206442844160","driverName":null,"plateNumber":"贵R67890","netWeight":15800.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":22163.450000,"adjustmentFee":null,"unitSurcharge":0.021000,"receivablePrice":22495.250000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":24654.79,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":26465.000,"prepayMoney":22495.250,"preSettleMoney":22163.450,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020206358958080', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020206442844160', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 15800.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 22163.45, 'adjustmentFee': None, 'unitSurcharge': 0.021, 'receivablePrice': 22495.25, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 24654.79, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 26465.0, 'prepayMoney': 22495.25, 'preSettleMoney': 22163.45, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020206442844160
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 15800.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 331.8
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 331.8
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020206358958080
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020206442844160
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 15800.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 331.8
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020206358958080
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020206358958080", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020206358958080", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:37 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.021,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.021000,"surcharge":331.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":15800.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":26465.000,"prepayMoney":22495.250,"preSettleMoney":22163.450,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.021
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 666020193234980864
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.022000000000000002
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 15800.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 16100.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.022000000000000002
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 16100.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 666020193234980864
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16100.0", "settleWeight":null, "unitSurcharge":0.022000000000000002, "transactionMainEnterpriseId":"15", "tra...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16100.0", "settleWeight":null, "unitSurcharge":0.022000000000000002, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"贵R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1043'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16100.0", "settleWeight":null, "unitSurcharge":0.022000000000000002, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe8\xb4\xb5R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"weightNoteId":"666020193234980864","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020193234980864', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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}
${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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.022,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.022000,"surcharge":354.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16100.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":26967.500,"prepayMoney":22922.380,"preSettleMoney":22568.180,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
netWeight
${netWeight}
${netWeight} = 16100.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.022
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16100.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.022
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"records":[{"id":"46097","orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020215682895872","weightNoteId":"666020193234980864","orderCreateTime":"2021-12-08 18:07:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":16100.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.022,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"石基仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-08","paperMillPayAt":"2022-01-02","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":354.200000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-08","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-08","refundSubsidy":0E-9,"isNoPeriodOrder":false,"firstSettlementPrice":22568.180000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46097', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020215682895872', 'weightNoteId': '666020193234980864', 'orderCreateTime': '2021-12-08 18:07...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"records":[{"orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020215682895872","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":22568.180000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020215682895872
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} = 666020215682895872
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/666020215682895872/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020215682895872/666020193234980864
headers={'User-Agent': '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/666020215682895872/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186809307136","auditType":2,"auditRequestId":"666020215682895872","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020215754199040","driverName":null,"plateNumber":"贵R67890","netWeight":16100.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":22568.180000,"adjustmentFee":null,"unitSurcharge":0.022000,"receivablePrice":22922.380000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":25122.92,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":26967.500,"prepayMoney":22922.380,"preSettleMoney":22568.180,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020215682895872', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020215754199040', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 16100.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 22568.18, 'adjustmentFee': None, 'unitSurcharge': 0.022, 'receivablePrice': 22922.38, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 25122.92, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 26967.5, 'prepayMoney': 22922.38, 'preSettleMoney': 22568.18, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020215754199040
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 16100.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 354.2
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 354.2
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020215682895872
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020215754199040
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16100.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 354.2
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020215682895872
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020215682895872", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020215682895872", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.022,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.022000,"surcharge":354.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16100.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":26967.500,"prepayMoney":22922.380,"preSettleMoney":22568.180,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.022
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 666020193234980864
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.023
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16100.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 16400.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.023
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 16400.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 666020193234980864
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16400.0", "settleWeight":null, "unitSurcharge":0.023, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16400.0", "settleWeight":null, "unitSurcharge":0.023, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"贵R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16400.0", "settleWeight":null, "unitSurcharge":0.023, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe8\xb4\xb5R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"weightNoteId":"666020193234980864","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020193234980864', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.023,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.023000,"surcharge":377.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16400.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":27470.000,"prepayMoney":23349.500,"preSettleMoney":22972.300,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
netWeight
${netWeight}
${netWeight} = 16400.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.023
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16400.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.023
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"46097","orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020225220743168","weightNoteId":"666020193234980864","orderCreateTime":"2021-12-08 18:07:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":16400.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.023,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"石基仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-08","paperMillPayAt":"2022-01-02","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":377.200000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-08","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-08","refundSubsidy":0E-9,"isNoPeriodOrder":false,"firstSettlementPrice":22972.300000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46097', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020225220743168', 'weightNoteId': '666020193234980864', 'orderCreateTime': '2021-12-08 18:07...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020225220743168","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":22972.300000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020225220743168
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} = 666020225220743168
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/666020225220743168/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020225220743168/666020193234980864
headers={'User-Agent': '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/666020225220743168/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186809307136","auditType":2,"auditRequestId":"666020225220743168","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020225292046336","driverName":null,"plateNumber":"贵R67890","netWeight":16400.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":22972.300000,"adjustmentFee":null,"unitSurcharge":0.023000,"receivablePrice":23349.500000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":25591.05,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":27470.000,"prepayMoney":23349.500,"preSettleMoney":22972.300,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020225220743168', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020225292046336', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 16400.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 22972.3, 'adjustmentFee': None, 'unitSurcharge': 0.023, 'receivablePrice': 23349.5, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 25591.05, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 27470.0, 'prepayMoney': 23349.5, 'preSettleMoney': 22972.3, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020225292046336
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 16400.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 377.2
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 377.2
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020225220743168
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020225292046336
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16400.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 377.2
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020225220743168
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020225220743168", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020225220743168", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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]>
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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.023,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.023000,"surcharge":377.200000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16400.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":27470.000,"prepayMoney":23349.500,"preSettleMoney":22972.300,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.023
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 666020193234980864
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.024
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16400.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 16700.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.024
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 16700.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 666020193234980864
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16700.0", "settleWeight":null, "unitSurcharge":0.024, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16700.0", "settleWeight":null, "unitSurcharge":0.024, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"贵R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"16700.0", "settleWeight":null, "unitSurcharge":0.024, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe8\xb4\xb5R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"666020193234980864","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020193234980864', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.024,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.024000,"surcharge":400.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16700.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":27972.500,"prepayMoney":23776.630,"preSettleMoney":23375.830,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
netWeight
${netWeight}
${netWeight} = 16700.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.024
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16700.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.024
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"46097","orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020234498543616","weightNoteId":"666020193234980864","orderCreateTime":"2021-12-08 18:07:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":16700.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.024,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"石基仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-08","paperMillPayAt":"2022-01-02","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":400.800000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-08","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-08","refundSubsidy":0E-9,"isNoPeriodOrder":false,"firstSettlementPrice":23375.830000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46097', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020234498543616', 'weightNoteId': '666020193234980864', 'orderCreateTime': '2021-12-08 18:07...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Executes the given keyword with the given arguments.
get_operation_list
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020234498543616","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":23375.830000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020234498543616
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} = 666020234498543616
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/666020234498543616/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020234498543616/666020193234980864
headers={'User-Agent': '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/666020234498543616/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186809307136","auditType":2,"auditRequestId":"666020234498543616","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020234582429696","driverName":null,"plateNumber":"贵R67890","netWeight":16700.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":23375.830000,"adjustmentFee":null,"unitSurcharge":0.024000,"receivablePrice":23776.630000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":26059.18,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":27972.500,"prepayMoney":23776.630,"preSettleMoney":23375.830,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020234498543616', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020234582429696', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 16700.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 23375.83, 'adjustmentFee': None, 'unitSurcharge': 0.024, 'receivablePrice': 23776.63, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 26059.18, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 27972.5, 'prepayMoney': 23776.63, 'preSettleMoney': 23375.83, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020234582429696
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 16700.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${netWeight}
${surcharge1}
${surcharge1} = 400.8
Evaluates the given expression in Python and returns the results.
${unitSurcharge}*${settleWeight}
${surcharge2}
${surcharge2} = 0.0
Sets variable based on the given condition.
'${proxySellerSettleType}'=='0'
${surcharge1}
${surcharge2}
${surcharge}
${surcharge} = 400.8
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020234498543616
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020234582429696
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 16700.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 400.8
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020234498543616
Runs the given keyword with the given arguments, if ``condition`` is true.
'${audit_status}'=='0'
Run Keyword
运营审核驳回
Executes the given keyword with the given arguments.
运营审核驳回
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":2, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020234498543616", "isPass":2, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{ "auditRequestId":"666020234498543616", "isPass":2, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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]>
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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704%20&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.024,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.024000,"surcharge":400.800000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":16700.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":27972.500,"prepayMoney":23776.630,"preSettleMoney":23375.830,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":"2021-12-08","promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":null,"rank":2,"status":0},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
paperMillId
${paperMillId}
${paperMillId} = 660525241717624832
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
activitySettleType
${activitySettleType}
${activitySettleType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.024
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
id
${磅单id}
${磅单id} = 666020193234980864
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
status
${status}
${status} = 51
Evaluates the given expression in Python and returns the results.
${unitSurcharge}+0.001
${unitSurcharge3}
${unitSurcharge3} = 0.025
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Stops executing the enclosing for loop if the ``condition`` is true.
'${代卖费index}'=='${unitSurcharge3}'
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]["weightnoteInfo"]}
netWeight
${netWeight}
${netWeight} = 16700.0
Evaluates the given expression in Python and returns the results.
${netWeight}+300
${netWeight3}
${netWeight3} = 17000.0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${paperMillId}
${paperMillId} = 660525241717624832
Makes a variable available globally in all tests and suites.
${paperCategoryPrice}
${paperCategoryPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${activitySettleType}
${activitySettleType} = 1
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${unitSurcharge3}
${unitSurcharge3} = 0.025
Makes a variable available globally in all tests and suites.
${netWeight3}
${netWeight3} = 17000.0
Makes a variable available globally in all tests and suites.
${磅单id}
${磅单id} = 666020193234980864
Makes a variable available globally in all tests and suites.
${status}
${status} = 51
Runs the given keyword with the given arguments, if ``condition`` is true.
'${status}'=='51'
上传送货单
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "netWeight":"${netWeight3}", \ \ \ \ "settleWeight":null, \ \ \ \ "unitSurcharge":${unitSurcharge3}, \ \ \ \ "transactionMainEnterpriseId":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "remark":null, \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settlePrice":0, \ \ \ \ "contractId":"${contractId}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "orderType":"${orderType}", \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "otherAmountList":[ \ \ \ \ \ ], \ \ \ \ "unitPrice":"${paperCategoryPrice}", \ \ \ \ "id":"${磅单id}" \ \ \ \ \ }
${data}
${data} = { "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"17000.0", "settleWeight":null, "unitSurcharge":0.025, "transactionMainEnterpriseId":"15", "transactionMainEnt...
Logs the given message with the given level.
${data}
{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"17000.0", "settleWeight":null, "unitSurcharge":0.025, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"石基仓", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"贵R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '1028'}
body=b'{ "settleUtiPrice":"1.675", "publicSubsidies":0, "netWeight":"17000.0", "settleWeight":null, "unitSurcharge":0.025, "transactionMainEnterpriseId":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "activitySettleType":"1", "proxySellerSettleType":"0", "remark":null, "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg" ], "orderItemId":"666020186809307136", "orderId":"666020186775752704", "settleDay":"2021-12-08", "settlePrice":0, "contractId":"663533697236078592", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "invoicePoint":"9.6", "orderType":"2", "weightDay":"2021-12-08", "isInvoice":"1", "warehouseName":"\xe7\x9f\xb3\xe5\x9f\xba\xe4\xbb\x93", "deductionNotes":"2021-12-08", "receivableSettlementRules":"0", "plateNumber":"\xe8\xb4\xb5R67890", "otherAmountList":[ ], "unitPrice":"1.675", "id":"666020193234980864" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"weightNoteId":"666020193234980864","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'weightNoteId': '666020193234980864', 'contractId': None}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Executes the given keyword with the given arguments.
audit_weightnote
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}
${repsonse}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${repsonse} = <Response [200]>
Logs the given message with the given level.
${repsonse.json()}
{'code': 0, 'message': 'successful', 'data': None}
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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.025,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":52,"auditStatus":1,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":1,"activityNoteStatus":1,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":null,"rank":4,"status":0},{"description":"首款已结算,待质检","time":null,"rank":5,"status":0},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
netWeight
${netWeight}
${netWeight} = 17000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.025
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.025
Executes the given keyword with the given arguments.
台账查询
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/parameter/get/parameter
params=pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
path_url=/recycle-service/admin/parameter/get/parameter?pageNum=1&pageSize=10&withdrawState=&state=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"id":"46097","orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020244355158016","weightNoteId":"666020193234980864","orderCreateTime":"2021-12-08 18:07:32","bizName":"张山","bizId":"498985714587930624","customerName":"赖勇兰","settlePrice":null,"buzName":"赖勇兰","buzId":"617003842541850624","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","millSupplierName":"测试111","millSupplierId":"660525241805705216","plateNum":"贵R67890","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","netWeight":17000.000,"deductedPoint":null,"settleWeight":null,"settleUtiPrice":1.675000,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":null,"unitSurcharge":0.025,"adjustMoney":null,"receivablePrice":null,"paybackDay":null,"paybackId":null,"state":12,"isDelay":0,"paidPrice":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":null,"fundSourceId":null,"warehouseName":"石基仓","invoiceStatus":0,"withdrawState":0,"secondPaybackId":null,"isInvoice":1,"isSubsidyIncludeTax":null,"publicSubsidies":0.000000,"unitPrice":1.675000,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"invoicePoint":9.600,"allCollectionCharges":null,"allMatCharges":null,"allPublicSubsidies":null,"firstSettlePriceTime":null,"firstSettlePrice":null,"secondSettlePriceTime":null,"secondSettlePrice":null,"weighingDate":"2021-12-08","paperMillPayAt":"2022-01-02","paybackIntever":"25","noReceivablePrice":null,"financialConfirmTheSettlementTime":null,"secondFinancialConfirmTheSettlementTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","paperMillLocateProvinceName":"山西省","receivedAdjustMoney":null,"receivableAdjustMoney":null,"paperMillBizName":"qniaoGuest","allAgencyFee":425.000000,"purchaseUnitPrice":null,"firstFinanceOwner":null,"secondFinanceOwner":null,"firstReceivablePrice":null,"secondReceivablePrice":null,"firstReceivablePriceIncludeTax":null,"secondReceivablePriceIncludeTax":null,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"twiceFirstPaidPrice":null,"twiceFirstPaidTime":null,"twiceSecondPaidPrice":null,"twiceSecondPaidTime":null,"proxySellerSettleType":0,"deductionNote":"2021-12-08","totalOtherAmount":null,"remark":null,"contractType":2,"settlementType":1,"contractId":null,"contractNo":"Ceshi_factory--代收","activityId":"660531609048584192","activitySettleType":1,"belongsToEnterpriseId":"660158494724460544","belongsToEnterpriseName":"重庆亨乐西餐食品有限公司","firstPayPercent":"85%","settleDay":"2021-12-08","refundSubsidy":0E-9,"isNoPeriodOrder":false,"firstSettlementPrice":23778.750000,"secondSettlementPrice":null}],"total":1,"size":10,"current":1,"orders":[{"column":"order_create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns the value specified with an ``index`` from ``list``.
${reps.json()["data"]["records"]}
0
${台账列表数据}
${台账列表数据} = {'id': '46097', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020244355158016', 'weightNoteId': '666020193234980864', 'orderCreateTime': '2021-12-08 18:07...
Fails if objects are unequal after converting them to real numbers.
${netWeight}
${reps.json()["data"]["records"][0]["netWeight"]}
Fails if objects are unequal after converting them to real numbers.
${unitSurcharge}
${reps.json()["data"]["records"][0]["unitSurcharge"]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020244355158016","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${audit_status}
${audit_status} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020244355158016
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} = 666020244355158016
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/666020244355158016/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020244355158016/666020193234980864
headers={'User-Agent': '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/666020244355158016/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186809307136","auditType":2,"auditRequestId":"666020244355158016","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020244413878272","driverName":null,"plateNumber":"贵R67890","netWeight":17000.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":23778.750000,"adjustmentFee":null,"unitSurcharge":0.025000,"receivablePrice":24203.750000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":26527.31,"preReceivablePriceIncludeTax":null,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 2, 'auditRequestId': '666020244355158016', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': None, 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020244413878272', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 17000.0, 'settleWeight': None, 'deductedWeight': None, 'deductedWeightPoint': None, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 23778.75, 'adjustmentFee': None, 'unitSurcharge': 0.025, 'receivablePrice': 24203.75, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 26527.31, 'preReceivablePriceIncludeTax': None, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'finalPayMoney': None, 'paymentType': 1, 'weightNoteRemark': None, 'remarkImgs': None, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.8358, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他补贴', 'amount': None, 'unit': None, 'unitType': None}, {'title': '违禁物品扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '装车不规范扣款', 'amount': None, 'unit': None, 'unitType': None}, {'title': '其他扣款', 'amount': None, 'unit': None, 'unitType': None}], 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020244413878272
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 17000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = None
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Sets variable based on the given condition.
'${settleWeight}'=='None'
0
${settleWeight}
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020244413878272
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":"${paperMillPayAt}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":"${publicSubsidies}", \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"666020244413878272", "categoryName":"花纸", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"贵R67890", ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '575'}
body=b'{ "auditRequestItemId":"666020244413878272", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":"", "plateNumber":"\xe8\xb4\xb5R67890", "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "settleWeight":"0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":"0", "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.675", "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020244355158016", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"666020244355158016", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
1
Slept 1 second
运营审核-两次付款活动
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list
params=pageNum=1&pageSize=10&status=&orderId=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020186809307136
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020244355158016","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020193234980864","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":1,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
${auditedTime} = None
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864&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=666020186775752704&weightNoteId=666020193234980864&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:48 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${reps} = <Response [200]>
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":"666020244355158016","adminId":null,"isPass":1,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020244355158016","adminId":null,"isPass":1,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:48 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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":"666020244355158016", "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":"666020244355158016", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:49 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
1
Slept 1 second
代卖应付
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=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"id":"666020248528490496","orderId":"666020186775752704","orderItemId":"666020186809307136","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","settlementDate":"2021-12-08","settlePrice":23778.75,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":0,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":null,"bankFlowNo":null,"remark":null,"auditRequestId":"666020244355158016","receivablePrice":26527.310,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"666020193234980864","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666020186775752704","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
${paymentOrderId} = 666020248528490496
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '666020248528490496', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'settlementDate': '2021-12-08', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': None, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '666020244355158016', 'receivablePrice': 26527.31, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '666020193234980864', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666020186775752704', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': None, 'firstPaidTime': None, 'secondPaidPrice': None, 'secondPaidTime': None, 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Makes a variable available globally in all tests and suites.
${paymentOrderId}
${paymentOrderId} = 666020248528490496
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/666020244355158016/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020244355158016/666020193234980864
headers={'User-Agent': '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/666020244355158016/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:50 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020186809307136","auditType":2,"auditRequestId":"666020244355158016","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":1,"auditStatus":2,"settleStatus":2,"weightNoteImageUrlList":null,"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020244413878272","driverName":null,"plateNumber":"贵R67890","netWeight":17000.000,"settleWeight":null,"deductedWeight":null,"deductedWeightPoint":null,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","settlePrice":23778.750000,"adjustmentFee":null,"unitSurcharge":0.025000,"receivablePrice":24203.750000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.835800,"receivablePriceIncludeTax":26527.31,"preReceivablePriceIncludeTax":null,"noReceivablePrice":26527.310,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":0.000,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":null,"paymentType":1,"weightNoteRemark":null,"remarkImgs":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.835800,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivablePriceIncludeTax
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 26527.31
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 26527.31
Makes a variable available globally in all tests and suites.
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 26527.31
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 26527.31
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }
${data}
${data} = { "paymentOrderId":"666020248528490496", "receivablePrice":"26527.31", "paidPrice":"26527.31", "noReceiveblePrice":"26527.31", "bankFlowNo":null, "paymentAdjustmentFee":null, ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/update/payment-order-status
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
path_url=/recycle-service/admin/operation/update/payment-order-status
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '233'}
body=b'{ "paymentOrderId":"666020248528490496", "receivablePrice":"26527.31", "paidPrice":"26527.31", "noReceiveblePrice":"26527.31", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
5
Slept 5 seconds
代卖应收
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order-item-list
params=pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=666020186809307136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"records":[{"orderId":"666020186775752704","orderItemId":"666020186809307136","weightNoteId":"666020193234980864","orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-08","millSupplierName":"测试111","plateNumber":"贵R67890","operationReviewStatus":51,"createTime":"2021-12-08 18:07:32","bizOwnerId":"498985714587930624","bizOwnerName":"张山","reviewTime":"2021-12-08 18:07:46","reviewOperatorName":"赖勇兰","activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activitySettleType":2,"weightNoteType":1,"netWeight":17000.000,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","rejected":false}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'weightNoteId': '666020193234980864', 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-08', 'millSupplierName': '测试111', 'plateNumber': '贵R67890', 'operationReviewStatus': 51, 'createTime': '2021-12-08 18:07:32', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'reviewTime': '2021-12-08 18:07:46', 'reviewOperatorName': '赖勇兰', 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activitySettleType': 2, 'weightNoteType': 1, 'netWeight': 17000.0, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'rejected': False}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
orderItemId
${orderItemId}
${orderItemId} = 666020186809307136
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 666020186809307136
Fails if objects are unequal after converting them to strings.
${reps.json()["data"]["records"][0]["orderId"]}
${orderId}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/proxy-order/${orderId}
params=orderId=${orderId}&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.025,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":null,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"settlePrice":0.000,"remark":null,"imageUrls":null},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":51,"displayStatus":56,"auditStatus":0,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.00,"finalPayMoney":null,"otherAmountDtoList":[{"title":"运费补贴","amount":null,"unit":null,"unitType":null},{"title":"其他补贴","amount":null,"unit":null,"unitType":null},{"title":"违禁物品扣款","amount":null,"unit":null,"unitType":null},{"title":"装车不规范扣款","amount":null,"unit":null,"unitType":null},{"title":"其他扣款","amount":null,"unit":null,"unitType":null}],"deductionNotes":"2021-12-08","totalOtherAmount":0,"paymentType":2,"activityNoteStatus":0,"activityOrderAuditPassNum":1,"unSettleMoney":null,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":"2021-12-08 18:07:46","rank":4,"status":1},{"description":"首款已结算,待质检","time":"2021-12-08 18:07:49","rank":5,"status":1},{"description":"质检完成,待审核","time":null,"rank":6,"status":0},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":0.00,"unitRefundSubsidy":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":null,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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"]}
unitSurcharge
${unitSurcharge}
${unitSurcharge} = 0.025
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxySellerSettleType
${proxySellerSettleType}
${proxySellerSettleType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${unitPrice}
${unitPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
millSupplierId
${millSupplierId}
${millSupplierId} = 660525241805705216
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperMillSupplierName
${paperMillSupplierName}
${paperMillSupplierName} = 测试111
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
surcharge
${surcharge}
${surcharge} = 425.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
contractId
${contractId}
${contractId} = 663533697236078592
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
paymentType
${paymentType}
${paymentType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["orderItems"][0]}
activityNoteStatus
${activityNoteStatus}
${activityNoteStatus} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseId
${交易主体id}
${交易主体id} = 15
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
transactionMainEnterpriseName
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Sets variable based on the given condition.
'${publicSubsidies}'=='${null}'
0
${publicSubsidies}
${publicSubsidies}
${publicSubsidies} = 0
Evaluates the given expression in Python and returns the results.
${unitPrice}+${publicSubsidies}
${settleUtiPrice}
${settleUtiPrice} = 1.675
Logs the given message with the given level.
${contractId}
663533697236078592
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${unitSurcharge}
${unitSurcharge} = 0.025
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 1.675
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0
Makes a variable available globally in all tests and suites.
${millSupplierId}
${millSupplierId} = 660525241805705216
Makes a variable available globally in all tests and suites.
${paperMillSupplierName}
${paperMillSupplierName} = 测试111
Makes a variable available globally in all tests and suites.
${proxySellerSettleType}
${proxySellerSettleType} = 0
Makes a variable available globally in all tests and suites.
${contractId}
${contractId} = 663533697236078592
Makes a variable available globally in all tests and suites.
${surcharge}
${surcharge} = 425.0
Makes a variable available globally in all tests and suites.
${paymentType}
${paymentType} = 2
Makes a variable available globally in all tests and suites.
${activityNoteStatus}
${activityNoteStatus} = 0
Makes a variable available globally in all tests and suites.
${交易主体name}
${交易主体name} = 厦门千纸互联科技有限公司
Makes a variable available globally in all tests and suites.
${交易主体id}
${交易主体id} = 15
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"orderId":"666020186775752704","orderItemId":"666020186809307136","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.675,"netWeight":17000.000,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"plateNumber":"贵R67890","settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'plateNumber': '贵R67890', 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPriceIncludeTaxType
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
netWeight
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 1
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
/recycle-service/admin/contract/get/selectable-contract-list
params=orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020186809307136
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get/weightnote/${weightnoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/weightnote/666020193234980864
path_url=/recycle-service/admin/proxy-sell/get/weightnote/666020193234980864
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '0'}
body=None
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get/weightnote/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":null,"deductedPoint":null,"unitSurcharge":0.025000,"surcharge":425.000000,"adjustMoney":null,"remark":null,"imageUrls":null,"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"石基仓","preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.000,"finalPayMoney":null,"paymentType":null,"activityNoteStatus":null,"activitySettleType":1,"proxySellerSettleType":0,"publicSubsidies":null,"unitPrice":1.675000,"isEntire":0,"plateNumber":"贵R67890","remarkImgs":null,"otherAmountList":[{"title":"freightSubsidies","unitAmount":null,"unitType":null,"isSubsidies":1},{"title":"otherSubsidies","unitAmount":null,"unitType":null,"isSubsidies":1},{"title":"contrabandPenalty","unitAmount":null,"unitType":null,"isSubsidies":0},{"title":"nonStandardPenalty","unitAmount":null,"unitType":null,"isSubsidies":0},{"title":"otherPenalty","unitAmount":null,"unitType":null,"isSubsidies":0}],"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":24203.750000,"receivablePriceIncludeTax":null,"receivableSettlementRules":0,"refundSubsidy":null,"receivableAdjustMoney":null,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":null,"advanceFund":null,"millSupplierId":null,"millSupplierName":null,"contractId":"663533697236078592"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'id': '666020193234980864', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'settleWeight': None, 'deductedPoint': None, 'unitSurcharge': 0.025, 'surcharge': 425.0, 'adjustMoney': None, 'remark': None, 'imageUrls': None, 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': '石基仓', 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'settlePrice': 0.0, 'finalPayMoney': None, 'paymentType': None, 'activityNoteStatus': None, 'activitySettleType': 1, 'proxySellerSettleType': 0, 'publicSubsidies': None, 'unitPrice': 1.675, 'isEntire': 0, 'plateNumber': '贵R67890', 'remarkImgs': None, 'otherAmountList': [{'title': 'freightSubsidies', 'unitAmount': None, 'unitType': None, 'isSubsidies': 1}, {'title': 'otherSubsidies', 'unitAmount': None, 'unitType': None, 'isSubsidies': 1}, {'title': 'contrabandPenalty', 'unitAmount': None, 'unitType': None, 'isSubsidies': 0}, {'title': 'nonStandardPenalty', 'unitAmount': None, 'unitType': None, 'isSubsidies': 0}, {'title': 'otherPenalty', 'unitAmount': None, 'unitType': None, 'isSubsidies': 0}], 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': 24203.75, 'receivablePriceIncludeTax': None, 'receivableSettlementRules': 0, 'refundSubsidy': None, 'receivableAdjustMoney': None, 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': None, 'advanceFund': None, 'millSupplierId': None, 'millSupplierName': None, 'contractId': '663533697236078592'}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/transaction-main-enterprise/get/warehouse-name
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
path_url=/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/transaction-main-enterprise/get/warehouse-name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${仓库}
${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']
Evaluates the given expression in Python and returns the results.
random.choice(${仓库})
random
${所属仓库}
${所属仓库} = 大观仓
Logs the given message to the console.
\nvalue:${所属仓库}
Makes a variable available globally in all tests and suites.
${所属仓库}
${所属仓库} = 大观仓
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/fund-source/get/list
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
path_url=/recycle-service/admin/fund-source/get/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/fund-source/get/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"id":"39","name":"千鸟-经纪业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"40","name":"千纸鹤代卖业务","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"41","name":"测试资金方","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"42","name":"千鸟-技术部测试数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"46","name":"千鸟","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0},{"id":"47","name":"千鸟数据","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":1},{"id":"49","name":"千鸟测试","auditAdminIds":null,"auditAdminNames":null,"status":null,"createTime":null,"updateTime":null,"isDelete":null,"costOfCapital":null,"isDefault":0}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}, {'id': '49', 'name': '千鸟测试', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...
Logs the given message with the given level.
${item}
{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-经纪业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 39
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千纸鹤代卖业务
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 40
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 测试资金方
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 41
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟-技术部测试数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 42
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 46
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Logs the given message with the given level.
${item}
{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
isDefault
${isDefault}
${isDefault} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
name
${name}
${name} = 千鸟数据
Returns a value from the given ``dictionary`` based on the given ``key``.
${item}
id
${id}
${id} = 47
Stops executing the enclosing for loop if the ``condition`` is true.
'${isDefault}'=='1'
Exiting for loop altogether.
Makes a variable available globally in all tests and suites.
${name}
${name} = 千鸟数据
Makes a variable available globally in all tests and suites.
${id}
${id} = 47
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"paperMillCategoryId":"661536969788100608","categoryName":"坑卡","inspectionNote":null},{"paperMillCategoryId":"661536965862232064","categoryName":"小白纸","inspectionNote":null},{"paperMillCategoryId":"660529551931215872","categoryName":"花纸","inspectionNote":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"buyerEnterpriseName":"Ceshi_factory","buyerEnterpriseId":"660525239146516480","buyerPaperMillId":"660525241717624832","sellerEnterpriseName":"企业","sellerEnterpriseId":"37","sellerPaperMillId":null,"proxyPaySurcharge":0.013000,"advanceFund":null,"invoiceType":0,"hasInvoice":1,"taxRefundRate":9.600000,"hasSubsidiesTax":0,"remark":null,"contractLimitType":0,"limitLine":null,"startDate":"2021-12-01","endDate":"2023-01-01","signDateStart":"2021-12-01","signDateEnd":"2023-01-01","accountPeriodType":0,"accountPeriod":[25],"accountPeriodSql":null,"contractImageList":[],"contractCategories":[],"contractType":2,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"contractStatus":1,"assignAccountPeriod":null,"settlePriceIncludeTaxSettleRules":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'buyerEnterpriseName': 'Ceshi_factory', 'buyerEnterpriseId': '660525239146516480', 'buyerPaperMillId': '660525241717624832', 'sellerEnterpriseName': '企业', 'sellerEnterpriseId': '37', 'sellerPaperMillId': None, 'proxyPaySurcharge': 0.013, 'advanceFund': None, 'invoiceType': 0, 'hasInvoice': 1, 'taxRefundRate': 9.6, 'hasSubsidiesTax': 0, 'remark': None, 'contractLimitType': 0, 'limitLine': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'signDateStart': '2021-12-01', 'signDateEnd': '2023-01-01', 'accountPeriodType': 0, 'accountPeriod': [25], 'accountPeriodSql': None, 'contractImageList': [], 'contractCategories': [], 'contractType': 2, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'contractStatus': 1, 'assignAccountPeriod': None, 'settlePriceIncludeTaxSettleRules': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
advanceFund
${advanceFund}
${advanceFund} = None
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
buyerEnterpriseId
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${settleRules}
${settleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
taxRefundRate
${taxRefundRate}
${taxRefundRate} = 9.6
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
proxyPaySurcharge
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
hasInvoice
${hasInvoice}
${hasInvoice} = 1
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
accountPeriodType
${accountPeriodType}
${accountPeriodType} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
isSubsidyAndDeductIncludeTax
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleRules
${receivableSettlementRules}
${receivableSettlementRules} = 0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settlePriceIncludeTaxSettleRules
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Sets variable based on the given condition.
'${advanceFund}'=='${None}'
0
${advanceFund}
${advanceFund}
${advanceFund} = 0
Sets variable based on the given condition.
'${proxyPaySurcharge}'=='${None}'
0
${proxyPaySurcharge}
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${advanceFund}
${advanceFund} = 0
Makes a variable available globally in all tests and suites.
${buyerEnterpriseId}
${buyerEnterpriseId} = 660525239146516480
Makes a variable available globally in all tests and suites.
${taxRefundRate}
${taxRefundRate} = 9.6
Makes a variable available globally in all tests and suites.
${proxyPaySurcharge}
${proxyPaySurcharge} = 0.013
Makes a variable available globally in all tests and suites.
${hasInvoice}
${hasInvoice} = 1
Makes a variable available globally in all tests and suites.
${accountPeriodType}
${accountPeriodType} = 0
Makes a variable available globally in all tests and suites.
${settleRules}
${settleRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Makes a variable available globally in all tests and suites.
${isSubsidyAndDeductIncludeTax}
${isSubsidyAndDeductIncludeTax} = 0
Makes a variable available globally in all tests and suites.
${receivableSettlementRules}
${receivableSettlementRules} = 0
Makes a variable available globally in all tests and suites.
${settlePriceIncludeTaxSettleRules}
${settlePriceIncludeTaxSettleRules} = 0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${dataTime}
${dataTime} = 2021-12-08
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/get-category-price-by-date
params=orderItemId=${orderItemId}&weightDay=${dataTime}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666020186809307136&weightDay=2021-12-08
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666020186809307136&weightDay=2021-12-08
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=666020186809307136&weightDay=2021-12-08
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"price":1.650,"publicSubsidies":0.005,"paperCategoryId":"660529551931215872","priceDate":"2021-12-08 00:00:00","categoryName":"花纸"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'price': 1.65, 'publicSubsidies': 0.005, 'paperCategoryId': '660529551931215872', 'priceDate': '2021-12-08 00:00:00', 'categoryName': '花纸'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
price
${price}
${price} = 1.65
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
publicSubsidies
${publicSubsidies}
${publicSubsidies} = 0.005
Makes a variable available globally in all tests and suites.
${price}
${price} = 1.65
Makes a variable available globally in all tests and suites.
${publicSubsidies}
${publicSubsidies} = 0.005
Makes a variable available globally in all tests and suites.
${dataTime}
${dataTime} = 2021-12-08
Evaluates the given expression in Python and returns the results.
open('./21042217001449712.png','rb')
${filepath}
${filepath} = <_io.BufferedReader name='./21042217001449712.png'>
Evaluates the given expression in Python and returns the results.
open('./21042217001449712.png','rb')
${image}
${image} = <_io.BufferedReader name='./21042217001449712.png'>
Creates and returns a dictionary based on the given ``items``.
filepath=${filepath}
image=${image}
${file}
${file} = {'filepath': <_io.BufferedReader name='./21042217001449712.png'>, 'image': <_io.BufferedReader name='./21042217001449712.png'>}
Create Session: create a HTTP session to a server
ZTBT
${URL}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${file}
{'filepath': <_io.BufferedReader name='./21042217001449712.png'>, 'image': <_io.BufferedReader name='./21042217001449712.png'>}
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-user-center/upload/image
files=${file}
${result}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
path_url=/recycle-user-center/upload/image
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '143759', 'Content-Type': 'multipart/form-data; boundary=09d615eefb8025a978bbf40249a52fb9'}
body=b'--09d615eefb8025a978bbf40249a52fb9\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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x1dL\x95\xfd\xa7\x92D\xd7aq9\xe6\xd2\xb7\x04i}y0P\x0b\x86m\xc7\x8a\xe0\xf6P\xd9-p\xfbu\xc5-n\x12\xb7Mo9f\xae\x14\xe4ga\xa0Q\xf30\x0b\r\x89\\\xd9|\xffB]\x89\x9df\xa2tM|\xa0j\x0b\xf3\xf2\xaf/\xfc\x15Y\x1b\xe4\xcai\x85n\xc3\xdaZ\x88\xab\x021\xf5@x\xdf7\x8c\x82?\xd7\xd0\xd5^\x94\xb3\xfe\x98YRM\x1b\x1eV\xd7L\xac\xd70$i\x94x\xf3\xfc\xfe\xb8\x12\xc9-\xe9\xc3\x8a\xdb}K\x96l\xeed\xbc\xf3\xb6\x0bBz)?\xd3Z\xa7\xa9P\rY\xad_OE\xc4.\xa8\xf6<\x8a[\xf3\x16\xa7\x9c\xf4ay\xbc\x0b\x17\x18\xfe\x86\xac\x86\xa4\xd6\xc7\xed\xf6\xc2\xdc\xaa\x80s\xcdr\xdb\x831h:w\xb28'... (set the log level to DEBUG or TRACE to see the full content)
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-user-center/upload/image
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:56 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/1638958076689.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/1638958076689.png
Logs the given message with the given level.
${result.content}
{"code":0,"message":"successful","data":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"}
Makes a variable available globally in all tests and suites.
${pictures}
${pictures} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/repeat/proxy-order
params=orderItemId=${orderItemId}&plateNumber=${carList}&settleWeight=13550&weighingDate=${datatime}&orderType=${orderType}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020186809307136&plateNumber=%E8%B4%B5R67890&settleWeight=13550&weighingDate=2021-12-08&orderType=2
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020186809307136&plateNumber=%E8%B4%B5R67890&settleWeight=13550&weighingDate=2021-12-08&orderType=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=666020186809307136&plateNumber=%E8%B4%B5R67890&settleWeight=13550&weighingDate=2021-12-08&orderType=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"oi.create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'oi.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "id":"${weightNoteId}", \ \ \ \ "orderId":"${orderId}", \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "type":null, \ \ \ \ "weightDay":"${datatime}", \ \ \ \ "settleDay":"${datatime}", \ \ \ \ "settleUtiPrice":"${settleUtiPrice}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "settleWeight":16200, \ \ \ \ "deductedPoint":7.5, \ \ \ \ "unitSurcharge":"${unitSurcharge}", \ \ \ \ "surcharge":"${surcharge}", \ \ \ \ "adjustMoney":"20", \ \ \ \ "remark":"${datatime}", \ \ \ \ "imageUrls":null, \ \ \ \ "transactionMainEnterpriseid":"${交易主体id}", \ \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "warehouseName":"${所属仓库}", \ \ \ \ "settlePrice":22585.5, \ \ \ \ "activitySettleType":"${activitySettleType}", \ \ \ \ "proxySellerSettleType":"${proxySellerSettleType}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "remarkImgs":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "otherAmountList":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"freightSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.001, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherSubsidies", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":1 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":1, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":0.002, \ \ \ \ \ \ \ \ \ \ \ \ "title":"contrabandPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":2, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":20, \ \ \ \ \ \ \ \ \ \ \ \ "title":"nonStandardPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ }, \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "unitType":2, \ \ \ \ \ \ \ \ \ \ \ \ "unitAmount":10, \ \ \ \ \ \ \ \ \ \ \ \ "title":"otherPenalty", \ \ \ \ \ \ \ \ \ \ \ \ "isSubsidies":0 \ \ \ \ \ \ \ \ } \ \ \ \ ], \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "receivableSettlementRules":"${receivableSettlementRules}", \ \ \ \ "refundSubsidy":0.003, \ \ \ \ "receivableAdjustMoney":"20", \ \ \ \ "settleUtiPriceIncludeTax":1.337448648648649, \ \ \ \ "settleUtiPriceIncludeTaxType":"${settleUtiPriceIncludeTaxType}", \ \ \ \ "collectionCharges":"${proxyPaySurcharge}", \ \ \ \ "advanceFund":"${advanceFund}", \ \ \ \ "millSupplierId":"${supplier_id}", \ \ \ \ "millSupplierName":"${millSupplierName}", \ \ \ \ "contractId":"${contractId}", \ \ \ \ "settlePriceIncludeTaxSettleRules":"${settlePriceIncludeTaxSettleRules}", \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "deductionNotes":"${datatime}", \ \ \ \ "imageUrl":[ \ \ \ \ \ \ \ \ "${pictures}" \ \ \ \ ], \ \ \ \ "deductedWeight":1.5, \ \ \ \ "orderType":"${orderType}" }
${data}
${data} = { "id":"666020193234980864", "orderId":"666020186775752704", "orderItemId":"666020186809307136", "type":null, "weightDay":"2021-12-08", "settleDay":"2021-12-08", "settleUti...
Logs the given message with the given level.
${data}
{ "id":"666020193234980864", "orderId":"666020186775752704", "orderItemId":"666020186809307136", "type":null, "weightDay":"2021-12-08", "settleDay":"2021-12-08", "settleUtiPrice":"1.675", "netWeight":"17000.0", "settleWeight":16200, "deductedPoint":7.5, "unitSurcharge":"0.025", "surcharge":"425.0", "adjustMoney":"20", "remark":"2021-12-08", "imageUrls":null, "transactionMainEnterpriseid":"15", "transactionMainEnterpriseName":"厦门千纸互联科技有限公司", "warehouseName":"大观仓", "settlePrice":22585.5, "activitySettleType":"1", "proxySellerSettleType":"0", "publicSubsidies":0, "unitPrice":"1.675", "plateNumber":"贵R67890", "remarkImgs":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png" ], "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.002, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":20, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":10, "title":"otherPenalty", "isSubsidies":0 } ], "isInvoice":"1", "invoicePoint":"9.6", "receivableSettlementRules":"0", "refundSubsidy":0.003, "receivableAdjustMoney":"20", "settleUtiPriceIncludeTax":1.337448648648649, "settleUtiPriceIncludeTaxType":"1", "collectionCharges":"0.013", "advanceFund":"0", "millSupplierId":"660525241805705216", "millSupplierName":"测试111", "contractId":"663533697236078592", "settlePriceIncludeTaxSettleRules":"0", "paperCategoryId":"660529551931215872", "deductionNotes":"2021-12-08", "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png" ], "deductedWeight":1.5, "orderType":"2" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/proxy-sell/update/weightnote
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
path_url=/recycle-service/admin/proxy-sell/update/weightnote
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '2321'}
body=b'{ "id":"666020193234980864", "orderId":"666020186775752704", "orderItemId":"666020186809307136", "type":null, "weightDay":"2021-12-08", "settleDay":"2021-12-08", "settleUtiPrice":"1.675", "netWeight":"17000.0", "settleWeight":16200, "deductedPoint":7.5, "unitSurcharge":"0.025", "surcharge":"425.0", "adjustMoney":"20", "remark":"2021-12-08", "imageUrls":null, "transactionMainEnterpriseid":"15", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "warehouseName":"\xe5\xa4\xa7\xe8\xa7\x82\xe4\xbb\x93", "settlePrice":22585.5, "activitySettleType":"1", "proxySellerSettleType":"0", "publicSubsidies":0, "unitPrice":"1.675", "plateNumber":"\xe8\xb4\xb5R67890", "remarkImgs":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png" ], "otherAmountList":[ { "unitType":1, "unitAmount":0.001, "title":"freightSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.001, "title":"otherSubsidies", "isSubsidies":1 }, { "unitType":1, "unitAmount":0.002, "title":"contrabandPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":20, "title":"nonStandardPenalty", "isSubsidies":0 }, { "unitType":2, "unitAmount":10, "title":"otherPenalty", "isSubsidies":0 } ], "isInvoice":"1", "invoicePoint":"9.6", "receivableSettlementRules":"0", "refundSubsidy":0.003, "receivableAdjustMoney":"20", "settleUtiPriceIncludeTax":1.337448648648649, "settleUtiPriceIncludeTaxType":"1", "collectionCharges":"0.013", "advanceFund":"0", "millSupplierId":"660525241805705216", "millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111", "contractId":"663533697236078592", "settlePriceIncludeTaxSettleRules":"0", "paperCategoryId":"660529551931215872", "deductionNotes":"2021-12-08", "imageUrl":[ "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png" ], "deductedWeight":1.5, "orderType":"2" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/update/weightnote
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"weightNoteId":"666020193234980864","contractId":null}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()["data"]}
{'weightNoteId': '666020193234980864', 'contractId': None}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
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/666020193234980864
path_url=/recycle-service/admin/customer-service/audit/weightnote/666020193234980864
headers={'User-Agent': '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/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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}
${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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
path_url=/recycle-service/admin/customer-service/get/proxy-order/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
headers={'User-Agent': '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/666020186775752704?orderId=666020186775752704&orderItemId=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"660531609048584192","activitySettleType":1,"isEntire":0,"activityStatus":1,"activityName":"Ceshi_factory--两次","startTime":"2021-11-23 14:37:04","endTime":"2021-11-24 14:37:04","unitSurcharge":0.025,"surcharge":null,"totalEstimatedWeight":30000.000,"deliveryTime":"2021-12-08","paperMillDeliveryTime":"2021-12-08","remark":null,"attenssion":"666020186775752704","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"666020186775752704","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"666020186809307136","adjustMoney":20.000,"unitSurcharge":0.025000,"surcharge":425.000000,"unitPrice":1.6750000,"weightnoteInfo":{"id":"666020193234980864","orderId":"666020186775752704","orderItemId":"666020186809307136","type":null,"weightDay":"2021-12-08","settleDay":"2021-12-08","settleUtiPrice":1.6750000,"netWeight":17000.000,"settleWeight":16200.000,"deductedPoint":7.500,"settlePrice":0.000,"remark":"2021-12-08","imageUrls":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"]},"logisticcsInfo":{"id":"5377","plateNumber":"贵R67890"},"status":52,"displayStatus":57,"auditStatus":1,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"settlePrice":0.00,"finalPayMoney":2969.850,"otherAmountDtoList":[{"title":"运费补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-32.400,"unit":0.002000,"unitType":1},{"title":"装车不规范扣款","amount":-20.000,"unit":20.000000,"unitType":2},{"title":"其他扣款","amount":-10.000,"unit":10.000000,"unitType":2}],"deductionNotes":"2021-12-08","totalOtherAmount":-30.000000000,"paymentType":2,"activityNoteStatus":1,"activityOrderAuditPassNum":1,"unSettleMoney":2931.2500000000,"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"weightNoteImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"],"transactionMainEnterpriseId":15,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":"大观仓","publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":1.675000,"settleUnitPriceIncludeTax":1.835800,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-08 18:07:32","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-08 18:07:32","rank":1,"status":1},{"description":"已收货,待审核","time":"2021-12-08 18:07:33","rank":2,"status":1},{"description":"已审核,首款结算中","time":"2021-12-08 18:07:46","rank":4,"status":1},{"description":"首款已结算,待质检","time":"2021-12-08 18:07:49","rank":5,"status":1},{"description":"质检完成,待审核","time":"2021-12-08 18:07:57","rank":6,"status":1},{"description":"已审核,尾款结算中","time":null,"rank":7,"status":0},{"description":"尾款已结算,订单完成","time":null,"rank":8,"status":0}],"paperCategoryName":"花纸","proxySellerSettleType":0,"isInvoice":1,"invoicePoint":9.600000,"receivablePrice":null,"receivablePriceIncludeTax":null,"refundSubsidy":48.60,"unitRefundSubsidy":0.003000,"settleUtiPriceIncludeTax":1.835800,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0,"receivableAdjustMoney":20.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"contractId":"663533697236078592","contractType":2}],"orderId":"666020186775752704","createTime":"2021-12-08 18:07: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': 2, 'activityId': '660531609048584192', 'activitySettleType': 1, 'isEntire': 0, 'activityStatus': 1, 'activityName': 'Ceshi_factory--两次', 'startTime': '2021-11-23 14:37:04', 'endTime': '2021-11-24 14:37:04', 'unitSurcharge': 0.025, 'surcharge': None, 'totalEstimatedWeight': 30000.0, 'deliveryTime': '2021-12-08', 'paperMillDeliveryTime': '2021-12-08', 'remark': None, 'attenssion': '666020186775752704', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '666020186775752704', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '666020186809307136', 'adjustMoney': 20.0, 'unitSurcharge': 0.025, 'surcharge': 425.0, 'unitPrice': 1.675, 'weightnoteInfo': {'id': '666020193234980864', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'type': None, 'weightDay': '2021-12-08', 'settleDay': '2021-12-08', 'settleUtiPrice': 1.675, 'netWeight': 17000.0, 'settleWeight': 16200.0, 'deductedPoint': 7.5, 'settlePrice': 0.0, 'remark': '2021-12-08', 'imageUrls': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png']}, 'logisticcsInfo': {'id': '5377', 'plateNumber': '贵R67890'}, 'status': 52, 'displayStatus': 57, 'auditStatus': 1, 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'settlePrice': 0.0, 'finalPayMoney': 2969.85, 'otherAmountDtoList': [{'title': '运费补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -32.4, 'unit': 0.002, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -20.0, 'unit': 20.0, 'unitType': 2}, {'title': '其他扣款', 'amount': -10.0, 'unit': 10.0, 'unitType': 2}], 'deductionNotes': '2021-12-08', 'totalOtherAmount': -30.0, 'paymentType': 2, 'activityNoteStatus': 1, 'activityOrderAuditPassNum': 1, 'unSettleMoney': 2931.25, 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'weightNoteImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png'], 'transactionMainEnterpriseId': 15, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': '大观仓', 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': 1.675, 'settleUnitPriceIncludeTax': 1.8358, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-08 18:07:32', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-08 18:07:32', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': '2021-12-08 18:07:33', 'rank': 2, 'status': 1}, {'description': '已审核,首款结算中', 'time': '2021-12-08 18:07:46', 'rank': 4, 'status': 1}, {'description': '首款已结算,待质检', 'time': '2021-12-08 18:07:49', 'rank': 5, 'status': 1}, {'description': '质检完成,待审核', 'time': '2021-12-08 18:07:57', 'rank': 6, 'status': 1}, {'description': '已审核,尾款结算中', 'time': None, 'rank': 7, 'status': 0}, {'description': '尾款已结算,订单完成', 'time': None, 'rank': 8, 'status': 0}], 'paperCategoryName': '花纸', 'proxySellerSettleType': 0, 'isInvoice': 1, 'invoicePoint': 9.6, 'receivablePrice': None, 'receivablePriceIncludeTax': None, 'refundSubsidy': 48.6, 'unitRefundSubsidy': 0.003, 'settleUtiPriceIncludeTax': 1.8358, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': 20.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '666020186775752704', 'createTime': '2021-12-08 18:07: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': 'Wed, 08 Dec 2021 10:07: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":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":758,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":76}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '663538483129880576', 'orderItemId': '663538483209572352', 'auditRequestId': '663538563975090176', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663538483129880576', 'categoryName': '花纸', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663538492583841792', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:46:27', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536526113771520', 'orderItemId': '663536526151520256', 'auditRequestId': '663536547727020032', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536526113771520', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536534674345984', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:38:26', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '663536355116191744', 'orderItemId': '663536355200077824', 'auditRequestId': '663536378411356160', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '京R76859', 'millSupplierName': '测试111', 'millDelieveryOrderId': '663536355116191744', 'categoryName': '花纸', 'settlePrice': 16825.0, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '663536364918280192', 'updateTime': None, 'activityId': '660531287664234496', 'activityName': 'Ceshi_factory--一次', 'activityStartTime': '2021-11-23 14:35:47', 'activityEndTime': '2021-11-24 14:35:47', 'activityPayType': 3, 'orderType': 2, 'financeRejectedTime': '2021-12-01 21:37:46', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '657573542388436992', 'orderItemId': '657573542421991424', 'auditRequestId': '657573577574453248', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '津Q67890', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573542388436992', 'categoryName': '灰卡', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573550353420288', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:43:44', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '657573124346351616', 'orderItemId': '657573124384100352', 'auditRequestId': '657573162095087616', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '657573124346351616', 'categoryName': '小白花', 'settlePrice': 3015.8, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '657573133162778624', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-15 10:42:05', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656956934615863296', 'orderItemId': '656956934657806336', 'auditRequestId': '656956966731649024', 'userName': '赖勇兰', 'paperMillName': '格森纸业有限公司', 'plateNumber': '京GGG777', 'millSupplierName': '格森供应商', 'millDelieveryOrderId': '656956934615863296', 'categoryName': '白纸', 'settlePrice': 20202.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656956942333382656', 'updateTime': None, 'activityId': '649965536695947264', 'activityName': '格森--两次活动', 'activityStartTime': '2021-10-25 10:51:19', 'activityEndTime': '2021-10-31 10:51:19', 'activityPayType': 1, 'orderType': 2, 'financeRejectedTime': '2021-11-13 17:53:32', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950708419039232', 'orderItemId': '656950708460982272', 'auditRequestId': '656950742485176320', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R55555', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950708419039232', 'categoryName': '小白纸', 'settlePrice': 4976.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950715729711104', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656950537316601856', 'orderItemId': '656950537350156288', 'auditRequestId': '656950573068849152', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656950537316601856', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656950545591963648', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:28:08', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656949952601264128', 'orderItemId': '656949952634818560', 'auditRequestId': '656949988013772800', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '贵R56789', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656949952601264128', 'categoryName': '小白花', 'settlePrice': 2996.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656949960146817024', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:25:48', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}, {'orderId': '656948968701431808', 'orderItemId': '656948968734986240', 'auditRequestId': '656949003442851840', 'userName': '赖勇兰', 'paperMillName': '优一纸业(西部)1111', 'plateNumber': '京R66666', 'millSupplierName': '优一供应商', 'millDelieveryOrderId': '656948968701431808', 'categoryName': '黄纸', 'settlePrice': 3136.0, 'bizOwnerName': '郭腾彬', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '656948976402173952', 'updateTime': None, 'activityId': None, 'activityName': None, 'activityStartTime': None, 'activityEndTime': None, 'activityPayType': None, 'orderType': 1, 'financeRejectedTime': '2021-11-13 17:21:54', 'factoryId': '630451084355309568', 'factoryName': '千鸟打包站111', 'enterpriseId': '630451084250451968', 'enterpriseName': '温州丰创城市环保服务有限公司'}], 'total': 758, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 76}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-mill-order-receipt-audit
params=pageNum=1&pageSize=10&status=0&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020186809307136
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":{"records":[{"orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020291201339392","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","settlePrice":2969.850000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"666020193234980864","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":2,"orderType":2,"financeRejectedTime":null,"factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":1,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020291201339392', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'categoryName': '花纸', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'status': 0, 'isAdjusted': 1, 'weightNoteId': '666020193234980864', 'updateTime': None, 'activityId': '660531609048584192', 'activityName': 'Ceshi_factory--两次', 'activityStartTime': '2021-11-23 14:37:04', 'activityEndTime': '2021-11-24 14:37:04', 'activityPayType': 2, 'orderType': 2, 'financeRejectedTime': None, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
${auditRequestId} = 666020291201339392
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
weightNoteId
${weightNoteId}
${weightNoteId} = 666020193234980864
Makes a variable available globally in all tests and suites.
${auditRequestId}
${auditRequestId} = 666020291201339392
Makes a variable available globally in all tests and suites.
${weightNoteId}
${weightNoteId} = 666020193234980864
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=666020186775752704&weightNoteId=666020193234980864
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864
headers={'User-Agent': '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=666020186775752704&weightNoteId=666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":[{"logId":"1468522728691748865","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:57","operatorName":"赖勇兰","logContent":"上传磅单信息","remark":null},{"logId":"1468522696668237825","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:49","operatorName":"赖勇兰","logContent":"财务确认结算","remark":null},{"logId":"1468522692117417986","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:48","operatorName":"赖勇兰","logContent":"财务审核通过","remark":"2021-12-08"},{"logId":"1468522686585131010","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:46","operatorName":"赖勇兰","logContent":"运营审核通过","remark":"2021-12-08"},{"logId":"1468522681866539010","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:45","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522675772215298","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:44","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522671967981569","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:43","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522666079178754","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:42","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522662719541249","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:41","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522653177499649","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:39","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522656813961218","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:39","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522647062204418","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:37","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522643832590337","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:36","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522637809569793","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:35","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522631329370113","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:33","operatorName":"赖勇兰","logContent":"上传送货单信息","remark":null},{"logId":"1468522624974999553","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:32","operatorName":"赖勇兰","logContent":"下单","remark":null},{"logId":"1468522626795327489","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:32","operatorName":"赖勇兰","logContent":"订单预约","remark":null}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468522728691748865', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:57', 'operatorName': '赖勇兰', 'logContent': '上传磅单信息', 'remark': None}, {'logId': '1468522696668237825', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:49', 'operatorName': '赖勇兰', 'logContent': '财务确认结算', 'remark': None}, {'logId': '1468522692117417986', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:48', 'operatorName': '赖勇兰', 'logContent': '财务审核通过', 'remark': '2021-12-08'}, {'logId': '1468522686585131010', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:46', 'operatorName': '赖勇兰', 'logContent': '运营审核通过', 'remark': '2021-12-08'}, {'logId': '1468522681866539010', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:45', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522675772215298', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:44', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522671967981569', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:43', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522666079178754', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:42', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522662719541249', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:41', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522653177499649', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:39', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522656813961218', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:39', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522647062204418', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:37', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522643832590337', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:36', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522637809569793', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:35', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522631329370113', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:33', 'operatorName': '赖勇兰', 'logContent': '上传送货单信息', 'remark': None}, {'logId': '1468522624974999553', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:32', 'operatorName': '赖勇兰', 'logContent': '下单', 'remark': None}, {'logId': '1468522626795327489', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07: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
Returns current local or UTC time with an optional increment.
result_format=%Y-%m-%d
${datatime}
${datatime} = 2021-12-08
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-receipt-audit-details/666020291201339392/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020291201339392/666020193234980864
headers={'User-Agent': '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/666020291201339392/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07: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":"666020186809307136","auditType":3,"auditRequestId":"666020291201339392","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":0,"auditStatus":1,"settleStatus":0,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"],"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":null,"paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":null,"paymentStatus":null,"items":[{"auditRequestItemId":"666020291268448256","driverName":null,"plateNumber":"贵R67890","netWeight":17000.000,"settleWeight":16200.000,"deductedWeight":800.000,"deductedWeightPoint":7.500,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"","settlePrice":2969.850000,"adjustmentFee":20.000,"unitSurcharge":0.025000,"receivablePrice":2901.250000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":null,"receivablePriceIncludeTax":3410.37,"preReceivablePriceIncludeTax":26527.31,"noReceivablePrice":null,"paidPrice":null,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":null,"paymentAdjustmentFee":null,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":2969.850,"paymentType":2,"weightNoteRemark":"2021-12-08","remarkImgs":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"],"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.833770,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-32.400,"unit":0.002000,"unitType":1},{"title":"装车不规范扣款","amount":-20.000,"unit":20.000000,"unitType":2},{"title":"其他扣款","amount":-10.000,"unit":10.000000,"unitType":2}],"refundSubsidy":0.003000,"receivableAdjustMoney":20.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":null,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":null,"orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderItemId': '666020186809307136', 'auditType': 3, 'auditRequestId': '666020291201339392', 'bizOwnerId': '498985714587930624', 'bizOwnerName': '张山', 'paperMillName': 'Ceshi_factory', 'categoryName': '花纸', 'paperCategoryId': '660529551931215872', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'status': 0, 'auditStatus': 1, 'settleStatus': 0, 'weightNoteImageUrlList': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png'], 'scrapOrderId': '666020186775752704', 'orderDate': '2021-12-08', 'orderPlacerName': '赖勇兰', 'idNumber': '441481******213863', 'shortName': 'Ceshi_factory', 'locDetails': '', 'invoicePoint': 9.6, 'auditorId': None, 'auditorName': None, 'paperCategoryList': [{'id': '660529551931215872', 'isDelete': 0, 'createTime': '2021-11-23 14:29:42', 'updateTime': '2021-11-23 14:29:42', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '花纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536965862232064', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '小白纸', 'enable': 0, 'inspectionNote': None, 'parentId': None}, {'id': '661536969788100608', 'isDelete': 0, 'createTime': '2021-11-26 09:12:49', 'updateTime': '2021-11-26 09:12:49', 'creatorId': 617003842541850624, 'editorId': 617003842541850624, 'millId': '660525241717624832', 'name': '坑卡', 'enable': 0, 'inspectionNote': None, 'parentId': None}], 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceId': 47, 'isInvoice': 1, 'adminId': '617003842541850624', 'receiptIsInvoice': None, 'paymentStatus': None, 'items': [{'auditRequestItemId': '666020291268448256', 'driverName': None, 'plateNumber': '贵R67890', 'netWeight': 17000.0, 'settleWeight': 16200.0, 'deductedWeight': 800.0, 'deductedWeightPoint': 7.5, 'unitPrice': 1.675, 'weighingDate': '2021-12-08', 'settlementDate': '2021-12-08', 'paperMillPayAt': '', 'settlePrice': 2969.85, 'adjustmentFee': 20.0, 'unitSurcharge': 0.025, 'receivablePrice': 2901.25, 'proxySellerSettleType': 0, 'packageNum': 0, 'unitPriceIncludeTax': None, 'receivablePriceIncludeTax': 3410.37, 'preReceivablePriceIncludeTax': 26527.31, 'noReceivablePrice': None, 'paidPrice': None, 'paybackIntever': 25, 'returnPayDate': None, 'bankFlowNo': None, 'confirmReceivePayRemark': None, 'paymentAdjustmentFee': None, 'preTotalMoney': 28475.0, 'prepayMoney': 24203.75, 'preSettleMoney': 23778.75, 'finalPayMoney': 2969.85, 'paymentType': 2, 'weightNoteRemark': '2021-12-08', 'remarkImgs': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png'], 'deliveryImageUrl': ['https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg'], 'isSubsidyIncludeTax': None, 'publicSubsidies': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPriceIncludeTax': 1.83377, 'settleUnitPrice': 1.675, 'financeAuditNotPassedRemark': None, 'categoryName': '花纸', 'paperCategoryId': None, 'deductionNotes': '2021-12-08', 'receivableSettlementRules': 0, 'otherAmountList': [{'title': '运费补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '其他补贴', 'amount': 16.2, 'unit': 0.001, 'unitType': 1}, {'title': '违禁物品扣款', 'amount': -32.4, 'unit': 0.002, 'unitType': 1}, {'title': '装车不规范扣款', 'amount': -20.0, 'unit': 20.0, 'unitType': 2}, {'title': '其他扣款', 'amount': -10.0, 'unit': 10.0, 'unitType': 2}], 'refundSubsidy': 0.003, 'receivableAdjustMoney': 20.0, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0.0, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'receivedAdjustMoney': None, 'contractNo': 'Ceshi_factory--代收', 'contractId': '663533697236078592'}], 'paymentRemark': None, 'orderType': 2, 'activitySettleType': 1, 'isEntire': 0, 'factoryName': '88纸业', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
auditRequestItemId
${auditRequestItemId}
${auditRequestItemId} = 666020291268448256
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
categoryName
${categoryName}
${categoryName} = 花纸
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryId
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
netWeight
${netWeight}
${netWeight} = 17000.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 16200.0
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
paperMillPayAt
${paperMillPayAt}
${paperMillPayAt} =
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
plateNumber
${plateNumber}
${plateNumber} = 贵R67890
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
settleWeight
${settleWeight}
${settleWeight} = 16200.0
Sets variable based on the given condition.
'${paperMillPayAt}'=='无账期'
null
${paperMillPayAt}
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${auditRequestItemId}
${auditRequestItemId} = 666020291268448256
Makes a variable available globally in all tests and suites.
${categoryName}
${categoryName} = 花纸
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 17000.0
Makes a variable available globally in all tests and suites.
${paperMillPayAt}
${paperMillPayAt} =
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R67890
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 16200.0
Makes a variable available globally in all tests and suites.
${paperCategoryId}
${paperCategoryId} = 660529551931215872
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-08
Makes a variable available globally in all tests and suites.
${settleWeight}
${settleWeight} = 16200.0
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "auditRequestItemId":"${auditRequestItemId}", \ \ \ \ "categoryName":"${categoryName}", \ \ \ \ "netWeight":"${netWeight}", \ \ \ \ "paperCategoryId":"${paperCategoryId}", \ \ \ \ "paperMillPayAt":null, \ \ \ \ "plateNumber":"${plateNumber}", \ \ \ \ "receivablePrice":5550, \ \ \ \ "settlementDate":"${datatime}", \ \ \ \ "weighingDate":"${datatime}", \ \ \ \ "settleWeight":"${settleWeight}", \ \ \ \ "isInvoice":"${hasInvoice}", \ \ \ \ "fundSourceId":"${id}", \ \ \ \ "transactionMainEnterpriseName":"${交易主体name}", \ \ \ \ "invoicePoint":"${taxRefundRate}", \ \ \ \ "publicSubsidies":0, \ \ \ \ "publicSubsidiesIncludeTax":0, \ \ \ \ "settleUnitPrice":"${settleUtiPrice}", \ \ \ \ "settleUnitPriceIncludeTax":1.337449, \ \ \ \ "fundSourceName":"${name}" }
${data}
${data} = { "auditRequestItemId":"666020291268448256", "categoryName":"花纸", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":null, "plateNumber":"贵R67890",...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/edit/order-receipt-audit-details
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
path_url=/recycle-service/admin/operation/edit/order-receipt-audit-details
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '651'}
body=b'{ "auditRequestItemId":"666020291268448256", "categoryName":"\xe8\x8a\xb1\xe7\xba\xb8", "netWeight":"17000.0", "paperCategoryId":"660529551931215872", "paperMillPayAt":null, "plateNumber":"\xe8\xb4\xb5R67890", "receivablePrice":5550, "settlementDate":"2021-12-08", "weighingDate":"2021-12-08", "settleWeight":"16200.0", "isInvoice":"1", "fundSourceId":"47", "transactionMainEnterpriseName":"\xe5\x8e\xa6\xe9\x97\xa8\xe5\x8d\x83\xe7\xba\xb8\xe4\xba\x92\xe8\x81\x94\xe7\xa7\x91\xe6\x8a\x80\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8", "invoicePoint":"9.6", "publicSubsidies":0, "publicSubsidiesIncludeTax":0, "settleUnitPrice":"1.675", "settleUnitPriceIncludeTax":1.337449, "fundSourceName":"\xe5\x8d\x83\xe9\xb8\x9f\xe6\x95\xb0\xe6\x8d\xae" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/edit/order-receipt-audit-details
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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=666020186775752704&weightNoteId=666020193234980864%20&operationStatus=2
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864%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=666020186775752704&weightNoteId=666020193234980864%20&operationStatus=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"logId":"1468522675772215298","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:44","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522666079178754","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:42","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522656813961218","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:39","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522647062204418","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:37","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"},{"logId":"1468522637809569793","orderId":"666020186775752704","operatorId":null,"operationTime":"2021-12-08 18:07:35","operatorName":"赖勇兰","logContent":"运营审核不通过,驳回送货单信息","remark":"2021-12-08"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'logId': '1468522675772215298', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:44', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522666079178754', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:42', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522656813961218', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:39', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522647062204418', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:37', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}, {'logId': '1468522637809569793', 'orderId': '666020186775752704', 'operatorId': None, 'operationTime': '2021-12-08 18:07:35', 'operatorName': '赖勇兰', 'logContent': '运营审核不通过,驳回送货单信息', 'remark': '2021-12-08'}]}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }
${data}
${data} = { "auditRequestId":"666020291201339392", "isPass":1, "remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/operation/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
path_url=/recycle-service/admin/operation/operation/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '85'}
body=b'{ "auditRequestId":"666020291201339392", "isPass":1, "remark":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/operation/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:07:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Pauses the test executed for the given time.
2
Slept 2 seconds
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list
params=pageNum=1&pageSize=10&status=&orderId=&orderItemId=${orderItemId}
${reps}
GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020186809307136
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=666020186809307136
headers={'User-Agent': '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=666020186809307136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020291201339392","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":2969.850000,"bizOwnerName":"张山","status":0,"auditedTime":null,"auditorId":null,"auditorName":null,"weightNoteId":"666020193234980864","settleStatus":0,"financeAdminName":"赖勇兰","realSettlementDate":null,"transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":2,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"666020186775752704","orderItemId":"666020186809307136","auditRequestId":"666020244355158016","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","categoryName":"花纸","weighingDate":"2021-12-08 00:00:00","settlePrice":23778.750000,"bizOwnerName":"张山","status":2,"auditedTime":"2021-12-08 18:07:49","auditorId":617003842541850624,"auditorName":"","weightNoteId":"666020193234980864","settleStatus":1,"financeAdminName":"赖勇兰","realSettlementDate":"2021-12-08","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceAuditAdminId":null,"fundSourceAuditAdminName":null,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","paymentType":1,"factoryId":"660158494883844096","factoryName":"88纸业","settlementDate":"2021-12-08","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":2,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020291201339392', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'categoryName': '花纸', 'weighingDate': '2021-12-08 00:00:00', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'status': 0, 'auditedTime': None, 'auditorId': None, 'auditorName': None, 'weightNoteId': '666020193234980864', 'settleStatus': 0, 'financeAdminName': '赖勇兰', 'realSettlementDate': None, 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceAuditAdminId': None, 'fundSourceAuditAdminName': None, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'paymentType': 2, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'settlementDate': '2021-12-08', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'auditRequestId': '666020244355158016', 'userName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'plateNumber': '贵R67890', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'categoryName': '花纸', 'weighingDate': '2021-12-08 00:00:00', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'status': 2, 'auditedTime': '2021-12-08 18:07:49', 'auditorId': 617003842541850624, 'auditorName': '', 'weightNoteId': '666020193234980864', 'settleStatus': 1, 'financeAdminName': '赖勇兰', 'realSettlementDate': '2021-12-08', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'fundSourceName': '千鸟数据', 'fundSourceAuditAdminId': None, 'fundSourceAuditAdminName': None, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'paymentType': 1, 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'settlementDate': '2021-12-08', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 2, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
Create Session: create a HTTP session to a server
ZTBT
${URL1}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-log-detail
params=orderId=${orderId}&weightNoteId=${weightNoteId}&operationStatus=3
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864&operationStatus=3
path_url=/recycle-service/admin/operation/get/order-log-detail?orderId=666020186775752704&weightNoteId=666020193234980864&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=666020186775752704&weightNoteId=666020193234980864&operationStatus=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[]}
${reps} = <Response [200]>
Create Session: create a HTTP session to a server
ZTBT
${url}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-psc-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }
${data}
${data} = {"auditRequestId":"666020291201339392","adminId":null,"isPass":1,"remark":"2021-12-08" }
Sends a POST request on a previously created HTTP Session.
ZTBT
payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '88'}
body=b'{"auditRequestId":"666020291201339392","adminId":null,"isPass":1,"remark":"2021-12-08" }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/audit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:00 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${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":"666020291201339392", "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":"666020291201339392", "adminId":null }'
POST Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/settle
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:01 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Pauses the test executed for the given time.
2
Slept 2 seconds
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/paper-payment-order-list
params=pageNum=1&pageSize=10&orderId=${orderId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666020186775752704
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=666020186775752704
headers={'User-Agent': '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=666020186775752704
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"id":"666020295999623168","orderId":"666020186775752704","orderItemId":"666020186809307136","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","settlementDate":"2021-12-08","settlePrice":2969.85,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":0,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":null,"bankFlowNo":null,"remark":"2021-12-08","auditRequestId":"666020291201339392","receivablePrice":3410.370,"financeAdminName":"赖勇兰","noReceivablePrice":null,"returnPayDate":null,"weightNoteId":"666020193234980864","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666020186775752704","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":null,"firstPaidTime":null,"secondPaidPrice":null,"secondPaidTime":null,"enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"id":"666020248528490496","orderId":"666020186775752704","orderItemId":"666020186809307136","paperMillName":"Ceshi_factory","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","settlementDate":"2021-12-08","settlePrice":23778.75,"bizOwnerName":"张山","paperMillPayAt":"2022-01-02","status":1,"isInvalid":0,"weighingDate":"2021-12-08","paidPrice":26527.310,"bankFlowNo":null,"remark":null,"auditRequestId":"666020244355158016","receivablePrice":26527.310,"financeAdminName":"赖勇兰","noReceivablePrice":0.000,"returnPayDate":"2021-12-08","weightNoteId":"666020193234980864","paperMillMerchantAccout":"测试111","millDeliveryOrderId":"666020186775752704","paybackIntever":25,"activityName":"Ceshi_factory--两次","activityId":"660531609048584192","factoryId":"660158494883844096","factoryName":"88纸业","receivedAdjustMoney":0.000,"firstPaidPrice":26527.310,"firstPaidTime":"2021-12-08 00:00:00","secondPaidPrice":null,"secondPaidTime":null,"enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}],"total":2,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
${paymentOrderId} = 666020295999623168
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '666020295999623168', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'settlementDate': '2021-12-08', 'settlePrice': 2969.85, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 0, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': None, 'bankFlowNo': None, 'remark': '2021-12-08', 'auditRequestId': '666020291201339392', 'receivablePrice': 3410.37, 'financeAdminName': '赖勇兰', 'noReceivablePrice': None, 'returnPayDate': None, 'weightNoteId': '666020193234980864', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666020186775752704', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': None, 'firstPaidTime': None, 'secondPaidPrice': None, 'secondPaidTime': None, 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}, {'id': '666020248528490496', 'orderId': '666020186775752704', 'orderItemId': '666020186809307136', 'paperMillName': 'Ceshi_factory', 'millSupplierName': '测试111', 'millDelieveryOrderId': '666020186775752704', 'settlementDate': '2021-12-08', 'settlePrice': 23778.75, 'bizOwnerName': '张山', 'paperMillPayAt': '2022-01-02', 'status': 1, 'isInvalid': 0, 'weighingDate': '2021-12-08', 'paidPrice': 26527.31, 'bankFlowNo': None, 'remark': None, 'auditRequestId': '666020244355158016', 'receivablePrice': 26527.31, 'financeAdminName': '赖勇兰', 'noReceivablePrice': 0.0, 'returnPayDate': '2021-12-08', 'weightNoteId': '666020193234980864', 'paperMillMerchantAccout': '测试111', 'millDeliveryOrderId': '666020186775752704', 'paybackIntever': 25, 'activityName': 'Ceshi_factory--两次', 'activityId': '660531609048584192', 'factoryId': '660158494883844096', 'factoryName': '88纸业', 'receivedAdjustMoney': 0.0, 'firstPaidPrice': 26527.31, 'firstPaidTime': '2021-12-08 00:00:00', 'secondPaidPrice': None, 'secondPaidTime': None, 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司'}], 'total': 2, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}
Makes a variable available globally in all tests and suites.
${paymentOrderId}
${paymentOrderId} = 666020295999623168
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/666020291201339392/666020193234980864
path_url=/recycle-service/admin/operation/get/order-receipt-audit-details/666020291201339392/666020193234980864
headers={'User-Agent': '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/666020291201339392/666020193234980864
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:03 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderItemId":"666020186809307136","auditType":3,"auditRequestId":"666020291201339392","bizOwnerId":"498985714587930624","bizOwnerName":"张山","paperMillName":"Ceshi_factory","categoryName":"花纸","paperCategoryId":"660529551931215872","millSupplierName":"测试111","millDelieveryOrderId":"666020186775752704","status":1,"auditStatus":3,"settleStatus":2,"weightNoteImageUrlList":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"],"scrapOrderId":"666020186775752704","orderDate":"2021-12-08","orderPlacerName":"赖勇兰","idNumber":"441481******213863","shortName":"Ceshi_factory","locDetails":"","invoicePoint":9.600000,"auditorId":null,"auditorName":"赖勇兰","paperCategoryList":[{"id":"660529551931215872","isDelete":0,"createTime":"2021-11-23 14:29:42","updateTime":"2021-11-23 14:29:42","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"花纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536965862232064","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"小白纸","enable":0,"inspectionNote":null,"parentId":null},{"id":"661536969788100608","isDelete":0,"createTime":"2021-11-26 09:12:49","updateTime":"2021-11-26 09:12:49","creatorId":617003842541850624,"editorId":617003842541850624,"millId":"660525241717624832","name":"坑卡","enable":0,"inspectionNote":null,"parentId":null}],"transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","fundSourceName":"千鸟数据","fundSourceId":47,"isInvoice":1,"adminId":"617003842541850624","receiptIsInvoice":0,"paymentStatus":0,"items":[{"auditRequestItemId":"666020291268448256","driverName":null,"plateNumber":"贵R67890","netWeight":17000.000,"settleWeight":16200.000,"deductedWeight":800.000,"deductedWeightPoint":4.710,"unitPrice":1.6750000,"weighingDate":"2021-12-08","settlementDate":"2021-12-08","paperMillPayAt":"2022-01-02","settlePrice":2969.850000,"adjustmentFee":20.000,"unitSurcharge":0.025000,"receivablePrice":2901.250000,"proxySellerSettleType":0,"packageNum":0,"unitPriceIncludeTax":1.835800,"receivablePriceIncludeTax":3410.37,"preReceivablePriceIncludeTax":26527.31,"noReceivablePrice":3410.370,"paidPrice":0,"paybackIntever":25,"returnPayDate":null,"bankFlowNo":null,"confirmReceivePayRemark":"2021-12-08","paymentAdjustmentFee":0.000,"preTotalMoney":28475.000,"prepayMoney":24203.750,"preSettleMoney":23778.750,"finalPayMoney":2969.850,"paymentType":2,"weightNoteRemark":"2021-12-08","remarkImgs":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958076689.png"],"deliveryImageUrl":["https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1638958053491.jpg"],"isSubsidyIncludeTax":null,"publicSubsidies":null,"publicSubsidiesIncludeTax":null,"settleUnitPriceIncludeTax":1.833770,"settleUnitPrice":1.6750000,"financeAuditNotPassedRemark":null,"categoryName":"花纸","paperCategoryId":null,"deductionNotes":"2021-12-08","receivableSettlementRules":0,"otherAmountList":[{"title":"运费补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"其他补贴","amount":16.200,"unit":0.001000,"unitType":1},{"title":"违禁物品扣款","amount":-32.400,"unit":0.002000,"unitType":1},{"title":"装车不规范扣款","amount":-20.000,"unit":20.000000,"unitType":2},{"title":"其他扣款","amount":-10.000,"unit":10.000000,"unitType":2}],"refundSubsidy":0.003000,"receivableAdjustMoney":20.000000,"settleUtiPriceIncludeTaxType":1,"collectionCharges":0.013000,"advanceFund":0.000000,"isSubsidyAndDeductIncludeTax":0,"settleRules":0,"settleUtiPriceIncludeTaxRules":0,"receivedAdjustMoney":0,"contractNo":"Ceshi_factory--代收","contractId":"663533697236078592"}],"paymentRemark":"2021-12-08","orderType":2,"activitySettleType":1,"isEntire":0,"factoryName":"88纸业","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
receivablePriceIncludeTax
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 3410.37
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["items"][0]}
noReceivablePrice
${noReceivablePrice}
${noReceivablePrice} = 3410.37
Makes a variable available globally in all tests and suites.
${receivablePriceIncludeTax}
${receivablePriceIncludeTax} = 3410.37
Makes a variable available globally in all tests and suites.
${noReceivablePrice}
${noReceivablePrice} = 3410.37
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Returns the given values which can then be assigned to a variables.
{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }
${data}
${data} = { "paymentOrderId":"666020295999623168", "receivablePrice":"3410.37", "paidPrice":"3410.37", "noReceiveblePrice":"3410.37", "bankFlowNo":null, "paymentAdjustmentFee":null, ...
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/update/payment-order-status
${data.encode('utf-8')}
${reps}
POST Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
path_url=/recycle-service/admin/operation/update/payment-order-status
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json', 'Content-Length': '230'}
body=b'{ "paymentOrderId":"666020295999623168", "receivablePrice":"3410.37", "paidPrice":"3410.37", "noReceiveblePrice":"3410.37", "bankFlowNo":null, "paymentAdjustmentFee":null, "returnPayDate":"2021-12-08" }'
POST Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/update/payment-order-status
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 08 Dec 2021 10:08:04 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
代卖应收
Critical Tests
All Tests
000-Regularorder & 001-Activeorder & 002-Activeorder
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.1-Client(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.1-Client(Test).1-APPlogin(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.1-Client(Test).2.1-CreateRegularorder
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).1-WebLogin
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).1-WebLogin.Weblogin
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).2.1-Consignment management
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).2.1-Consignment management.1-Appointment
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).2.1-Consignment management.2.1-RegularUpload-weightnote
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).2.1-Consignment management.3.1-Operation audit
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).3-Withdrawal application
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
000-Regularorder & 001-Activeorder & 002-Activeorder.000-Regularorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.1-Client(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.1-Client(Test).1-APPlogin(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.1-Client(Test).2.2createActiveorder-1
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).1-WebLogin
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).1-WebLogin.Weblogin
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).2.1-Consignment management
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).2.1-Consignment management.2.2-RegularUpload-weightnote-1
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).2.1-Consignment management.3.2-Operation audit
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).3-Withdrawal application
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
000-Regularorder & 001-Activeorder & 002-Activeorder.001-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.1-Client(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.1-Client(Test).1-APPlogin(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.1-Client(Test).2.3createActiveorder-2
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test)
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).1-WebLogin
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).1-WebLogin.Weblogin
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).2.1-Consignment management
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).2.1-Consignment management.2.3-ActiveUpload-deliverynote
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).2.1-Consignment management.3.3-Operation audit
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).3-Withdrawal application
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).4-Consignment management
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).4-Consignment management.2.3-ActiveUpload-weightnote
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).4-Consignment management.3.3--Operation audit
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).4-Consignment management.4.3-Financial audit
000-Regularorder & 001-Activeorder & 002-Activeorder.002-Activeorder.2-Background system(Test).4-Consignment management.5.3-Sales Receivable