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, 01 Dec 2021 13:58:05 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==","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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=="}'
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, 01 Dec 2021 13:58:05 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==","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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}
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, 01 Dec 2021 13:58:06 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":"210300","cityName":"鞍山市"},{"cityId":"130800","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":"440700","cityName":"江门市"},{"cityId":"810200","cityName":"九龙"},{"cityId":"445300","cityName":"云浮市"},{"cityId":"451300","cityName":"来宾市"},{"cityId":"421000","cityName":"荆州市"},{"cityId":"440100","cityName":"广州市"},{"cityId":"441900","cityName":"东莞市"}]}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()}
data
${data}
${data} = [{'cityId': '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} = 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} = 130800
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 南宁市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 450100
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 大兴安岭地区
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 232700
Stops executing the enclosing for loop if the ``condition`` is true.
'${cityName}'=='大同市'
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityName
${cityName}
${cityName} = 景德镇市
Returns a value from the given ``dictionary`` based on the given ``key``.
${items}
cityId
${cityId}
${cityId} = 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}
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, 01 Dec 2021 13:58:06 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-01 00:00:00","proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":326.73,"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} = 326.73
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': '661536965862232064', 'categoryName': '小白纸', 'yesterdayUnitPrice': None, 'unitPrice': 2.2, '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} = 661536965862232064
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} = 2.2
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} = 661536965862232064
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 2.2
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}
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, 01 Dec 2021 13:58:06 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5322","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5321","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5319","scrapPaperOrderItemId":null,"plateNumber":"京R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5318","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5314","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","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': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5321', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5319', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5318', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5314', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', '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': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5321', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6666...
Evaluates the given expression in Python and returns the results.
random.choice(${carNumber})
random
${plateNumber1}
${plateNumber1} = {'id': '5321', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', '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} = 贵R66666
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R66666
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-01
Logs the given message with the given level.
${datatime}
2021-12-01
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":"661536965862232064" ,"unitPrice":2.2,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-01","carInfos":[{"plateNumber":"贵R66666"}]}
Logs the given message with the given level.
${data}
{"paperCategoryId":"661536965862232064" ,"unitPrice":2.2,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-01","carInfos":[{"plateNumber":"贵R66666"}]}
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==', 'Content-Length': '182'}
body=b'{"paperCategoryId":"661536965862232064" ,"unitPrice":2.2,"totalEstimatedWeight":30000,"customerName":"\xe8\xb5\x96\xe5\x8b\x87\xe5\x85\xb0","deliveryTime":"2021-12-01","carInfos":[{"plateNumber":"\xe8\xb4\xb5R66666"}]}'
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, 01 Dec 2021 13:58:06 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"663541497341284352"}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 663541497341284352
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663541497341284352'}}
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-01
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 663541497341284352
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, 01 Dec 2021 13:58:06 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, 01 Dec 2021 13:58: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":{"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=663541497341284352
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663541497341284352
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497341284352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"records":[{"id":"4689","orderId":"663541497341284352","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"小白纸","sellerReservationDate":"2021-12-01","orderItemNum":1,"carNoList":["贵R66666"],"status":0,"createTime":"2021-12-01 21:58:06","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': '4689', 'orderId': '663541497341284352', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '小白纸', 'sellerReservationDate': '2021-12-01', 'orderItemNum': 1, 'carNoList': ['贵R66666'], 'status': 0, 'createTime': '2021-12-01 21:58:06', '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} = 663541497341284352
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} = 4689
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} = ['贵R66666']
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
paperMillName
${paperMillName}
${paperMillName} = Ceshi_factory
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
sellerReservationDate
${sellerReservationDate}
${sellerReservationDate} = 2021-12-01
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 贵R66666
Logs the given message to the console.
\nvalue:${carList}
Fails if objects are unequal after converting them to strings.
${reps_data.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 663541497341284352
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} = 4689
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-01
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} = 贵R66666
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"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-01
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":"663541497341284352","buyerReservationDate":"2021-12-01", "id":"4689","millDeliveryOrderId":"663541497341284352","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"663541497341284352","buyerReservationDate":"2021-12-01", "id":"4689","millDeliveryOrderId":"663541497341284352","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663541497341284352"}
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":"663541497341284352","buyerReservationDate":"2021-12-01", "id":"4689","millDeliveryOrderId":"663541497341284352","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"663541497341284352"}'
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, 01 Dec 2021 13:58: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}
${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=663541497341284352
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=1%20&pageNum=1&pageSize=10&status=51&orderId=663541497341284352
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497341284352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":"663541497341284352","orderItemId":"663541497395810304","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"小白纸","deliveryTime":"2021-12-01","millSupplierName":"测试111","plateNumber":"贵R66666","operationReviewStatus":51,"createTime":"2021-12-01 21:58:06","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': '663541497341284352', 'orderItemId': '663541497395810304', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '小白纸', 'deliveryTime': '2021-12-01', 'millSupplierName': '测试111', 'plateNumber': '贵R66666', 'operationReviewStatus': 51, 'createTime': '2021-12-01 21:58:06', '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} = 663541497395810304
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} = 663541497395810304
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/663541497341284352?orderId=663541497341284352&orderItemId=663541497395810304
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&orderItemId=663541497395810304
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541497341284352?orderId=663541497341284352&orderItemId=663541497395810304
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541497341284352","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541497341284352","paperCategoryId":"661536965862232064","paperCategoryName":"小白纸","paperCategoryPrice":2.2000000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541497395810304","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":2.2000000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5323","plateNumber":"贵R66666"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":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-01 21:58:06","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:07","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":"663541497341284352","createTime":"2021-12-01 21:58:06","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} = 661536965862232064
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
paperCategoryPrice
${unitPrice}
${unitPrice} = 2.2
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} = 2.2
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} = 661536965862232064
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 2.2
Makes a variable available globally in all tests and suites.
${unitPrice}
${unitPrice} = 2.2
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, 01 Dec 2021 13:58: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":[{"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': '13', 'name': '广州千鸟张文纸业有限公司', 'createTime': '2020-12-02 10:22:24', 'updateTime': '2021-11-17 17:53:49', '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} = 13
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} = 13
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, 01 Dec 2021 13:58: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":["石基仓","江高仓","大观仓","钟落潭仓"]}
${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, 01 Dec 2021 13:58: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":[{"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=663541497395810304
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663541497395810304
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497395810304
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":[{"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-01
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=663541497395810304&weightDay=2021-12-01
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541497395810304&weightDay=2021-12-01
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497395810304&weightDay=2021-12-01
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"price":2.200,"publicSubsidies":0.000,"paperCategoryId":"661536965862232064","priceDate":"2021-12-01 00:00:00","categoryName":"小白纸"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'price': 2.2, 'publicSubsidies': 0.0, 'paperCategoryId': '661536965862232064', 'priceDate': '2021-12-01 00:00:00', 'categoryName': '小白纸'}]}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"][0]}
price
${price}
${price} = 2.2
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} = 2.2
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-01
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":{"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('E:/lyl/图片/21042217001449712.png','rb')
${filepath}
Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'
Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/repeat/proxy-order
params=orderItemId=${orderItemId}&plateNumber=${carList}&settleWeight=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=663541497395810304&plateNumber=%E8%B4%B5R66666&settleWeight=17550&weighingDate=2021-12-01&orderType=1&settlePrice=%2041953.05
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541497395810304&plateNumber=%E8%B4%B5R66666&settleWeight=17550&weighingDate=2021-12-01&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=663541497395810304&plateNumber=%E8%B4%B5R66666&settleWeight=17550&weighingDate=2021-12-01&orderType=1&settlePrice=%2041953.05
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"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":"663541497395810304", "remark":"2021-12-01", "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":"663541497395810304", "remark":"2021-12-01", "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, 01 Dec 2021 13:58: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]>
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
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}
Variable '${pictures}' not found.
Variable '${pictures}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541497341284352?orderId=663541497341284352&orderItemId=663541497395810304
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&orderItemId=663541497395810304
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541497341284352?orderId=663541497341284352&orderItemId=663541497395810304
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541497341284352","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541497341284352","paperCategoryId":"661536965862232064","paperCategoryName":"小白纸","paperCategoryPrice":2.2000000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541497395810304","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":2.2000000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5323","plateNumber":"贵R66666"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":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-01 21:58:06","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:07","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":"663541497341284352","createTime":"2021-12-01 21:58:06","factoryId":"660158494883844096","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司","factoryName":"88纸业","transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null}}
${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-01', 'paperMillDeliveryTime': '2021-12-01', 'remark': None, 'attenssion': '663541497341284352', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663541497341284352', 'paperCategoryId': '661536965862232064', 'paperCategoryName': '小白纸', 'paperCategoryPrice': 2.2, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663541497395810304', 'adjustMoney': None, 'unitSurcharge': None, 'surcharge': None, 'unitPrice': 2.2, 'weightnoteInfo': None, 'logisticcsInfo': {'id': '5323', 'plateNumber': '贵R66666'}, 'status': 51, 'displayStatus': 51, 'auditStatus': 0, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'otherAmountDtoList': None, 'deductionNotes': None, 'totalOtherAmount': None, 'paymentType': None, 'activityNoteStatus': 0, 'activityOrderAuditPassNum': None, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': None, 'transactionMainEnterpriseId': None, 'transactionMainEnterpriseName': None, 'warehouseName': None, 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': None, 'settleUnitPriceIncludeTax': None, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-01 21:58:06', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-01 21:58:07', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': None, 'rank': 2, 'status': 0}, {'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': None, 'unitRefundSubsidy': None, 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663541497341284352', 'createTime': '2021-12-01 21:58:06', 'factoryId': '660158494883844096', 'enterpriseId': '660158494724460544', 'enterpriseName': '重庆亨乐西餐食品有限公司', 'factoryName': '88纸业', 'transactionMainEnterpriseId': None, 'transactionMainEnterpriseName': 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
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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, 01 Dec 2021 13:58: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":"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":750,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":75}}
${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': 750, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 75}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541497395810304
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663541497395810304
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497395810304
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
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}
Variable '${auditRequestItemId}' not found.
Variable '${auditRequestItemId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
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=663541497341284352
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663541497341284352
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497341284352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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"][0]}
status
${audit_status}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541497341284352
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663541497341284352
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497341284352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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"][0]}
status
${audit_status}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
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}
Variable '${auditRequestItemId}' not found.
Variable '${auditRequestItemId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
运营审核-常规
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=663541497395810304
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663541497395810304
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, 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=663541497395810304
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
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=663541497395810304
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663541497395810304
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, 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=663541497395810304
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
status
${staus}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
代卖应付
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541497341284352
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663541497341284352
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541497341284352
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${paymentOrderId}' not found.
Variable '${paymentOrderId}' not found.
代卖应收
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, 01 Dec 2021 13:58:09 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==","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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=="}'
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, 01 Dec 2021 13:58:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==","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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}
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, 01 Dec 2021 13:58:09 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}
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, 01 Dec 2021 13:58:09 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5323","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5322","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5319","scrapPaperOrderItemId":null,"plateNumber":"京R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5318","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5314","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","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': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5319', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5318', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5314', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', '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': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R7685...
Evaluates the given expression in Python and returns the results.
random.sample(${carNumber},1)
random
${plateNumber_value}
${plateNumber_value} = [{'id': '5314', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', '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} = 闽NC6789
Makes a variable available globally in all tests and suites.
${plateNumber1}
${plateNumber1} = 闽NC6789
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}
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, 01 Dec 2021 13:58:09 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-01","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","enableSalesAgent":1,"proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":326.73,"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-01', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg', 'enableSalesAgent': 1, 'proxypaySurcharge': 0.02, 'foreignPaybackIntever': None, 'foreignPaybackIntervalString': '12', 'cumulativeWeight': 326.73, '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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}
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, 01 Dec 2021 13:58:09 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}, 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-01
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-01"...
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==', '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-01", "carInfos":[ { "plateNumber":"\xe9\x97\xbdNC6789" } ] }'
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, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"663541511601917952"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663541511601917952'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 663541511601917952
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} = 663541511601917952
Makes a variable available globally in all tests and suites.
${datatime}
${datatime} = 2021-12-01
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, 01 Dec 2021 13:58:10 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, 01 Dec 2021 13:58: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":{"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=663541511601917952
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663541511601917952
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541511601917952
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"id":"4690","orderId":"663541511601917952","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"花纸","sellerReservationDate":"2021-12-01","orderItemNum":1,"carNoList":["闽NC6789"],"status":0,"createTime":"2021-12-01 21:58:10","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': '4690', 'orderId': '663541511601917952', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '花纸', 'sellerReservationDate': '2021-12-01', 'orderItemNum': 1, 'carNoList': ['闽NC6789'], 'status': 0, 'createTime': '2021-12-01 21:58:10', '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} = 663541511601917952
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} = 4690
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} = ['闽NC6789']
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-01
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 闽NC6789
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} = 663541511601917952
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} = 4690
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-01
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} = 闽NC6789
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, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
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-01
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":"663541511601917952","buyerReservationDate":"2021-12-01", "id":"4690","millDeliveryOrderId":"663541511601917952","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"663541511601917952","buyerReservationDate":"2021-12-01", "id":"4690","millDeliveryOrderId":"663541511601917952","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663541511601917952"}
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":"663541511601917952","buyerReservationDate":"2021-12-01", "id":"4690","millDeliveryOrderId":"663541511601917952","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"663541511601917952"}'
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, 01 Dec 2021 13:58: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
预约送货
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541511601917952
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=663541511601917952
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541511601917952
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":"663541511601917952","orderItemId":"663541511635472384","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-01","millSupplierName":"测试111","plateNumber":"闽NC6789","operationReviewStatus":51,"createTime":"2021-12-01 21:58:10","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': '663541511601917952', 'orderItemId': '663541511635472384', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-01', 'millSupplierName': '测试111', 'plateNumber': '闽NC6789', 'operationReviewStatus': 51, 'createTime': '2021-12-01 21:58:10', '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': '663541511601917952', 'orderItemId': '663541511635472384', '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': '663541511601917952', 'orderItemId': '663541511635472384', '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} = 663541511635472384
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 663541511635472384
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541511601917952?orderId=663541511601917952%20&orderItemId=663541511635472384
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952%20&orderItemId=663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541511601917952?orderId=663541511601917952%20&orderItemId=663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541511601917952","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541511601917952","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.7100000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541511635472384","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.7100000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5324","plateNumber":"闽NC6789"},"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-01 21:58:10","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:10","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":"663541511601917952","createTime":"2021-12-01 21:58:10","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/663541511635472384
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"orderId":"663541511601917952","orderItemId":"663541511635472384","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":"闽NC6789","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': '663541511601917952', 'orderItemId': '663541511635472384', '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': '闽NC6789', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 闽NC6789
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} = 闽NC6789
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, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"contractId":"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=663541511635472384
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"contractId":"660530461520564224","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-11-23","endDate":"2021-11-30","status":2},{"contractId":"663533697236078592","contractNo":"Ceshi_factory--代收","contractCode":null,"startDate":"2021-12-01","endDate":"2023-01-01","status":1}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'contractId': '660530461520564224', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-11-23', 'endDate': '2021-11-30', 'status': 2}, {'contractId': '663533697236078592', 'contractNo': 'Ceshi_factory--代收', 'contractCode': None, 'startDate': '2021-12-01', 'endDate': '2023-01-01', 'status': 1}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a 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, 01 Dec 2021 13:58:10 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"name":"测试111","id":"660525241805705216"}]}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":["石基仓","江高仓","大观仓","钟落潭仓"]}
${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/663541511635472384
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"orderId":"663541511601917952","orderItemId":"663541511635472384","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":"闽NC6789","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': '663541511601917952', 'orderItemId': '663541511635472384', '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': '闽NC6789', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 闽NC6789
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} = 闽NC6789
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, 01 Dec 2021 13:58: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":[{"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('E:/lyl/图片/16pic_6879381_b.jpg','rb')
${filepath}
Evaluating expression 'open('E:/lyl/图片/16pic_6879381_b.jpg','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/16pic_6879381_b.jpg'
Evaluating expression 'open('E:/lyl/图片/16pic_6879381_b.jpg','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/16pic_6879381_b.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=663541511635472384&plateNumber=%E9%97%BDNC6789&settleWeight=14800&weighingDate=2021-12-01&orderType=2&settlePrice=29466.6
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541511635472384&plateNumber=%E9%97%BDNC6789&settleWeight=14800&weighingDate=2021-12-01&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=663541511635472384&plateNumber=%E9%97%BDNC6789&settleWeight=14800&weighingDate=2021-12-01&orderType=2&settlePrice=29466.6
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":[{"column":"oi.create_time","asc":false}],"searchCount":true,"pages":0}}
${reps} = <Response [200]>
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":"663541511635472384", "remark":"2021-12-01", "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":"663541511635472384", "remark":"2021-12-01", "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, 01 Dec 2021 13:58: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]>
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
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}
Variable '${pictures}' not found.
Variable '${pictures}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541511601917952?orderId=663541511601917952&orderItemId=663541511635472384
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952&orderItemId=663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541511601917952?orderId=663541511601917952&orderItemId=663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"status":51,"bizOwnerName":"张山","orderOwnerId":"554128866793361643","orderOwnerName":"赖勇兰","orderOwnerPhone":"18888888888","orderType":2,"activityId":"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541511601917952","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541511601917952","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.7100000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541511635472384","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.7100000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5324","plateNumber":"闽NC6789"},"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-01 21:58:10","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:10","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":"663541511601917952","createTime":"2021-12-01 21:58:10","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-01', 'paperMillDeliveryTime': '2021-12-01', 'remark': None, 'attenssion': '663541511601917952', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663541511601917952', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.71, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663541511635472384', 'adjustMoney': None, 'unitSurcharge': None, 'surcharge': None, 'unitPrice': 1.71, 'weightnoteInfo': None, 'logisticcsInfo': {'id': '5324', 'plateNumber': '闽NC6789'}, 'status': 51, 'displayStatus': 51, 'auditStatus': 0, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'otherAmountDtoList': None, 'deductionNotes': None, 'totalOtherAmount': None, 'paymentType': 3, 'activityNoteStatus': 0, 'activityOrderAuditPassNum': None, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': None, 'transactionMainEnterpriseId': None, 'transactionMainEnterpriseName': None, 'warehouseName': None, 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': None, 'settleUnitPriceIncludeTax': None, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-01 21:58:10', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-01 21:58:10', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': None, 'rank': 2, 'status': 0}, {'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': None, 'unitRefundSubsidy': None, 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663541511601917952', 'createTime': '2021-12-01 21:58:10', '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, 01 Dec 2021 13:58:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[{"orderId":"663538483129880576","orderItemId":"663538483209572352","auditRequestId":"663538563975090176","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"贵R67890","millSupplierName":"测试111","millDelieveryOrderId":"663538483129880576","categoryName":"花纸","settlePrice":23778.750000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663538492583841792","updateTime":null,"activityId":"660531609048584192","activityName":"Ceshi_factory--两次","activityStartTime":"2021-11-23 14:37:04","activityEndTime":"2021-11-24 14:37:04","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-12-01 21:46:27","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536526113771520","orderItemId":"663536526151520256","auditRequestId":"663536547727020032","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536526113771520","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536534674345984","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:38:26","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"663536355116191744","orderItemId":"663536355200077824","auditRequestId":"663536378411356160","userName":"赖勇兰","paperMillName":"Ceshi_factory","plateNumber":"京R76859","millSupplierName":"测试111","millDelieveryOrderId":"663536355116191744","categoryName":"花纸","settlePrice":16825.000000,"bizOwnerName":"张山","status":0,"isAdjusted":1,"weightNoteId":"663536364918280192","updateTime":null,"activityId":"660531287664234496","activityName":"Ceshi_factory--一次","activityStartTime":"2021-11-23 14:35:47","activityEndTime":"2021-11-24 14:35:47","activityPayType":3,"orderType":2,"financeRejectedTime":"2021-12-01 21:37:46","factoryId":"660158494883844096","factoryName":"88纸业","enterpriseId":"660158494724460544","enterpriseName":"重庆亨乐西餐食品有限公司"},{"orderId":"657573542388436992","orderItemId":"657573542421991424","auditRequestId":"657573577574453248","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"津Q67890","millSupplierName":"优一供应商","millDelieveryOrderId":"657573542388436992","categoryName":"灰卡","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573550353420288","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:43:44","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"657573124346351616","orderItemId":"657573124384100352","auditRequestId":"657573162095087616","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"657573124346351616","categoryName":"小白花","settlePrice":3015.800000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"657573133162778624","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-15 10:42:05","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656956934615863296","orderItemId":"656956934657806336","auditRequestId":"656956966731649024","userName":"赖勇兰","paperMillName":"格森纸业有限公司","plateNumber":"京GGG777","millSupplierName":"格森供应商","millDelieveryOrderId":"656956934615863296","categoryName":"白纸","settlePrice":20202.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656956942333382656","updateTime":null,"activityId":"649965536695947264","activityName":"格森--两次活动","activityStartTime":"2021-10-25 10:51:19","activityEndTime":"2021-10-31 10:51:19","activityPayType":1,"orderType":2,"financeRejectedTime":"2021-11-13 17:53:32","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950708419039232","orderItemId":"656950708460982272","auditRequestId":"656950742485176320","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R55555","millSupplierName":"优一供应商","millDelieveryOrderId":"656950708419039232","categoryName":"小白纸","settlePrice":4976.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950715729711104","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656950537316601856","orderItemId":"656950537350156288","auditRequestId":"656950573068849152","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656950537316601856","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656950545591963648","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:28:08","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656949952601264128","orderItemId":"656949952634818560","auditRequestId":"656949988013772800","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"贵R56789","millSupplierName":"优一供应商","millDelieveryOrderId":"656949952601264128","categoryName":"小白花","settlePrice":2996.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656949960146817024","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:25:48","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"},{"orderId":"656948968701431808","orderItemId":"656948968734986240","auditRequestId":"656949003442851840","userName":"赖勇兰","paperMillName":"优一纸业(西部)1111","plateNumber":"京R66666","millSupplierName":"优一供应商","millDelieveryOrderId":"656948968701431808","categoryName":"黄纸","settlePrice":3136.000000,"bizOwnerName":"郭腾彬","status":0,"isAdjusted":1,"weightNoteId":"656948976402173952","updateTime":null,"activityId":null,"activityName":null,"activityStartTime":null,"activityEndTime":null,"activityPayType":null,"orderType":1,"financeRejectedTime":"2021-11-13 17:21:54","factoryId":"630451084355309568","factoryName":"千鸟打包站111","enterpriseId":"630451084250451968","enterpriseName":"温州丰创城市环保服务有限公司"}],"total":750,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":75}}
${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': 750, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 75}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541511635472384
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestItemId}' not found.
Variable '${auditRequestItemId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
运用审核-一次付款活动
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=663541511635472384
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663541511635472384
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, 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=663541511635472384
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
代卖应付
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541511601917952
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663541511601917952
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541511601917952
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58:11 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"records":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${paymentOrderId}' not found.
Variable '${paymentOrderId}' not found.
代卖应收
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, 01 Dec 2021 13:58:12 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==","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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==', 'userId': '659450159519895552'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${respones.json()["data"]}
token
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==
Makes a variable available globally in all tests and suites.
${token}
${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg=='}
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg=="}'
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, 01 Dec 2021 13:58:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==","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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==
Makes a variable available globally in all tests and suites.
${gettoken}
${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}
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, 01 Dec 2021 13:58:12 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}
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, 01 Dec 2021 13:58:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"5324","scrapPaperOrderItemId":null,"plateNumber":"闽NC6789","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5323","scrapPaperOrderItemId":null,"plateNumber":"贵R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5322","scrapPaperOrderItemId":null,"plateNumber":"京R76859","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5319","scrapPaperOrderItemId":null,"plateNumber":"京R66666","driverName":null,"driverPhone":null,"packageNum":0},{"id":"5318","scrapPaperOrderItemId":null,"plateNumber":"贵R67890","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': '5324', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5319', 'scrapPaperOrderItemId': None, 'plateNumber': '京R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5318', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R67890', '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': '5324', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6666...
Evaluates the given expression in Python and returns the results.
random.sample(${carNumber},1)
random
${plateNumber_value}
${plateNumber_value} = [{'id': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}]
Logs the given message to the console.
\nvalue:${plateNumber_value}
Returns a value from the given ``dictionary`` based on the given ``key``.
${plateNumber_value[0]}
plateNumber
${plateNumber1}
${plateNumber1} = 贵R66666
Makes a variable available globally in all tests and suites.
${plateNumber1}
${plateNumber1} = 贵R66666
Create Session: create a HTTP session to a server
ZTBT
${url}
${headers}
Creating Session using : alias=ZTBT, url=http://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}
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, 01 Dec 2021 13:58:12 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-01","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg","enableSalesAgent":1,"proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":"12","cumulativeWeight":326.73,"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-01', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1637647859008.jpg', 'enableSalesAgent': 1, 'proxypaySurcharge': 0.02, 'foreignPaybackIntever': None, 'foreignPaybackIntervalString': '12', 'cumulativeWeight': 326.73, '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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}, 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}
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, 01 Dec 2021 13:58:12 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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw=='}, 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-01
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-01...
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/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==', '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-01", "carInfos":[ { "plateNumber":"\xe8\xb4\xb5R66666" } ] }'
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, 01 Dec 2021 13:58:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"orderId":"663541521915711488"}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663541521915711488'}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
orderId
${orderId}
${orderId} = 663541521915711488
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} = 663541521915711488
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, 01 Dec 2021 13:58:12 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, 01 Dec 2021 13:58: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":{"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=663541521915711488
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&pageSize=10&status=&orderId=663541521915711488
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521915711488
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"id":"4691","orderId":"663541521915711488","userName":"赖勇兰","userMobile":"18888888888","paperMillName":"Ceshi_factory","paperMillId":"660525241717624832","categoryName":"花纸","sellerReservationDate":"2021-12-01","orderItemNum":1,"carNoList":["贵R66666"],"status":0,"createTime":"2021-12-01 21:58:12","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': '4691', 'orderId': '663541521915711488', 'userName': '赖勇兰', 'userMobile': '18888888888', 'paperMillName': 'Ceshi_factory', 'paperMillId': '660525241717624832', 'categoryName': '花纸', 'sellerReservationDate': '2021-12-01', 'orderItemNum': 1, 'carNoList': ['贵R66666'], 'status': 0, 'createTime': '2021-12-01 21:58:12', '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} = 663541521915711488
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} = 4691
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
orderType
${orderType}
${orderType} = 2
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
carNoList
${carNoList}
${carNoList} = ['贵R66666']
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
paperMillName
${paperMillName}
${paperMillName} = Ceshi_factory
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps_data.json()["data"]["records"][0]}
sellerReservationDate
${sellerReservationDate}
${sellerReservationDate} = 2021-12-01
Evaluates the given expression in Python and returns the results.
random.choice(${carNoList})
random
${carList}
${carList} = 贵R66666
Logs the given message to the console.
\nvalue:${carList}
Fails if objects are unequal after converting them to strings.
${reps_data.json()["message"]}
successful
Makes a variable available globally in all tests and suites.
${orderId}
${orderId} = 663541521915711488
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} = 4691
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-01
Makes a variable available globally in all tests and suites.
${orderType}
${orderType} = 2
Makes a variable available globally in all tests and suites.
${carList}
${carList} = 贵R66666
Create Session: create a HTTP session to a server
ZTBT
http://api-ops-ztb-test.qniao.cn
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}
params=paperMillId=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
path_url=/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-merchant/660525241717624832?paperMillId=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"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-01
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":"663541521915711488","buyerReservationDate":"2021-12-01", "id":"4691","millDeliveryOrderId":"663541521915711488","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...
Logs the given message with the given level.
${data}
{"attention":"663541521915711488","buyerReservationDate":"2021-12-01", "id":"4691","millDeliveryOrderId":"663541521915711488","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663541521915711488"}
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":"663541521915711488","buyerReservationDate":"2021-12-01", "id":"4691","millDeliveryOrderId":"663541521915711488","millSupplierId":"660525241805705216","millSupplierName":"\xe6\xb5\x8b\xe8\xaf\x95111","proxySellerSettleType":0,"scrapeOrderId":"663541521915711488"}'
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, 01 Dec 2021 13:58:12 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":null}
${reps} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${reps.json()["message"]}
successful
预约送货
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/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=663541521915711488
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&pageNum=1&pageSize=10&status=51&orderId=663541521915711488
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521915711488
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":"663541521915711488","orderItemId":"663541521953460224","weightNoteId":null,"orderPlacerName":"赖勇兰","paperMillName":"Ceshi_factory","paperCategoryName":"花纸","deliveryTime":"2021-12-01","millSupplierName":"测试111","plateNumber":"贵R66666","operationReviewStatus":51,"createTime":"2021-12-01 21:58:12","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': '663541521915711488', 'orderItemId': '663541521953460224', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '2021-12-01', 'millSupplierName': '测试111', 'plateNumber': '贵R66666', 'operationReviewStatus': 51, 'createTime': '2021-12-01 21:58:12', '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': '663541521915711488', 'orderItemId': '663541521953460224', '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': '663541521915711488', 'orderItemId': '663541521953460224', '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} = 663541521953460224
Makes a variable available globally in all tests and suites.
${orderItemId}
${orderItemId} = 663541521953460224
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541521915711488?orderId=663541521915711488%20&orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488%20&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521915711488?orderId=663541521915711488%20&orderItemId=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541521915711488","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541521915711488","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541521953460224","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5325","plateNumber":"贵R66666"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-01 21:58:12","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:12","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":"663541521915711488","createTime":"2021-12-01 21:58:12","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/663541521953460224
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"orderId":"663541521915711488","orderItemId":"663541521953460224","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"贵R66666","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663541521915711488', 'orderItemId': '663541521953460224', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '贵R66666', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 贵R66666
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R66666
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/contract/get/detail-by-id
params=id=${contractId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
path_url=/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/contract/get/detail-by-id?id=663533697236078592
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"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=663541521953460224
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58:13 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '6b08add42d6bcf73abb935b2adf83525', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":["石基仓","江高仓","大观仓","钟落潭仓"]}
${reps} = <Response [200]>
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/663541521953460224
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"orderId":"663541521915711488","orderItemId":"663541521953460224","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"贵R66666","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663541521915711488', 'orderItemId': '663541521953460224', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '贵R66666', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 贵R66666
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R66666
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}
params=id=${paperMillId}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
path_url=/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}
body=None
GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/paperMill/get/paper-mill-category/660525241717624832?id=660525241717624832
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"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('E:/lyl/图片/16pic_6879381_b.jpg','rb')
${filepath}
Evaluating expression 'open('E:/lyl/图片/16pic_6879381_b.jpg','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/16pic_6879381_b.jpg'
Evaluating expression 'open('E:/lyl/图片/16pic_6879381_b.jpg','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/16pic_6879381_b.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-01
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=663541521953460224%20&plateNumber=%E8%B4%B5R66666%20&netWeight=30000&weighingDate=2021-12-01&orderType=3
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224%20&plateNumber=%E8%B4%B5R66666%20&netWeight=30000&weighingDate=2021-12-01&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=663541521953460224%20&plateNumber=%E8%B4%B5R66666%20&netWeight=30000&weighingDate=2021-12-01&orderType=3
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"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-01
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}
Variable '${pictures}' not found.
Variable '${pictures}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541521915711488","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541521915711488","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541521953460224","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5325","plateNumber":"贵R66666"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-01 21:58:12","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:12","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":"663541521915711488","createTime":"2021-12-01 21:58:12","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-01', 'paperMillDeliveryTime': '2021-12-01', 'remark': None, 'attenssion': '663541521915711488', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663541521915711488', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663541521953460224', 'adjustMoney': None, 'unitSurcharge': None, 'surcharge': None, 'unitPrice': 1.675, 'weightnoteInfo': None, 'logisticcsInfo': {'id': '5325', 'plateNumber': '贵R66666'}, 'status': 51, 'displayStatus': 51, 'auditStatus': 0, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'otherAmountDtoList': None, 'deductionNotes': None, 'totalOtherAmount': None, 'paymentType': 1, 'activityNoteStatus': 0, 'activityOrderAuditPassNum': 0, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': None, 'transactionMainEnterpriseId': None, 'transactionMainEnterpriseName': None, 'warehouseName': None, 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': None, 'settleUnitPriceIncludeTax': None, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-01 21:58:12', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-01 21:58:12', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': None, 'rank': 2, 'status': 0}, {'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': None, 'unitRefundSubsidy': None, 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663541521915711488', 'createTime': '2021-12-01 21:58:12', '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, 01 Dec 2021 13:58: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":"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":750,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":75}}
${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': 750, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 75}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541521953460224
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestItemId}' not found.
Variable '${auditRequestItemId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
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=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663541521915711488
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521915711488
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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"][0]}
status
${audit_status}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=&orderId=663541521915711488
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521915711488
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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"][0]}
status
${audit_status}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestItemId}' not found.
Variable '${auditRequestItemId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
运营审核-两次付款活动
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=663541521953460224
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, 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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditedTime
${auditedTime}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
代卖应付
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663541521915711488
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521915711488
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${paymentOrderId}' not found.
Variable '${paymentOrderId}' not found.
代卖应收
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&pageSize=10&orderType=2&status=51&weightNoteType=2&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":null,"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': None, 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
orderItemId
${orderItemId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541521915711488","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541521915711488","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541521953460224","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5325","plateNumber":"贵R66666"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-01 21:58:12","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:12","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":"663541521915711488","createTime":"2021-12-01 21:58:12","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.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} = 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} = None
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} = 1
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.02
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} = None
Makes a variable available globally in all tests and suites.
${paymentType}
${paymentType} = 1
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/663541521953460224
path_url=/recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"orderId":"663541521915711488","orderItemId":"663541521953460224","activityId":"660531609048584192","transactionMainEnterpriseId":"15","transactionMainEnterpriseName":"厦门千纸互联科技有限公司","warehouseName":null,"weightDay":null,"settleDay":null,"settleUtiPrice":1.675,"netWeight":null,"proxySellerSettleType":0,"activitySettleType":1,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"unitSurcharge":0.010,"surcharge":null,"remark":null,"deliveryImageUrls":null,"plateNumber":"贵R66666","settleUtiPriceIncludeTax":null,"settleUtiPriceIncludeTaxType":1,"isEntire":0}}
${reps} = <Response [200]>
Logs the given message with the given level.
${reps.json()}
{'code': 0, 'message': 'successful', 'data': {'orderId': '663541521915711488', 'orderItemId': '663541521953460224', 'activityId': '660531609048584192', 'transactionMainEnterpriseId': '15', 'transactionMainEnterpriseName': '厦门千纸互联科技有限公司', 'warehouseName': None, 'weightDay': None, 'settleDay': None, 'settleUtiPrice': 1.675, 'netWeight': None, 'proxySellerSettleType': 0, 'activitySettleType': 1, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'unitSurcharge': 0.01, 'surcharge': None, 'remark': None, 'deliveryImageUrls': None, 'plateNumber': '贵R66666', 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'isEntire': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
plateNumber
${plateNumber}
${plateNumber} = 贵R66666
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]}
settleUtiPrice
${settleUtiPrice}
${settleUtiPrice} = 1.675
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} = None
Makes a variable available globally in all tests and suites.
${plateNumber}
${plateNumber} = 贵R66666
Makes a variable available globally in all tests and suites.
${settleUtiPrice}
${settleUtiPrice} = 1.675
Makes a variable available globally in all tests and suites.
${settleUtiPriceIncludeTaxType}
${settleUtiPriceIncludeTaxType} = 1
Makes a variable available globally in all tests and suites.
${netWeight}
${netWeight} = 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/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=663541521953460224
path_url=/recycle-service/admin/contract/get/selectable-contract-list?orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"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}
Variable '${weightnoteId}' not found.
Variable '${weightnoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":["石基仓","江高仓","大观仓","钟落潭仓"]}
${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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":[{"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, 01 Dec 2021 13:58: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":{"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-01
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=663541521953460224&weightDay=2021-12-01
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541521953460224&weightDay=2021-12-01
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521953460224&weightDay=2021-12-01
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[{"price":1.650,"publicSubsidies":0.005,"paperCategoryId":"660529551931215872","priceDate":"2021-12-01 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-01 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-01
Evaluates the given expression in Python and returns the results.
open('E:/lyl/图片/21042217001449712.png','rb')
${filepath}
Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'
Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0
Sends a GET request on a previously created HTTP Session.
ZTBT
recycle-service/admin/customer-service/get/repeat/proxy-order
params=orderItemId=${orderItemId}&plateNumber=${carList}&settleWeight=13550&weighingDate=${datatime}&orderType=${orderType}
${reps}
GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224&plateNumber=%E8%B4%B5R66666&settleWeight=13550&weighingDate=2021-12-01&orderType=2
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224&plateNumber=%E8%B4%B5R66666&settleWeight=13550&weighingDate=2021-12-01&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=663541521953460224&plateNumber=%E8%B4%B5R66666&settleWeight=13550&weighingDate=2021-12-01&orderType=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"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-01
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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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/663541521915711488?orderId=663541521915711488&orderItemId=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":{"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-01","paperMillDeliveryTime":"2021-12-01","remark":null,"attenssion":"663541521915711488","paperMillId":"660525241717624832","paperMillName":"Ceshi_factory","paperMillAddress":"山西省大同市大同县","millSupplierId":"660525241805705216","paperMillSupplierName":"测试111","millDeliveryOrderId":"663541521915711488","paperCategoryId":"660529551931215872","paperCategoryName":"花纸","paperCategoryPrice":1.6750000,"proxySellerSettleType":0,"orderItemNum":1,"orderItems":[{"id":"663541521953460224","adjustMoney":null,"unitSurcharge":null,"surcharge":null,"unitPrice":1.6750000,"weightnoteInfo":null,"logisticcsInfo":{"id":"5325","plateNumber":"贵R66666"},"status":51,"displayStatus":51,"auditStatus":0,"preTotalMoney":null,"prepayMoney":null,"preSettleMoney":null,"settlePrice":null,"finalPayMoney":null,"otherAmountDtoList":null,"deductionNotes":null,"totalOtherAmount":null,"paymentType":1,"activityNoteStatus":0,"activityOrderAuditPassNum":0,"unSettleMoney":null,"deliveryImageUrl":null,"weightNoteImageUrl":null,"transactionMainEnterpriseId":null,"transactionMainEnterpriseName":null,"warehouseName":null,"publicSubsidies":null,"isSubsidyIncludeTax":0,"unitPriceIncludeTax":null,"publicSubsidiesIncludeTax":null,"settleUnitPrice":null,"settleUnitPriceIncludeTax":null,"operationsAuditNotPassedRemark":null,"promptMessage":null,"orderItemTimeList":[{"description":"订单已提交,待预约","time":"2021-12-01 21:58:12","rank":0,"status":1},{"description":"预约成功,待送货","time":"2021-12-01 21:58:12","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":"663541521915711488","createTime":"2021-12-01 21:58:12","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-01', 'paperMillDeliveryTime': '2021-12-01', 'remark': None, 'attenssion': '663541521915711488', 'paperMillId': '660525241717624832', 'paperMillName': 'Ceshi_factory', 'paperMillAddress': '山西省大同市大同县', 'millSupplierId': '660525241805705216', 'paperMillSupplierName': '测试111', 'millDeliveryOrderId': '663541521915711488', 'paperCategoryId': '660529551931215872', 'paperCategoryName': '花纸', 'paperCategoryPrice': 1.675, 'proxySellerSettleType': 0, 'orderItemNum': 1, 'orderItems': [{'id': '663541521953460224', 'adjustMoney': None, 'unitSurcharge': None, 'surcharge': None, 'unitPrice': 1.675, 'weightnoteInfo': None, 'logisticcsInfo': {'id': '5325', 'plateNumber': '贵R66666'}, 'status': 51, 'displayStatus': 51, 'auditStatus': 0, 'preTotalMoney': None, 'prepayMoney': None, 'preSettleMoney': None, 'settlePrice': None, 'finalPayMoney': None, 'otherAmountDtoList': None, 'deductionNotes': None, 'totalOtherAmount': None, 'paymentType': 1, 'activityNoteStatus': 0, 'activityOrderAuditPassNum': 0, 'unSettleMoney': None, 'deliveryImageUrl': None, 'weightNoteImageUrl': None, 'transactionMainEnterpriseId': None, 'transactionMainEnterpriseName': None, 'warehouseName': None, 'publicSubsidies': None, 'isSubsidyIncludeTax': 0, 'unitPriceIncludeTax': None, 'publicSubsidiesIncludeTax': None, 'settleUnitPrice': None, 'settleUnitPriceIncludeTax': None, 'operationsAuditNotPassedRemark': None, 'promptMessage': None, 'orderItemTimeList': [{'description': '订单已提交,待预约', 'time': '2021-12-01 21:58:12', 'rank': 0, 'status': 1}, {'description': '预约成功,待送货', 'time': '2021-12-01 21:58:12', 'rank': 1, 'status': 1}, {'description': '已收货,待审核', 'time': None, 'rank': 2, 'status': 0}, {'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': None, 'unitRefundSubsidy': None, 'settleUtiPriceIncludeTax': None, 'settleUtiPriceIncludeTaxType': 1, 'collectionCharges': 0.013, 'advanceFund': 0, 'receivableAdjustMoney': None, 'isSubsidyAndDeductIncludeTax': 0, 'settleRules': 0, 'settleUtiPriceIncludeTaxRules': 0, 'contractId': '663533697236078592', 'contractType': 2}], 'orderId': '663541521915711488', 'createTime': '2021-12-01 21:58:12', '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, 01 Dec 2021 13:58: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":"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":750,"size":10,"current":1,"orders":[{"column":"ar.create_time","asc":false}],"searchCount":true,"pages":75}}
${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': 750, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 75}}
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541521953460224
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&pageSize=10&status=0&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":[{"column":"ar.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': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
auditRequestId
${auditRequestId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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-01
Sends a POST request on a previously created HTTP Session.
ZTBT
recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}
${reps}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestItemId}' not found.
Variable '${auditRequestItemId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
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=663541521953460224
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&pageSize=10&status=&orderId=&orderItemId=663541521953460224
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, 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=663541521953460224
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":null,"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': None, '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
${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}
Variable '${weightNoteId}' not found.
Variable '${weightNoteId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, 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=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&pageSize=10&orderId=663541521915711488
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'X-APP-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=663541521915711488
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Wed, 01 Dec 2021 13:58: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":[],"total":0,"size":10,"current":1,"orders":null,"searchCount":true,"pages":0}}
${reps} = <Response [200]>
Returns a value from the given ``dictionary`` based on the given ``key``.
${reps.json()["data"]["records"][0]}
id
${paymentOrderId}
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'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}
Variable '${auditRequestId}' not found.
Variable '${auditRequestId}' not found.
Create Session: create a HTTP session to a server
ZTBT
${URL}
${header}
Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.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}
Variable '${paymentOrderId}' not found.
Variable '${paymentOrderId}' not found.
代卖应收
Critical Tests
All Tests
Ztb-Trading-Rf-Api
Ztb-Trading-Rf-Api.000-Regularorder
Ztb-Trading-Rf-Api.000-Regularorder.1-Client(Test)
Ztb-Trading-Rf-Api.000-Regularorder.1-Client(Test).1-APPlogin(Test)
Ztb-Trading-Rf-Api.000-Regularorder.1-Client(Test).2.1-CreateRegularorder
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test)
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).1-WebLogin
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).1-WebLogin.Weblogin
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management.1-Appointment
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management.2.1-RegularUpload-weightnote
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management.3.1-Operation audit
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).3-Withdrawal application
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
Ztb-Trading-Rf-Api.001-Activeorder
Ztb-Trading-Rf-Api.001-Activeorder.1-Client(Test)
Ztb-Trading-Rf-Api.001-Activeorder.1-Client(Test).1-APPlogin(Test)
Ztb-Trading-Rf-Api.001-Activeorder.1-Client(Test).2.2createActiveorder-1
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test)
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).1-WebLogin
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).1-WebLogin.Weblogin
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management.2.2-RegularUpload-weightnote-1
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management.3.2-Operation audit
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).3-Withdrawal application
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
Ztb-Trading-Rf-Api.002-Activeorder
Ztb-Trading-Rf-Api.002-Activeorder.1-Client(Test)
Ztb-Trading-Rf-Api.002-Activeorder.1-Client(Test).1-APPlogin(Test)
Ztb-Trading-Rf-Api.002-Activeorder.1-Client(Test).2.3createActiveorder-2
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test)
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).1-WebLogin
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).1-WebLogin.Weblogin
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management.2.3-ActiveUpload-deliverynote
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management.3.3-Operation audit
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).3-Withdrawal application
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.2.3-ActiveUpload-weightnote
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.3.3--Operation audit
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.4.3-Financial audit
Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.5.3-Sales Receivable