纸通宝交易版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13684 lines
934 KiB

<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20211201 21:58:05.297" rpa="false">
<suite id="s1" name="Ztb-Trading-Rf-Api" source="/root/ztb-trading-rf-api">
<suite id="s1-s1" name="000-Regularorder" source="/root/ztb-trading-rf-api/000-Regularorder">
<suite id="s1-s1-s1" name="1-Client(Test)" source="/root/ztb-trading-rf-api/000-Regularorder/1-Client(Test)">
<suite id="s1-s1-s1-s1" name="1-APPlogin(Test)" source="/root/ztb-trading-rf-api/000-Regularorder/1-Client(Test)/1-APPlogin(Test).robot">
<test id="s1-s1-s1-s1-t1" name="userlogin">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211201 21:58:05.424" endtime="20211201 21:58:05.424"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>https://api-client-uec-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.425" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:05.424" endtime="20211201 21:58:05.425"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>account=18888888888</arg>
<arg>captcha=888888</arg>
<arg>accountType=2</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:05.427" level="INFO">${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}</msg>
<status status="PASS" starttime="20211201 21:58:05.425" endtime="20211201 21:58:05.427"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>18888888888</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211201 21:58:05.427" level="INFO">${account} = 18888888888</msg>
<status status="PASS" starttime="20211201 21:58:05.427" endtime="20211201 21:58:05.427"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>json=${data}</arg>
</arguments>
<assign>
<var>${respones}</var>
</assign>
<msg timestamp="20211201 21:58:05.527" level="INFO">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"}'
</msg>
<msg timestamp="20211201 21:58:05.527" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:05.527" level="INFO">${respones} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:05.427" endtime="20211201 21:58:05.527"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${respones.status_code}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.528" level="INFO">200</msg>
<status status="PASS" starttime="20211201 21:58:05.527" endtime="20211201 21:58:05.528"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${respones.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.529" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==', 'userId': '659450159519895552'}}</msg>
<status status="PASS" starttime="20211201 21:58:05.528" endtime="20211201 21:58:05.529"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${respones.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${token}</var>
</assign>
<msg timestamp="20211201 21:58:05.529" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==</msg>
<status status="PASS" starttime="20211201 21:58:05.529" endtime="20211201 21:58:05.529"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${token}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.530" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==</msg>
<status status="PASS" starttime="20211201 21:58:05.529" endtime="20211201 21:58:05.530"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${account}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.530" level="INFO">${account} = 18888888888</msg>
<status status="PASS" starttime="20211201 21:58:05.530" endtime="20211201 21:58:05.530"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:05.423" endtime="20211201 21:58:05.531" critical="yes"></status>
</test>
<test id="s1-s1-s1-s1-t2" name="login-token">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.532" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:05.531" endtime="20211201 21:58:05.532"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>loginToken=${token}</arg>
</arguments>
<assign>
<var>${token1}</var>
</assign>
<msg timestamp="20211201 21:58:05.533" level="INFO">${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg=='}</msg>
<status status="PASS" starttime="20211201 21:58:05.532" endtime="20211201 21:58:05.533"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>json=${token1}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:05.726" level="INFO">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=="}'
</msg>
<msg timestamp="20211201 21:58:05.726" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:05.726" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:05.533" endtime="20211201 21:58:05.726"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20211201 21:58:05.727" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==</msg>
<status status="PASS" starttime="20211201 21:58:05.726" endtime="20211201 21:58:05.727"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userId}</var>
</assign>
<msg timestamp="20211201 21:58:05.728" level="INFO">${userId} = 659450159519895552</msg>
<status status="PASS" starttime="20211201 21:58:05.727" endtime="20211201 21:58:05.728"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()["data"]["token"]}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.728" level="INFO">d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==</msg>
<status status="PASS" starttime="20211201 21:58:05.728" endtime="20211201 21:58:05.728"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.729" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEvWajCgtQM2MuaYHb0KmABg==</msg>
<status status="PASS" starttime="20211201 21:58:05.729" endtime="20211201 21:58:05.729"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${userId}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.729" level="INFO">${userId} = 659450159519895552</msg>
<status status="PASS" starttime="20211201 21:58:05.729" endtime="20211201 21:58:05.729"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:05.531" endtime="20211201 21:58:05.730" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:05.327" endtime="20211201 21:58:05.730"></status>
</suite>
<suite id="s1-s1-s1-s2" name="2.1-CreateRegularorder" source="/root/ztb-trading-rf-api/000-Regularorder/1-Client(Test)/2.1-CreateRegularorder.robot">
<test id="s1-s1-s1-s2-t1" name="get_paper-mill-city">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:05.749" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:05.748" endtime="20211201 21:58:05.749"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/get/paper-mill-city</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:06.081" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:06.081" level="INFO">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":"东莞市"}]}
</msg>
<msg timestamp="20211201 21:58:06.081" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:05.749" endtime="20211201 21:58:06.081"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:06.083" level="INFO">${data} = [{'cityId': '430100', 'cityName': '长沙市'}, {'cityId': '350200', 'cityName': '厦门市'}, {'cityId': '520100', 'cityName': '贵阳市'}, {'cityId': '150200', 'cityName': '包头市'}, {'cityId': '440800', 'cityName': '湛...</msg>
<status status="PASS" starttime="20211201 21:58:06.082" endtime="20211201 21:58:06.083"></status>
</kw>
<kw name="${items} IN [ @{data} ]" type="for">
<kw name="${items} = {'cityId': '430100', 'cityName': '长沙市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.084" level="INFO">${cityName} = 长沙市</msg>
<status status="PASS" starttime="20211201 21:58:06.083" endtime="20211201 21:58:06.084"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.085" level="INFO">${cityId} = 430100</msg>
<status status="PASS" starttime="20211201 21:58:06.084" endtime="20211201 21:58:06.085"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.085" endtime="20211201 21:58:06.085"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.083" endtime="20211201 21:58:06.085"></status>
</kw>
<kw name="${items} = {'cityId': '350200', 'cityName': '厦门市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.086" level="INFO">${cityName} = 厦门市</msg>
<status status="PASS" starttime="20211201 21:58:06.086" endtime="20211201 21:58:06.086"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.086" level="INFO">${cityId} = 350200</msg>
<status status="PASS" starttime="20211201 21:58:06.086" endtime="20211201 21:58:06.086"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.087" endtime="20211201 21:58:06.087"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.085" endtime="20211201 21:58:06.087"></status>
</kw>
<kw name="${items} = {'cityId': '520100', 'cityName': '贵阳市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.088" level="INFO">${cityName} = 贵阳市</msg>
<status status="PASS" starttime="20211201 21:58:06.088" endtime="20211201 21:58:06.088"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.089" level="INFO">${cityId} = 520100</msg>
<status status="PASS" starttime="20211201 21:58:06.089" endtime="20211201 21:58:06.089"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.089" endtime="20211201 21:58:06.089"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.088" endtime="20211201 21:58:06.089"></status>
</kw>
<kw name="${items} = {'cityId': '150200', 'cityName': '包头市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.090" level="INFO">${cityName} = 包头市</msg>
<status status="PASS" starttime="20211201 21:58:06.090" endtime="20211201 21:58:06.090"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.090" level="INFO">${cityId} = 150200</msg>
<status status="PASS" starttime="20211201 21:58:06.090" endtime="20211201 21:58:06.090"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.090" endtime="20211201 21:58:06.091"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.089" endtime="20211201 21:58:06.091"></status>
</kw>
<kw name="${items} = {'cityId': '440800', 'cityName': '湛江市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.091" level="INFO">${cityName} = 湛江市</msg>
<status status="PASS" starttime="20211201 21:58:06.091" endtime="20211201 21:58:06.091"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.092" level="INFO">${cityId} = 440800</msg>
<status status="PASS" starttime="20211201 21:58:06.091" endtime="20211201 21:58:06.092"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.092" endtime="20211201 21:58:06.092"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.091" endtime="20211201 21:58:06.092"></status>
</kw>
<kw name="${items} = {'cityId': '110100', 'cityName': '北京市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.093" level="INFO">${cityName} = 北京市</msg>
<status status="PASS" starttime="20211201 21:58:06.092" endtime="20211201 21:58:06.093"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.093" level="INFO">${cityId} = 110100</msg>
<status status="PASS" starttime="20211201 21:58:06.093" endtime="20211201 21:58:06.093"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.093" endtime="20211201 21:58:06.093"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.092" endtime="20211201 21:58:06.093"></status>
</kw>
<kw name="${items} = {'cityId': '210300', 'cityName': '鞍山市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.094" level="INFO">${cityName} = 鞍山市</msg>
<status status="PASS" starttime="20211201 21:58:06.094" endtime="20211201 21:58:06.094"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.094" level="INFO">${cityId} = 210300</msg>
<status status="PASS" starttime="20211201 21:58:06.094" endtime="20211201 21:58:06.094"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.094" endtime="20211201 21:58:06.095"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.093" endtime="20211201 21:58:06.095"></status>
</kw>
<kw name="${items} = {'cityId': '130800', 'cityName': '承德市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.095" level="INFO">${cityName} = 承德市</msg>
<status status="PASS" starttime="20211201 21:58:06.095" endtime="20211201 21:58:06.095"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.096" level="INFO">${cityId} = 130800</msg>
<status status="PASS" starttime="20211201 21:58:06.095" endtime="20211201 21:58:06.096"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.096" endtime="20211201 21:58:06.096"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.095" endtime="20211201 21:58:06.096"></status>
</kw>
<kw name="${items} = {'cityId': '450100', 'cityName': '南宁市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.097" level="INFO">${cityName} = 南宁市</msg>
<status status="PASS" starttime="20211201 21:58:06.096" endtime="20211201 21:58:06.097"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.097" level="INFO">${cityId} = 450100</msg>
<status status="PASS" starttime="20211201 21:58:06.097" endtime="20211201 21:58:06.097"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.097" endtime="20211201 21:58:06.097"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.096" endtime="20211201 21:58:06.097"></status>
</kw>
<kw name="${items} = {'cityId': '232700', 'cityName': '大兴安岭地区'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.098" level="INFO">${cityName} = 大兴安岭地区</msg>
<status status="PASS" starttime="20211201 21:58:06.098" endtime="20211201 21:58:06.098"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.098" level="INFO">${cityId} = 232700</msg>
<status status="PASS" starttime="20211201 21:58:06.098" endtime="20211201 21:58:06.098"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.098" endtime="20211201 21:58:06.099"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.097" endtime="20211201 21:58:06.099"></status>
</kw>
<kw name="${items} = {'cityId': '360200', 'cityName': '景德镇市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.099" level="INFO">${cityName} = 景德镇市</msg>
<status status="PASS" starttime="20211201 21:58:06.099" endtime="20211201 21:58:06.099"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.099" level="INFO">${cityId} = 360200</msg>
<status status="PASS" starttime="20211201 21:58:06.099" endtime="20211201 21:58:06.099"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.100" endtime="20211201 21:58:06.100"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.099" endtime="20211201 21:58:06.100"></status>
</kw>
<kw name="${items} = {'cityId': '320400', 'cityName': '常州市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.100" level="INFO">${cityName} = 常州市</msg>
<status status="PASS" starttime="20211201 21:58:06.100" endtime="20211201 21:58:06.101"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.101" level="INFO">${cityId} = 320400</msg>
<status status="PASS" starttime="20211201 21:58:06.101" endtime="20211201 21:58:06.101"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.101" endtime="20211201 21:58:06.101"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.100" endtime="20211201 21:58:06.101"></status>
</kw>
<kw name="${items} = {'cityId': '440900', 'cityName': '茂名市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.102" level="INFO">${cityName} = 茂名市</msg>
<status status="PASS" starttime="20211201 21:58:06.101" endtime="20211201 21:58:06.102"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.102" level="INFO">${cityId} = 440900</msg>
<status status="PASS" starttime="20211201 21:58:06.102" endtime="20211201 21:58:06.102"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.102" endtime="20211201 21:58:06.103"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.101" endtime="20211201 21:58:06.103"></status>
</kw>
<kw name="${items} = {'cityId': '140200', 'cityName': '大同市'}" type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityName</arg>
</arguments>
<assign>
<var>${cityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.103" level="INFO">${cityName} = 大同市</msg>
<status status="PASS" starttime="20211201 21:58:06.103" endtime="20211201 21:58:06.103"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>cityId</arg>
</arguments>
<assign>
<var>${cityId}</var>
</assign>
<msg timestamp="20211201 21:58:06.103" level="INFO">${cityId} = 140200</msg>
<status status="PASS" starttime="20211201 21:58:06.103" endtime="20211201 21:58:06.103"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${cityName}'=='大同市'</arg>
</arguments>
<msg timestamp="20211201 21:58:06.104" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:06.104" endtime="20211201 21:58:06.104"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.103" endtime="20211201 21:58:06.104"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.083" endtime="20211201 21:58:06.104"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${cityId}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.105" level="INFO">${cityId} = 140200</msg>
<status status="PASS" starttime="20211201 21:58:06.104" endtime="20211201 21:58:06.105"></status>
</kw>
<kw name="Run Keyword If Test Failed" library="BuiltIn" type="teardown">
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<arguments>
<arg>Fatal Error</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.105" endtime="20211201 21:58:06.105"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:05.747" endtime="20211201 21:58:06.105" critical="yes"></status>
</test>
<test id="s1-s1-s1-s2-t2" name="get-factorylist">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>factorylist</arg>
<arg>http://api-client-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.106" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:06.106" endtime="20211201 21:58:06.107"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>factorylist</arg>
<arg>recycle-service/get/paper-mill-paper-category-price-list</arg>
<arg>params=cityId=${cityId}&amp;enableSalesAgent=1&amp;pageNum=1&amp;pageSize=20&amp;listType=0</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:06.284" level="INFO">GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list?cityId=140200&amp;enableSalesAgent=1&amp;pageNum=1&amp;pageSize=20&amp;listType=0
path_url=/recycle-service/get/paper-mill-paper-category-price-list?cityId=140200&amp;enableSalesAgent=1&amp;pageNum=1&amp;pageSize=20&amp;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
</msg>
<msg timestamp="20211201 21:58:06.284" level="INFO">GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list?cityId=140200&amp;enableSalesAgent=1&amp;pageNum=1&amp;pageSize=20&amp;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}}
</msg>
<msg timestamp="20211201 21:58:06.284" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.107" endtime="20211201 21:58:06.285"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.285" endtime="20211201 21:58:06.286"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:06.286" level="INFO">${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.65, 'floatin...</msg>
<status status="PASS" starttime="20211201 21:58:06.286" endtime="20211201 21:58:06.286"></status>
</kw>
<kw name="${item} IN [ @{records} ]" type="for">
<kw name="${item} = {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.65, 'floating..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:06.287" level="INFO">${name} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:06.287" endtime="20211201 21:58:06.287"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperCategoryList</arg>
</arguments>
<assign>
<var>${paperCategoryList}</var>
</assign>
<msg timestamp="20211201 21:58:06.288" level="INFO">${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.65, 'floatingPrice': 0.0, 'publicSubsidies': 0.005, 'allowOrder': None}, {'categoryId': '66153696...</msg>
<status status="PASS" starttime="20211201 21:58:06.287" endtime="20211201 21:58:06.288"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>cumulativeWeight</arg>
</arguments>
<assign>
<var>${cumulativeWeight}</var>
</assign>
<msg timestamp="20211201 21:58:06.288" level="INFO">${cumulativeWeight} = 326.73</msg>
<status status="PASS" starttime="20211201 21:58:06.288" endtime="20211201 21:58:06.288"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:06.289" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:06.288" endtime="20211201 21:58:06.289"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>locProvinceName</arg>
</arguments>
<assign>
<var>${locProvinceName}</var>
</assign>
<msg timestamp="20211201 21:58:06.289" level="INFO">${locProvinceName} = 山西省</msg>
<status status="PASS" starttime="20211201 21:58:06.289" endtime="20211201 21:58:06.289"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>locCityName</arg>
</arguments>
<assign>
<var>${locCityName}</var>
</assign>
<msg timestamp="20211201 21:58:06.290" level="INFO">${locCityName} = 大同市</msg>
<status status="PASS" starttime="20211201 21:58:06.290" endtime="20211201 21:58:06.290"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>locDistrictName</arg>
</arguments>
<assign>
<var>${locDistrictName}</var>
</assign>
<msg timestamp="20211201 21:58:06.290" level="INFO">${locDistrictName} = 大同县</msg>
<status status="PASS" starttime="20211201 21:58:06.290" endtime="20211201 21:58:06.290"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${name}'=='Ceshi_factory'</arg>
</arguments>
<msg timestamp="20211201 21:58:06.291" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:06.291" endtime="20211201 21:58:06.291"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.287" endtime="20211201 21:58:06.291"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.287" endtime="20211201 21:58:06.291"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${paperCategoryList})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${value}</var>
</assign>
<msg timestamp="20211201 21:58:06.292" level="INFO">${value} = {'categoryId': '661536965862232064', 'categoryName': '小白纸', 'yesterdayUnitPrice': None, 'unitPrice': 2.2, 'floatingPrice': 0.0, 'publicSubsidies': None, 'allowOrder': None}</msg>
<status status="PASS" starttime="20211201 21:58:06.292" endtime="20211201 21:58:06.292"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.292" endtime="20211201 21:58:06.293"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>categoryId</arg>
</arguments>
<assign>
<var>${categoryid}</var>
</assign>
<msg timestamp="20211201 21:58:06.293" level="INFO">${categoryid} = 661536965862232064</msg>
<status status="PASS" starttime="20211201 21:58:06.293" endtime="20211201 21:58:06.293"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>categoryName</arg>
</arguments>
<assign>
<var>${categoryName}</var>
</assign>
<msg timestamp="20211201 21:58:06.294" level="INFO">${categoryName} = 小白纸</msg>
<status status="PASS" starttime="20211201 21:58:06.293" endtime="20211201 21:58:06.294"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>unitPrice</arg>
</arguments>
<assign>
<var>${unitPrice}</var>
</assign>
<msg timestamp="20211201 21:58:06.294" level="INFO">${unitPrice} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:06.294" endtime="20211201 21:58:06.294"></status>
</kw>
<kw name="Catenate" library="BuiltIn">
<doc>Catenates the given items together and returns the resulted string.</doc>
<arguments>
<arg>${locProvinceName}</arg>
<arg>${locCityName}</arg>
<arg>${locDistrictName}</arg>
</arguments>
<assign>
<var>${paperMillAddress}</var>
</assign>
<msg timestamp="20211201 21:58:06.295" level="INFO">${paperMillAddress} = 山西省 大同市 大同县</msg>
<status status="PASS" starttime="20211201 21:58:06.294" endtime="20211201 21:58:06.295"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${categoryid}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.295" level="INFO">${categoryid} = 661536965862232064</msg>
<status status="PASS" starttime="20211201 21:58:06.295" endtime="20211201 21:58:06.295"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.296" level="INFO">${unitPrice} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:06.295" endtime="20211201 21:58:06.296"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.297" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:06.296" endtime="20211201 21:58:06.297"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillAddress}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.297" level="INFO">${paperMillAddress} = 山西省 大同市 大同县</msg>
<status status="PASS" starttime="20211201 21:58:06.297" endtime="20211201 21:58:06.297"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${categoryName}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.298" level="INFO">${categoryName} = 小白纸</msg>
<status status="PASS" starttime="20211201 21:58:06.297" endtime="20211201 21:58:06.298"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${name}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.298" level="INFO">${name} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:06.298" endtime="20211201 21:58:06.299"></status>
</kw>
<kw name="Run Keyword If Test Failed" library="BuiltIn" type="teardown">
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<arguments>
<arg>Fatal Error</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.299" endtime="20211201 21:58:06.299"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.105" endtime="20211201 21:58:06.299" critical="yes"></status>
</test>
<test id="s1-s1-s1-s2-t3" name="get-carinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>get-carinfo</arg>
<arg>http://api-client-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.301" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:06.300" endtime="20211201 21:58:06.301"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>get-carinfo</arg>
<arg>recycle-service/proxy-sell/get/his-car-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:06.336" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:06.336" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:06.337" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.301" endtime="20211201 21:58:06.337"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.338" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:06.337" endtime="20211201 21:58:06.338"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${carNumber}</var>
</assign>
<msg timestamp="20211201 21:58:06.338" level="INFO">${carNumber} = [{'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R76859', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5321', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6666...</msg>
<status status="PASS" starttime="20211201 21:58:06.338" endtime="20211201 21:58:06.338"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${carNumber})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${plateNumber1}</var>
</assign>
<msg timestamp="20211201 21:58:06.339" level="INFO">${plateNumber1} = {'id': '5321', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}</msg>
<status status="PASS" starttime="20211201 21:58:06.339" endtime="20211201 21:58:06.339"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${plateNumber1}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.339" endtime="20211201 21:58:06.340"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${plateNumber1}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber}</var>
</assign>
<msg timestamp="20211201 21:58:06.340" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:06.340" endtime="20211201 21:58:06.340"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.341" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:06.340" endtime="20211201 21:58:06.341"></status>
</kw>
<kw name="Run Keyword If Test Failed" library="BuiltIn" type="teardown">
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<arguments>
<arg>Fatal Error</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.341" endtime="20211201 21:58:06.341"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.300" endtime="20211201 21:58:06.341" critical="yes"></status>
</test>
<test id="s1-s1-s1-s2-t4" name="createorder">
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:06.343" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:06.342" endtime="20211201 21:58:06.343"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${datatime}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.343" level="INFO">2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:06.343" endtime="20211201 21:58:06.343"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"paperCategoryId":"${categoryid}" ,"unitPrice":${unitPrice},"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"${datatime}","carInfos":[{"plateNumber":"${plateNumber}"}]}</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:06.344" level="INFO">${data} = {"paperCategoryId":"661536965862232064" ,"unitPrice":2.2,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-01","carInfos":[{"plateNumber":"贵R66666"}]}</msg>
<status status="PASS" starttime="20211201 21:58:06.343" endtime="20211201 21:58:06.344"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.344" level="INFO">{"paperCategoryId":"661536965862232064" ,"unitPrice":2.2,"totalEstimatedWeight":30000,"customerName":"赖勇兰","deliveryTime":"2021-12-01","carInfos":[{"plateNumber":"贵R66666"}]}</msg>
<status status="PASS" starttime="20211201 21:58:06.344" endtime="20211201 21:58:06.345"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>createorder</arg>
<arg>http://api-client-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.345" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:06.345" endtime="20211201 21:58:06.345"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>createorder</arg>
<arg>recycle-service/proxy-sell/create/order</arg>
<arg>${data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:06.722" level="INFO">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"}]}'
</msg>
<msg timestamp="20211201 21:58:06.722" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:06.723" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.346" endtime="20211201 21:58:06.723"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${orderId}</var>
</assign>
<msg timestamp="20211201 21:58:06.724" level="INFO">${orderId} = 663541497341284352</msg>
<status status="PASS" starttime="20211201 21:58:06.723" endtime="20211201 21:58:06.724"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.724" level="INFO">{'code': 0, 'message': 'successful', 'data': {'orderId': '663541497341284352'}}</msg>
<status status="PASS" starttime="20211201 21:58:06.724" endtime="20211201 21:58:06.724"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.725" endtime="20211201 21:58:06.725"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${datatime}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.726" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:06.725" endtime="20211201 21:58:06.726"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderId}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.726" level="INFO">${orderId} = 663541497341284352</msg>
<status status="PASS" starttime="20211201 21:58:06.726" endtime="20211201 21:58:06.726"></status>
</kw>
<kw name="Run Keyword If Test Failed" library="BuiltIn" type="teardown">
<doc>Runs the given keyword with the given arguments, if the test failed.</doc>
<arguments>
<arg>Fatal Error</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.727" endtime="20211201 21:58:06.727"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.342" endtime="20211201 21:58:06.727" critical="yes"></status>
</test>
<doc>创建常规订单</doc>
<status status="PASS" starttime="20211201 21:58:05.731" endtime="20211201 21:58:06.728"></status>
</suite>
<status status="PASS" starttime="20211201 21:58:05.325" endtime="20211201 21:58:06.730"></status>
</suite>
<suite id="s1-s1-s2" name="2-Background system(Test)" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)">
<suite id="s1-s1-s2-s1" name="1-WebLogin" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/1-WebLogin">
<suite id="s1-s1-s2-s1-s1" name="Weblogin" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/1-WebLogin/weblogin.robot">
<test id="s1-s1-s2-s1-s1-t1" name="pwlogin">
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/x-www-form-urlencoded</arg>
<arg>X-APP-ID=470236309865238555</arg>
</arguments>
<assign>
<var>${header}</var>
</assign>
<msg timestamp="20211201 21:58:06.741" level="INFO">${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}</msg>
<status status="PASS" starttime="20211201 21:58:06.740" endtime="20211201 21:58:06.741"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.741" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:06.741" endtime="20211201 21:58:06.742"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>username=laiyonglan@qniao.cn</arg>
<arg>password=qn123456</arg>
</arguments>
<assign>
<var>&amp;{data}</var>
</assign>
<msg timestamp="20211201 21:58:06.742" level="INFO">&amp;{data} = { username=laiyonglan@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20211201 21:58:06.742" endtime="20211201 21:58:06.742"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.743" level="INFO">{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}</msg>
<status status="PASS" starttime="20211201 21:58:06.742" endtime="20211201 21:58:06.743"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/login</arg>
<arg>data=${data}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:06.807" level="INFO">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&amp;password=qn123456
</msg>
<msg timestamp="20211201 21:58:06.807" level="INFO">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":"登陆成功"}
</msg>
<msg timestamp="20211201 21:58:06.808" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.743" endtime="20211201 21:58:06.808"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.808" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20211201 21:58:06.808" endtime="20211201 21:58:06.809"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>Token 6b08add42d6bcf73abb935b2adf83525</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20211201 21:58:06.809" level="INFO">${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525</msg>
<status status="PASS" starttime="20211201 21:58:06.809" endtime="20211201 21:58:06.809"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>登陆成功</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.809" endtime="20211201 21:58:06.810"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.810" level="INFO">${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525</msg>
<status status="PASS" starttime="20211201 21:58:06.810" endtime="20211201 21:58:06.810"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.740" endtime="20211201 21:58:06.810" critical="yes"></status>
</test>
<test id="s1-s1-s2-s1-s1-t2" name="login-info">
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>X-APP-ID=470236309865238555</arg>
<arg>Authorization=Token 6b08add42d6bcf73abb935b2adf83525</arg>
</arguments>
<assign>
<var>${header}</var>
</assign>
<msg timestamp="20211201 21:58:06.811" level="INFO">${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20211201 21:58:06.811" endtime="20211201 21:58:06.811"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>login-info</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.812" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:06.811" endtime="20211201 21:58:06.812"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>login-info</arg>
<arg>recycle-service/admin/employee/get/login-info</arg>
</arguments>
<assign>
<var>${reps_data}</var>
</assign>
<msg timestamp="20211201 21:58:06.880" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:06.880" level="INFO">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"]}}
</msg>
<msg timestamp="20211201 21:58:06.880" level="INFO">${reps_data} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.812" endtime="20211201 21:58:06.881"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps_data}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.881" level="INFO">&lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.881" endtime="20211201 21:58:06.881"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps_data.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.881" endtime="20211201 21:58:06.882"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.811" endtime="20211201 21:58:06.882" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:06.736" endtime="20211201 21:58:06.882"></status>
</suite>
<status status="PASS" starttime="20211201 21:58:06.734" endtime="20211201 21:58:06.884"></status>
</suite>
<suite id="s1-s1-s2-s2" name="2.1-Consignment management" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/2.1-Consignment management">
<suite id="s1-s1-s2-s2-s1" name="1-Appointment" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/2.1-Consignment management/1-appointment.robot">
<test id="s1-s1-s2-s2-s1-t1" name="get_paper-mill-order-reservation-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.891" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:06.891" endtime="20211201 21:58:06.892"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-order-reservation-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps_data}</var>
</assign>
<msg timestamp="20211201 21:58:06.952" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=663541497341284352
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;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
</msg>
<msg timestamp="20211201 21:58:06.952" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:06.952" level="INFO">${reps_data} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.892" endtime="20211201 21:58:06.952"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps_data.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.953" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:06.953" endtime="20211201 21:58:06.953"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${orderId}</var>
</assign>
<msg timestamp="20211201 21:58:06.954" level="INFO">${orderId} = 663541497341284352</msg>
<status status="PASS" starttime="20211201 21:58:06.954" endtime="20211201 21:58:06.954"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:06.955" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:06.954" endtime="20211201 21:58:06.955"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:06.955" level="INFO">${id} = 4689</msg>
<status status="PASS" starttime="20211201 21:58:06.955" endtime="20211201 21:58:06.955"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>orderType</arg>
</arguments>
<assign>
<var>${orderType}</var>
</assign>
<msg timestamp="20211201 21:58:06.956" level="INFO">${orderType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:06.956" endtime="20211201 21:58:06.956"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>carNoList</arg>
</arguments>
<assign>
<var>${carNoList}</var>
</assign>
<msg timestamp="20211201 21:58:06.957" level="INFO">${carNoList} = ['贵R66666']</msg>
<status status="PASS" starttime="20211201 21:58:06.956" endtime="20211201 21:58:06.957"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>paperMillName</arg>
</arguments>
<assign>
<var>${paperMillName}</var>
</assign>
<msg timestamp="20211201 21:58:06.958" level="INFO">${paperMillName} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:06.957" endtime="20211201 21:58:06.958"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>sellerReservationDate</arg>
</arguments>
<assign>
<var>${sellerReservationDate}</var>
</assign>
<msg timestamp="20211201 21:58:06.959" level="INFO">${sellerReservationDate} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:06.958" endtime="20211201 21:58:06.959"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${carNoList})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${carList}</var>
</assign>
<msg timestamp="20211201 21:58:06.959" level="INFO">${carList} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:06.959" endtime="20211201 21:58:06.959"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${carList}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.959" endtime="20211201 21:58:06.960"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps_data.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:06.960" endtime="20211201 21:58:06.961"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderId}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.961" level="INFO">${orderId} = 663541497341284352</msg>
<status status="PASS" starttime="20211201 21:58:06.961" endtime="20211201 21:58:06.961"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.962" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:06.961" endtime="20211201 21:58:06.962"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.962" level="INFO">${id} = 4689</msg>
<status status="PASS" starttime="20211201 21:58:06.962" endtime="20211201 21:58:06.962"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillName}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.963" level="INFO">${paperMillName} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:06.962" endtime="20211201 21:58:06.963"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${sellerReservationDate}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.963" level="INFO">${sellerReservationDate} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:06.963" endtime="20211201 21:58:06.963"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderType}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.964" level="INFO">${orderType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:06.963" endtime="20211201 21:58:06.964"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${carList}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.964" level="INFO">${carList} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:06.964" endtime="20211201 21:58:06.964"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.890" endtime="20211201 21:58:06.964" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s1-t2" name="get-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:06.965" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:06.965" endtime="20211201 21:58:06.966"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.006" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:07.006" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:07.006" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:06.966" endtime="20211201 21:58:07.006"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.007" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:07.007" endtime="20211201 21:58:07.007"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:07.008" level="INFO">${data} = [{'name': '测试111', 'id': '660525241805705216'}]</msg>
<status status="PASS" starttime="20211201 21:58:07.007" endtime="20211201 21:58:07.008"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${data})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${value}</var>
</assign>
<msg timestamp="20211201 21:58:07.009" level="INFO">${value} = {'name': '测试111', 'id': '660525241805705216'}</msg>
<status status="PASS" starttime="20211201 21:58:07.008" endtime="20211201 21:58:07.009"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.009" endtime="20211201 21:58:07.009"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${supplier_id}</var>
</assign>
<msg timestamp="20211201 21:58:07.010" level="INFO">${supplier_id} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:07.009" endtime="20211201 21:58:07.010"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${millSupplierName}</var>
</assign>
<msg timestamp="20211201 21:58:07.010" level="INFO">${millSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:07.010" endtime="20211201 21:58:07.010"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_id}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.011" level="INFO">${supplier_id} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:07.010" endtime="20211201 21:58:07.011"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${millSupplierName}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.012" level="INFO">${millSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:07.011" endtime="20211201 21:58:07.012"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:06.965" endtime="20211201 21:58:07.012" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s1-t3" name="Submit-appointment">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.014" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.013" endtime="20211201 21:58:07.014"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:07.015" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:07.014" endtime="20211201 21:58:07.015"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:07.015" level="INFO">${data} = {"attention":"663541497341284352","buyerReservationDate":"2021-12-01", "id":"4689","millDeliveryOrderId":"663541497341284352","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...</msg>
<status status="PASS" starttime="20211201 21:58:07.015" endtime="20211201 21:58:07.015"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.016" level="INFO">{"attention":"663541497341284352","buyerReservationDate":"2021-12-01", "id":"4689","millDeliveryOrderId":"663541497341284352","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663541497341284352"}</msg>
<status status="PASS" starttime="20211201 21:58:07.015" endtime="20211201 21:58:07.016"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/update/reservation</arg>
<arg>${data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.152" level="INFO">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"}'
</msg>
<msg timestamp="20211201 21:58:07.152" level="INFO">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}
</msg>
<msg timestamp="20211201 21:58:07.152" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.016" endtime="20211201 21:58:07.153"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.153" endtime="20211201 21:58:07.153"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.012" endtime="20211201 21:58:07.154" critical="yes"></status>
</test>
<doc>预约送货</doc>
<status status="PASS" starttime="20211201 21:58:06.887" endtime="20211201 21:58:07.154"></status>
</suite>
<suite id="s1-s1-s2-s2-s2" name="2.1-RegularUpload-weightnote" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/2.1-Consignment management/2.1-RegularUpload-weightnote.robot">
<test id="s1-s1-s2-s2-s2-t1" name="get-order-item-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.170" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.169" endtime="20211201 21:58:07.170"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order-item-list</arg>
<arg>params=orderType=${orderType} &amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.289" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=1%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;orderId=663541497341284352
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=1%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;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
</msg>
<msg timestamp="20211201 21:58:07.289" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=1%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;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}}
</msg>
<msg timestamp="20211201 21:58:07.289" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.171" endtime="20211201 21:58:07.289"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.290" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:07.290" endtime="20211201 21:58:07.290"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>orderItemId</arg>
</arguments>
<assign>
<var>${orderItemId}</var>
</assign>
<msg timestamp="20211201 21:58:07.291" level="INFO">${orderItemId} = 663541497395810304</msg>
<status status="PASS" starttime="20211201 21:58:07.291" endtime="20211201 21:58:07.291"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>bizOwnerName</arg>
</arguments>
<assign>
<var>${bizOwnerName}</var>
</assign>
<msg timestamp="20211201 21:58:07.292" level="INFO">${bizOwnerName} = 张山</msg>
<status status="PASS" starttime="20211201 21:58:07.291" endtime="20211201 21:58:07.292"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>bizOwnerId</arg>
</arguments>
<assign>
<var>${bizOwnerId}</var>
</assign>
<msg timestamp="20211201 21:58:07.292" level="INFO">${bizOwnerId} = 498985714587930624</msg>
<status status="PASS" starttime="20211201 21:58:07.292" endtime="20211201 21:58:07.292"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderItemId}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.293" level="INFO">${orderItemId} = 663541497395810304</msg>
<status status="PASS" starttime="20211201 21:58:07.292" endtime="20211201 21:58:07.293"></status>
</kw>
<kw name="Should Be Equal" library="BuiltIn">
<doc>Fails if the given objects are unequal.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]["orderId"]}</arg>
<arg>${orderId}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.293" endtime="20211201 21:58:07.294"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.168" endtime="20211201 21:58:07.294" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t2" name="get-order-item-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.295" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.295" endtime="20211201 21:58:07.295"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId}&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.572" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&amp;orderItemId=663541497395810304
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&amp;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
</msg>
<msg timestamp="20211201 21:58:07.572" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&amp;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}}
</msg>
<msg timestamp="20211201 21:58:07.573" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.295" endtime="20211201 21:58:07.573"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:07.574" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:07.573" endtime="20211201 21:58:07.574"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>unitSurcharge</arg>
</arguments>
<assign>
<var>${unitSurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:07.575" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:07.574" endtime="20211201 21:58:07.575"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxySellerSettleType</arg>
</arguments>
<assign>
<var>${proxySellerSettleType}</var>
</assign>
<msg timestamp="20211201 21:58:07.576" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.575" endtime="20211201 21:58:07.576"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperCategoryId</arg>
</arguments>
<assign>
<var>${paperCategoryId}</var>
</assign>
<msg timestamp="20211201 21:58:07.576" level="INFO">${paperCategoryId} = 661536965862232064</msg>
<status status="PASS" starttime="20211201 21:58:07.576" endtime="20211201 21:58:07.576"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperCategoryPrice</arg>
</arguments>
<assign>
<var>${unitPrice}</var>
</assign>
<msg timestamp="20211201 21:58:07.577" level="INFO">${unitPrice} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:07.576" endtime="20211201 21:58:07.577"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>publicSubsidies</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:07.577" level="INFO">${publicSubsidies} = None</msg>
<status status="PASS" starttime="20211201 21:58:07.577" endtime="20211201 21:58:07.578"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>millSupplierId</arg>
</arguments>
<assign>
<var>${millSupplierId}</var>
</assign>
<msg timestamp="20211201 21:58:07.578" level="INFO">${millSupplierId} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:07.578" endtime="20211201 21:58:07.578"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperMillSupplierName</arg>
</arguments>
<assign>
<var>${paperMillSupplierName}</var>
</assign>
<msg timestamp="20211201 21:58:07.579" level="INFO">${paperMillSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:07.578" endtime="20211201 21:58:07.579"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${publicSubsidies}'=='${null}'</arg>
<arg>0</arg>
<arg>${publicSubsidies}</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:07.579" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.579" endtime="20211201 21:58:07.579"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${unitPrice}+${publicSubsidies}</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:07.580" level="INFO">${settleUtiPrice} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:07.579" endtime="20211201 21:58:07.580"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${unitSurcharge}'=='${None}'</arg>
<arg>0</arg>
<arg>${unitSurcharge}</arg>
</arguments>
<assign>
<var>${unitSurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:07.581" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:07.581" endtime="20211201 21:58:07.581"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:07.582" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:07.582" endtime="20211201 21:58:07.582"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.583" level="INFO">663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:07.583" endtime="20211201 21:58:07.583"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.583" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:07.583" endtime="20211201 21:58:07.584"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitSurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.584" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:07.584" endtime="20211201 21:58:07.584"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperCategoryId}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.585" level="INFO">${paperCategoryId} = 661536965862232064</msg>
<status status="PASS" starttime="20211201 21:58:07.584" endtime="20211201 21:58:07.585"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.585" level="INFO">${settleUtiPrice} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:07.585" endtime="20211201 21:58:07.585"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.586" level="INFO">${unitPrice} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:07.585" endtime="20211201 21:58:07.586"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${publicSubsidies}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.586" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.586" endtime="20211201 21:58:07.587"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${millSupplierId}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.587" level="INFO">${millSupplierId} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:07.587" endtime="20211201 21:58:07.587"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillSupplierName}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.588" level="INFO">${paperMillSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:07.587" endtime="20211201 21:58:07.588"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxySellerSettleType}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.588" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.588" endtime="20211201 21:58:07.588"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.589" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:07.589" endtime="20211201 21:58:07.589"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.294" endtime="20211201 21:58:07.589" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t3" name="get-Transaction subject">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.590" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.590" endtime="20211201 21:58:07.591"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/transaction-main-enterprise/list</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.629" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:07.630" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:07.630" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.591" endtime="20211201 21:58:07.630"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${交易数据}</var>
</assign>
<msg timestamp="20211201 21:58:07.631" level="INFO">${交易数据} = [{'id': '13', 'name': '广州千鸟张文纸业有限公司', 'createTime': '2020-12-02 10:22:24', 'updateTime': '2021-11-17 17:53:49', 'isDelete': 0, 'financeAdminName': '赖勇兰', 'financeAdminEmployeeId': '617003842541850624'...</msg>
<status status="PASS" starttime="20211201 21:58:07.631" endtime="20211201 21:58:07.632"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${交易数据})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${交易信息}</var>
</assign>
<msg timestamp="20211201 21:58:07.633" level="INFO">${交易信息} = {'id': '13', 'name': '广州千鸟张文纸业有限公司', 'createTime': '2020-12-02 10:22:24', 'updateTime': '2021-11-17 17:53:49', 'isDelete': 0, 'financeAdminName': '赖勇兰', 'financeAdminEmployeeId': '617003842541850624',...</msg>
<status status="PASS" starttime="20211201 21:58:07.632" endtime="20211201 21:58:07.633"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${交易信息}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.633" endtime="20211201 21:58:07.634"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${交易信息}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${交易主体id}</var>
</assign>
<msg timestamp="20211201 21:58:07.634" level="INFO">${交易主体id} = 13</msg>
<status status="PASS" starttime="20211201 21:58:07.634" endtime="20211201 21:58:07.634"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${交易信息}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${交易主体name}</var>
</assign>
<msg timestamp="20211201 21:58:07.635" level="INFO">${交易主体name} = 广州千鸟张文纸业有限公司</msg>
<status status="PASS" starttime="20211201 21:58:07.635" endtime="20211201 21:58:07.635"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体id}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.636" level="INFO">${交易主体id} = 13</msg>
<status status="PASS" starttime="20211201 21:58:07.635" endtime="20211201 21:58:07.636"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体name}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.637" level="INFO">${交易主体name} = 广州千鸟张文纸业有限公司</msg>
<status status="PASS" starttime="20211201 21:58:07.636" endtime="20211201 21:58:07.637"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.589" endtime="20211201 21:58:07.637" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t4" name="get-Warehouse">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.638" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.638" endtime="20211201 21:58:07.638"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/transaction-main-enterprise/get/warehouse-name</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.672" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:07.672" level="INFO">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":["石基仓","江高仓","大观仓","钟落潭仓"]}
</msg>
<msg timestamp="20211201 21:58:07.673" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.639" endtime="20211201 21:58:07.673"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${仓库}</var>
</assign>
<msg timestamp="20211201 21:58:07.674" level="INFO">${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']</msg>
<status status="PASS" starttime="20211201 21:58:07.673" endtime="20211201 21:58:07.674"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${仓库})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${所属仓库}</var>
</assign>
<msg timestamp="20211201 21:58:07.674" level="INFO">${所属仓库} = 石基仓</msg>
<status status="PASS" starttime="20211201 21:58:07.674" endtime="20211201 21:58:07.674"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${所属仓库}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.674" endtime="20211201 21:58:07.675"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${所属仓库}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.676" level="INFO">${所属仓库} = 石基仓</msg>
<status status="PASS" starttime="20211201 21:58:07.675" endtime="20211201 21:58:07.676"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.637" endtime="20211201 21:58:07.676" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t5" name="get-Source of funds">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.677" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.677" endtime="20211201 21:58:07.677"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/fund-source/get/list</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.718" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:07.718" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:07.718" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.677" endtime="20211201 21:58:07.718"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.719" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:07.719" endtime="20211201 21:58:07.719"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:07.720" level="INFO">${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...</msg>
<status status="PASS" starttime="20211201 21:58:07.720" endtime="20211201 21:58:07.720"></status>
</kw>
<kw name="${item} IN [ @{data} ]" type="for">
<kw name="${item} = {'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.721" level="INFO">{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:07.721" endtime="20211201 21:58:07.721"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:07.722" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.722" endtime="20211201 21:58:07.722"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:07.723" level="INFO">${name} = 千鸟-经纪业务</msg>
<status status="PASS" starttime="20211201 21:58:07.722" endtime="20211201 21:58:07.723"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:07.723" level="INFO">${id} = 39</msg>
<status status="PASS" starttime="20211201 21:58:07.723" endtime="20211201 21:58:07.723"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.723" endtime="20211201 21:58:07.724"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.721" endtime="20211201 21:58:07.724"></status>
</kw>
<kw name="${item} = {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.724" level="INFO">{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:07.724" endtime="20211201 21:58:07.724"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:07.725" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.724" endtime="20211201 21:58:07.725"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:07.725" level="INFO">${name} = 千纸鹤代卖业务</msg>
<status status="PASS" starttime="20211201 21:58:07.725" endtime="20211201 21:58:07.725"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:07.725" level="INFO">${id} = 40</msg>
<status status="PASS" starttime="20211201 21:58:07.725" endtime="20211201 21:58:07.725"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.725" endtime="20211201 21:58:07.726"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.724" endtime="20211201 21:58:07.726"></status>
</kw>
<kw name="${item} = {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.726" level="INFO">{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:07.726" endtime="20211201 21:58:07.726"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:07.727" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.726" endtime="20211201 21:58:07.727"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:07.727" level="INFO">${name} = 测试资金方</msg>
<status status="PASS" starttime="20211201 21:58:07.727" endtime="20211201 21:58:07.727"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:07.727" level="INFO">${id} = 41</msg>
<status status="PASS" starttime="20211201 21:58:07.727" endtime="20211201 21:58:07.727"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.727" endtime="20211201 21:58:07.728"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.726" endtime="20211201 21:58:07.728"></status>
</kw>
<kw name="${item} = {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.728" level="INFO">{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:07.728" endtime="20211201 21:58:07.728"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:07.729" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.728" endtime="20211201 21:58:07.729"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:07.729" level="INFO">${name} = 千鸟-技术部测试数据</msg>
<status status="PASS" starttime="20211201 21:58:07.729" endtime="20211201 21:58:07.729"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:07.730" level="INFO">${id} = 42</msg>
<status status="PASS" starttime="20211201 21:58:07.729" endtime="20211201 21:58:07.730"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.730" endtime="20211201 21:58:07.730"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.728" endtime="20211201 21:58:07.730"></status>
</kw>
<kw name="${item} = {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.730" level="INFO">{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:07.730" endtime="20211201 21:58:07.730"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:07.731" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:07.731" endtime="20211201 21:58:07.731"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:07.731" level="INFO">${name} = 千鸟</msg>
<status status="PASS" starttime="20211201 21:58:07.731" endtime="20211201 21:58:07.731"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:07.732" level="INFO">${id} = 46</msg>
<status status="PASS" starttime="20211201 21:58:07.731" endtime="20211201 21:58:07.732"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:07.732" endtime="20211201 21:58:07.732"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.730" endtime="20211201 21:58:07.732"></status>
</kw>
<kw name="${item} = {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.732" level="INFO">{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}</msg>
<status status="PASS" starttime="20211201 21:58:07.732" endtime="20211201 21:58:07.733"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:07.733" level="INFO">${isDefault} = 1</msg>
<status status="PASS" starttime="20211201 21:58:07.733" endtime="20211201 21:58:07.733"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:07.733" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:07.733" endtime="20211201 21:58:07.733"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:07.734" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:07.733" endtime="20211201 21:58:07.734"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<msg timestamp="20211201 21:58:07.734" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:07.734" endtime="20211201 21:58:07.734"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.732" endtime="20211201 21:58:07.734"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.721" endtime="20211201 21:58:07.734"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${name}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.735" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:07.734" endtime="20211201 21:58:07.735"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.735" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:07.735" endtime="20211201 21:58:07.735"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.676" endtime="20211201 21:58:07.735" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t6" name="get-contract-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.736" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.736" endtime="20211201 21:58:07.737"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>/recycle-service/admin/contract/get/selectable-contract-list</arg>
<arg>params=orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.777" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:07.777" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:07.777" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.737" endtime="20211201 21:58:07.777"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.778" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:07.777" endtime="20211201 21:58:07.778"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.736" endtime="20211201 21:58:07.778" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t7" name="get-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.779" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.779" endtime="20211201 21:58:07.780"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:07.817" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:07.817" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:07.817" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.780" endtime="20211201 21:58:07.817"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.819" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:07.818" endtime="20211201 21:58:07.819"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.778" endtime="20211201 21:58:07.819" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t8" name="get-category price">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:07.821" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:07.820" endtime="20211201 21:58:07.821"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${dataTime}</var>
</assign>
<msg timestamp="20211201 21:58:07.822" level="INFO">${dataTime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:07.822" endtime="20211201 21:58:07.822"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get-category-price-by-date</arg>
<arg>params=orderItemId=${orderItemId}&amp;weightDay=${dataTime}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.010" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541497395810304&amp;weightDay=2021-12-01
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541497395810304&amp;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
</msg>
<msg timestamp="20211201 21:58:08.010" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541497395810304&amp;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":"小白纸"}]}
</msg>
<msg timestamp="20211201 21:58:08.010" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:07.822" endtime="20211201 21:58:08.010"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.011" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'price': 2.2, 'publicSubsidies': 0.0, 'paperCategoryId': '661536965862232064', 'priceDate': '2021-12-01 00:00:00', 'categoryName': '小白纸'}]}</msg>
<status status="PASS" starttime="20211201 21:58:08.011" endtime="20211201 21:58:08.011"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"][0]}</arg>
<arg>price</arg>
</arguments>
<assign>
<var>${price}</var>
</assign>
<msg timestamp="20211201 21:58:08.012" level="INFO">${price} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:08.011" endtime="20211201 21:58:08.012"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"][0]}</arg>
<arg>publicSubsidies</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:08.013" level="INFO">${publicSubsidies} = 0.0</msg>
<status status="PASS" starttime="20211201 21:58:08.012" endtime="20211201 21:58:08.013"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${price}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.013" level="INFO">${price} = 2.2</msg>
<status status="PASS" starttime="20211201 21:58:08.013" endtime="20211201 21:58:08.013"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${publicSubsidies}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.014" level="INFO">${publicSubsidies} = 0.0</msg>
<status status="PASS" starttime="20211201 21:58:08.013" endtime="20211201 21:58:08.014"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${dataTime}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.014" level="INFO">${dataTime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:08.014" endtime="20211201 21:58:08.014"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:07.819" endtime="20211201 21:58:08.015" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t9" name="get_paper-mill-category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.016" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.015" endtime="20211201 21:58:08.016"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}</arg>
<arg>params=id=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.062" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:08.063" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:08.063" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.016" endtime="20211201 21:58:08.063"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.064" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}</msg>
<status status="PASS" starttime="20211201 21:58:08.063" endtime="20211201 21:58:08.064"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:08.015" endtime="20211201 21:58:08.064" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t10" name="get_contract_by_id">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.065" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.065" endtime="20211201 21:58:08.066"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/contract/get/detail-by-id</arg>
<arg>params=id=${contractId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.136" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:08.136" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:08.137" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.066" endtime="20211201 21:58:08.137"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.138" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:08.137" endtime="20211201 21:58:08.138"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>advanceFund</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:08.138" level="INFO">${advanceFund} = None</msg>
<status status="PASS" starttime="20211201 21:58:08.138" endtime="20211201 21:58:08.138"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>buyerEnterpriseId</arg>
</arguments>
<assign>
<var>${buyerEnterpriseId}</var>
</assign>
<msg timestamp="20211201 21:58:08.139" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:08.139" endtime="20211201 21:58:08.139"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleRules</arg>
</arguments>
<assign>
<var>${settleRules}</var>
</assign>
<msg timestamp="20211201 21:58:08.139" level="INFO">${settleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.139" endtime="20211201 21:58:08.140"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:08.140" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.140" endtime="20211201 21:58:08.140"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>taxRefundRate</arg>
</arguments>
<assign>
<var>${taxRefundRate}</var>
</assign>
<msg timestamp="20211201 21:58:08.141" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:08.140" endtime="20211201 21:58:08.141"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxyPaySurcharge</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:08.141" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:08.141" endtime="20211201 21:58:08.141"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>hasInvoice</arg>
</arguments>
<assign>
<var>${hasInvoice}</var>
</assign>
<msg timestamp="20211201 21:58:08.142" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:08.141" endtime="20211201 21:58:08.142"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>accountPeriodType</arg>
</arguments>
<assign>
<var>${accountPeriodType}</var>
</assign>
<msg timestamp="20211201 21:58:08.142" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.142" endtime="20211201 21:58:08.142"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>isSubsidyAndDeductIncludeTax</arg>
</arguments>
<assign>
<var>${isSubsidyAndDeductIncludeTax}</var>
</assign>
<msg timestamp="20211201 21:58:08.143" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.142" endtime="20211201 21:58:08.143"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleRules</arg>
</arguments>
<assign>
<var>${receivableSettlementRules}</var>
</assign>
<msg timestamp="20211201 21:58:08.143" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.143" endtime="20211201 21:58:08.143"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:08.144" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.144" endtime="20211201 21:58:08.144"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${advanceFund}'=='${None}'</arg>
<arg>0</arg>
<arg>${advanceFund}</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:08.145" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.144" endtime="20211201 21:58:08.145"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${proxyPaySurcharge}'=='${None}'</arg>
<arg>0</arg>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:08.145" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:08.145" endtime="20211201 21:58:08.145"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${taxRefundRate}'=='${None}'</arg>
<arg>0</arg>
<arg>${taxRefundRate}</arg>
</arguments>
<assign>
<var>${taxRefundRate}</var>
</assign>
<msg timestamp="20211201 21:58:08.146" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:08.145" endtime="20211201 21:58:08.146"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${advanceFund}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.146" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.146" endtime="20211201 21:58:08.146"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${buyerEnterpriseId}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.147" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:08.147" endtime="20211201 21:58:08.147"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${taxRefundRate}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.147" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:08.147" endtime="20211201 21:58:08.147"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.148" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:08.148" endtime="20211201 21:58:08.148"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${hasInvoice}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.148" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:08.148" endtime="20211201 21:58:08.149"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${accountPeriodType}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.149" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.149" endtime="20211201 21:58:08.149"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.149" level="INFO">${settleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.149" endtime="20211201 21:58:08.150"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.150" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.150" endtime="20211201 21:58:08.150"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${isSubsidyAndDeductIncludeTax}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.151" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.150" endtime="20211201 21:58:08.151"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${receivableSettlementRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.151" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.151" endtime="20211201 21:58:08.151"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.152" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:08.151" endtime="20211201 21:58:08.152"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:08.064" endtime="20211201 21:58:08.152" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t11" name="Upload_pictures">
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>open('E:/lyl/图片/21042217001449712.png','rb')</arg>
</arguments>
<assign>
<var>${filepath}</var>
</assign>
<msg timestamp="20211201 21:58:08.154" level="FAIL">Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'</msg>
<status status="FAIL" starttime="20211201 21:58:08.154" endtime="20211201 21:58:08.154"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.153" endtime="20211201 21:58:08.155" critical="yes">Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'</status>
</test>
<test id="s1-s1-s2-s2-s2-t12" name="get_repeat_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.156" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.155" endtime="20211201 21:58:08.157"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/repeat/proxy-order</arg>
<arg>params=orderItemId=${orderItemId}&amp;plateNumber=${carList}&amp;settleWeight=17550&amp;weighingDate=${datatime}&amp;orderType=${orderType}&amp;settlePrice= 41953.05</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.296" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541497395810304&amp;plateNumber=%E8%B4%B5R66666&amp;settleWeight=17550&amp;weighingDate=2021-12-01&amp;orderType=1&amp;settlePrice=%2041953.05
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541497395810304&amp;plateNumber=%E8%B4%B5R66666&amp;settleWeight=17550&amp;weighingDate=2021-12-01&amp;orderType=1&amp;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
</msg>
<msg timestamp="20211201 21:58:08.296" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541497395810304&amp;plateNumber=%E8%B4%B5R66666&amp;settleWeight=17550&amp;weighingDate=2021-12-01&amp;orderType=1&amp;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}}
</msg>
<msg timestamp="20211201 21:58:08.296" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.157" endtime="20211201 21:58:08.296"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:08.297" level="INFO">${records} = []</msg>
<status status="PASS" starttime="20211201 21:58:08.296" endtime="20211201 21:58:08.297"></status>
</kw>
<kw name="Create List" library="BuiltIn">
<doc>Returns a list containing given items.</doc>
<assign>
<var>${orderItemId_list}</var>
</assign>
<msg timestamp="20211201 21:58:08.297" level="INFO">${orderItemId_list} = []</msg>
<status status="PASS" starttime="20211201 21:58:08.297" endtime="20211201 21:58:08.297"></status>
</kw>
<kw name="${items} IN [ @{records} ]" type="for">
<status status="PASS" starttime="20211201 21:58:08.297" endtime="20211201 21:58:08.298"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:08.298" endtime="20211201 21:58:08.298"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderItemId_list}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.299" level="INFO">${orderItemId_list} = []</msg>
<status status="PASS" starttime="20211201 21:58:08.298" endtime="20211201 21:58:08.299"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:08.155" endtime="20211201 21:58:08.299" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t13" name="repeat_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.300" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.300" endtime="20211201 21:58:08.301"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "remark":"${datatime}", \ \ \ \ "repeatOrderItem":${orderItemId_list} }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:08.301" level="INFO">${data} = { "orderItemId":"663541497395810304", "remark":"2021-12-01", "repeatOrderItem":[] }</msg>
<status status="PASS" starttime="20211201 21:58:08.301" endtime="20211201 21:58:08.301"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/confirm/repeat/proxy-order</arg>
<arg>${data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.356" level="INFO">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":[] }'
</msg>
<msg timestamp="20211201 21:58:08.357" level="INFO">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}
</msg>
<msg timestamp="20211201 21:58:08.357" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.301" endtime="20211201 21:58:08.357"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:08.299" endtime="20211201 21:58:08.357" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s2-t14" name="weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.358" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.358" endtime="20211201 21:58:08.359"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:08.359" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:08.359" endtime="20211201 21:58:08.359"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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 \ \ \ \ \ \ \ \ } \ \ \ \ ] }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:08.361" level="FAIL">Variable '${pictures}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.359" endtime="20211201 21:58:08.361"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.357" endtime="20211201 21:58:08.361" critical="yes">Variable '${pictures}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s2-t15" name="audit_weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.363" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.362" endtime="20211201 21:58:08.363"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}</arg>
</arguments>
<assign>
<var>${repsonse}</var>
</assign>
<msg timestamp="20211201 21:58:08.364" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.363" endtime="20211201 21:58:08.364"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.362" endtime="20211201 21:58:08.365" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s2-t16" name="get_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.366" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.365" endtime="20211201 21:58:08.366"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId}&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.557" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&amp;orderItemId=663541497395810304
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&amp;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
</msg>
<msg timestamp="20211201 21:58:08.557" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541497341284352?orderId=663541497341284352&amp;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}}
</msg>
<msg timestamp="20211201 21:58:08.557" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.366" endtime="20211201 21:58:08.557"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.559" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:08.558" endtime="20211201 21:58:08.559"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:08.559" endtime="20211201 21:58:08.560"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:08.365" endtime="20211201 21:58:08.560" critical="yes"></status>
</test>
<doc>上传磅单-常规</doc>
<status status="FAIL" starttime="20211201 21:58:07.156" endtime="20211201 21:58:08.561"></status>
</suite>
<suite id="s1-s1-s2-s2-s3" name="3.1-Operation audit" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/2.1-Consignment management/3.1-Operation_audit.robot">
<test id="s1-s1-s2-s2-s3-t1" name="get_operation_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.594" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.594" endtime="20211201 21:58:08.595"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.720" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:08.721" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:08.721" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.595" endtime="20211201 21:58:08.721"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.722" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:08.721" endtime="20211201 21:58:08.722"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:08.593" endtime="20211201 21:58:08.723" critical="yes"></status>
</test>
<test id="s1-s1-s2-s2-s3-t2" name="get_paper-mill-order-by-orderItemId">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.724" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.723" endtime="20211201 21:58:08.724"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.763" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=663541497395810304
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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
</msg>
<msg timestamp="20211201 21:58:08.764" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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}}
</msg>
<msg timestamp="20211201 21:58:08.764" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.724" endtime="20211201 21:58:08.764"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.765" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:08.764" endtime="20211201 21:58:08.765"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditRequestId</arg>
</arguments>
<assign>
<var>${auditRequestId}</var>
</assign>
<msg timestamp="20211201 21:58:08.765" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:08.765" endtime="20211201 21:58:08.765"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.723" endtime="20211201 21:58:08.766" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s1-s2-s2-s3-t3" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.767" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.767" endtime="20211201 21:58:08.767"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.769" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.767" endtime="20211201 21:58:08.769"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.766" endtime="20211201 21:58:08.769" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s3-t4" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.771" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.770" endtime="20211201 21:58:08.771"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.773" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.771" endtime="20211201 21:58:08.773"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.769" endtime="20211201 21:58:08.773" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s3-t5" name="order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.775" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.775" endtime="20211201 21:58:08.775"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:08.776" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:08.775" endtime="20211201 21:58:08.776"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:08.777" level="FAIL">Variable '${auditRequestItemId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.776" endtime="20211201 21:58:08.777"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.774" endtime="20211201 21:58:08.778" critical="yes">Variable '${auditRequestItemId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s3-t6" name="get_order-log-detail2">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.779" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.778" endtime="20211201 21:58:08.779"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId} &amp;operationStatus=2</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.781" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.779" endtime="20211201 21:58:08.781"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.778" endtime="20211201 21:58:08.781" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s3-t7" name="重复执行驳回上传磅单">
<kw name="${items} IN RANGE [ 2 ]" type="for">
<kw name="${items} = 0" type="foritem">
<kw name="Run Keyword" library="BuiltIn">
<doc>Executes the given keyword with the given arguments.</doc>
<arguments>
<arg>get_operation_list</arg>
</arguments>
<kw name="get_operation_list" library="运营审核驳回">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.784" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.784" endtime="20211201 21:58:08.784"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.830" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=663541497341284352
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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
</msg>
<msg timestamp="20211201 21:58:08.831" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:08.831" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.785" endtime="20211201 21:58:08.831"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>status</arg>
</arguments>
<assign>
<var>${audit_status}</var>
</assign>
<msg timestamp="20211201 21:58:08.832" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:08.831" endtime="20211201 21:58:08.832"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.783" endtime="20211201 21:58:08.832"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.783" endtime="20211201 21:58:08.832"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.783" endtime="20211201 21:58:08.832"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.782" endtime="20211201 21:58:08.832"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.781" endtime="20211201 21:58:08.833" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s1-s2-s2-s3-t8" name="get_operation_list1">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.834" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.834" endtime="20211201 21:58:08.834"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.883" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=663541497341284352
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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
</msg>
<msg timestamp="20211201 21:58:08.883" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:08.883" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.835" endtime="20211201 21:58:08.883"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>status</arg>
</arguments>
<assign>
<var>${audit_status}</var>
</assign>
<msg timestamp="20211201 21:58:08.884" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:08.884" endtime="20211201 21:58:08.884"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.833" endtime="20211201 21:58:08.885" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s1-s2-s2-s3-t9" name="get_order-receipt-audit-details1">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.886" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.886" endtime="20211201 21:58:08.886"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:08.888" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.887" endtime="20211201 21:58:08.888"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.885" endtime="20211201 21:58:08.888" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s3-t10" name="order-receipt-audit-details1">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.889" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.889" endtime="20211201 21:58:08.890"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:08.890" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:08.890" endtime="20211201 21:58:08.890"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:08.892" level="FAIL">Variable '${auditRequestItemId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.890" endtime="20211201 21:58:08.892"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.888" endtime="20211201 21:58:08.892" critical="yes">Variable '${auditRequestItemId}' not found.</status>
</test>
<test id="s1-s1-s2-s2-s3-t11" name="operation_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.894" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:08.893" endtime="20211201 21:58:08.894"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:08.896" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:08.895" endtime="20211201 21:58:08.896"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.892" endtime="20211201 21:58:08.896" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<doc>运营审核-常规</doc>
<status status="FAIL" starttime="20211201 21:58:08.564" endtime="20211201 21:58:08.897"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:06.884" endtime="20211201 21:58:08.900"></status>
</suite>
<suite id="s1-s1-s2-s3" name="3-Withdrawal application" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/3-Withdrawal_application">
<suite id="s1-s1-s2-s3-s1" name="4-Financial audit" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/3-Withdrawal_application/4-Financial_audit.robot">
<test id="s1-s1-s2-s3-s1-t1" name="get_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:08.926" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:08.926" endtime="20211201 21:58:08.927"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.144" level="INFO">GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=663541497395810304
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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
</msg>
<msg timestamp="20211201 21:58:09.144" level="INFO">GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:09.144" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:08.927" endtime="20211201 21:58:09.144"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditedTime</arg>
</arguments>
<assign>
<var>${auditedTime}</var>
</assign>
<msg timestamp="20211201 21:58:09.145" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:09.144" endtime="20211201 21:58:09.145"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:08.925" endtime="20211201 21:58:09.145" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s1-s2-s3-s1-t2" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL1}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.146" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:09.146" endtime="20211201 21:58:09.147"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}&amp;operationStatus=3</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.149" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:09.147" endtime="20211201 21:58:09.149"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.146" endtime="20211201 21:58:09.149" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s1-s2-s3-s1-t3" name="重复执行财务审核驳回何运营审核通过">
<kw name="${index} IN RANGE [ 5 ]" type="for">
<kw name="${index} = 0" type="foritem">
<kw name="Run Keyword" library="BuiltIn">
<doc>Executes the given keyword with the given arguments.</doc>
<arguments>
<arg>获取财务审核列表</arg>
</arguments>
<kw name="获取财务审核列表" library="财务审核驳回">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.152" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.152" endtime="20211201 21:58:09.153"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.217" level="INFO">GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=663541497395810304
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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
</msg>
<msg timestamp="20211201 21:58:09.217" level="INFO">GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:09.217" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.153" endtime="20211201 21:58:09.217"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>status</arg>
</arguments>
<assign>
<var>${staus}</var>
</assign>
<msg timestamp="20211201 21:58:09.218" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:09.218" endtime="20211201 21:58:09.218"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.151" endtime="20211201 21:58:09.218"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.151" endtime="20211201 21:58:09.218"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.151" endtime="20211201 21:58:09.219"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.151" endtime="20211201 21:58:09.219"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.149" endtime="20211201 21:58:09.219" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s1-s2-s3-s1-t4" name="paper-mill-order-receipt-proof-request_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.220" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.220" endtime="20211201 21:58:09.220"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:09.222" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:09.221" endtime="20211201 21:58:09.222"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.219" endtime="20211201 21:58:09.222" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s1-s2-s3-s1-t5" name="paper-mill-order-receipt-proof-request_settle">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.223" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.223" endtime="20211201 21:58:09.223"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "id":"${auditRequestId}", \ \ \ \ "adminId":null }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:09.226" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:09.224" endtime="20211201 21:58:09.226"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.222" endtime="20211201 21:58:09.226" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<doc>代卖应付</doc>
<status status="FAIL" starttime="20211201 21:58:08.906" endtime="20211201 21:58:09.227"></status>
</suite>
<suite id="s1-s1-s2-s3-s2" name="5-Sales receivables" source="/root/ztb-trading-rf-api/000-Regularorder/2-Background_system(Test)/3-Withdrawal_application/5-Sales_receivables.robot">
<test id="s1-s1-s2-s3-s2-t1" name="get_paper-payment-order-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.234" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:09.234" endtime="20211201 21:58:09.234"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-payment-order-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.308" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;orderId=663541497341284352
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:09.308" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:09.308" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.235" endtime="20211201 21:58:09.308"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paymentOrderId}</var>
</assign>
<msg timestamp="20211201 21:58:09.309" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:09.308" endtime="20211201 21:58:09.309"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.233" endtime="20211201 21:58:09.309" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s1-s2-s3-s2-t2" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.311" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:09.310" endtime="20211201 21:58:09.311"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.313" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:09.311" endtime="20211201 21:58:09.313"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.310" endtime="20211201 21:58:09.314" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s1-s2-s3-s2-t3" name="update_payment-order-status">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.315" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:09.315" endtime="20211201 21:58:09.316"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:09.317" level="FAIL">Variable '${paymentOrderId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:09.316" endtime="20211201 21:58:09.317"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:09.314" endtime="20211201 21:58:09.318" critical="yes">Variable '${paymentOrderId}' not found.</status>
</test>
<doc>代卖应收</doc>
<status status="FAIL" starttime="20211201 21:58:09.229" endtime="20211201 21:58:09.318"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:08.903" endtime="20211201 21:58:09.320"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:06.731" endtime="20211201 21:58:09.323"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:05.323" endtime="20211201 21:58:09.330"></status>
</suite>
<suite id="s1-s2" name="001-Activeorder" source="/root/ztb-trading-rf-api/001-Activeorder">
<suite id="s1-s2-s1" name="1-Client(Test)" source="/root/ztb-trading-rf-api/001-Activeorder/1-Client(Test)">
<suite id="s1-s2-s1-s1" name="1-APPlogin(Test)" source="/root/ztb-trading-rf-api/001-Activeorder/1-Client(Test)/1-APPlogin(Test).robot">
<test id="s1-s2-s1-s1-t1" name="userlogin">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211201 21:58:09.346" endtime="20211201 21:58:09.346"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>https://api-client-uec-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.347" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.346" endtime="20211201 21:58:09.347"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>account=18888888888</arg>
<arg>captcha=888888</arg>
<arg>accountType=2</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:09.348" level="INFO">${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}</msg>
<status status="PASS" starttime="20211201 21:58:09.347" endtime="20211201 21:58:09.348"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>18888888888</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211201 21:58:09.349" level="INFO">${account} = 18888888888</msg>
<status status="PASS" starttime="20211201 21:58:09.348" endtime="20211201 21:58:09.349"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>json=${data}</arg>
</arguments>
<assign>
<var>${respones}</var>
</assign>
<msg timestamp="20211201 21:58:09.447" level="INFO">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"}'
</msg>
<msg timestamp="20211201 21:58:09.447" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:09.448" level="INFO">${respones} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.349" endtime="20211201 21:58:09.448"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${respones.status_code}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.448" level="INFO">200</msg>
<status status="PASS" starttime="20211201 21:58:09.448" endtime="20211201 21:58:09.449"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${respones.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.449" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==', 'userId': '659450159519895552'}}</msg>
<status status="PASS" starttime="20211201 21:58:09.449" endtime="20211201 21:58:09.449"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${respones.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${token}</var>
</assign>
<msg timestamp="20211201 21:58:09.450" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==</msg>
<status status="PASS" starttime="20211201 21:58:09.449" endtime="20211201 21:58:09.450"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${token}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.451" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==</msg>
<status status="PASS" starttime="20211201 21:58:09.450" endtime="20211201 21:58:09.451"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${account}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.451" level="INFO">${account} = 18888888888</msg>
<status status="PASS" starttime="20211201 21:58:09.451" endtime="20211201 21:58:09.451"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.345" endtime="20211201 21:58:09.451" critical="yes"></status>
</test>
<test id="s1-s2-s1-s1-t2" name="login-token">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.452" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.452" endtime="20211201 21:58:09.453"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>loginToken=${token}</arg>
</arguments>
<assign>
<var>${token1}</var>
</assign>
<msg timestamp="20211201 21:58:09.453" level="INFO">${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw=='}</msg>
<status status="PASS" starttime="20211201 21:58:09.453" endtime="20211201 21:58:09.453"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>json=${token1}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.549" level="INFO">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=="}'
</msg>
<msg timestamp="20211201 21:58:09.549" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:09.549" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.454" endtime="20211201 21:58:09.549"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20211201 21:58:09.550" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==</msg>
<status status="PASS" starttime="20211201 21:58:09.549" endtime="20211201 21:58:09.550"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userId}</var>
</assign>
<msg timestamp="20211201 21:58:09.551" level="INFO">${userId} = 659450159519895552</msg>
<status status="PASS" starttime="20211201 21:58:09.550" endtime="20211201 21:58:09.551"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()["data"]["token"]}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.551" level="INFO">d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==</msg>
<status status="PASS" starttime="20211201 21:58:09.551" endtime="20211201 21:58:09.551"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.552" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEeVtF9oNWj/XeQvUgxFpjbw==</msg>
<status status="PASS" starttime="20211201 21:58:09.551" endtime="20211201 21:58:09.552"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${userId}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.552" level="INFO">${userId} = 659450159519895552</msg>
<status status="PASS" starttime="20211201 21:58:09.552" endtime="20211201 21:58:09.552"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.452" endtime="20211201 21:58:09.552" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:09.340" endtime="20211201 21:58:09.553"></status>
</suite>
<suite id="s1-s2-s1-s2" name="2.2createActiveorder-1" source="/root/ztb-trading-rf-api/001-Activeorder/1-Client(Test)/2.2createActiveorder-1.robot">
<test id="s1-s2-s1-s2-t1" name="proxy-sell-activity_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.560" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.560" endtime="20211201 21:58:09.561"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/proxy-sell-activity/list</arg>
<arg>params=pageNum=1&amp;pageSize=15</arg>
</arguments>
<assign>
<var>${repsponse}</var>
</assign>
<msg timestamp="20211201 21:58:09.639" level="INFO">GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&amp;pageSize=15
path_url=/recycle-service/proxy-sell-activity/list?pageNum=1&amp;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
</msg>
<msg timestamp="20211201 21:58:09.640" level="INFO">GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&amp;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}}
</msg>
<msg timestamp="20211201 21:58:09.640" level="INFO">${repsponse} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.561" endtime="20211201 21:58:09.640"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${repsponse.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:09.641" level="INFO">${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floati...</msg>
<status status="PASS" starttime="20211201 21:58:09.641" endtime="20211201 21:58:09.642"></status>
</kw>
<kw name="${item} IN [ @{records} ]" type="for">
<kw name="${item} = {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatin..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>activityName</arg>
</arguments>
<assign>
<var>${activityName}</var>
</assign>
<msg timestamp="20211201 21:58:09.642" level="INFO">${activityName} = Ceshi_factory--两次</msg>
<status status="PASS" starttime="20211201 21:58:09.642" endtime="20211201 21:58:09.643"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperCategoryList</arg>
</arguments>
<assign>
<var>${paperCategoryList}</var>
</assign>
<msg timestamp="20211201 21:58:09.643" level="INFO">${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]</msg>
<status status="PASS" starttime="20211201 21:58:09.643" endtime="20211201 21:58:09.643"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:09.643" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:09.643" endtime="20211201 21:58:09.643"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>activityId</arg>
</arguments>
<assign>
<var>${activityId}</var>
</assign>
<msg timestamp="20211201 21:58:09.644" level="INFO">${activityId} = 660531609048584192</msg>
<status status="PASS" starttime="20211201 21:58:09.644" endtime="20211201 21:58:09.644"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${activityName}'=='Ceshi_factory--一次'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:09.644" endtime="20211201 21:58:09.644"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.642" endtime="20211201 21:58:09.644"></status>
</kw>
<kw name="${item} = {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.71, 'floating..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>activityName</arg>
</arguments>
<assign>
<var>${activityName}</var>
</assign>
<msg timestamp="20211201 21:58:09.645" level="INFO">${activityName} = Ceshi_factory--一次</msg>
<status status="PASS" starttime="20211201 21:58:09.645" endtime="20211201 21:58:09.645"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperCategoryList</arg>
</arguments>
<assign>
<var>${paperCategoryList}</var>
</assign>
<msg timestamp="20211201 21:58:09.645" level="INFO">${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.71, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]</msg>
<status status="PASS" starttime="20211201 21:58:09.645" endtime="20211201 21:58:09.645"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:09.646" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:09.645" endtime="20211201 21:58:09.646"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>activityId</arg>
</arguments>
<assign>
<var>${activityId}</var>
</assign>
<msg timestamp="20211201 21:58:09.646" level="INFO">${activityId} = 660531287664234496</msg>
<status status="PASS" starttime="20211201 21:58:09.646" endtime="20211201 21:58:09.646"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${activityName}'=='Ceshi_factory--一次'</arg>
</arguments>
<msg timestamp="20211201 21:58:09.647" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:09.646" endtime="20211201 21:58:09.647"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.644" endtime="20211201 21:58:09.647"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.642" endtime="20211201 21:58:09.647"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${paperCategoryList})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${Category_value}</var>
</assign>
<msg timestamp="20211201 21:58:09.648" level="INFO">${Category_value} = {'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.71, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}</msg>
<status status="PASS" starttime="20211201 21:58:09.647" endtime="20211201 21:58:09.648"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${Category_value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:09.649" endtime="20211201 21:58:09.649"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${Category_value}</arg>
<arg>categoryId</arg>
</arguments>
<assign>
<var>${categoryId}</var>
</assign>
<msg timestamp="20211201 21:58:09.650" level="INFO">${categoryId} = 660529551931215872</msg>
<status status="PASS" starttime="20211201 21:58:09.649" endtime="20211201 21:58:09.650"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${Category_value}</arg>
<arg>categoryName</arg>
</arguments>
<assign>
<var>${categoryName}</var>
</assign>
<msg timestamp="20211201 21:58:09.650" level="INFO">${categoryName} = 花纸</msg>
<status status="PASS" starttime="20211201 21:58:09.650" endtime="20211201 21:58:09.650"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${Category_value}</arg>
<arg>unitPrice</arg>
</arguments>
<assign>
<var>${unitPrice}</var>
</assign>
<msg timestamp="20211201 21:58:09.651" level="INFO">${unitPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:09.650" endtime="20211201 21:58:09.651"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.651" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:09.651" endtime="20211201 21:58:09.652"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${activityId}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.652" level="INFO">${activityId} = 660531287664234496</msg>
<status status="PASS" starttime="20211201 21:58:09.652" endtime="20211201 21:58:09.652"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${categoryId}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.653" level="INFO">${categoryId} = 660529551931215872</msg>
<status status="PASS" starttime="20211201 21:58:09.652" endtime="20211201 21:58:09.653"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${categoryName}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.653" level="INFO">${categoryName} = 花纸</msg>
<status status="PASS" starttime="20211201 21:58:09.653" endtime="20211201 21:58:09.653"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.654" level="INFO">${unitPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:09.653" endtime="20211201 21:58:09.654"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.559" endtime="20211201 21:58:09.654" critical="yes"></status>
</test>
<test id="s1-s2-s1-s2-t2" name="get-carinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>get-carinfo</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.656" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.655" endtime="20211201 21:58:09.656"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>get-carinfo</arg>
<arg>recycle-service/proxy-sell/get/his-car-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.696" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:09.696" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:09.696" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.656" endtime="20211201 21:58:09.696"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.697" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:09.696" endtime="20211201 21:58:09.697"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${carNumber}</var>
</assign>
<msg timestamp="20211201 21:58:09.698" level="INFO">${carNumber} = [{'id': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5322', 'scrapPaperOrderItemId': None, 'plateNumber': '京R7685...</msg>
<status status="PASS" starttime="20211201 21:58:09.697" endtime="20211201 21:58:09.698"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.sample(${carNumber},1)</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${plateNumber_value}</var>
</assign>
<msg timestamp="20211201 21:58:09.699" level="INFO">${plateNumber_value} = [{'id': '5314', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}]</msg>
<status status="PASS" starttime="20211201 21:58:09.698" endtime="20211201 21:58:09.699"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${plateNumber_value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:09.699" endtime="20211201 21:58:09.699"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${plateNumber_value[0]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber1}</var>
</assign>
<msg timestamp="20211201 21:58:09.700" level="INFO">${plateNumber1} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:09.700" endtime="20211201 21:58:09.700"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber1}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.701" level="INFO">${plateNumber1} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:09.700" endtime="20211201 21:58:09.701"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.655" endtime="20211201 21:58:09.701" critical="yes"></status>
</test>
<test id="s1-s2-s1-s2-t3" name="get_paper-mill-paper-category-price-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.702" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.702" endtime="20211201 21:58:09.702"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/get/paper-mill-paper-category-price-details/${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.776" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:09.776" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:09.776" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.703" endtime="20211201 21:58:09.776"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.778" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:09.777" endtime="20211201 21:58:09.778"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.701" endtime="20211201 21:58:09.778" critical="yes"></status>
</test>
<test id="s1-s2-s1-s2-t4" name="get_relation">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.779" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.779" endtime="20211201 21:58:09.779"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/proxy-sell/get/relation</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:09.812" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:09.812" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:09.812" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.779" endtime="20211201 21:58:09.812"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>bizUserId</arg>
</arguments>
<assign>
<var>${bizUserId}</var>
</assign>
<msg timestamp="20211201 21:58:09.813" level="INFO">${bizUserId} = 498985714587930624</msg>
<status status="PASS" starttime="20211201 21:58:09.813" endtime="20211201 21:58:09.813"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>cusormerId</arg>
</arguments>
<assign>
<var>${cusormerId}</var>
</assign>
<msg timestamp="20211201 21:58:09.814" level="INFO">${cusormerId} = 554128866793361643</msg>
<status status="PASS" starttime="20211201 21:58:09.814" endtime="20211201 21:58:09.814"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>customerName</arg>
</arguments>
<assign>
<var>${customerName}</var>
</assign>
<msg timestamp="20211201 21:58:09.815" level="INFO">${customerName} = 赖勇兰</msg>
<status status="PASS" starttime="20211201 21:58:09.814" endtime="20211201 21:58:09.815"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${bizUserId}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.815" level="INFO">${bizUserId} = 498985714587930624</msg>
<status status="PASS" starttime="20211201 21:58:09.815" endtime="20211201 21:58:09.815"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${cusormerId}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.816" level="INFO">${cusormerId} = 554128866793361643</msg>
<status status="PASS" starttime="20211201 21:58:09.815" endtime="20211201 21:58:09.816"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customerName}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.816" level="INFO">${customerName} = 赖勇兰</msg>
<status status="PASS" starttime="20211201 21:58:09.816" endtime="20211201 21:58:09.816"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.778" endtime="20211201 21:58:09.817" critical="yes"></status>
</test>
<test id="s1-s2-s1-s2-t5" name="create_order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:09.818" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:09.817" endtime="20211201 21:58:09.818"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:09.819" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:09.818" endtime="20211201 21:58:09.819"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "totalEstimatedWeight":30000, \ \ \ \ "activityId":"${activityId}", \ \ \ \ "customerName":"${customerName}", \ \ \ \ "deliveryTime":"${datatime}", \ \ \ \ "carInfos":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "plateNumber":"${plateNumber1}" \ \ \ \ \ \ \ \ } \ \ \ \ ] }</arg>
</arguments>
<assign>
<var>${order_data}</var>
</assign>
<msg timestamp="20211201 21:58:09.819" level="INFO">${order_data} = { "paperCategoryId":"660529551931215872", "unitPrice":"1.71", "totalEstimatedWeight":30000, "activityId":"660531287664234496", "customerName":"赖勇兰", "deliveryTime":"2021-12-01"...</msg>
<status status="PASS" starttime="20211201 21:58:09.819" endtime="20211201 21:58:09.820"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/proxy-sell/create/order</arg>
<arg>${order_data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.081" level="INFO">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" } ] }'
</msg>
<msg timestamp="20211201 21:58:10.081" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:10.081" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:09.820" endtime="20211201 21:58:10.081"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.082" level="INFO">{'code': 0, 'message': 'successful', 'data': {'orderId': '663541511601917952'}}</msg>
<status status="PASS" starttime="20211201 21:58:10.082" endtime="20211201 21:58:10.082"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${orderId}</var>
</assign>
<msg timestamp="20211201 21:58:10.083" level="INFO">${orderId} = 663541511601917952</msg>
<status status="PASS" starttime="20211201 21:58:10.082" endtime="20211201 21:58:10.083"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.083" endtime="20211201 21:58:10.084"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.084" level="INFO">${orderId} = 663541511601917952</msg>
<status status="PASS" starttime="20211201 21:58:10.084" endtime="20211201 21:58:10.084"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${datatime}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.085" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:10.084" endtime="20211201 21:58:10.085"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:09.817" endtime="20211201 21:58:10.085" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:09.554" endtime="20211201 21:58:10.086"></status>
</suite>
<status status="PASS" starttime="20211201 21:58:09.337" endtime="20211201 21:58:10.087"></status>
</suite>
<suite id="s1-s2-s2" name="2-Background system(Test)" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)">
<suite id="s1-s2-s2-s1" name="1-WebLogin" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/1-WebLogin">
<suite id="s1-s2-s2-s1-s1" name="Weblogin" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/1-WebLogin/weblogin.robot">
<test id="s1-s2-s2-s1-s1-t1" name="pwlogin">
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/x-www-form-urlencoded</arg>
<arg>X-APP-ID=470236309865238555</arg>
</arguments>
<assign>
<var>${header}</var>
</assign>
<msg timestamp="20211201 21:58:10.098" level="INFO">${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}</msg>
<status status="PASS" starttime="20211201 21:58:10.098" endtime="20211201 21:58:10.098"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.099" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:10.098" endtime="20211201 21:58:10.099"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>username=laiyonglan@qniao.cn</arg>
<arg>password=qn123456</arg>
</arguments>
<assign>
<var>&amp;{data}</var>
</assign>
<msg timestamp="20211201 21:58:10.099" level="INFO">&amp;{data} = { username=laiyonglan@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20211201 21:58:10.099" endtime="20211201 21:58:10.100"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.100" level="INFO">{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}</msg>
<status status="PASS" starttime="20211201 21:58:10.100" endtime="20211201 21:58:10.100"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/login</arg>
<arg>data=${data}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.147" level="INFO">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&amp;password=qn123456
</msg>
<msg timestamp="20211201 21:58:10.148" level="INFO">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":"登陆成功"}
</msg>
<msg timestamp="20211201 21:58:10.148" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.100" endtime="20211201 21:58:10.148"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.149" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20211201 21:58:10.148" endtime="20211201 21:58:10.149"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>Token 6b08add42d6bcf73abb935b2adf83525</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20211201 21:58:10.149" level="INFO">${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525</msg>
<status status="PASS" starttime="20211201 21:58:10.149" endtime="20211201 21:58:10.149"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>登陆成功</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.149" endtime="20211201 21:58:10.150"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.150" level="INFO">${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525</msg>
<status status="PASS" starttime="20211201 21:58:10.150" endtime="20211201 21:58:10.150"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.097" endtime="20211201 21:58:10.151" critical="yes"></status>
</test>
<test id="s1-s2-s2-s1-s1-t2" name="login-info">
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>X-APP-ID=470236309865238555</arg>
<arg>Authorization=Token 6b08add42d6bcf73abb935b2adf83525</arg>
</arguments>
<assign>
<var>${header}</var>
</assign>
<msg timestamp="20211201 21:58:10.152" level="INFO">${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20211201 21:58:10.151" endtime="20211201 21:58:10.152"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>login-info</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.152" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:10.152" endtime="20211201 21:58:10.152"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>login-info</arg>
<arg>recycle-service/admin/employee/get/login-info</arg>
</arguments>
<assign>
<var>${reps_data}</var>
</assign>
<msg timestamp="20211201 21:58:10.218" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:10.219" level="INFO">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"]}}
</msg>
<msg timestamp="20211201 21:58:10.219" level="INFO">${reps_data} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.153" endtime="20211201 21:58:10.219"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps_data}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.220" level="INFO">&lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.219" endtime="20211201 21:58:10.220"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps_data.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.220" endtime="20211201 21:58:10.220"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.151" endtime="20211201 21:58:10.220" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:10.094" endtime="20211201 21:58:10.221"></status>
</suite>
<status status="PASS" starttime="20211201 21:58:10.092" endtime="20211201 21:58:10.222"></status>
</suite>
<suite id="s1-s2-s2-s2" name="2.1-Consignment management" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/2.1-Consignment management">
<suite id="s1-s2-s2-s2-s1" name="1-Appointment" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/2.1-Consignment management/1-appointment.robot">
<test id="s1-s2-s2-s2-s1-t1" name="get_paper-mill-order-reservation-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.230" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.230" endtime="20211201 21:58:10.230"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-order-reservation-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps_data}</var>
</assign>
<msg timestamp="20211201 21:58:10.281" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=663541511601917952
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;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
</msg>
<msg timestamp="20211201 21:58:10.281" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:10.282" level="INFO">${reps_data} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.231" endtime="20211201 21:58:10.282"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps_data.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.283" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:10.282" endtime="20211201 21:58:10.283"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${orderId}</var>
</assign>
<msg timestamp="20211201 21:58:10.283" level="INFO">${orderId} = 663541511601917952</msg>
<status status="PASS" starttime="20211201 21:58:10.283" endtime="20211201 21:58:10.283"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:10.284" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:10.284" endtime="20211201 21:58:10.284"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:10.285" level="INFO">${id} = 4690</msg>
<status status="PASS" starttime="20211201 21:58:10.284" endtime="20211201 21:58:10.285"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>orderType</arg>
</arguments>
<assign>
<var>${orderType}</var>
</assign>
<msg timestamp="20211201 21:58:10.285" level="INFO">${orderType} = 2</msg>
<status status="PASS" starttime="20211201 21:58:10.285" endtime="20211201 21:58:10.285"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>carNoList</arg>
</arguments>
<assign>
<var>${carNoList}</var>
</assign>
<msg timestamp="20211201 21:58:10.286" level="INFO">${carNoList} = ['闽NC6789']</msg>
<status status="PASS" starttime="20211201 21:58:10.286" endtime="20211201 21:58:10.286"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>paperMillName</arg>
</arguments>
<assign>
<var>${paperMillName}</var>
</assign>
<msg timestamp="20211201 21:58:10.287" level="INFO">${paperMillName} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:10.286" endtime="20211201 21:58:10.287"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>sellerReservationDate</arg>
</arguments>
<assign>
<var>${sellerReservationDate}</var>
</assign>
<msg timestamp="20211201 21:58:10.287" level="INFO">${sellerReservationDate} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:10.287" endtime="20211201 21:58:10.287"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${carNoList})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${carList}</var>
</assign>
<msg timestamp="20211201 21:58:10.288" level="INFO">${carList} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:10.287" endtime="20211201 21:58:10.288"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${carList}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.288" endtime="20211201 21:58:10.288"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps_data.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.289" endtime="20211201 21:58:10.289"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.290" level="INFO">${orderId} = 663541511601917952</msg>
<status status="PASS" starttime="20211201 21:58:10.289" endtime="20211201 21:58:10.290"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.290" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:10.290" endtime="20211201 21:58:10.290"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.291" level="INFO">${id} = 4690</msg>
<status status="PASS" starttime="20211201 21:58:10.290" endtime="20211201 21:58:10.291"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillName}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.291" level="INFO">${paperMillName} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:10.291" endtime="20211201 21:58:10.291"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${sellerReservationDate}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.292" level="INFO">${sellerReservationDate} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:10.291" endtime="20211201 21:58:10.292"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderType}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.292" level="INFO">${orderType} = 2</msg>
<status status="PASS" starttime="20211201 21:58:10.292" endtime="20211201 21:58:10.292"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${carList}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.293" level="INFO">${carList} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:10.292" endtime="20211201 21:58:10.293"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.229" endtime="20211201 21:58:10.293" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s1-t2" name="get-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.294" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.294" endtime="20211201 21:58:10.294"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.327" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:10.328" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:10.328" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.294" endtime="20211201 21:58:10.328"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.329" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:10.328" endtime="20211201 21:58:10.329"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:10.329" level="INFO">${data} = [{'name': '测试111', 'id': '660525241805705216'}]</msg>
<status status="PASS" starttime="20211201 21:58:10.329" endtime="20211201 21:58:10.330"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${data})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${value}</var>
</assign>
<msg timestamp="20211201 21:58:10.330" level="INFO">${value} = {'name': '测试111', 'id': '660525241805705216'}</msg>
<status status="PASS" starttime="20211201 21:58:10.330" endtime="20211201 21:58:10.330"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.330" endtime="20211201 21:58:10.331"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${supplier_id}</var>
</assign>
<msg timestamp="20211201 21:58:10.331" level="INFO">${supplier_id} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:10.331" endtime="20211201 21:58:10.331"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${millSupplierName}</var>
</assign>
<msg timestamp="20211201 21:58:10.332" level="INFO">${millSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:10.331" endtime="20211201 21:58:10.332"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_id}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.332" level="INFO">${supplier_id} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:10.332" endtime="20211201 21:58:10.332"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${millSupplierName}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.333" level="INFO">${millSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:10.332" endtime="20211201 21:58:10.333"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.293" endtime="20211201 21:58:10.334" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s1-t3" name="Submit-appointment">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.335" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.335" endtime="20211201 21:58:10.335"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:10.336" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:10.336" endtime="20211201 21:58:10.336"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:10.337" level="INFO">${data} = {"attention":"663541511601917952","buyerReservationDate":"2021-12-01", "id":"4690","millDeliveryOrderId":"663541511601917952","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...</msg>
<status status="PASS" starttime="20211201 21:58:10.336" endtime="20211201 21:58:10.337"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.337" level="INFO">{"attention":"663541511601917952","buyerReservationDate":"2021-12-01", "id":"4690","millDeliveryOrderId":"663541511601917952","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663541511601917952"}</msg>
<status status="PASS" starttime="20211201 21:58:10.337" endtime="20211201 21:58:10.337"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/update/reservation</arg>
<arg>${data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.470" level="INFO">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"}'
</msg>
<msg timestamp="20211201 21:58:10.471" level="INFO">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}
</msg>
<msg timestamp="20211201 21:58:10.471" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.337" endtime="20211201 21:58:10.471"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.471" endtime="20211201 21:58:10.472"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.334" endtime="20211201 21:58:10.472" critical="yes"></status>
</test>
<doc>预约送货</doc>
<status status="PASS" starttime="20211201 21:58:10.225" endtime="20211201 21:58:10.472"></status>
</suite>
<suite id="s1-s2-s2-s2-s2" name="2.2-RegularUpload-weightnote-1" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/2.1-Consignment management/2.2-RegularUpload-weightnote-1.robot">
<test id="s1-s2-s2-s2-s2-t1" name="get-order-item-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.481" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.480" endtime="20211201 21:58:10.481"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order-item-list</arg>
<arg>params=orderType=${orderType} &amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.538" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;orderId=663541511601917952
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;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
</msg>
<msg timestamp="20211201 21:58:10.538" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;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}}
</msg>
<msg timestamp="20211201 21:58:10.539" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.481" endtime="20211201 21:58:10.539"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.540" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:10.539" endtime="20211201 21:58:10.540"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:10.540" level="INFO">${records} = [{'orderId': '663541511601917952', 'orderItemId': '663541511635472384', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '20...</msg>
<status status="PASS" starttime="20211201 21:58:10.540" endtime="20211201 21:58:10.540"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${records})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${orderItemId_value}</var>
</assign>
<msg timestamp="20211201 21:58:10.541" level="INFO">${orderItemId_value} = {'orderId': '663541511601917952', 'orderItemId': '663541511635472384', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '202...</msg>
<status status="PASS" starttime="20211201 21:58:10.540" endtime="20211201 21:58:10.541"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${orderItemId_value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:10.541" endtime="20211201 21:58:10.542"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${orderItemId_value}</arg>
<arg>orderItemId</arg>
</arguments>
<assign>
<var>${orderItemId}</var>
</assign>
<msg timestamp="20211201 21:58:10.542" level="INFO">${orderItemId} = 663541511635472384</msg>
<status status="PASS" starttime="20211201 21:58:10.542" endtime="20211201 21:58:10.542"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderItemId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.543" level="INFO">${orderItemId} = 663541511635472384</msg>
<status status="PASS" starttime="20211201 21:58:10.542" endtime="20211201 21:58:10.543"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.480" endtime="20211201 21:58:10.543" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t2" name="get-order-item-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.544" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.544" endtime="20211201 21:58:10.544"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId} &amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.738" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952%20&amp;orderItemId=663541511635472384
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952%20&amp;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
</msg>
<msg timestamp="20211201 21:58:10.738" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952%20&amp;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":"长沙市千鸟互联科技有限公司"}}
</msg>
<msg timestamp="20211201 21:58:10.738" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.544" endtime="20211201 21:58:10.738"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:10.739" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:10.739" endtime="20211201 21:58:10.739"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:10.740" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:10.739" endtime="20211201 21:58:10.740"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperCategoryPrice</arg>
</arguments>
<assign>
<var>${paperCategoryPrice}</var>
</assign>
<msg timestamp="20211201 21:58:10.741" level="INFO">${paperCategoryPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:10.740" endtime="20211201 21:58:10.741"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>publicSubsidies</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:10.741" level="INFO">${publicSubsidies} = None</msg>
<status status="PASS" starttime="20211201 21:58:10.741" endtime="20211201 21:58:10.741"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>activitySettleType</arg>
</arguments>
<assign>
<var>${activitySettleType}</var>
</assign>
<msg timestamp="20211201 21:58:10.742" level="INFO">${activitySettleType} = 2</msg>
<status status="PASS" starttime="20211201 21:58:10.741" endtime="20211201 21:58:10.742"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxySellerSettleType</arg>
</arguments>
<assign>
<var>${proxySellerSettleType}</var>
</assign>
<msg timestamp="20211201 21:58:10.743" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.742" endtime="20211201 21:58:10.743"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>transactionMainEnterpriseId</arg>
</arguments>
<assign>
<var>${交易主体id}</var>
</assign>
<msg timestamp="20211201 21:58:10.743" level="INFO">${交易主体id} = 16</msg>
<status status="PASS" starttime="20211201 21:58:10.743" endtime="20211201 21:58:10.743"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>transactionMainEnterpriseName</arg>
</arguments>
<assign>
<var>${交易主体name}</var>
</assign>
<msg timestamp="20211201 21:58:10.744" level="INFO">${交易主体name} = 长沙市千鸟互联科技有限公司</msg>
<status status="PASS" starttime="20211201 21:58:10.744" endtime="20211201 21:58:10.745"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>unitSurcharge</arg>
</arguments>
<assign>
<var>${unitSurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:10.745" level="INFO">${unitSurcharge} = 0.015</msg>
<status status="PASS" starttime="20211201 21:58:10.745" endtime="20211201 21:58:10.745"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>settleUtiPriceIncludeTaxType</arg>
</arguments>
<assign>
<var>${settleUtiPriceIncludeTaxType}</var>
</assign>
<msg timestamp="20211201 21:58:10.746" level="INFO">${settleUtiPriceIncludeTaxType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:10.746" endtime="20211201 21:58:10.746"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${publicSubsidies}'=='${null}'</arg>
<arg>0</arg>
<arg>${publicSubsidies}</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:10.747" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.746" endtime="20211201 21:58:10.747"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${unitPrice}+${publicSubsidies}</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:10.747" level="INFO">${settleUtiPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:10.747" endtime="20211201 21:58:10.747"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${unitSurcharge}'=='${None}'</arg>
<arg>0</arg>
<arg>${unitSurcharge}</arg>
</arguments>
<assign>
<var>${unitSurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:10.748" level="INFO">${unitSurcharge} = 0.015</msg>
<status status="PASS" starttime="20211201 21:58:10.748" endtime="20211201 21:58:10.748"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.749" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:10.748" endtime="20211201 21:58:10.749"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.749" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:10.749" endtime="20211201 21:58:10.749"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperCategoryPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.750" level="INFO">${paperCategoryPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:10.749" endtime="20211201 21:58:10.750"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${publicSubsidies}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.751" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.750" endtime="20211201 21:58:10.751"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${activitySettleType}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.751" level="INFO">${activitySettleType} = 2</msg>
<status status="PASS" starttime="20211201 21:58:10.751" endtime="20211201 21:58:10.751"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxySellerSettleType}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.752" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.751" endtime="20211201 21:58:10.752"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.753" level="INFO">${settleUtiPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:10.752" endtime="20211201 21:58:10.753"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体id}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.753" level="INFO">${交易主体id} = 16</msg>
<status status="PASS" starttime="20211201 21:58:10.753" endtime="20211201 21:58:10.753"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体name}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.754" level="INFO">${交易主体name} = 长沙市千鸟互联科技有限公司</msg>
<status status="PASS" starttime="20211201 21:58:10.753" endtime="20211201 21:58:10.754"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitSurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.754" level="INFO">${unitSurcharge} = 0.015</msg>
<status status="PASS" starttime="20211201 21:58:10.754" endtime="20211201 21:58:10.754"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPriceIncludeTaxType}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.755" level="INFO">${settleUtiPriceIncludeTaxType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:10.755" endtime="20211201 21:58:10.755"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.543" endtime="20211201 21:58:10.755" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t3" name="get_delivery-info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.756" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.756" endtime="20211201 21:58:10.757"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.819" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:10.820" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:10.820" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.757" endtime="20211201 21:58:10.820"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.821" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:10.820" endtime="20211201 21:58:10.821"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber}</var>
</assign>
<msg timestamp="20211201 21:58:10.822" level="INFO">${plateNumber} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:10.821" endtime="20211201 21:58:10.822"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleUtiPrice</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:10.822" level="INFO">${settleUtiPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:10.822" endtime="20211201 21:58:10.822"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.823" level="INFO">${plateNumber} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:10.823" endtime="20211201 21:58:10.823"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.823" level="INFO">${settleUtiPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:10.823" endtime="20211201 21:58:10.824"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.755" endtime="20211201 21:58:10.824" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t4" name="get_contract_by_id">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.825" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.825" endtime="20211201 21:58:10.825"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/contract/get/detail-by-id</arg>
<arg>params=id=${contractId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.885" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:10.885" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:10.886" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.826" endtime="20211201 21:58:10.886"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.887" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:10.886" endtime="20211201 21:58:10.887"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>advanceFund</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:10.888" level="INFO">${advanceFund} = None</msg>
<status status="PASS" starttime="20211201 21:58:10.887" endtime="20211201 21:58:10.888"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>accountPeriod</arg>
</arguments>
<assign>
<var>${accountPeriod}</var>
</assign>
<msg timestamp="20211201 21:58:10.888" level="INFO">${accountPeriod} = [25]</msg>
<status status="PASS" starttime="20211201 21:58:10.888" endtime="20211201 21:58:10.888"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>buyerEnterpriseId</arg>
</arguments>
<assign>
<var>${buyerEnterpriseId}</var>
</assign>
<msg timestamp="20211201 21:58:10.889" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:10.888" endtime="20211201 21:58:10.889"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:10.890" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.889" endtime="20211201 21:58:10.890"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>taxRefundRate</arg>
</arguments>
<assign>
<var>${taxRefundRate}</var>
</assign>
<msg timestamp="20211201 21:58:10.890" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:10.890" endtime="20211201 21:58:10.890"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxyPaySurcharge</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:10.891" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:10.890" endtime="20211201 21:58:10.891"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>hasInvoice</arg>
</arguments>
<assign>
<var>${hasInvoice}</var>
</assign>
<msg timestamp="20211201 21:58:10.892" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:10.891" endtime="20211201 21:58:10.892"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>accountPeriodType</arg>
</arguments>
<assign>
<var>${accountPeriodType}</var>
</assign>
<msg timestamp="20211201 21:58:10.892" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.892" endtime="20211201 21:58:10.892"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>isSubsidyAndDeductIncludeTax</arg>
</arguments>
<assign>
<var>${isSubsidyAndDeductIncludeTax}</var>
</assign>
<msg timestamp="20211201 21:58:10.893" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.892" endtime="20211201 21:58:10.893"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleRules</arg>
</arguments>
<assign>
<var>${receivableSettlementRules}</var>
</assign>
<msg timestamp="20211201 21:58:10.894" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.893" endtime="20211201 21:58:10.894"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:10.894" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.894" endtime="20211201 21:58:10.894"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${advanceFund}'=='${None}'</arg>
<arg>0</arg>
<arg>${advanceFund}</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:10.895" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.894" endtime="20211201 21:58:10.895"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${proxyPaySurcharge}'=='${None}'</arg>
<arg>0</arg>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:10.896" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:10.895" endtime="20211201 21:58:10.896"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${advanceFund}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.896" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.896" endtime="20211201 21:58:10.896"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${accountPeriod}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.897" level="INFO">${accountPeriod} = [25]</msg>
<status status="PASS" starttime="20211201 21:58:10.897" endtime="20211201 21:58:10.897"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${buyerEnterpriseId}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.898" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:10.897" endtime="20211201 21:58:10.898"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${taxRefundRate}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.898" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:10.898" endtime="20211201 21:58:10.898"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.899" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:10.899" endtime="20211201 21:58:10.899"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${hasInvoice}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.899" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:10.899" endtime="20211201 21:58:10.900"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${accountPeriodType}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.900" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.900" endtime="20211201 21:58:10.900"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.901" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.901" endtime="20211201 21:58:10.901"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${isSubsidyAndDeductIncludeTax}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.901" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.901" endtime="20211201 21:58:10.902"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${receivableSettlementRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.902" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.902" endtime="20211201 21:58:10.902"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.902" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:10.902" endtime="20211201 21:58:10.903"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.824" endtime="20211201 21:58:10.903" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t5" name="get-contract-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.904" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.903" endtime="20211201 21:58:10.904"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>/recycle-service/admin/contract/get/selectable-contract-list</arg>
<arg>params=orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.943" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:10.943" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:10.944" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.904" endtime="20211201 21:58:10.944"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.944" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:10.944" endtime="20211201 21:58:10.945"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.903" endtime="20211201 21:58:10.945" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t6" name="get-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.946" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.946" endtime="20211201 21:58:10.947"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:10.980" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:10.980" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:10.980" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.947" endtime="20211201 21:58:10.980"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.981" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:10.980" endtime="20211201 21:58:10.981"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.945" endtime="20211201 21:58:10.981" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t7" name="get-Source of funds">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:10.983" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:10.982" endtime="20211201 21:58:10.983"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/fund-source/get/list</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.020" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:11.020" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:11.020" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:10.983" endtime="20211201 21:58:11.020"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.021" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:11.021" endtime="20211201 21:58:11.022"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.022" level="INFO">${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...</msg>
<status status="PASS" starttime="20211201 21:58:11.022" endtime="20211201 21:58:11.022"></status>
</kw>
<kw name="${item} IN [ @{data} ]" type="for">
<kw name="${item} = {'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.023" level="INFO">{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:11.023" endtime="20211201 21:58:11.023"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:11.024" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:11.023" endtime="20211201 21:58:11.024"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:11.024" level="INFO">${name} = 千鸟-经纪业务</msg>
<status status="PASS" starttime="20211201 21:58:11.024" endtime="20211201 21:58:11.024"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:11.025" level="INFO">${id} = 39</msg>
<status status="PASS" starttime="20211201 21:58:11.024" endtime="20211201 21:58:11.025"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.025" endtime="20211201 21:58:11.025"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.023" endtime="20211201 21:58:11.025"></status>
</kw>
<kw name="${item} = {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.026" level="INFO">{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:11.026" endtime="20211201 21:58:11.026"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:11.026" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:11.026" endtime="20211201 21:58:11.027"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:11.027" level="INFO">${name} = 千纸鹤代卖业务</msg>
<status status="PASS" starttime="20211201 21:58:11.027" endtime="20211201 21:58:11.027"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:11.027" level="INFO">${id} = 40</msg>
<status status="PASS" starttime="20211201 21:58:11.027" endtime="20211201 21:58:11.027"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.027" endtime="20211201 21:58:11.028"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.026" endtime="20211201 21:58:11.028"></status>
</kw>
<kw name="${item} = {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.028" level="INFO">{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:11.028" endtime="20211201 21:58:11.028"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:11.029" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:11.028" endtime="20211201 21:58:11.029"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:11.029" level="INFO">${name} = 测试资金方</msg>
<status status="PASS" starttime="20211201 21:58:11.029" endtime="20211201 21:58:11.029"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:11.030" level="INFO">${id} = 41</msg>
<status status="PASS" starttime="20211201 21:58:11.030" endtime="20211201 21:58:11.030"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.030" endtime="20211201 21:58:11.030"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.028" endtime="20211201 21:58:11.030"></status>
</kw>
<kw name="${item} = {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.031" level="INFO">{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:11.031" endtime="20211201 21:58:11.031"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:11.031" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:11.031" endtime="20211201 21:58:11.031"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:11.032" level="INFO">${name} = 千鸟-技术部测试数据</msg>
<status status="PASS" starttime="20211201 21:58:11.031" endtime="20211201 21:58:11.032"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:11.032" level="INFO">${id} = 42</msg>
<status status="PASS" starttime="20211201 21:58:11.032" endtime="20211201 21:58:11.032"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.032" endtime="20211201 21:58:11.033"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.030" endtime="20211201 21:58:11.033"></status>
</kw>
<kw name="${item} = {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.033" level="INFO">{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:11.033" endtime="20211201 21:58:11.033"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:11.034" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:11.033" endtime="20211201 21:58:11.034"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:11.034" level="INFO">${name} = 千鸟</msg>
<status status="PASS" starttime="20211201 21:58:11.034" endtime="20211201 21:58:11.034"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:11.034" level="INFO">${id} = 46</msg>
<status status="PASS" starttime="20211201 21:58:11.034" endtime="20211201 21:58:11.034"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.035" endtime="20211201 21:58:11.035"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.033" endtime="20211201 21:58:11.035"></status>
</kw>
<kw name="${item} = {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.035" level="INFO">{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}</msg>
<status status="PASS" starttime="20211201 21:58:11.035" endtime="20211201 21:58:11.035"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:11.036" level="INFO">${isDefault} = 1</msg>
<status status="PASS" starttime="20211201 21:58:11.036" endtime="20211201 21:58:11.036"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:11.036" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:11.036" endtime="20211201 21:58:11.036"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:11.037" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:11.036" endtime="20211201 21:58:11.037"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<msg timestamp="20211201 21:58:11.037" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:11.037" endtime="20211201 21:58:11.037"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.035" endtime="20211201 21:58:11.037"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.023" endtime="20211201 21:58:11.037"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${name}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.038" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:11.038" endtime="20211201 21:58:11.038"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.039" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:11.038" endtime="20211201 21:58:11.039"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:10.982" endtime="20211201 21:58:11.039" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t8" name="get-Warehouse">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.040" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.040" endtime="20211201 21:58:11.040"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/transaction-main-enterprise/get/warehouse-name</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.074" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:11.074" level="INFO">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":["石基仓","江高仓","大观仓","钟落潭仓"]}
</msg>
<msg timestamp="20211201 21:58:11.074" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.041" endtime="20211201 21:58:11.074"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${仓库}</var>
</assign>
<msg timestamp="20211201 21:58:11.075" level="INFO">${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']</msg>
<status status="PASS" starttime="20211201 21:58:11.075" endtime="20211201 21:58:11.075"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${仓库})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${所属仓库}</var>
</assign>
<msg timestamp="20211201 21:58:11.076" level="INFO">${所属仓库} = 石基仓</msg>
<status status="PASS" starttime="20211201 21:58:11.075" endtime="20211201 21:58:11.076"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${所属仓库}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.076" endtime="20211201 21:58:11.077"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${所属仓库}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.077" level="INFO">${所属仓库} = 石基仓</msg>
<status status="PASS" starttime="20211201 21:58:11.077" endtime="20211201 21:58:11.077"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.039" endtime="20211201 21:58:11.078" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t9" name="get_proxy-order_delivery-info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.079" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.078" endtime="20211201 21:58:11.079"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.137" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:11.138" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:11.138" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.079" endtime="20211201 21:58:11.138"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.139" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:11.138" endtime="20211201 21:58:11.139"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber}</var>
</assign>
<msg timestamp="20211201 21:58:11.139" level="INFO">${plateNumber} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:11.139" endtime="20211201 21:58:11.139"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleUtiPrice</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:11.140" level="INFO">${settleUtiPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:11.139" endtime="20211201 21:58:11.140"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.140" level="INFO">${plateNumber} = 闽NC6789</msg>
<status status="PASS" starttime="20211201 21:58:11.140" endtime="20211201 21:58:11.140"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.141" level="INFO">${settleUtiPrice} = 1.71</msg>
<status status="PASS" starttime="20211201 21:58:11.141" endtime="20211201 21:58:11.141"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.078" endtime="20211201 21:58:11.141" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t10" name="get_paper-mill-category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.142" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.142" endtime="20211201 21:58:11.142"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}</arg>
<arg>params=id=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.177" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:11.177" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:11.177" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.143" endtime="20211201 21:58:11.177"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.178" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}</msg>
<status status="PASS" starttime="20211201 21:58:11.177" endtime="20211201 21:58:11.178"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.141" endtime="20211201 21:58:11.178" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t11" name="Upload_pictures">
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>open('E:/lyl/图片/16pic_6879381_b.jpg','rb')</arg>
</arguments>
<assign>
<var>${filepath}</var>
</assign>
<msg timestamp="20211201 21:58:11.179" level="FAIL">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'</msg>
<status status="FAIL" starttime="20211201 21:58:11.179" endtime="20211201 21:58:11.180"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.179" endtime="20211201 21:58:11.180" critical="yes">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'</status>
</test>
<test id="s1-s2-s2-s2-s2-t12" name="get_repeat_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.181" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.180" endtime="20211201 21:58:11.181"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/repeat/proxy-order</arg>
<arg>params=orderItemId=${orderItemId}&amp;plateNumber=${carList}&amp;settleWeight=14800&amp;weighingDate=${datatime}&amp;orderType=${orderType}&amp;settlePrice=29466.6</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.289" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541511635472384&amp;plateNumber=%E9%97%BDNC6789&amp;settleWeight=14800&amp;weighingDate=2021-12-01&amp;orderType=2&amp;settlePrice=29466.6
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541511635472384&amp;plateNumber=%E9%97%BDNC6789&amp;settleWeight=14800&amp;weighingDate=2021-12-01&amp;orderType=2&amp;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
</msg>
<msg timestamp="20211201 21:58:11.289" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541511635472384&amp;plateNumber=%E9%97%BDNC6789&amp;settleWeight=14800&amp;weighingDate=2021-12-01&amp;orderType=2&amp;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}}
</msg>
<msg timestamp="20211201 21:58:11.289" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.182" endtime="20211201 21:58:11.289"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:11.290" level="INFO">${records} = []</msg>
<status status="PASS" starttime="20211201 21:58:11.289" endtime="20211201 21:58:11.290"></status>
</kw>
<kw name="Create List" library="BuiltIn">
<doc>Returns a list containing given items.</doc>
<assign>
<var>${orderItemId_list}</var>
</assign>
<msg timestamp="20211201 21:58:11.290" level="INFO">${orderItemId_list} = []</msg>
<status status="PASS" starttime="20211201 21:58:11.290" endtime="20211201 21:58:11.290"></status>
</kw>
<kw name="${items} IN [ @{records} ]" type="for">
<status status="PASS" starttime="20211201 21:58:11.290" endtime="20211201 21:58:11.291"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.291" endtime="20211201 21:58:11.291"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderItemId_list}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.292" level="INFO">${orderItemId_list} = []</msg>
<status status="PASS" starttime="20211201 21:58:11.291" endtime="20211201 21:58:11.292"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.180" endtime="20211201 21:58:11.292" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t13" name="repeat_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.293" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.293" endtime="20211201 21:58:11.293"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "orderItemId":"${orderItemId}", \ \ \ \ "remark":"${datatime}", \ \ \ \ "repeatOrderItem":${orderItemId_list} }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.294" level="INFO">${data} = { "orderItemId":"663541511635472384", "remark":"2021-12-01", "repeatOrderItem":[] }</msg>
<status status="PASS" starttime="20211201 21:58:11.294" endtime="20211201 21:58:11.294"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/confirm/repeat/proxy-order</arg>
<arg>${data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.350" level="INFO">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":[] }'
</msg>
<msg timestamp="20211201 21:58:11.350" level="INFO">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}
</msg>
<msg timestamp="20211201 21:58:11.350" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.294" endtime="20211201 21:58:11.350"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.292" endtime="20211201 21:58:11.351" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s2-t14" name="weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.353" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.352" endtime="20211201 21:58:11.353"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:11.354" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:11.354" endtime="20211201 21:58:11.354"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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 \ \ \ \ \ \ \ \ } \ \ \ \ ] }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.357" level="FAIL">Variable '${pictures}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.354" endtime="20211201 21:58:11.357"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.351" endtime="20211201 21:58:11.357" critical="yes">Variable '${pictures}' not found.</status>
</test>
<test id="s1-s2-s2-s2-s2-t15" name="audit_weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.359" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.358" endtime="20211201 21:58:11.360"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}</arg>
</arguments>
<assign>
<var>${repsonse}</var>
</assign>
<msg timestamp="20211201 21:58:11.361" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.360" endtime="20211201 21:58:11.361"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.358" endtime="20211201 21:58:11.362" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s2-s2-s2-s2-t16" name="get_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.364" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.363" endtime="20211201 21:58:11.364"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId}&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.564" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952&amp;orderItemId=663541511635472384
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952&amp;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
</msg>
<msg timestamp="20211201 21:58:11.564" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541511601917952?orderId=663541511601917952&amp;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":"长沙市千鸟互联科技有限公司"}}
</msg>
<msg timestamp="20211201 21:58:11.564" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.364" endtime="20211201 21:58:11.564"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.565" level="INFO">{'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': '长沙市千鸟互联科技有限公司'}}</msg>
<status status="PASS" starttime="20211201 21:58:11.565" endtime="20211201 21:58:11.565"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:11.566" endtime="20211201 21:58:11.566"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.362" endtime="20211201 21:58:11.566" critical="yes"></status>
</test>
<doc>上传磅单-一次付款活动</doc>
<status status="FAIL" starttime="20211201 21:58:10.474" endtime="20211201 21:58:11.567"></status>
</suite>
<suite id="s1-s2-s2-s2-s3" name="3.2-Operation audit" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/2.1-Consignment management/3.2-Operation_audit.robot">
<test id="s1-s2-s2-s2-s3-t1" name="get_operation_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.575" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.575" endtime="20211201 21:58:11.576"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.651" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:11.651" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:11.651" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.576" endtime="20211201 21:58:11.651"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.652" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:11.652" endtime="20211201 21:58:11.653"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.574" endtime="20211201 21:58:11.653" critical="yes"></status>
</test>
<test id="s1-s2-s2-s2-s3-t2" name="get_paper-mill-order-by-orderItemId">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.654" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.654" endtime="20211201 21:58:11.654"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.695" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=663541511635472384
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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
</msg>
<msg timestamp="20211201 21:58:11.695" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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}}
</msg>
<msg timestamp="20211201 21:58:11.696" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.654" endtime="20211201 21:58:11.696"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.697" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:11.696" endtime="20211201 21:58:11.697"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditRequestId</arg>
</arguments>
<assign>
<var>${auditRequestId}</var>
</assign>
<msg timestamp="20211201 21:58:11.697" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:11.697" endtime="20211201 21:58:11.697"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.653" endtime="20211201 21:58:11.698" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s2-s2-s2-s3-t3" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.699" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.698" endtime="20211201 21:58:11.699"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.701" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.699" endtime="20211201 21:58:11.701"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.698" endtime="20211201 21:58:11.701" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s2-s2-s2-s3-t4" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.703" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.702" endtime="20211201 21:58:11.703"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:11.704" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:11.704" endtime="20211201 21:58:11.704"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.706" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.704" endtime="20211201 21:58:11.706"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.701" endtime="20211201 21:58:11.706" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s2-s2-s2-s3-t5" name="order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.707" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.707" endtime="20211201 21:58:11.708"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.709" level="FAIL">Variable '${auditRequestItemId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.708" endtime="20211201 21:58:11.709"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.707" endtime="20211201 21:58:11.710" critical="yes">Variable '${auditRequestItemId}' not found.</status>
</test>
<test id="s1-s2-s2-s2-s3-t6" name="get_order-log-detail2">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.711" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.710" endtime="20211201 21:58:11.711"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId} &amp;operationStatus=2</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.713" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.711" endtime="20211201 21:58:11.713"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.710" endtime="20211201 21:58:11.713" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s2-s2-s2-s3-t7" name="operation_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.715" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.714" endtime="20211201 21:58:11.715"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.717" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.715" endtime="20211201 21:58:11.717"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.714" endtime="20211201 21:58:11.717" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<doc>运用审核-一次付款活动</doc>
<status status="FAIL" starttime="20211201 21:58:11.569" endtime="20211201 21:58:11.718"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:10.223" endtime="20211201 21:58:11.720"></status>
</suite>
<suite id="s1-s2-s2-s3" name="3-Withdrawal application" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/3-Withdrawal_application">
<suite id="s1-s2-s2-s3-s1" name="4-Financial audit" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/3-Withdrawal_application/4-Financial_audit.robot">
<test id="s1-s2-s2-s3-s1-t1" name="get_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.745" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:11.745" endtime="20211201 21:58:11.745"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.823" level="INFO">GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=663541511635472384
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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
</msg>
<msg timestamp="20211201 21:58:11.824" level="INFO">GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:11.824" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.746" endtime="20211201 21:58:11.824"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditedTime</arg>
</arguments>
<assign>
<var>${auditedTime}</var>
</assign>
<msg timestamp="20211201 21:58:11.825" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:11.824" endtime="20211201 21:58:11.825"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.744" endtime="20211201 21:58:11.825" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s2-s2-s3-s1-t2" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL1}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.827" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.826" endtime="20211201 21:58:11.827"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}&amp;operationStatus=3</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.829" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.827" endtime="20211201 21:58:11.829"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.825" endtime="20211201 21:58:11.829" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s2-s2-s3-s1-t3" name="paper-mill-order-receipt-proof-request_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.830" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:11.830" endtime="20211201 21:58:11.831"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.832" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.831" endtime="20211201 21:58:11.832"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.829" endtime="20211201 21:58:11.833" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s2-s2-s3-s1-t4" name="paper-mill-order-receipt-proof-request_settle">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.834" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:11.833" endtime="20211201 21:58:11.834"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "id":"${auditRequestId}", \ \ \ \ "adminId":null }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.836" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.834" endtime="20211201 21:58:11.836"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.833" endtime="20211201 21:58:11.836" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<doc>代卖应付</doc>
<status status="FAIL" starttime="20211201 21:58:11.726" endtime="20211201 21:58:11.836"></status>
</suite>
<suite id="s1-s2-s2-s3-s2" name="5-Sales receivables" source="/root/ztb-trading-rf-api/001-Activeorder/2-Background_system(Test)/3-Withdrawal_application/5-Sales_receivables.robot">
<test id="s1-s2-s2-s3-s2-t1" name="get_paper-payment-order-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.842" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.842" endtime="20211201 21:58:11.843"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-payment-order-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.903" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;orderId=663541511601917952
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:11.903" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:11.904" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.843" endtime="20211201 21:58:11.904"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paymentOrderId}</var>
</assign>
<msg timestamp="20211201 21:58:11.905" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:11.904" endtime="20211201 21:58:11.905"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.842" endtime="20211201 21:58:11.905" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s2-s2-s3-s2-t2" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.906" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.906" endtime="20211201 21:58:11.907"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:11.908" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.907" endtime="20211201 21:58:11.908"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.905" endtime="20211201 21:58:11.908" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s2-s2-s3-s2-t3" name="update_payment-order-status">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.909" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:11.909" endtime="20211201 21:58:11.910"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.911" level="FAIL">Variable '${paymentOrderId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:11.910" endtime="20211201 21:58:11.911"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:11.909" endtime="20211201 21:58:11.911" critical="yes">Variable '${paymentOrderId}' not found.</status>
</test>
<doc>代卖应收</doc>
<status status="FAIL" starttime="20211201 21:58:11.838" endtime="20211201 21:58:11.912"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:11.723" endtime="20211201 21:58:11.913"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:10.089" endtime="20211201 21:58:11.915"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:09.335" endtime="20211201 21:58:11.920"></status>
</suite>
<suite id="s1-s3" name="002-Activeorder" source="/root/ztb-trading-rf-api/002-Activeorder">
<suite id="s1-s3-s1" name="1-Client(Test)" source="/root/ztb-trading-rf-api/002-Activeorder/1-Client(Test)">
<suite id="s1-s3-s1-s1" name="1-APPlogin(Test)" source="/root/ztb-trading-rf-api/002-Activeorder/1-Client(Test)/1-APPlogin(Test).robot">
<test id="s1-s3-s1-s1-t1" name="userlogin">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211201 21:58:11.933" endtime="20211201 21:58:11.933"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>https://api-client-uec-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:11.934" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:11.933" endtime="20211201 21:58:11.934"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>account=18888888888</arg>
<arg>captcha=888888</arg>
<arg>accountType=2</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:11.935" level="INFO">${data} = {'account': '18888888888', 'captcha': '888888', 'accountType': '2'}</msg>
<status status="PASS" starttime="20211201 21:58:11.934" endtime="20211201 21:58:11.935"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>18888888888</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211201 21:58:11.935" level="INFO">${account} = 18888888888</msg>
<status status="PASS" starttime="20211201 21:58:11.935" endtime="20211201 21:58:11.935"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>json=${data}</arg>
</arguments>
<assign>
<var>${respones}</var>
</assign>
<msg timestamp="20211201 21:58:12.012" level="INFO">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"}'
</msg>
<msg timestamp="20211201 21:58:12.012" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:12.012" level="INFO">${respones} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:11.935" endtime="20211201 21:58:12.012"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${respones.status_code}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.013" level="INFO">200</msg>
<status status="PASS" starttime="20211201 21:58:12.012" endtime="20211201 21:58:12.013"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${respones.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.013" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==', 'userId': '659450159519895552'}}</msg>
<status status="PASS" starttime="20211201 21:58:12.013" endtime="20211201 21:58:12.014"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${respones.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${token}</var>
</assign>
<msg timestamp="20211201 21:58:12.014" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==</msg>
<status status="PASS" starttime="20211201 21:58:12.014" endtime="20211201 21:58:12.014"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${token}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.015" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg==</msg>
<status status="PASS" starttime="20211201 21:58:12.014" endtime="20211201 21:58:12.015"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${account}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.015" level="INFO">${account} = 18888888888</msg>
<status status="PASS" starttime="20211201 21:58:12.015" endtime="20211201 21:58:12.015"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:11.932" endtime="20211201 21:58:12.016" critical="yes"></status>
</test>
<test id="s1-s3-s1-s1-t2" name="login-token">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.017" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.016" endtime="20211201 21:58:12.018"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>loginToken=${token}</arg>
</arguments>
<assign>
<var>${token1}</var>
</assign>
<msg timestamp="20211201 21:58:12.018" level="INFO">${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEc6B7qz7PVRaK4MM8B8+IMg=='}</msg>
<status status="PASS" starttime="20211201 21:58:12.018" endtime="20211201 21:58:12.019"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>json=${token1}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.092" level="INFO">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=="}'
</msg>
<msg timestamp="20211201 21:58:12.092" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:12.092" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.019" endtime="20211201 21:58:12.093"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20211201 21:58:12.094" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==</msg>
<status status="PASS" starttime="20211201 21:58:12.093" endtime="20211201 21:58:12.094"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userId}</var>
</assign>
<msg timestamp="20211201 21:58:12.095" level="INFO">${userId} = 659450159519895552</msg>
<status status="PASS" starttime="20211201 21:58:12.094" endtime="20211201 21:58:12.095"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()["data"]["token"]}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.096" level="INFO">d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==</msg>
<status status="PASS" starttime="20211201 21:58:12.095" endtime="20211201 21:58:12.096"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.097" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HSef7LjHyTdXqhrqWRDypMHiXUvTfI0i+hlAU2cLnoEIrT1wSYFXRTSfK/vcuzLuw==</msg>
<status status="PASS" starttime="20211201 21:58:12.096" endtime="20211201 21:58:12.097"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${userId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.098" level="INFO">${userId} = 659450159519895552</msg>
<status status="PASS" starttime="20211201 21:58:12.097" endtime="20211201 21:58:12.098"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.016" endtime="20211201 21:58:12.098" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:11.928" endtime="20211201 21:58:12.099"></status>
</suite>
<suite id="s1-s3-s1-s2" name="2.3createActiveorder-2" source="/root/ztb-trading-rf-api/002-Activeorder/1-Client(Test)/2.3createActiveorder-2.robot">
<test id="s1-s3-s1-s2-t1" name="proxy-sell-activity_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.107" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.106" endtime="20211201 21:58:12.107"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/proxy-sell-activity/list</arg>
<arg>params=pageNum=1&amp;pageSize=15</arg>
</arguments>
<assign>
<var>${repsponse}</var>
</assign>
<msg timestamp="20211201 21:58:12.171" level="INFO">GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&amp;pageSize=15
path_url=/recycle-service/proxy-sell-activity/list?pageNum=1&amp;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
</msg>
<msg timestamp="20211201 21:58:12.171" level="INFO">GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/proxy-sell-activity/list?pageNum=1&amp;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}}
</msg>
<msg timestamp="20211201 21:58:12.172" level="INFO">${repsponse} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.107" endtime="20211201 21:58:12.172"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${repsponse.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:12.173" level="INFO">${records} = [{'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floati...</msg>
<status status="PASS" starttime="20211201 21:58:12.172" endtime="20211201 21:58:12.173"></status>
</kw>
<kw name="${item} IN [ @{records} ]" type="for">
<kw name="${item} = {'paperMillId': '660525241717624832', 'name': 'Ceshi_factory', 'paperCategoryList': [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatin..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>activityName</arg>
</arguments>
<assign>
<var>${activityName}</var>
</assign>
<msg timestamp="20211201 21:58:12.174" level="INFO">${activityName} = Ceshi_factory--两次</msg>
<status status="PASS" starttime="20211201 21:58:12.173" endtime="20211201 21:58:12.174"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperCategoryList</arg>
</arguments>
<assign>
<var>${paperCategoryList}</var>
</assign>
<msg timestamp="20211201 21:58:12.175" level="INFO">${paperCategoryList} = [{'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}]</msg>
<status status="PASS" starttime="20211201 21:58:12.174" endtime="20211201 21:58:12.175"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:12.175" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:12.175" endtime="20211201 21:58:12.175"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>activityId</arg>
</arguments>
<assign>
<var>${activityId}</var>
</assign>
<msg timestamp="20211201 21:58:12.175" level="INFO">${activityId} = 660531609048584192</msg>
<status status="PASS" starttime="20211201 21:58:12.175" endtime="20211201 21:58:12.176"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${activityName}'=='Ceshi_factory--两次'</arg>
</arguments>
<msg timestamp="20211201 21:58:12.176" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:12.176" endtime="20211201 21:58:12.176"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.173" endtime="20211201 21:58:12.176"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.173" endtime="20211201 21:58:12.176"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${paperCategoryList})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${Category_value}</var>
</assign>
<msg timestamp="20211201 21:58:12.177" level="INFO">${Category_value} = {'categoryId': '660529551931215872', 'categoryName': '花纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.675, 'floatingPrice': None, 'publicSubsidies': None, 'allowOrder': None}</msg>
<status status="PASS" starttime="20211201 21:58:12.176" endtime="20211201 21:58:12.177"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${Category_value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.177" endtime="20211201 21:58:12.177"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${Category_value}</arg>
<arg>categoryId</arg>
</arguments>
<assign>
<var>${categoryId}</var>
</assign>
<msg timestamp="20211201 21:58:12.178" level="INFO">${categoryId} = 660529551931215872</msg>
<status status="PASS" starttime="20211201 21:58:12.178" endtime="20211201 21:58:12.178"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${Category_value}</arg>
<arg>categoryName</arg>
</arguments>
<assign>
<var>${categoryName}</var>
</assign>
<msg timestamp="20211201 21:58:12.178" level="INFO">${categoryName} = 花纸</msg>
<status status="PASS" starttime="20211201 21:58:12.178" endtime="20211201 21:58:12.178"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${Category_value}</arg>
<arg>unitPrice</arg>
</arguments>
<assign>
<var>${unitPrice}</var>
</assign>
<msg timestamp="20211201 21:58:12.179" level="INFO">${unitPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:12.179" endtime="20211201 21:58:12.179"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.180" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:12.179" endtime="20211201 21:58:12.180"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${activityId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.180" level="INFO">${activityId} = 660531609048584192</msg>
<status status="PASS" starttime="20211201 21:58:12.180" endtime="20211201 21:58:12.180"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${categoryId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.181" level="INFO">${categoryId} = 660529551931215872</msg>
<status status="PASS" starttime="20211201 21:58:12.180" endtime="20211201 21:58:12.181"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${categoryName}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.181" level="INFO">${categoryName} = 花纸</msg>
<status status="PASS" starttime="20211201 21:58:12.181" endtime="20211201 21:58:12.181"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.182" level="INFO">${unitPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:12.181" endtime="20211201 21:58:12.182"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.106" endtime="20211201 21:58:12.182" critical="yes"></status>
</test>
<test id="s1-s3-s1-s2-t2" name="get-carinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>get-carinfo</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.183" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.183" endtime="20211201 21:58:12.183"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>get-carinfo</arg>
<arg>recycle-service/proxy-sell/get/his-car-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.219" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:12.219" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:12.219" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.183" endtime="20211201 21:58:12.219"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.220" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:12.219" endtime="20211201 21:58:12.220"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${carNumber}</var>
</assign>
<msg timestamp="20211201 21:58:12.221" level="INFO">${carNumber} = [{'id': '5324', 'scrapPaperOrderItemId': None, 'plateNumber': '闽NC6789', 'driverName': None, 'driverPhone': None, 'packageNum': 0}, {'id': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R6666...</msg>
<status status="PASS" starttime="20211201 21:58:12.220" endtime="20211201 21:58:12.221"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.sample(${carNumber},1)</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${plateNumber_value}</var>
</assign>
<msg timestamp="20211201 21:58:12.221" level="INFO">${plateNumber_value} = [{'id': '5323', 'scrapPaperOrderItemId': None, 'plateNumber': '贵R66666', 'driverName': None, 'driverPhone': None, 'packageNum': 0}]</msg>
<status status="PASS" starttime="20211201 21:58:12.221" endtime="20211201 21:58:12.222"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${plateNumber_value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.222" endtime="20211201 21:58:12.222"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${plateNumber_value[0]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber1}</var>
</assign>
<msg timestamp="20211201 21:58:12.223" level="INFO">${plateNumber1} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:12.222" endtime="20211201 21:58:12.223"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber1}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.223" level="INFO">${plateNumber1} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:12.223" endtime="20211201 21:58:12.223"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.182" endtime="20211201 21:58:12.223" critical="yes"></status>
</test>
<test id="s1-s3-s1-s2-t3" name="get_paper-mill-paper-category-price-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.225" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.224" endtime="20211201 21:58:12.225"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/get/paper-mill-paper-category-price-details/${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.299" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:12.299" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:12.299" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.225" endtime="20211201 21:58:12.299"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.300" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:12.300" endtime="20211201 21:58:12.301"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.224" endtime="20211201 21:58:12.301" critical="yes"></status>
</test>
<test id="s1-s3-s1-s2-t4" name="get_relation">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.302" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.302" endtime="20211201 21:58:12.303"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/proxy-sell/get/relation</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.332" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:12.333" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:12.333" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.303" endtime="20211201 21:58:12.333"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>bizUserId</arg>
</arguments>
<assign>
<var>${bizUserId}</var>
</assign>
<msg timestamp="20211201 21:58:12.334" level="INFO">${bizUserId} = 498985714587930624</msg>
<status status="PASS" starttime="20211201 21:58:12.333" endtime="20211201 21:58:12.334"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>cusormerId</arg>
</arguments>
<assign>
<var>${cusormerId}</var>
</assign>
<msg timestamp="20211201 21:58:12.335" level="INFO">${cusormerId} = 554128866793361643</msg>
<status status="PASS" starttime="20211201 21:58:12.334" endtime="20211201 21:58:12.335"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>customerName</arg>
</arguments>
<assign>
<var>${customerName}</var>
</assign>
<msg timestamp="20211201 21:58:12.335" level="INFO">${customerName} = 赖勇兰</msg>
<status status="PASS" starttime="20211201 21:58:12.335" endtime="20211201 21:58:12.335"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${bizUserId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.336" level="INFO">${bizUserId} = 498985714587930624</msg>
<status status="PASS" starttime="20211201 21:58:12.336" endtime="20211201 21:58:12.336"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${cusormerId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.337" level="INFO">${cusormerId} = 554128866793361643</msg>
<status status="PASS" starttime="20211201 21:58:12.336" endtime="20211201 21:58:12.337"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customerName}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.337" level="INFO">${customerName} = 赖勇兰</msg>
<status status="PASS" starttime="20211201 21:58:12.337" endtime="20211201 21:58:12.337"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.301" endtime="20211201 21:58:12.337" critical="yes"></status>
</test>
<test id="s1-s3-s1-s2-t5" name="create_order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${headers}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.338" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.338" endtime="20211201 21:58:12.339"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:12.339" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:12.339" endtime="20211201 21:58:12.339"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "paperCategoryId":"${categoryId}", \ \ \ \ "unitPrice":"${unitPrice}", \ \ \ \ "totalEstimatedWeight":30000, \ \ \ \ "activityId":"${activityId}", \ \ \ \ "customerName":"${customerName}", \ \ \ \ "deliveryTime":"${datatime}", \ \ \ \ "carInfos":[ \ \ \ \ \ \ \ \ { \ \ \ \ \ \ \ \ \ \ \ \ "plateNumber":"${plateNumber1}" \ \ \ \ \ \ \ \ } \ \ \ \ ] }</arg>
</arguments>
<assign>
<var>${order_data}</var>
</assign>
<msg timestamp="20211201 21:58:12.340" level="INFO">${order_data} = { "paperCategoryId":"660529551931215872", "unitPrice":"1.675", "totalEstimatedWeight":30000, "activityId":"660531609048584192", "customerName":"赖勇兰", "deliveryTime":"2021-12-01...</msg>
<status status="PASS" starttime="20211201 21:58:12.339" endtime="20211201 21:58:12.340"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/proxy-sell/create/order</arg>
<arg>${order_data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.531" level="INFO">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" } ] }'
</msg>
<msg timestamp="20211201 21:58:12.531" level="INFO">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"}}
</msg>
<msg timestamp="20211201 21:58:12.532" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.340" endtime="20211201 21:58:12.532"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.532" level="INFO">{'code': 0, 'message': 'successful', 'data': {'orderId': '663541521915711488'}}</msg>
<status status="PASS" starttime="20211201 21:58:12.532" endtime="20211201 21:58:12.533"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${orderId}</var>
</assign>
<msg timestamp="20211201 21:58:12.533" level="INFO">${orderId} = 663541521915711488</msg>
<status status="PASS" starttime="20211201 21:58:12.533" endtime="20211201 21:58:12.533"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.533" endtime="20211201 21:58:12.534"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.534" level="INFO">${orderId} = 663541521915711488</msg>
<status status="PASS" starttime="20211201 21:58:12.534" endtime="20211201 21:58:12.534"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.338" endtime="20211201 21:58:12.535" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:12.101" endtime="20211201 21:58:12.535"></status>
</suite>
<status status="PASS" starttime="20211201 21:58:11.926" endtime="20211201 21:58:12.537"></status>
</suite>
<suite id="s1-s3-s2" name="2-Background system(Test)" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)">
<suite id="s1-s3-s2-s1" name="1-WebLogin" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/1-WebLogin">
<suite id="s1-s3-s2-s1-s1" name="Weblogin" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/1-WebLogin/weblogin.robot">
<test id="s1-s3-s2-s1-s1-t1" name="pwlogin">
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/x-www-form-urlencoded</arg>
<arg>X-APP-ID=470236309865238555</arg>
</arguments>
<assign>
<var>${header}</var>
</assign>
<msg timestamp="20211201 21:58:12.547" level="INFO">${header} = {'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '470236309865238555'}</msg>
<status status="PASS" starttime="20211201 21:58:12.547" endtime="20211201 21:58:12.547"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.548" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.547" endtime="20211201 21:58:12.548"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>username=laiyonglan@qniao.cn</arg>
<arg>password=qn123456</arg>
</arguments>
<assign>
<var>&amp;{data}</var>
</assign>
<msg timestamp="20211201 21:58:12.548" level="INFO">&amp;{data} = { username=laiyonglan@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20211201 21:58:12.548" endtime="20211201 21:58:12.548"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.549" level="INFO">{'username': 'laiyonglan@qniao.cn', 'password': 'qn123456'}</msg>
<status status="PASS" starttime="20211201 21:58:12.549" endtime="20211201 21:58:12.549"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/login</arg>
<arg>data=${data}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.653" level="INFO">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&amp;password=qn123456
</msg>
<msg timestamp="20211201 21:58:12.653" level="INFO">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":"登陆成功"}
</msg>
<msg timestamp="20211201 21:58:12.653" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.549" endtime="20211201 21:58:12.653"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.654" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20211201 21:58:12.654" endtime="20211201 21:58:12.654"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>Token 6b08add42d6bcf73abb935b2adf83525</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20211201 21:58:12.655" level="INFO">${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525</msg>
<status status="PASS" starttime="20211201 21:58:12.654" endtime="20211201 21:58:12.655"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>登陆成功</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.655" endtime="20211201 21:58:12.655"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.656" level="INFO">${gettoken} = Token 6b08add42d6bcf73abb935b2adf83525</msg>
<status status="PASS" starttime="20211201 21:58:12.655" endtime="20211201 21:58:12.656"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.546" endtime="20211201 21:58:12.656" critical="yes"></status>
</test>
<test id="s1-s3-s2-s1-s1-t2" name="login-info">
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>X-APP-ID=470236309865238555</arg>
<arg>Authorization=Token 6b08add42d6bcf73abb935b2adf83525</arg>
</arguments>
<assign>
<var>${header}</var>
</assign>
<msg timestamp="20211201 21:58:12.657" level="INFO">${header} = {'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20211201 21:58:12.657" endtime="20211201 21:58:12.657"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>login-info</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.658" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:12.657" endtime="20211201 21:58:12.658"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>login-info</arg>
<arg>recycle-service/admin/employee/get/login-info</arg>
</arguments>
<assign>
<var>${reps_data}</var>
</assign>
<msg timestamp="20211201 21:58:12.714" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:12.714" level="INFO">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"]}}
</msg>
<msg timestamp="20211201 21:58:12.715" level="INFO">${reps_data} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.658" endtime="20211201 21:58:12.715"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps_data}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.715" level="INFO">&lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.715" endtime="20211201 21:58:12.715"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps_data.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.716" endtime="20211201 21:58:12.716"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.656" endtime="20211201 21:58:12.716" critical="yes"></status>
</test>
<status status="PASS" starttime="20211201 21:58:12.543" endtime="20211201 21:58:12.717"></status>
</suite>
<status status="PASS" starttime="20211201 21:58:12.541" endtime="20211201 21:58:12.718"></status>
</suite>
<suite id="s1-s3-s2-s2" name="2.1-Consignment management" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/2.1-Consignment management">
<suite id="s1-s3-s2-s2-s1" name="1-Appointment" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/2.1-Consignment management/1-appointment.robot">
<test id="s1-s3-s2-s2-s1-t1" name="get_paper-mill-order-reservation-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.726" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:12.726" endtime="20211201 21:58:12.726"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-order-reservation-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps_data}</var>
</assign>
<msg timestamp="20211201 21:58:12.783" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=663541521915711488
path_url=/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;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
</msg>
<msg timestamp="20211201 21:58:12.784" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/paper-mill-order-reservation-list?pageNum=1&amp;pageSize=10&amp;status=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:12.784" level="INFO">${reps_data} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.726" endtime="20211201 21:58:12.784"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps_data.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.785" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:12.784" endtime="20211201 21:58:12.785"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${orderId}</var>
</assign>
<msg timestamp="20211201 21:58:12.786" level="INFO">${orderId} = 663541521915711488</msg>
<status status="PASS" starttime="20211201 21:58:12.786" endtime="20211201 21:58:12.786"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:12.787" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:12.787" endtime="20211201 21:58:12.787"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:12.788" level="INFO">${id} = 4691</msg>
<status status="PASS" starttime="20211201 21:58:12.787" endtime="20211201 21:58:12.788"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>orderType</arg>
</arguments>
<assign>
<var>${orderType}</var>
</assign>
<msg timestamp="20211201 21:58:12.789" level="INFO">${orderType} = 2</msg>
<status status="PASS" starttime="20211201 21:58:12.788" endtime="20211201 21:58:12.789"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>carNoList</arg>
</arguments>
<assign>
<var>${carNoList}</var>
</assign>
<msg timestamp="20211201 21:58:12.790" level="INFO">${carNoList} = ['贵R66666']</msg>
<status status="PASS" starttime="20211201 21:58:12.789" endtime="20211201 21:58:12.790"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>paperMillName</arg>
</arguments>
<assign>
<var>${paperMillName}</var>
</assign>
<msg timestamp="20211201 21:58:12.790" level="INFO">${paperMillName} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:12.790" endtime="20211201 21:58:12.790"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps_data.json()["data"]["records"][0]}</arg>
<arg>sellerReservationDate</arg>
</arguments>
<assign>
<var>${sellerReservationDate}</var>
</assign>
<msg timestamp="20211201 21:58:12.791" level="INFO">${sellerReservationDate} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:12.791" endtime="20211201 21:58:12.791"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${carNoList})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${carList}</var>
</assign>
<msg timestamp="20211201 21:58:12.792" level="INFO">${carList} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:12.791" endtime="20211201 21:58:12.792"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${carList}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.792" endtime="20211201 21:58:12.792"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps_data.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.792" endtime="20211201 21:58:12.793"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.793" level="INFO">${orderId} = 663541521915711488</msg>
<status status="PASS" starttime="20211201 21:58:12.793" endtime="20211201 21:58:12.793"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.794" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:12.793" endtime="20211201 21:58:12.794"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.794" level="INFO">${id} = 4691</msg>
<status status="PASS" starttime="20211201 21:58:12.794" endtime="20211201 21:58:12.794"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillName}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.795" level="INFO">${paperMillName} = Ceshi_factory</msg>
<status status="PASS" starttime="20211201 21:58:12.794" endtime="20211201 21:58:12.795"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${sellerReservationDate}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.796" level="INFO">${sellerReservationDate} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:12.795" endtime="20211201 21:58:12.796"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderType}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.796" level="INFO">${orderType} = 2</msg>
<status status="PASS" starttime="20211201 21:58:12.796" endtime="20211201 21:58:12.797"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${carList}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.797" level="INFO">${carList} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:12.797" endtime="20211201 21:58:12.797"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.725" endtime="20211201 21:58:12.798" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s1-t2" name="get-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>http://api-ops-ztb-test.qniao.cn</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.799" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:12.799" endtime="20211201 21:58:12.800"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.835" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:12.835" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:12.835" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.800" endtime="20211201 21:58:12.835"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.836" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:12.836" endtime="20211201 21:58:12.836"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:12.837" level="INFO">${data} = [{'name': '测试111', 'id': '660525241805705216'}]</msg>
<status status="PASS" starttime="20211201 21:58:12.837" endtime="20211201 21:58:12.837"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${data})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${value}</var>
</assign>
<msg timestamp="20211201 21:58:12.838" level="INFO">${value} = {'name': '测试111', 'id': '660525241805705216'}</msg>
<status status="PASS" starttime="20211201 21:58:12.837" endtime="20211201 21:58:12.838"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.838" endtime="20211201 21:58:12.838"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${supplier_id}</var>
</assign>
<msg timestamp="20211201 21:58:12.839" level="INFO">${supplier_id} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:12.838" endtime="20211201 21:58:12.839"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${value}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${millSupplierName}</var>
</assign>
<msg timestamp="20211201 21:58:12.839" level="INFO">${millSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:12.839" endtime="20211201 21:58:12.839"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_id}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.840" level="INFO">${supplier_id} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:12.840" endtime="20211201 21:58:12.840"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${millSupplierName}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.841" level="INFO">${millSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:12.840" endtime="20211201 21:58:12.841"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.798" endtime="20211201 21:58:12.841" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s1-t3" name="Submit-appointment">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.842" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:12.842" endtime="20211201 21:58:12.842"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:12.843" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:12.842" endtime="20211201 21:58:12.843"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"attention":"${orderId}","buyerReservationDate":"${datatime}", "id":"${id}","millDeliveryOrderId":"${orderId}","millSupplierId":"${supplier_id}","millSupplierName":"${millSupplierName}","proxySellerSettleType":0,"scrapeOrderId":"${orderId}"}</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:12.843" level="INFO">${data} = {"attention":"663541521915711488","buyerReservationDate":"2021-12-01", "id":"4691","millDeliveryOrderId":"663541521915711488","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySel...</msg>
<status status="PASS" starttime="20211201 21:58:12.843" endtime="20211201 21:58:12.843"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.844" level="INFO">{"attention":"663541521915711488","buyerReservationDate":"2021-12-01", "id":"4691","millDeliveryOrderId":"663541521915711488","millSupplierId":"660525241805705216","millSupplierName":"测试111","proxySellerSettleType":0,"scrapeOrderId":"663541521915711488"}</msg>
<status status="PASS" starttime="20211201 21:58:12.844" endtime="20211201 21:58:12.844"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/update/reservation</arg>
<arg>${data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:12.970" level="INFO">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"}'
</msg>
<msg timestamp="20211201 21:58:12.970" level="INFO">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}
</msg>
<msg timestamp="20211201 21:58:12.970" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.844" endtime="20211201 21:58:12.971"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:12.971" endtime="20211201 21:58:12.971"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.841" endtime="20211201 21:58:12.972" critical="yes"></status>
</test>
<doc>预约送货</doc>
<status status="PASS" starttime="20211201 21:58:12.721" endtime="20211201 21:58:12.972"></status>
</suite>
<suite id="s1-s3-s2-s2-s2" name="2.3-ActiveUpload-deliverynote" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/2.1-Consignment management/2.3-ActiveUpload-deliverynote.robot">
<test id="s1-s3-s2-s2-s2-t1" name="get-order-item-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:12.981" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:12.980" endtime="20211201 21:58:12.981"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order-item-list</arg>
<arg>params=orderType=${orderType} &amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.035" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;orderId=663541521915711488
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;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
</msg>
<msg timestamp="20211201 21:58:13.035" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?orderType=2%20&amp;pageNum=1&amp;pageSize=10&amp;status=51&amp;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}}
</msg>
<msg timestamp="20211201 21:58:13.036" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:12.981" endtime="20211201 21:58:13.036"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.037" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:13.036" endtime="20211201 21:58:13.037"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>records</arg>
</arguments>
<assign>
<var>${records}</var>
</assign>
<msg timestamp="20211201 21:58:13.038" level="INFO">${records} = [{'orderId': '663541521915711488', 'orderItemId': '663541521953460224', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '20...</msg>
<status status="PASS" starttime="20211201 21:58:13.037" endtime="20211201 21:58:13.038"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${records})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${orderItemId_value}</var>
</assign>
<msg timestamp="20211201 21:58:13.038" level="INFO">${orderItemId_value} = {'orderId': '663541521915711488', 'orderItemId': '663541521953460224', 'weightNoteId': None, 'orderPlacerName': '赖勇兰', 'paperMillName': 'Ceshi_factory', 'paperCategoryName': '花纸', 'deliveryTime': '202...</msg>
<status status="PASS" starttime="20211201 21:58:13.038" endtime="20211201 21:58:13.039"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue: ${orderItemId_value}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.039" endtime="20211201 21:58:13.039"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${orderItemId_value}</arg>
<arg>orderItemId</arg>
</arguments>
<assign>
<var>${orderItemId}</var>
</assign>
<msg timestamp="20211201 21:58:13.040" level="INFO">${orderItemId} = 663541521953460224</msg>
<status status="PASS" starttime="20211201 21:58:13.039" endtime="20211201 21:58:13.040"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orderItemId}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.040" level="INFO">${orderItemId} = 663541521953460224</msg>
<status status="PASS" starttime="20211201 21:58:13.040" endtime="20211201 21:58:13.040"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:12.980" endtime="20211201 21:58:13.040" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t2" name="get-order-item-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.042" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.041" endtime="20211201 21:58:13.042"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId} &amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.252" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488%20&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488%20&amp;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
</msg>
<msg timestamp="20211201 21:58:13.252" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488%20&amp;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":"厦门千纸互联科技有限公司"}}
</msg>
<msg timestamp="20211201 21:58:13.252" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.042" endtime="20211201 21:58:13.252"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:13.253" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:13.253" endtime="20211201 21:58:13.253"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperMillId</arg>
</arguments>
<assign>
<var>${paperMillId}</var>
</assign>
<msg timestamp="20211201 21:58:13.254" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:13.254" endtime="20211201 21:58:13.254"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperCategoryPrice</arg>
</arguments>
<assign>
<var>${paperCategoryPrice}</var>
</assign>
<msg timestamp="20211201 21:58:13.255" level="INFO">${paperCategoryPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.254" endtime="20211201 21:58:13.255"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>publicSubsidies</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:13.255" level="INFO">${publicSubsidies} = None</msg>
<status status="PASS" starttime="20211201 21:58:13.255" endtime="20211201 21:58:13.255"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>activitySettleType</arg>
</arguments>
<assign>
<var>${activitySettleType}</var>
</assign>
<msg timestamp="20211201 21:58:13.256" level="INFO">${activitySettleType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:13.255" endtime="20211201 21:58:13.256"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxySellerSettleType</arg>
</arguments>
<assign>
<var>${proxySellerSettleType}</var>
</assign>
<msg timestamp="20211201 21:58:13.256" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.256" endtime="20211201 21:58:13.256"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>transactionMainEnterpriseId</arg>
</arguments>
<assign>
<var>${交易主体id}</var>
</assign>
<msg timestamp="20211201 21:58:13.258" level="INFO">${交易主体id} = 15</msg>
<status status="PASS" starttime="20211201 21:58:13.257" endtime="20211201 21:58:13.258"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>transactionMainEnterpriseName</arg>
</arguments>
<assign>
<var>${交易主体name}</var>
</assign>
<msg timestamp="20211201 21:58:13.259" level="INFO">${交易主体name} = 厦门千纸互联科技有限公司</msg>
<status status="PASS" starttime="20211201 21:58:13.258" endtime="20211201 21:58:13.259"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>unitSurcharge</arg>
</arguments>
<assign>
<var>${unitSurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:13.260" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:13.259" endtime="20211201 21:58:13.260"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${publicSubsidies}'=='${null}'</arg>
<arg>0</arg>
<arg>${publicSubsidies}</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:13.261" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.260" endtime="20211201 21:58:13.261"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${unitPrice}+${publicSubsidies}</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:13.261" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.261" endtime="20211201 21:58:13.261"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:13.262" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:13.261" endtime="20211201 21:58:13.262"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.263" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:13.262" endtime="20211201 21:58:13.263"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillId}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.263" level="INFO">${paperMillId} = 660525241717624832</msg>
<status status="PASS" starttime="20211201 21:58:13.263" endtime="20211201 21:58:13.264"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperCategoryPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.264" level="INFO">${paperCategoryPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.264" endtime="20211201 21:58:13.264"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${publicSubsidies}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.265" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.264" endtime="20211201 21:58:13.265"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${activitySettleType}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.265" level="INFO">${activitySettleType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:13.265" endtime="20211201 21:58:13.266"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxySellerSettleType}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.266" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.266" endtime="20211201 21:58:13.266"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.267" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.266" endtime="20211201 21:58:13.267"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体id}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.267" level="INFO">${交易主体id} = 15</msg>
<status status="PASS" starttime="20211201 21:58:13.267" endtime="20211201 21:58:13.267"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体name}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.268" level="INFO">${交易主体name} = 厦门千纸互联科技有限公司</msg>
<status status="PASS" starttime="20211201 21:58:13.267" endtime="20211201 21:58:13.268"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitSurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.268" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:13.268" endtime="20211201 21:58:13.268"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.041" endtime="20211201 21:58:13.268" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t3" name="get_delivery-info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.269" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.269" endtime="20211201 21:58:13.270"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.329" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.329" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:13.330" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.270" endtime="20211201 21:58:13.330"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.331" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:13.330" endtime="20211201 21:58:13.331"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber}</var>
</assign>
<msg timestamp="20211201 21:58:13.332" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:13.331" endtime="20211201 21:58:13.332"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleUtiPrice</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:13.332" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.332" endtime="20211201 21:58:13.332"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.333" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:13.332" endtime="20211201 21:58:13.333"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.333" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.333" endtime="20211201 21:58:13.333"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.269" endtime="20211201 21:58:13.333" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t4" name="get_contract_by_id">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.335" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.334" endtime="20211201 21:58:13.335"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/contract/get/detail-by-id</arg>
<arg>params=id=${contractId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.395" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.395" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:13.396" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.335" endtime="20211201 21:58:13.396"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.396" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:13.396" endtime="20211201 21:58:13.397"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>advanceFund</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:13.397" level="INFO">${advanceFund} = None</msg>
<status status="PASS" starttime="20211201 21:58:13.397" endtime="20211201 21:58:13.397"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>accountPeriod</arg>
</arguments>
<assign>
<var>${accountPeriod}</var>
</assign>
<msg timestamp="20211201 21:58:13.398" level="INFO">${accountPeriod} = [25]</msg>
<status status="PASS" starttime="20211201 21:58:13.397" endtime="20211201 21:58:13.398"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>buyerEnterpriseId</arg>
</arguments>
<assign>
<var>${buyerEnterpriseId}</var>
</assign>
<msg timestamp="20211201 21:58:13.398" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:13.398" endtime="20211201 21:58:13.398"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:13.399" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.399" endtime="20211201 21:58:13.399"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>taxRefundRate</arg>
</arguments>
<assign>
<var>${taxRefundRate}</var>
</assign>
<msg timestamp="20211201 21:58:13.399" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:13.399" endtime="20211201 21:58:13.400"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxyPaySurcharge</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:13.400" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:13.400" endtime="20211201 21:58:13.400"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>hasInvoice</arg>
</arguments>
<assign>
<var>${hasInvoice}</var>
</assign>
<msg timestamp="20211201 21:58:13.401" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:13.400" endtime="20211201 21:58:13.401"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>accountPeriodType</arg>
</arguments>
<assign>
<var>${accountPeriodType}</var>
</assign>
<msg timestamp="20211201 21:58:13.401" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.401" endtime="20211201 21:58:13.401"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>isSubsidyAndDeductIncludeTax</arg>
</arguments>
<assign>
<var>${isSubsidyAndDeductIncludeTax}</var>
</assign>
<msg timestamp="20211201 21:58:13.402" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.401" endtime="20211201 21:58:13.402"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleRules</arg>
</arguments>
<assign>
<var>${receivableSettlementRules}</var>
</assign>
<msg timestamp="20211201 21:58:13.402" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.402" endtime="20211201 21:58:13.402"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:13.403" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.403" endtime="20211201 21:58:13.404"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${advanceFund}'=='${None}'</arg>
<arg>0</arg>
<arg>${advanceFund}</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:13.405" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.404" endtime="20211201 21:58:13.405"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${proxyPaySurcharge}'=='${None}'</arg>
<arg>0</arg>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:13.405" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:13.405" endtime="20211201 21:58:13.406"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${advanceFund}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.406" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.406" endtime="20211201 21:58:13.406"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${accountPeriod}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.407" level="INFO">${accountPeriod} = [25]</msg>
<status status="PASS" starttime="20211201 21:58:13.407" endtime="20211201 21:58:13.407"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${buyerEnterpriseId}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.408" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:13.407" endtime="20211201 21:58:13.408"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${taxRefundRate}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.409" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:13.408" endtime="20211201 21:58:13.409"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.409" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:13.409" endtime="20211201 21:58:13.409"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${hasInvoice}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.410" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:13.410" endtime="20211201 21:58:13.410"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${accountPeriodType}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.411" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.411" endtime="20211201 21:58:13.411"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.411" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.411" endtime="20211201 21:58:13.412"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${isSubsidyAndDeductIncludeTax}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.412" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.412" endtime="20211201 21:58:13.412"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${receivableSettlementRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.413" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.412" endtime="20211201 21:58:13.413"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.414" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.413" endtime="20211201 21:58:13.414"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.334" endtime="20211201 21:58:13.414" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t5" name="get-contract-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.416" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.415" endtime="20211201 21:58:13.416"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>/recycle-service/admin/contract/get/selectable-contract-list</arg>
<arg>params=orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.459" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.459" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:13.459" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.417" endtime="20211201 21:58:13.459"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.460" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:13.459" endtime="20211201 21:58:13.460"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.415" endtime="20211201 21:58:13.460" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t6" name="get-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.461" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.461" endtime="20211201 21:58:13.462"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.500" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.500" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:13.501" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.462" endtime="20211201 21:58:13.501"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.502" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:13.501" endtime="20211201 21:58:13.502"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.461" endtime="20211201 21:58:13.502" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t7" name="get-Source of funds">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.504" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.504" endtime="20211201 21:58:13.505"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/fund-source/get/list</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.536" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.536" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:13.536" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.505" endtime="20211201 21:58:13.536"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.537" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:13.537" endtime="20211201 21:58:13.537"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:13.538" level="INFO">${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...</msg>
<status status="PASS" starttime="20211201 21:58:13.537" endtime="20211201 21:58:13.538"></status>
</kw>
<kw name="${item} IN [ @{data} ]" type="for">
<kw name="${item} = {'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.538" level="INFO">{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:13.538" endtime="20211201 21:58:13.539"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:13.539" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.539" endtime="20211201 21:58:13.539"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:13.539" level="INFO">${name} = 千鸟-经纪业务</msg>
<status status="PASS" starttime="20211201 21:58:13.539" endtime="20211201 21:58:13.539"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:13.540" level="INFO">${id} = 39</msg>
<status status="PASS" starttime="20211201 21:58:13.540" endtime="20211201 21:58:13.540"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.540" endtime="20211201 21:58:13.540"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.538" endtime="20211201 21:58:13.540"></status>
</kw>
<kw name="${item} = {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.541" level="INFO">{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:13.541" endtime="20211201 21:58:13.541"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:13.541" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.541" endtime="20211201 21:58:13.541"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:13.542" level="INFO">${name} = 千纸鹤代卖业务</msg>
<status status="PASS" starttime="20211201 21:58:13.541" endtime="20211201 21:58:13.542"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:13.543" level="INFO">${id} = 40</msg>
<status status="PASS" starttime="20211201 21:58:13.542" endtime="20211201 21:58:13.543"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.543" endtime="20211201 21:58:13.543"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.541" endtime="20211201 21:58:13.543"></status>
</kw>
<kw name="${item} = {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.544" level="INFO">{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:13.543" endtime="20211201 21:58:13.544"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:13.544" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.544" endtime="20211201 21:58:13.544"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:13.545" level="INFO">${name} = 测试资金方</msg>
<status status="PASS" starttime="20211201 21:58:13.544" endtime="20211201 21:58:13.545"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:13.545" level="INFO">${id} = 41</msg>
<status status="PASS" starttime="20211201 21:58:13.545" endtime="20211201 21:58:13.545"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.545" endtime="20211201 21:58:13.546"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.543" endtime="20211201 21:58:13.546"></status>
</kw>
<kw name="${item} = {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.546" level="INFO">{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:13.546" endtime="20211201 21:58:13.546"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:13.547" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.546" endtime="20211201 21:58:13.547"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:13.547" level="INFO">${name} = 千鸟-技术部测试数据</msg>
<status status="PASS" starttime="20211201 21:58:13.547" endtime="20211201 21:58:13.547"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:13.547" level="INFO">${id} = 42</msg>
<status status="PASS" starttime="20211201 21:58:13.547" endtime="20211201 21:58:13.547"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.547" endtime="20211201 21:58:13.548"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.546" endtime="20211201 21:58:13.548"></status>
</kw>
<kw name="${item} = {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.548" level="INFO">{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:13.548" endtime="20211201 21:58:13.548"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:13.549" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:13.548" endtime="20211201 21:58:13.549"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:13.549" level="INFO">${name} = 千鸟</msg>
<status status="PASS" starttime="20211201 21:58:13.549" endtime="20211201 21:58:13.549"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:13.549" level="INFO">${id} = 46</msg>
<status status="PASS" starttime="20211201 21:58:13.549" endtime="20211201 21:58:13.549"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.550" endtime="20211201 21:58:13.550"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.548" endtime="20211201 21:58:13.550"></status>
</kw>
<kw name="${item} = {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.550" level="INFO">{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}</msg>
<status status="PASS" starttime="20211201 21:58:13.550" endtime="20211201 21:58:13.550"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:13.551" level="INFO">${isDefault} = 1</msg>
<status status="PASS" starttime="20211201 21:58:13.550" endtime="20211201 21:58:13.551"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:13.551" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:13.551" endtime="20211201 21:58:13.551"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:13.551" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:13.551" endtime="20211201 21:58:13.551"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<msg timestamp="20211201 21:58:13.552" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:13.552" endtime="20211201 21:58:13.552"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.550" endtime="20211201 21:58:13.552"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.538" endtime="20211201 21:58:13.552"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${name}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.553" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:13.552" endtime="20211201 21:58:13.553"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.553" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:13.553" endtime="20211201 21:58:13.553"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.503" endtime="20211201 21:58:13.553" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t8" name="get-Warehouse">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.554" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.554" endtime="20211201 21:58:13.555"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/transaction-main-enterprise/get/warehouse-name</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.606" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.606" level="INFO">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":["石基仓","江高仓","大观仓","钟落潭仓"]}
</msg>
<msg timestamp="20211201 21:58:13.606" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.555" endtime="20211201 21:58:13.606"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${仓库}</var>
</assign>
<msg timestamp="20211201 21:58:13.607" level="INFO">${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']</msg>
<status status="PASS" starttime="20211201 21:58:13.607" endtime="20211201 21:58:13.607"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${仓库})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${所属仓库}</var>
</assign>
<msg timestamp="20211201 21:58:13.608" level="INFO">${所属仓库} = 江高仓</msg>
<status status="PASS" starttime="20211201 21:58:13.607" endtime="20211201 21:58:13.608"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${所属仓库}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:13.608" endtime="20211201 21:58:13.609"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${所属仓库}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.609" level="INFO">${所属仓库} = 江高仓</msg>
<status status="PASS" starttime="20211201 21:58:13.609" endtime="20211201 21:58:13.609"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.554" endtime="20211201 21:58:13.609" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t9" name="get_proxy-order_delivery-info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.611" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.610" endtime="20211201 21:58:13.611"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.669" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.669" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:13.670" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.611" endtime="20211201 21:58:13.670"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.671" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:13.670" endtime="20211201 21:58:13.671"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber}</var>
</assign>
<msg timestamp="20211201 21:58:13.671" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:13.671" endtime="20211201 21:58:13.671"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleUtiPrice</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:13.672" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.672" endtime="20211201 21:58:13.672"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.673" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:13.672" endtime="20211201 21:58:13.673"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.673" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:13.673" endtime="20211201 21:58:13.673"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.610" endtime="20211201 21:58:13.674" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t10" name="get_paper-mill-category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.675" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.675" endtime="20211201 21:58:13.675"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}</arg>
<arg>params=id=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.710" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:13.710" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:13.710" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.675" endtime="20211201 21:58:13.711"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.711" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}</msg>
<status status="PASS" starttime="20211201 21:58:13.711" endtime="20211201 21:58:13.711"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.674" endtime="20211201 21:58:13.712" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t11" name="Upload_pictures">
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>open('E:/lyl/图片/16pic_6879381_b.jpg','rb')</arg>
</arguments>
<assign>
<var>${filepath}</var>
</assign>
<msg timestamp="20211201 21:58:13.713" level="FAIL">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'</msg>
<status status="FAIL" starttime="20211201 21:58:13.712" endtime="20211201 21:58:13.713"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:13.712" endtime="20211201 21:58:13.713" critical="yes">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'</status>
</test>
<test id="s1-s3-s2-s2-s2-t12" name="get_repeat/proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.714" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.714" endtime="20211201 21:58:13.715"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:13.715" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:13.715" endtime="20211201 21:58:13.715"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/repeat/proxy-order</arg>
<arg>params=orderItemId=${orderItemId} &amp;plateNumber=${plateNumber} &amp;netWeight=30000&amp;weighingDate=${datatime}&amp;orderType=3</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:13.811" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224%20&amp;plateNumber=%E8%B4%B5R66666%20&amp;netWeight=30000&amp;weighingDate=2021-12-01&amp;orderType=3
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224%20&amp;plateNumber=%E8%B4%B5R66666%20&amp;netWeight=30000&amp;weighingDate=2021-12-01&amp;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
</msg>
<msg timestamp="20211201 21:58:13.811" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224%20&amp;plateNumber=%E8%B4%B5R66666%20&amp;netWeight=30000&amp;weighingDate=2021-12-01&amp;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}}
</msg>
<msg timestamp="20211201 21:58:13.811" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.715" endtime="20211201 21:58:13.811"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.812" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'oi.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:13.812" endtime="20211201 21:58:13.812"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.713" endtime="20211201 21:58:13.813" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s2-t13" name="weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.814" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.813" endtime="20211201 21:58:13.814"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:13.815" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:13.814" endtime="20211201 21:58:13.815"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:13.817" level="FAIL">Variable '${pictures}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:13.815" endtime="20211201 21:58:13.817"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:13.813" endtime="20211201 21:58:13.818" critical="yes">Variable '${pictures}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s2-t14" name="audit_weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.819" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.819" endtime="20211201 21:58:13.820"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}</arg>
</arguments>
<assign>
<var>${repsonse}</var>
</assign>
<msg timestamp="20211201 21:58:13.821" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:13.820" endtime="20211201 21:58:13.821"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:13.818" endtime="20211201 21:58:13.822" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s2-t15" name="get_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:13.823" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:13.822" endtime="20211201 21:58:13.823"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId}&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.022" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;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
</msg>
<msg timestamp="20211201 21:58:14.022" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;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":"厦门千纸互联科技有限公司"}}
</msg>
<msg timestamp="20211201 21:58:14.023" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:13.823" endtime="20211201 21:58:14.023"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.024" level="INFO">{'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': '厦门千纸互联科技有限公司'}}</msg>
<status status="PASS" starttime="20211201 21:58:14.023" endtime="20211201 21:58:14.024"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:14.024" endtime="20211201 21:58:14.025"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:13.822" endtime="20211201 21:58:14.025" critical="yes"></status>
</test>
<doc>上次送货单-两次付款活动</doc>
<status status="FAIL" starttime="20211201 21:58:12.973" endtime="20211201 21:58:14.026"></status>
</suite>
<suite id="s1-s3-s2-s2-s3" name="3.3-Operation audit" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/2.1-Consignment management/3.3-Operation_audit.robot">
<test id="s1-s3-s2-s2-s3-t1" name="get_operation_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.055" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.054" endtime="20211201 21:58:14.055"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.131" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:14.132" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.132" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.055" endtime="20211201 21:58:14.132"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.134" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:14.133" endtime="20211201 21:58:14.134"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.053" endtime="20211201 21:58:14.134" critical="yes"></status>
</test>
<test id="s1-s3-s2-s2-s3-t2" name="get_paper-mill-order-by-orderItemId">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.136" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.136" endtime="20211201 21:58:14.137"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.175" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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
</msg>
<msg timestamp="20211201 21:58:14.175" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.175" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.137" endtime="20211201 21:58:14.175"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.176" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:14.176" endtime="20211201 21:58:14.176"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditRequestId</arg>
</arguments>
<assign>
<var>${auditRequestId}</var>
</assign>
<msg timestamp="20211201 21:58:14.177" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:14.176" endtime="20211201 21:58:14.177"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.135" endtime="20211201 21:58:14.177" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s2-s3-t3" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.178" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.178" endtime="20211201 21:58:14.178"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.180" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.179" endtime="20211201 21:58:14.180"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.177" endtime="20211201 21:58:14.180" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s3-t4" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.181" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.181" endtime="20211201 21:58:14.182"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:14.183" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:14.183" endtime="20211201 21:58:14.183"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.185" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.183" endtime="20211201 21:58:14.185"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.180" endtime="20211201 21:58:14.185" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s3-t5" name="order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.187" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.186" endtime="20211201 21:58:14.187"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:14.189" level="FAIL">Variable '${auditRequestItemId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.187" endtime="20211201 21:58:14.189"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.186" endtime="20211201 21:58:14.189" critical="yes">Variable '${auditRequestItemId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s3-t6" name="get_order-log-detail2">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.190" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.190" endtime="20211201 21:58:14.191"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId} &amp;operationStatus=2</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.192" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.191" endtime="20211201 21:58:14.192"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.189" endtime="20211201 21:58:14.193" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s3-t7" name="重复执行驳回和上传磅单操作">
<kw name="${items} IN RANGE [ 5 ]" type="for">
<kw name="${items} = 0" type="foritem">
<kw name="Run Keyword" library="BuiltIn">
<doc>Executes the given keyword with the given arguments.</doc>
<arguments>
<arg>get_operation_list</arg>
</arguments>
<kw name="get_operation_list" library="运营审核驳回">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.195" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.195" endtime="20211201 21:58:14.196"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.238" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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
</msg>
<msg timestamp="20211201 21:58:14.239" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.239" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.196" endtime="20211201 21:58:14.239"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>status</arg>
</arguments>
<assign>
<var>${audit_status}</var>
</assign>
<msg timestamp="20211201 21:58:14.240" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:14.239" endtime="20211201 21:58:14.240"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.195" endtime="20211201 21:58:14.240"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.194" endtime="20211201 21:58:14.240"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.194" endtime="20211201 21:58:14.240"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.194" endtime="20211201 21:58:14.240"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.193" endtime="20211201 21:58:14.240" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s2-s3-t8" name="get_operation_list3">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.242" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.241" endtime="20211201 21:58:14.242"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.292" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;orderId=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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
</msg>
<msg timestamp="20211201 21:58:14.292" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.293" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.242" endtime="20211201 21:58:14.293"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>status</arg>
</arguments>
<assign>
<var>${audit_status}</var>
</assign>
<msg timestamp="20211201 21:58:14.294" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:14.293" endtime="20211201 21:58:14.294"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.241" endtime="20211201 21:58:14.294" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s2-s3-t9" name="get_order-receipt-audit-details3">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.295" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.295" endtime="20211201 21:58:14.296"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:14.296" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:14.296" endtime="20211201 21:58:14.296"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.298" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.296" endtime="20211201 21:58:14.298"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.294" endtime="20211201 21:58:14.298" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s3-t10" name="order-receipt-audit-details3">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.299" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.299" endtime="20211201 21:58:14.300"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:14.302" level="FAIL">Variable '${auditRequestItemId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.300" endtime="20211201 21:58:14.302"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.299" endtime="20211201 21:58:14.302" critical="yes">Variable '${auditRequestItemId}' not found.</status>
</test>
<test id="s1-s3-s2-s2-s3-t11" name="operation_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.303" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.302" endtime="20211201 21:58:14.303"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:14.305" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.303" endtime="20211201 21:58:14.305"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.302" endtime="20211201 21:58:14.305" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<doc>运营审核-两次付款活动</doc>
<status status="FAIL" starttime="20211201 21:58:14.029" endtime="20211201 21:58:14.305"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:12.719" endtime="20211201 21:58:14.308"></status>
</suite>
<suite id="s1-s3-s2-s3" name="3-Withdrawal application" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/3-Withdrawal_application">
<suite id="s1-s3-s2-s3-s1" name="4-Financial audit" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/3-Withdrawal_application/4-Financial_audit.robot">
<test id="s1-s3-s2-s3-s1-t1" name="get_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.330" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:14.329" endtime="20211201 21:58:14.330"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.409" level="INFO">GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=663541521953460224
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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
</msg>
<msg timestamp="20211201 21:58:14.409" level="INFO">GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.409" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.330" endtime="20211201 21:58:14.410"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditedTime</arg>
</arguments>
<assign>
<var>${auditedTime}</var>
</assign>
<msg timestamp="20211201 21:58:14.411" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:14.410" endtime="20211201 21:58:14.411"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.329" endtime="20211201 21:58:14.411" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s3-s1-t2" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL1}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.413" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.412" endtime="20211201 21:58:14.414"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}&amp;operationStatus=3</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.416" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.414" endtime="20211201 21:58:14.416"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.412" endtime="20211201 21:58:14.417" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s3-s1-t3" name="paper-mill-order-receipt-proof-request_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.418" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:14.418" endtime="20211201 21:58:14.419"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:14.420" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.419" endtime="20211201 21:58:14.420"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.417" endtime="20211201 21:58:14.421" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s3-s1-t4" name="paper-mill-order-receipt-proof-request_settle">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.422" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:14.421" endtime="20211201 21:58:14.422"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "id":"${auditRequestId}", \ \ \ \ "adminId":null }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:14.424" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.422" endtime="20211201 21:58:14.424"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.421" endtime="20211201 21:58:14.424" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<doc>代卖应付</doc>
<status status="FAIL" starttime="20211201 21:58:14.314" endtime="20211201 21:58:14.425"></status>
</suite>
<suite id="s1-s3-s2-s3-s2" name="5-Sales receivables" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/3-Withdrawal_application/5-Sales_receivables.robot">
<test id="s1-s3-s2-s3-s2-t1" name="get_paper-payment-order-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.431" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.431" endtime="20211201 21:58:14.431"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-payment-order-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.488" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;orderId=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:14.488" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.489" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.431" endtime="20211201 21:58:14.489"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paymentOrderId}</var>
</assign>
<msg timestamp="20211201 21:58:14.489" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:14.489" endtime="20211201 21:58:14.489"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.430" endtime="20211201 21:58:14.490" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s3-s2-t2" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.491" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.491" endtime="20211201 21:58:14.491"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.493" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.492" endtime="20211201 21:58:14.493"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.490" endtime="20211201 21:58:14.493" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s3-s2-t3" name="update_payment-order-status">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.495" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.494" endtime="20211201 21:58:14.495"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:14.497" level="FAIL">Variable '${paymentOrderId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.495" endtime="20211201 21:58:14.497"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.494" endtime="20211201 21:58:14.497" critical="yes">Variable '${paymentOrderId}' not found.</status>
</test>
<doc>代卖应收</doc>
<status status="FAIL" starttime="20211201 21:58:14.426" endtime="20211201 21:58:14.497"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:14.311" endtime="20211201 21:58:14.499"></status>
</suite>
<suite id="s1-s3-s2-s4" name="4-Consignment management" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/4-Consignment_management">
<suite id="s1-s3-s2-s4-s1" name="2.3-ActiveUpload-weightnote" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/4-Consignment_management/2.3-ActiveUpload-weightnote.robot">
<test id="s1-s3-s2-s4-s1-t1" name="get_proxy-order-item-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.509" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.508" endtime="20211201 21:58:14.509"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order-item-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;orderType=2&amp;status=51&amp;weightNoteType=2&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.545" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&amp;pageSize=10&amp;orderType=2&amp;status=51&amp;weightNoteType=2&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&amp;pageSize=10&amp;orderType=2&amp;status=51&amp;weightNoteType=2&amp;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
</msg>
<msg timestamp="20211201 21:58:14.545" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order-item-list?pageNum=1&amp;pageSize=10&amp;orderType=2&amp;status=51&amp;weightNoteType=2&amp;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}}
</msg>
<msg timestamp="20211201 21:58:14.545" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.509" endtime="20211201 21:58:14.546"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.546" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:14.546" endtime="20211201 21:58:14.546"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>orderItemId</arg>
</arguments>
<assign>
<var>${orderItemId}</var>
</assign>
<msg timestamp="20211201 21:58:14.547" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:14.547" endtime="20211201 21:58:14.547"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.508" endtime="20211201 21:58:14.547" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s4-s1-t2" name="get_proxy-order-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.549" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.548" endtime="20211201 21:58:14.549"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId}&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.748" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;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
</msg>
<msg timestamp="20211201 21:58:14.749" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;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":"厦门千纸互联科技有限公司"}}
</msg>
<msg timestamp="20211201 21:58:14.749" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.549" endtime="20211201 21:58:14.749"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:14.750" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:14.749" endtime="20211201 21:58:14.750"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>unitSurcharge</arg>
</arguments>
<assign>
<var>${unitSurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:14.751" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:14.750" endtime="20211201 21:58:14.751"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxySellerSettleType</arg>
</arguments>
<assign>
<var>${proxySellerSettleType}</var>
</assign>
<msg timestamp="20211201 21:58:14.751" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:14.751" endtime="20211201 21:58:14.751"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperCategoryId</arg>
</arguments>
<assign>
<var>${paperCategoryId}</var>
</assign>
<msg timestamp="20211201 21:58:14.752" level="INFO">${paperCategoryId} = 660529551931215872</msg>
<status status="PASS" starttime="20211201 21:58:14.752" endtime="20211201 21:58:14.752"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperCategoryPrice</arg>
</arguments>
<assign>
<var>${unitPrice}</var>
</assign>
<msg timestamp="20211201 21:58:14.753" level="INFO">${unitPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:14.752" endtime="20211201 21:58:14.753"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>publicSubsidies</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:14.753" level="INFO">${publicSubsidies} = None</msg>
<status status="PASS" starttime="20211201 21:58:14.753" endtime="20211201 21:58:14.753"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>millSupplierId</arg>
</arguments>
<assign>
<var>${millSupplierId}</var>
</assign>
<msg timestamp="20211201 21:58:14.754" level="INFO">${millSupplierId} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:14.754" endtime="20211201 21:58:14.754"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>paperMillSupplierName</arg>
</arguments>
<assign>
<var>${paperMillSupplierName}</var>
</assign>
<msg timestamp="20211201 21:58:14.755" level="INFO">${paperMillSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:14.754" endtime="20211201 21:58:14.755"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>surcharge</arg>
</arguments>
<assign>
<var>${surcharge}</var>
</assign>
<msg timestamp="20211201 21:58:14.756" level="INFO">${surcharge} = None</msg>
<status status="PASS" starttime="20211201 21:58:14.755" endtime="20211201 21:58:14.756"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>contractId</arg>
</arguments>
<assign>
<var>${contractId}</var>
</assign>
<msg timestamp="20211201 21:58:14.759" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:14.756" endtime="20211201 21:58:14.759"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>paymentType</arg>
</arguments>
<assign>
<var>${paymentType}</var>
</assign>
<msg timestamp="20211201 21:58:14.759" level="INFO">${paymentType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:14.759" endtime="20211201 21:58:14.759"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["orderItems"][0]}</arg>
<arg>activityNoteStatus</arg>
</arguments>
<assign>
<var>${activityNoteStatus}</var>
</assign>
<msg timestamp="20211201 21:58:14.760" level="INFO">${activityNoteStatus} = 0</msg>
<status status="PASS" starttime="20211201 21:58:14.760" endtime="20211201 21:58:14.760"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>transactionMainEnterpriseId</arg>
</arguments>
<assign>
<var>${交易主体id}</var>
</assign>
<msg timestamp="20211201 21:58:14.761" level="INFO">${交易主体id} = 15</msg>
<status status="PASS" starttime="20211201 21:58:14.760" endtime="20211201 21:58:14.761"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>transactionMainEnterpriseName</arg>
</arguments>
<assign>
<var>${交易主体name}</var>
</assign>
<msg timestamp="20211201 21:58:14.761" level="INFO">${交易主体name} = 厦门千纸互联科技有限公司</msg>
<status status="PASS" starttime="20211201 21:58:14.761" endtime="20211201 21:58:14.761"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${publicSubsidies}'=='${null}'</arg>
<arg>0</arg>
<arg>${publicSubsidies}</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:14.762" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:14.762" endtime="20211201 21:58:14.762"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${unitPrice}+${publicSubsidies}</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:14.762" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:14.762" endtime="20211201 21:58:14.762"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.763" level="INFO">663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:14.763" endtime="20211201 21:58:14.763"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.763" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:14.763" endtime="20211201 21:58:14.763"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitSurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.764" level="INFO">${unitSurcharge} = 0.02</msg>
<status status="PASS" starttime="20211201 21:58:14.764" endtime="20211201 21:58:14.764"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperCategoryId}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.765" level="INFO">${paperCategoryId} = 660529551931215872</msg>
<status status="PASS" starttime="20211201 21:58:14.765" endtime="20211201 21:58:14.765"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.766" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:14.765" endtime="20211201 21:58:14.766"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${unitPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.766" level="INFO">${unitPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:14.766" endtime="20211201 21:58:14.766"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${publicSubsidies}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.767" level="INFO">${publicSubsidies} = 0</msg>
<status status="PASS" starttime="20211201 21:58:14.766" endtime="20211201 21:58:14.767"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${millSupplierId}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.768" level="INFO">${millSupplierId} = 660525241805705216</msg>
<status status="PASS" starttime="20211201 21:58:14.767" endtime="20211201 21:58:14.768"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperMillSupplierName}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.768" level="INFO">${paperMillSupplierName} = 测试111</msg>
<status status="PASS" starttime="20211201 21:58:14.768" endtime="20211201 21:58:14.768"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxySellerSettleType}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.769" level="INFO">${proxySellerSettleType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:14.768" endtime="20211201 21:58:14.769"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${contractId}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.769" level="INFO">${contractId} = 663533697236078592</msg>
<status status="PASS" starttime="20211201 21:58:14.769" endtime="20211201 21:58:14.769"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${surcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.770" level="INFO">${surcharge} = None</msg>
<status status="PASS" starttime="20211201 21:58:14.769" endtime="20211201 21:58:14.770"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paymentType}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.770" level="INFO">${paymentType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:14.770" endtime="20211201 21:58:14.770"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${activityNoteStatus}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.770" level="INFO">${activityNoteStatus} = 0</msg>
<status status="PASS" starttime="20211201 21:58:14.770" endtime="20211201 21:58:14.771"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体name}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.771" level="INFO">${交易主体name} = 厦门千纸互联科技有限公司</msg>
<status status="PASS" starttime="20211201 21:58:14.771" endtime="20211201 21:58:14.771"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${交易主体id}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.771" level="INFO">${交易主体id} = 15</msg>
<status status="PASS" starttime="20211201 21:58:14.771" endtime="20211201 21:58:14.772"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.548" endtime="20211201 21:58:14.772" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t3" name="get_delivery-info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.773" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.772" endtime="20211201 21:58:14.773"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get/proxy-order/delivery-info/${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.835" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:14.835" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:14.835" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.774" endtime="20211201 21:58:14.835"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.836" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:14.835" endtime="20211201 21:58:14.836"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>plateNumber</arg>
</arguments>
<assign>
<var>${plateNumber}</var>
</assign>
<msg timestamp="20211201 21:58:14.837" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:14.836" endtime="20211201 21:58:14.837"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleUtiPrice</arg>
</arguments>
<assign>
<var>${settleUtiPrice}</var>
</assign>
<msg timestamp="20211201 21:58:14.837" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:14.837" endtime="20211201 21:58:14.837"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleUtiPriceIncludeTaxType</arg>
</arguments>
<assign>
<var>${settleUtiPriceIncludeTaxType}</var>
</assign>
<msg timestamp="20211201 21:58:14.838" level="INFO">${settleUtiPriceIncludeTaxType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:14.838" endtime="20211201 21:58:14.838"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>netWeight</arg>
</arguments>
<assign>
<var>${netWeight}</var>
</assign>
<msg timestamp="20211201 21:58:14.838" level="INFO">${netWeight} = None</msg>
<status status="PASS" starttime="20211201 21:58:14.838" endtime="20211201 21:58:14.838"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${plateNumber}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.839" level="INFO">${plateNumber} = 贵R66666</msg>
<status status="PASS" starttime="20211201 21:58:14.839" endtime="20211201 21:58:14.839"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPrice}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.839" level="INFO">${settleUtiPrice} = 1.675</msg>
<status status="PASS" starttime="20211201 21:58:14.839" endtime="20211201 21:58:14.840"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleUtiPriceIncludeTaxType}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.840" level="INFO">${settleUtiPriceIncludeTaxType} = 1</msg>
<status status="PASS" starttime="20211201 21:58:14.840" endtime="20211201 21:58:14.840"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${netWeight}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.840" level="INFO">${netWeight} = None</msg>
<status status="PASS" starttime="20211201 21:58:14.840" endtime="20211201 21:58:14.841"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.772" endtime="20211201 21:58:14.841" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t4" name="get-contract-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.842" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.842" endtime="20211201 21:58:14.842"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>/recycle-service/admin/contract/get/selectable-contract-list</arg>
<arg>params=orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.887" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:14.887" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:14.887" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.843" endtime="20211201 21:58:14.887"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.888" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:14.888" endtime="20211201 21:58:14.888"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.841" endtime="20211201 21:58:14.889" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t5" name="get_weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.890" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.889" endtime="20211201 21:58:14.890"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get/weightnote/${weightnoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.892" level="FAIL">Variable '${weightnoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:14.890" endtime="20211201 21:58:14.892"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:14.889" endtime="20211201 21:58:14.892" critical="yes">Variable '${weightnoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s1-t6" name="get_paperMill-supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.893" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.893" endtime="20211201 21:58:14.893"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/paper-mill-merchant/${paperMillId}</arg>
<arg>params=paperMillId=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.925" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:14.925" level="INFO">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"}]}
</msg>
<msg timestamp="20211201 21:58:14.926" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.893" endtime="20211201 21:58:14.926"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.926" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'name': '测试111', 'id': '660525241805705216'}]}</msg>
<status status="PASS" starttime="20211201 21:58:14.926" endtime="20211201 21:58:14.927"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.892" endtime="20211201 21:58:14.927" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t7" name="get-Warehouse">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.928" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.928" endtime="20211201 21:58:14.929"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/transaction-main-enterprise/get/warehouse-name</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.964" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:14.964" level="INFO">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":["石基仓","江高仓","大观仓","钟落潭仓"]}
</msg>
<msg timestamp="20211201 21:58:14.964" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.929" endtime="20211201 21:58:14.964"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${仓库}</var>
</assign>
<msg timestamp="20211201 21:58:14.965" level="INFO">${仓库} = ['石基仓', '江高仓', '大观仓', '钟落潭仓']</msg>
<status status="PASS" starttime="20211201 21:58:14.965" endtime="20211201 21:58:14.965"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>random.choice(${仓库})</arg>
<arg>random</arg>
</arguments>
<assign>
<var>${所属仓库}</var>
</assign>
<msg timestamp="20211201 21:58:14.966" level="INFO">${所属仓库} = 江高仓</msg>
<status status="PASS" starttime="20211201 21:58:14.966" endtime="20211201 21:58:14.966"></status>
</kw>
<kw name="Log To Console" library="BuiltIn">
<doc>Logs the given message to the console.</doc>
<arguments>
<arg>\nvalue:${所属仓库}</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:14.966" endtime="20211201 21:58:14.966"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${所属仓库}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.967" level="INFO">${所属仓库} = 江高仓</msg>
<status status="PASS" starttime="20211201 21:58:14.967" endtime="20211201 21:58:14.967"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.927" endtime="20211201 21:58:14.967" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t8" name="get-Source of funds">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.968" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:14.968" endtime="20211201 21:58:14.969"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/fund-source/get/list</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:14.998" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:14.998" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:14.999" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:14.969" endtime="20211201 21:58:14.999"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:14.999" level="INFO">{'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}]}</msg>
<status status="PASS" starttime="20211201 21:58:14.999" endtime="20211201 21:58:15.000"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.000" level="INFO">${data} = [{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}, {'id'...</msg>
<status status="PASS" starttime="20211201 21:58:15.000" endtime="20211201 21:58:15.000"></status>
</kw>
<kw name="${item} IN [ @{data} ]" type="for">
<kw name="${item} = {'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.001" level="INFO">{'id': '39', 'name': '千鸟-经纪业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:15.001" endtime="20211201 21:58:15.001"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:15.001" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.001" endtime="20211201 21:58:15.001"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:15.002" level="INFO">${name} = 千鸟-经纪业务</msg>
<status status="PASS" starttime="20211201 21:58:15.001" endtime="20211201 21:58:15.002"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:15.002" level="INFO">${id} = 39</msg>
<status status="PASS" starttime="20211201 21:58:15.002" endtime="20211201 21:58:15.002"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.002" endtime="20211201 21:58:15.003"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.000" endtime="20211201 21:58:15.003"></status>
</kw>
<kw name="${item} = {'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.003" level="INFO">{'id': '40', 'name': '千纸鹤代卖业务', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:15.003" endtime="20211201 21:58:15.003"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:15.003" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.003" endtime="20211201 21:58:15.003"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:15.004" level="INFO">${name} = 千纸鹤代卖业务</msg>
<status status="PASS" starttime="20211201 21:58:15.004" endtime="20211201 21:58:15.004"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:15.004" level="INFO">${id} = 40</msg>
<status status="PASS" starttime="20211201 21:58:15.004" endtime="20211201 21:58:15.004"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.004" endtime="20211201 21:58:15.004"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.003" endtime="20211201 21:58:15.005"></status>
</kw>
<kw name="${item} = {'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.005" level="INFO">{'id': '41', 'name': '测试资金方', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:15.005" endtime="20211201 21:58:15.005"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:15.005" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.005" endtime="20211201 21:58:15.005"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:15.006" level="INFO">${name} = 测试资金方</msg>
<status status="PASS" starttime="20211201 21:58:15.006" endtime="20211201 21:58:15.006"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:15.006" level="INFO">${id} = 41</msg>
<status status="PASS" starttime="20211201 21:58:15.006" endtime="20211201 21:58:15.006"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.006" endtime="20211201 21:58:15.007"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.005" endtime="20211201 21:58:15.007"></status>
</kw>
<kw name="${item} = {'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.007" level="INFO">{'id': '42', 'name': '千鸟-技术部测试数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:15.007" endtime="20211201 21:58:15.007"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:15.008" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.007" endtime="20211201 21:58:15.008"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:15.008" level="INFO">${name} = 千鸟-技术部测试数据</msg>
<status status="PASS" starttime="20211201 21:58:15.008" endtime="20211201 21:58:15.008"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:15.008" level="INFO">${id} = 42</msg>
<status status="PASS" starttime="20211201 21:58:15.008" endtime="20211201 21:58:15.008"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.009" endtime="20211201 21:58:15.009"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.007" endtime="20211201 21:58:15.009"></status>
</kw>
<kw name="${item} = {'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.009" level="INFO">{'id': '46', 'name': '千鸟', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 0}</msg>
<status status="PASS" starttime="20211201 21:58:15.009" endtime="20211201 21:58:15.009"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:15.010" level="INFO">${isDefault} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.010" endtime="20211201 21:58:15.010"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:15.010" level="INFO">${name} = 千鸟</msg>
<status status="PASS" starttime="20211201 21:58:15.010" endtime="20211201 21:58:15.010"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:15.011" level="INFO">${id} = 46</msg>
<status status="PASS" starttime="20211201 21:58:15.010" endtime="20211201 21:58:15.011"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.011" endtime="20211201 21:58:15.011"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.009" endtime="20211201 21:58:15.011"></status>
</kw>
<kw name="${item} = {'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}" type="foritem">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${item}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.011" level="INFO">{'id': '47', 'name': '千鸟数据', 'auditAdminIds': None, 'auditAdminNames': None, 'status': None, 'createTime': None, 'updateTime': None, 'isDelete': None, 'costOfCapital': None, 'isDefault': 1}</msg>
<status status="PASS" starttime="20211201 21:58:15.011" endtime="20211201 21:58:15.011"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>isDefault</arg>
</arguments>
<assign>
<var>${isDefault}</var>
</assign>
<msg timestamp="20211201 21:58:15.012" level="INFO">${isDefault} = 1</msg>
<status status="PASS" starttime="20211201 21:58:15.012" endtime="20211201 21:58:15.012"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${name}</var>
</assign>
<msg timestamp="20211201 21:58:15.012" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:15.012" endtime="20211201 21:58:15.012"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${item}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${id}</var>
</assign>
<msg timestamp="20211201 21:58:15.012" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:15.012" endtime="20211201 21:58:15.013"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${isDefault}'=='1'</arg>
</arguments>
<msg timestamp="20211201 21:58:15.013" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20211201 21:58:15.013" endtime="20211201 21:58:15.013"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.011" endtime="20211201 21:58:15.013"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.000" endtime="20211201 21:58:15.013"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${name}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.014" level="INFO">${name} = 千鸟数据</msg>
<status status="PASS" starttime="20211201 21:58:15.013" endtime="20211201 21:58:15.014"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${id}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.014" level="INFO">${id} = 47</msg>
<status status="PASS" starttime="20211201 21:58:15.014" endtime="20211201 21:58:15.014"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:14.967" endtime="20211201 21:58:15.014" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t9" name="get_paper-mill-category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.015" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.015" endtime="20211201 21:58:15.016"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/paperMill/get/paper-mill-category/${paperMillId}</arg>
<arg>params=id=${paperMillId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.051" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:15.051" level="INFO">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}]}
</msg>
<msg timestamp="20211201 21:58:15.052" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.016" endtime="20211201 21:58:15.052"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.053" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'paperMillCategoryId': '661536969788100608', 'categoryName': '坑卡', 'inspectionNote': None}, {'paperMillCategoryId': '661536965862232064', 'categoryName': '小白纸', 'inspectionNote': None}, {'paperMillCategoryId': '660529551931215872', 'categoryName': '花纸', 'inspectionNote': None}]}</msg>
<status status="PASS" starttime="20211201 21:58:15.052" endtime="20211201 21:58:15.053"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.015" endtime="20211201 21:58:15.053" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t10" name="get_contract_by_id">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.054" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.054" endtime="20211201 21:58:15.055"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/contract/get/detail-by-id</arg>
<arg>params=id=${contractId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.111" level="INFO">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
</msg>
<msg timestamp="20211201 21:58:15.111" level="INFO">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}}
</msg>
<msg timestamp="20211201 21:58:15.112" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.055" endtime="20211201 21:58:15.112"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.113" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:15.112" endtime="20211201 21:58:15.113"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>advanceFund</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:15.114" level="INFO">${advanceFund} = None</msg>
<status status="PASS" starttime="20211201 21:58:15.113" endtime="20211201 21:58:15.114"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>buyerEnterpriseId</arg>
</arguments>
<assign>
<var>${buyerEnterpriseId}</var>
</assign>
<msg timestamp="20211201 21:58:15.114" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:15.114" endtime="20211201 21:58:15.115"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleRules</arg>
</arguments>
<assign>
<var>${settleRules}</var>
</assign>
<msg timestamp="20211201 21:58:15.115" level="INFO">${settleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.115" endtime="20211201 21:58:15.115"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:15.116" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.116" endtime="20211201 21:58:15.116"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>taxRefundRate</arg>
</arguments>
<assign>
<var>${taxRefundRate}</var>
</assign>
<msg timestamp="20211201 21:58:15.117" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:15.117" endtime="20211201 21:58:15.117"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>proxyPaySurcharge</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:15.118" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:15.117" endtime="20211201 21:58:15.118"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>hasInvoice</arg>
</arguments>
<assign>
<var>${hasInvoice}</var>
</assign>
<msg timestamp="20211201 21:58:15.119" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:15.119" endtime="20211201 21:58:15.119"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>accountPeriodType</arg>
</arguments>
<assign>
<var>${accountPeriodType}</var>
</assign>
<msg timestamp="20211201 21:58:15.120" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.120" endtime="20211201 21:58:15.120"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>isSubsidyAndDeductIncludeTax</arg>
</arguments>
<assign>
<var>${isSubsidyAndDeductIncludeTax}</var>
</assign>
<msg timestamp="20211201 21:58:15.121" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.120" endtime="20211201 21:58:15.121"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settleRules</arg>
</arguments>
<assign>
<var>${receivableSettlementRules}</var>
</assign>
<msg timestamp="20211201 21:58:15.121" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.121" endtime="20211201 21:58:15.121"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>settlePriceIncludeTaxSettleRules</arg>
</arguments>
<assign>
<var>${settlePriceIncludeTaxSettleRules}</var>
</assign>
<msg timestamp="20211201 21:58:15.122" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.122" endtime="20211201 21:58:15.122"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${advanceFund}'=='${None}'</arg>
<arg>0</arg>
<arg>${advanceFund}</arg>
</arguments>
<assign>
<var>${advanceFund}</var>
</assign>
<msg timestamp="20211201 21:58:15.123" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.122" endtime="20211201 21:58:15.123"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>'${proxyPaySurcharge}'=='${None}'</arg>
<arg>0</arg>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<assign>
<var>${proxyPaySurcharge}</var>
</assign>
<msg timestamp="20211201 21:58:15.123" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:15.123" endtime="20211201 21:58:15.123"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${advanceFund}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.124" level="INFO">${advanceFund} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.123" endtime="20211201 21:58:15.124"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${buyerEnterpriseId}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.124" level="INFO">${buyerEnterpriseId} = 660525239146516480</msg>
<status status="PASS" starttime="20211201 21:58:15.124" endtime="20211201 21:58:15.124"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${taxRefundRate}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.125" level="INFO">${taxRefundRate} = 9.6</msg>
<status status="PASS" starttime="20211201 21:58:15.124" endtime="20211201 21:58:15.125"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${proxyPaySurcharge}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.125" level="INFO">${proxyPaySurcharge} = 0.013</msg>
<status status="PASS" starttime="20211201 21:58:15.125" endtime="20211201 21:58:15.126"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${hasInvoice}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.126" level="INFO">${hasInvoice} = 1</msg>
<status status="PASS" starttime="20211201 21:58:15.126" endtime="20211201 21:58:15.126"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${accountPeriodType}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.127" level="INFO">${accountPeriodType} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.126" endtime="20211201 21:58:15.127"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.127" level="INFO">${settleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.127" endtime="20211201 21:58:15.127"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.128" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.127" endtime="20211201 21:58:15.128"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${isSubsidyAndDeductIncludeTax}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.128" level="INFO">${isSubsidyAndDeductIncludeTax} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.128" endtime="20211201 21:58:15.128"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${receivableSettlementRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.129" level="INFO">${receivableSettlementRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.128" endtime="20211201 21:58:15.129"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlePriceIncludeTaxSettleRules}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.129" level="INFO">${settlePriceIncludeTaxSettleRules} = 0</msg>
<status status="PASS" starttime="20211201 21:58:15.129" endtime="20211201 21:58:15.129"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.053" endtime="20211201 21:58:15.129" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t11" name="get-category price">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.131" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.130" endtime="20211201 21:58:15.131"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${dataTime}</var>
</assign>
<msg timestamp="20211201 21:58:15.132" level="INFO">${dataTime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:15.131" endtime="20211201 21:58:15.132"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/proxy-sell/get-category-price-by-date</arg>
<arg>params=orderItemId=${orderItemId}&amp;weightDay=${dataTime}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.230" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541521953460224&amp;weightDay=2021-12-01
path_url=/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541521953460224&amp;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
</msg>
<msg timestamp="20211201 21:58:15.230" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/proxy-sell/get-category-price-by-date?orderItemId=663541521953460224&amp;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":"花纸"}]}
</msg>
<msg timestamp="20211201 21:58:15.231" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.132" endtime="20211201 21:58:15.231"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.232" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'price': 1.65, 'publicSubsidies': 0.005, 'paperCategoryId': '660529551931215872', 'priceDate': '2021-12-01 00:00:00', 'categoryName': '花纸'}]}</msg>
<status status="PASS" starttime="20211201 21:58:15.231" endtime="20211201 21:58:15.232"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"][0]}</arg>
<arg>price</arg>
</arguments>
<assign>
<var>${price}</var>
</assign>
<msg timestamp="20211201 21:58:15.233" level="INFO">${price} = 1.65</msg>
<status status="PASS" starttime="20211201 21:58:15.232" endtime="20211201 21:58:15.233"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"][0]}</arg>
<arg>publicSubsidies</arg>
</arguments>
<assign>
<var>${publicSubsidies}</var>
</assign>
<msg timestamp="20211201 21:58:15.234" level="INFO">${publicSubsidies} = 0.005</msg>
<status status="PASS" starttime="20211201 21:58:15.233" endtime="20211201 21:58:15.234"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${price}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.235" level="INFO">${price} = 1.65</msg>
<status status="PASS" starttime="20211201 21:58:15.234" endtime="20211201 21:58:15.235"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${publicSubsidies}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.236" level="INFO">${publicSubsidies} = 0.005</msg>
<status status="PASS" starttime="20211201 21:58:15.235" endtime="20211201 21:58:15.236"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${dataTime}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.237" level="INFO">${dataTime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:15.236" endtime="20211201 21:58:15.237"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.130" endtime="20211201 21:58:15.237" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t12" name="Upload_pictures">
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>open('E:/lyl/图片/21042217001449712.png','rb')</arg>
</arguments>
<assign>
<var>${filepath}</var>
</assign>
<msg timestamp="20211201 21:58:15.238" level="FAIL">Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'</msg>
<status status="FAIL" starttime="20211201 21:58:15.238" endtime="20211201 21:58:15.239"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.237" endtime="20211201 21:58:15.239" critical="yes">Evaluating expression 'open('E:/lyl/图片/21042217001449712.png','rb')' failed: FileNotFoundError: [Errno 2] No such file or directory: 'E:/lyl/图片/21042217001449712.png'</status>
</test>
<test id="s1-s3-s2-s4-s1-t13" name="get_repeat_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.240" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.239" endtime="20211201 21:58:15.240"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/repeat/proxy-order</arg>
<arg>params=orderItemId=${orderItemId}&amp;plateNumber=${carList}&amp;settleWeight=13550&amp;weighingDate=${datatime}&amp;orderType=${orderType}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.346" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224&amp;plateNumber=%E8%B4%B5R66666&amp;settleWeight=13550&amp;weighingDate=2021-12-01&amp;orderType=2
path_url=/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224&amp;plateNumber=%E8%B4%B5R66666&amp;settleWeight=13550&amp;weighingDate=2021-12-01&amp;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
</msg>
<msg timestamp="20211201 21:58:15.346" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/repeat/proxy-order?orderItemId=663541521953460224&amp;plateNumber=%E8%B4%B5R66666&amp;settleWeight=13550&amp;weighingDate=2021-12-01&amp;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}}
</msg>
<msg timestamp="20211201 21:58:15.346" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.240" endtime="20211201 21:58:15.346"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.347" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'oi.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:15.346" endtime="20211201 21:58:15.347"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.347" endtime="20211201 21:58:15.348"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.239" endtime="20211201 21:58:15.348" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s1-t14" name="weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.349" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.349" endtime="20211201 21:58:15.349"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:15.350" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:15.350" endtime="20211201 21:58:15.350"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.352" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.350" endtime="20211201 21:58:15.352"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.348" endtime="20211201 21:58:15.352" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s1-t15" name="audit_weightnote">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.353" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.353" endtime="20211201 21:58:15.354"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/audit/weightnote/${weightNoteId}</arg>
</arguments>
<assign>
<var>${repsonse}</var>
</assign>
<msg timestamp="20211201 21:58:15.355" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.354" endtime="20211201 21:58:15.355"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.352" endtime="20211201 21:58:15.356" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s1-t16" name="get_proxy-order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.357" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.356" endtime="20211201 21:58:15.357"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/customer-service/get/proxy-order/${orderId}</arg>
<arg>params=orderId=${orderId}&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.593" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;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
</msg>
<msg timestamp="20211201 21:58:15.594" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/customer-service/get/proxy-order/663541521915711488?orderId=663541521915711488&amp;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":"厦门千纸互联科技有限公司"}}
</msg>
<msg timestamp="20211201 21:58:15.594" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.357" endtime="20211201 21:58:15.594"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.595" level="INFO">{'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': '厦门千纸互联科技有限公司'}}</msg>
<status status="PASS" starttime="20211201 21:58:15.594" endtime="20211201 21:58:15.595"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.595" endtime="20211201 21:58:15.596"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.356" endtime="20211201 21:58:15.596" critical="yes"></status>
</test>
<status status="FAIL" starttime="20211201 21:58:14.503" endtime="20211201 21:58:15.597"></status>
</suite>
<suite id="s1-s3-s2-s4-s2" name="3.3--Operation audit" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/4-Consignment_management/3.3--Operation_audit.robot">
<test id="s1-s3-s2-s4-s2-t1" name="get_operation_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.618" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.617" endtime="20211201 21:58:15.618"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.688" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:15.688" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:15.688" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.618" endtime="20211201 21:58:15.688"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.689" level="INFO">{'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}}</msg>
<status status="PASS" starttime="20211201 21:58:15.689" endtime="20211201 21:58:15.690"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.617" endtime="20211201 21:58:15.690" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s2-t2" name="get_paper-mill-order-by-orderItemId">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.691" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.691" endtime="20211201 21:58:15.691"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-mill-order-receipt-audit</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.732" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;orderItemId=663541521953460224
path_url=/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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
</msg>
<msg timestamp="20211201 21:58:15.732" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-mill-order-receipt-audit?pageNum=1&amp;pageSize=10&amp;status=0&amp;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}}
</msg>
<msg timestamp="20211201 21:58:15.732" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.692" endtime="20211201 21:58:15.732"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.733" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': [{'column': 'ar.create_time', 'asc': False}], 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:15.733" endtime="20211201 21:58:15.733"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>auditRequestId</arg>
</arguments>
<assign>
<var>${auditRequestId}</var>
</assign>
<msg timestamp="20211201 21:58:15.734" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:15.734" endtime="20211201 21:58:15.734"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.690" endtime="20211201 21:58:15.734" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s4-s2-t3" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.736" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.735" endtime="20211201 21:58:15.736"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.738" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.736" endtime="20211201 21:58:15.738"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.735" endtime="20211201 21:58:15.739" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s2-t4" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.740" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.740" endtime="20211201 21:58:15.741"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${datatime}</var>
</assign>
<msg timestamp="20211201 21:58:15.741" level="INFO">${datatime} = 2021-12-01</msg>
<status status="PASS" starttime="20211201 21:58:15.741" endtime="20211201 21:58:15.741"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.743" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.741" endtime="20211201 21:58:15.743"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.739" endtime="20211201 21:58:15.743" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s2-t5" name="order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.745" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.744" endtime="20211201 21:58:15.745"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "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}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.747" level="FAIL">Variable '${auditRequestItemId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.746" endtime="20211201 21:58:15.747"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.744" endtime="20211201 21:58:15.748" critical="yes">Variable '${auditRequestItemId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s2-t6" name="get_order-log-detail2">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.749" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.748" endtime="20211201 21:58:15.751"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId} &amp;operationStatus=2</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.752" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.751" endtime="20211201 21:58:15.752"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.748" endtime="20211201 21:58:15.753" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s2-t7" name="operation_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.754" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.753" endtime="20211201 21:58:15.754"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ "auditRequestId":"${auditRequestId}", \ \ \ \ "isPass":1, \ \ \ \ "remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.756" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.754" endtime="20211201 21:58:15.756"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.753" endtime="20211201 21:58:15.756" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<status status="FAIL" starttime="20211201 21:58:15.599" endtime="20211201 21:58:15.757"></status>
</suite>
<suite id="s1-s3-s2-s4-s3" name="4.3-Financial audit" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/4-Consignment_management/4.3-Financial_audit.robot">
<test id="s1-s3-s2-s4-s3-t1" name="get_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.764" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:15.763" endtime="20211201 21:58:15.764"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=${orderItemId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.881" level="INFO">GET Request : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;orderItemId=663541521953460224
path_url=/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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
</msg>
<msg timestamp="20211201 21:58:15.881" level="INFO">GET Response : url=http://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/paper-mill-order-receipt-proof-request/get/list?pageNum=1&amp;pageSize=10&amp;status=&amp;orderId=&amp;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}}
</msg>
<msg timestamp="20211201 21:58:15.882" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.764" endtime="20211201 21:58:15.882"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${reps.json()}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.883" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 0}}</msg>
<status status="PASS" starttime="20211201 21:58:15.882" endtime="20211201 21:58:15.883"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${reps.json()["message"]}</arg>
<arg>successful</arg>
</arguments>
<status status="PASS" starttime="20211201 21:58:15.883" endtime="20211201 21:58:15.883"></status>
</kw>
<status status="PASS" starttime="20211201 21:58:15.763" endtime="20211201 21:58:15.884" critical="yes"></status>
</test>
<test id="s1-s3-s2-s4-s3-t2" name="get_order-log-detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL1}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.885" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.884" endtime="20211201 21:58:15.885"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-log-detail</arg>
<arg>params=orderId=${orderId}&amp;weightNoteId=${weightNoteId}&amp;operationStatus=3</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.887" level="FAIL">Variable '${weightNoteId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.885" endtime="20211201 21:58:15.887"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.884" endtime="20211201 21:58:15.887" critical="yes">Variable '${weightNoteId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s3-t3" name="paper-mill-order-receipt-proof-request_audit">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.890" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:15.889" endtime="20211201 21:58:15.890"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"auditRequestId":"${auditRequestId}","adminId":null,"isPass":1,"remark":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.892" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.891" endtime="20211201 21:58:15.892"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.888" endtime="20211201 21:58:15.893" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s3-t4" name="paper-mill-order-receipt-proof-request_settle">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${url}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.894" level="INFO">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 </msg>
<status status="PASS" starttime="20211201 21:58:15.893" endtime="20211201 21:58:15.894"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "id":"${auditRequestId}", \ \ \ \ "adminId":null }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.896" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.894" endtime="20211201 21:58:15.896"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.893" endtime="20211201 21:58:15.896" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<status status="FAIL" starttime="20211201 21:58:15.759" endtime="20211201 21:58:15.897"></status>
</suite>
<suite id="s1-s3-s2-s4-s4" name="5.3-Sales Receivable" source="/root/ztb-trading-rf-api/002-Activeorder/2-Background_system(Test)/4-Consignment_management/5.3-sales_receivable.robot">
<test id="s1-s3-s2-s4-s4-t1" name="get_paper-payment-order-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.902" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.902" endtime="20211201 21:58:15.903"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/paper-payment-order-list</arg>
<arg>params=pageNum=1&amp;pageSize=10&amp;orderId=${orderId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.957" level="INFO">GET Request : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;orderId=663541521915711488
path_url=/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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
</msg>
<msg timestamp="20211201 21:58:15.957" level="INFO">GET Response : url=http://api-ops-ztb-test.qniao.cn/recycle-service/admin/operation/get/paper-payment-order-list?pageNum=1&amp;pageSize=10&amp;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}}
</msg>
<msg timestamp="20211201 21:58:15.957" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211201 21:58:15.903" endtime="20211201 21:58:15.958"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paymentOrderId}</var>
</assign>
<msg timestamp="20211201 21:58:15.958" level="FAIL">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</msg>
<status status="FAIL" starttime="20211201 21:58:15.958" endtime="20211201 21:58:15.958"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.902" endtime="20211201 21:58:15.959" critical="yes">Resolving variable '${reps.json()["data"]["records"][0]}' failed: IndexError: list index out of range</status>
</test>
<test id="s1-s3-s2-s4-s4-t2" name="get_order-receipt-audit-details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.960" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.960" endtime="20211201 21:58:15.961"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>recycle-service/admin/operation/get/order-receipt-audit-details/${auditRequestId}/${weightNoteId}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20211201 21:58:15.962" level="FAIL">Variable '${auditRequestId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.961" endtime="20211201 21:58:15.962"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.959" endtime="20211201 21:58:15.963" critical="yes">Variable '${auditRequestId}' not found.</status>
</test>
<test id="s1-s3-s2-s4-s4-t3" name="update_payment-order-status">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${URL}</arg>
<arg>${header}</arg>
</arguments>
<msg timestamp="20211201 21:58:15.964" level="INFO">Creating Session using : alias=ZTBT, url=http://api-ops-ztb-test.qniao.cn, headers={'X-APP-ID': '470236309865238555', 'Authorization': 'Token 6b08add42d6bcf73abb935b2adf83525', 'Content-Type': 'application/json'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211201 21:58:15.963" endtime="20211201 21:58:15.964"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "paymentOrderId":"${paymentOrderId}", \ \ \ \ "receivablePrice":"${receivablePriceIncludeTax}", \ \ \ \ "paidPrice":"${receivablePriceIncludeTax}", \ \ \ \ "noReceiveblePrice":"${noReceivablePrice}", \ \ \ \ "bankFlowNo":null, \ \ \ \ "paymentAdjustmentFee":null, \ \ \ \ "returnPayDate":"${datatime}" }</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20211201 21:58:15.966" level="FAIL">Variable '${paymentOrderId}' not found.</msg>
<status status="FAIL" starttime="20211201 21:58:15.964" endtime="20211201 21:58:15.966"></status>
</kw>
<status status="FAIL" starttime="20211201 21:58:15.963" endtime="20211201 21:58:15.966" critical="yes">Variable '${paymentOrderId}' not found.</status>
</test>
<doc>代卖应收</doc>
<status status="FAIL" starttime="20211201 21:58:15.898" endtime="20211201 21:58:15.966"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:14.500" endtime="20211201 21:58:15.968"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:12.538" endtime="20211201 21:58:15.973"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:11.923" endtime="20211201 21:58:15.982"></status>
</suite>
<status status="FAIL" starttime="20211201 21:58:05.298" endtime="20211201 21:58:15.992"></status>
</suite>
<statistics>
<total>
<stat pass="89" fail="74">Critical Tests</stat>
<stat pass="89" fail="74">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="89" fail="74" id="s1" name="Ztb-Trading-Rf-Api">Ztb-Trading-Rf-Api</stat>
<stat pass="25" fail="21" id="s1-s1" name="000-Regularorder">Ztb-Trading-Rf-Api.000-Regularorder</stat>
<stat pass="6" fail="0" id="s1-s1-s1" name="1-Client(Test)">Ztb-Trading-Rf-Api.000-Regularorder.1-Client(Test)</stat>
<stat pass="2" fail="0" id="s1-s1-s1-s1" name="1-APPlogin(Test)">Ztb-Trading-Rf-Api.000-Regularorder.1-Client(Test).1-APPlogin(Test)</stat>
<stat pass="4" fail="0" id="s1-s1-s1-s2" name="2.1-CreateRegularorder">Ztb-Trading-Rf-Api.000-Regularorder.1-Client(Test).2.1-CreateRegularorder</stat>
<stat pass="19" fail="21" id="s1-s1-s2" name="2-Background system(Test)">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test)</stat>
<stat pass="2" fail="0" id="s1-s1-s2-s1" name="1-WebLogin">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).1-WebLogin</stat>
<stat pass="2" fail="0" id="s1-s1-s2-s1-s1" name="Weblogin">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).1-WebLogin.Weblogin</stat>
<stat pass="17" fail="13" id="s1-s1-s2-s2" name="2.1-Consignment management">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management</stat>
<stat pass="3" fail="0" id="s1-s1-s2-s2-s1" name="1-Appointment">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management.1-Appointment</stat>
<stat pass="13" fail="3" id="s1-s1-s2-s2-s2" name="2.1-RegularUpload-weightnote">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management.2.1-RegularUpload-weightnote</stat>
<stat pass="1" fail="10" id="s1-s1-s2-s2-s3" name="3.1-Operation audit">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).2.1-Consignment management.3.1-Operation audit</stat>
<stat pass="0" fail="8" id="s1-s1-s2-s3" name="3-Withdrawal application">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).3-Withdrawal application</stat>
<stat pass="0" fail="5" id="s1-s1-s2-s3-s1" name="4-Financial audit">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).3-Withdrawal application.4-Financial audit</stat>
<stat pass="0" fail="3" id="s1-s1-s2-s3-s2" name="5-Sales receivables">Ztb-Trading-Rf-Api.000-Regularorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables</stat>
<stat pass="26" fail="16" id="s1-s2" name="001-Activeorder">Ztb-Trading-Rf-Api.001-Activeorder</stat>
<stat pass="7" fail="0" id="s1-s2-s1" name="1-Client(Test)">Ztb-Trading-Rf-Api.001-Activeorder.1-Client(Test)</stat>
<stat pass="2" fail="0" id="s1-s2-s1-s1" name="1-APPlogin(Test)">Ztb-Trading-Rf-Api.001-Activeorder.1-Client(Test).1-APPlogin(Test)</stat>
<stat pass="5" fail="0" id="s1-s2-s1-s2" name="2.2createActiveorder-1">Ztb-Trading-Rf-Api.001-Activeorder.1-Client(Test).2.2createActiveorder-1</stat>
<stat pass="19" fail="16" id="s1-s2-s2" name="2-Background system(Test)">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test)</stat>
<stat pass="2" fail="0" id="s1-s2-s2-s1" name="1-WebLogin">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).1-WebLogin</stat>
<stat pass="2" fail="0" id="s1-s2-s2-s1-s1" name="Weblogin">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).1-WebLogin.Weblogin</stat>
<stat pass="17" fail="9" id="s1-s2-s2-s2" name="2.1-Consignment management">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management</stat>
<stat pass="3" fail="0" id="s1-s2-s2-s2-s1" name="1-Appointment">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment</stat>
<stat pass="13" fail="3" id="s1-s2-s2-s2-s2" name="2.2-RegularUpload-weightnote-1">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management.2.2-RegularUpload-weightnote-1</stat>
<stat pass="1" fail="6" id="s1-s2-s2-s2-s3" name="3.2-Operation audit">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).2.1-Consignment management.3.2-Operation audit</stat>
<stat pass="0" fail="7" id="s1-s2-s2-s3" name="3-Withdrawal application">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).3-Withdrawal application</stat>
<stat pass="0" fail="4" id="s1-s2-s2-s3-s1" name="4-Financial audit">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit</stat>
<stat pass="0" fail="3" id="s1-s2-s2-s3-s2" name="5-Sales receivables">Ztb-Trading-Rf-Api.001-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables</stat>
<stat pass="38" fail="37" id="s1-s3" name="002-Activeorder">Ztb-Trading-Rf-Api.002-Activeorder</stat>
<stat pass="7" fail="0" id="s1-s3-s1" name="1-Client(Test)">Ztb-Trading-Rf-Api.002-Activeorder.1-Client(Test)</stat>
<stat pass="2" fail="0" id="s1-s3-s1-s1" name="1-APPlogin(Test)">Ztb-Trading-Rf-Api.002-Activeorder.1-Client(Test).1-APPlogin(Test)</stat>
<stat pass="5" fail="0" id="s1-s3-s1-s2" name="2.3createActiveorder-2">Ztb-Trading-Rf-Api.002-Activeorder.1-Client(Test).2.3createActiveorder-2</stat>
<stat pass="31" fail="37" id="s1-s3-s2" name="2-Background system(Test)">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test)</stat>
<stat pass="2" fail="0" id="s1-s3-s2-s1" name="1-WebLogin">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).1-WebLogin</stat>
<stat pass="2" fail="0" id="s1-s3-s2-s1-s1" name="Weblogin">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).1-WebLogin.Weblogin</stat>
<stat pass="16" fail="13" id="s1-s3-s2-s2" name="2.1-Consignment management">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management</stat>
<stat pass="3" fail="0" id="s1-s3-s2-s2-s1" name="1-Appointment">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management.1-Appointment</stat>
<stat pass="12" fail="3" id="s1-s3-s2-s2-s2" name="2.3-ActiveUpload-deliverynote">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management.2.3-ActiveUpload-deliverynote</stat>
<stat pass="1" fail="10" id="s1-s3-s2-s2-s3" name="3.3-Operation audit">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).2.1-Consignment management.3.3-Operation audit</stat>
<stat pass="0" fail="7" id="s1-s3-s2-s3" name="3-Withdrawal application">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).3-Withdrawal application</stat>
<stat pass="0" fail="4" id="s1-s3-s2-s3-s1" name="4-Financial audit">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).3-Withdrawal application.4-Financial audit</stat>
<stat pass="0" fail="3" id="s1-s3-s2-s3-s2" name="5-Sales receivables">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).3-Withdrawal application.5-Sales receivables</stat>
<stat pass="13" fail="17" id="s1-s3-s2-s4" name="4-Consignment management">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management</stat>
<stat pass="11" fail="5" id="s1-s3-s2-s4-s1" name="2.3-ActiveUpload-weightnote">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.2.3-ActiveUpload-weightnote</stat>
<stat pass="1" fail="6" id="s1-s3-s2-s4-s2" name="3.3--Operation audit">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.3.3--Operation audit</stat>
<stat pass="1" fail="3" id="s1-s3-s2-s4-s3" name="4.3-Financial audit">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.4.3-Financial audit</stat>
<stat pass="0" fail="3" id="s1-s3-s2-s4-s4" name="5.3-Sales Receivable">Ztb-Trading-Rf-Api.002-Activeorder.2-Background system(Test).4-Consignment management.5.3-Sales Receivable</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>