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.
658 lines
49 KiB
658 lines
49 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<robot generator="Rebot 4.1 (Python 3.6.6 on win32)" generated="20210910 16:55:54.642" rpa="false" schemaversion="2">
|
|
<suite id="s1" name="3-Pabotdemo" source="E:\lyl\Order\Order\3-pabotdemo">
|
|
<suite id="s1-s1" name="1-Get List" source="E:\lyl\Order\Order\3-pabotdemo\1-get_list.robot">
|
|
<test id="s1-s1-t1" name="a">
|
|
<kw name="userlogin" library="login">
|
|
<arg>{"accountType":2,"password":null,"account":"15014242835","captcha":"888888"}</arg>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:50.942" endtime="20210910 16:55:50.943"/>
|
|
</kw>
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${header}</var>
|
|
<arg>content-type=application/json</arg>
|
|
<arg>X-APP-ID=470236309865238528</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:50.944" level="INFO">${header} = {'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:50.943" endtime="20210910 16:55:50.944"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>ZTBT</arg>
|
|
<arg>https://api-client-uec-test.qniao.cn</arg>
|
|
<arg>${header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20210910 16:55:50.945" 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="20210910 16:55:50.944" endtime="20210910 16:55:50.945"/>
|
|
</kw>
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>account=15014242835</arg>
|
|
<arg>captcha=888888</arg>
|
|
<arg>accountType=2</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:50.946" level="INFO">${data} = {'account': '15014242835', 'captcha': '888888', 'accountType': '2'}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:50.945" endtime="20210910 16:55:50.946"/>
|
|
</kw>
|
|
<kw name="Post On Session" library="RequestsLibrary">
|
|
<var>${respones}</var>
|
|
<arg>ZTBT</arg>
|
|
<arg>uec/authorize/by-captcha</arg>
|
|
<arg>json=${data}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20210910 16:55:51.248" 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.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
|
|
body=b'{"account": "15014242835", "captcha": "888888", "accountType": "2"}'
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:51.248" 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': 'Fri, 10 Sep 2021 08:55:51 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/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==","userId":"630867430654218240"}}
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:51.249" level="INFO">${respones} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20210910 16:55:50.946" endtime="20210910 16:55:51.249"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${respones.status_code}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20210910 16:55:51.253" level="INFO">200</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.250" endtime="20210910 16:55:51.253"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${respones.json()}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20210910 16:55:51.257" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==', 'userId': '630867430654218240'}}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.254" endtime="20210910 16:55:51.257"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${token}</var>
|
|
<arg>${respones.json()["data"]}</arg>
|
|
<arg>token</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:51.260" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.258" endtime="20210910 16:55:51.260"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${token}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:51.262" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.261" endtime="20210910 16:55:51.263"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:50.942" endtime="20210910 16:55:51.263"/>
|
|
</kw>
|
|
<kw name="userlogin" library="login">
|
|
<arg>{"accountType":2,"password":null,"account":"13333333333","captcha":"888888"}</arg>
|
|
<kw name="Disable Warnings" library="urllib3">
|
|
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:51.265" endtime="20210910 16:55:51.266"/>
|
|
</kw>
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${header}</var>
|
|
<arg>content-type=application/json</arg>
|
|
<arg>X-APP-ID=470236309865238528</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:51.267" level="INFO">${header} = {'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.266" endtime="20210910 16:55:51.268"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>ZTBT</arg>
|
|
<arg>https://api-client-uec-test.qniao.cn</arg>
|
|
<arg>${header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20210910 16:55:51.269" 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="20210910 16:55:51.268" endtime="20210910 16:55:51.269"/>
|
|
</kw>
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${data}</var>
|
|
<arg>account=15014242835</arg>
|
|
<arg>captcha=888888</arg>
|
|
<arg>accountType=2</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:51.271" level="INFO">${data} = {'account': '15014242835', 'captcha': '888888', 'accountType': '2'}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.270" endtime="20210910 16:55:51.271"/>
|
|
</kw>
|
|
<kw name="Post On Session" library="RequestsLibrary">
|
|
<var>${respones}</var>
|
|
<arg>ZTBT</arg>
|
|
<arg>uec/authorize/by-captcha</arg>
|
|
<arg>json=${data}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20210910 16:55:51.359" 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.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
|
|
body=b'{"account": "15014242835", "captcha": "888888", "accountType": "2"}'
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:51.359" 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': 'Fri, 10 Sep 2021 08:55:51 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/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==","userId":"630867430654218240"}}
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:51.360" level="INFO">${respones} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.271" endtime="20210910 16:55:51.360"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${respones.status_code}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20210910 16:55:51.361" level="INFO">200</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.360" endtime="20210910 16:55:51.361"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${respones.json()}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20210910 16:55:51.362" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'd6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==', 'userId': '630867430654218240'}}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.361" endtime="20210910 16:55:51.362"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${token}</var>
|
|
<arg>${respones.json()["data"]}</arg>
|
|
<arg>token</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:51.364" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.363" endtime="20210910 16:55:51.364"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${token}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:51.365" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.364" endtime="20210910 16:55:51.365"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:51.264" endtime="20210910 16:55:51.365"/>
|
|
</kw>
|
|
<kw name="login-token" library="login">
|
|
<arg>${token}</arg>
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${header}</var>
|
|
<arg>content-type=application/json</arg>
|
|
<arg>X-APP-ID=470236309865238528</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:51.367" level="INFO">${header} = {'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.366" endtime="20210910 16:55:51.367"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>ZTBT</arg>
|
|
<arg>${url}</arg>
|
|
<arg>${header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20210910 16:55:51.368" 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="20210910 16:55:51.367" endtime="20210910 16:55:51.368"/>
|
|
</kw>
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${token1}</var>
|
|
<arg>loginToken=${token}</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:51.369" level="INFO">${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ=='}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.368" endtime="20210910 16:55:51.369"/>
|
|
</kw>
|
|
<kw name="Post On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>ZTBT</arg>
|
|
<arg>recycle-user-center/authorize/get/product-line-token/by/login-token</arg>
|
|
<arg>json=${token1}</arg>
|
|
<doc>Sends a POST request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20210910 16:55:51.531" 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.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '106'}
|
|
body=b'{"loginToken": "d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ=="}'
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:51.531" 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': 'Fri, 10 Sep 2021 08:55:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
|
|
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==","userToken":null,"userId":"630867430654218240"}}
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:51.531" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.369" endtime="20210910 16:55:51.532"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${gettoken}</var>
|
|
<arg>${reps.json()["data"]}</arg>
|
|
<arg>token</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:51.536" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.533" endtime="20210910 16:55:51.536"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${userId}</var>
|
|
<arg>${reps.json()["data"]}</arg>
|
|
<arg>userId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:51.540" level="INFO">${userId} = 630867430654218240</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.537" endtime="20210910 16:55:51.541"/>
|
|
</kw>
|
|
<kw name="Log" library="BuiltIn">
|
|
<arg>${reps.json()["data"]["token"]}</arg>
|
|
<doc>Logs the given message with the given level.</doc>
|
|
<msg timestamp="20210910 16:55:51.545" level="INFO">d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.542" endtime="20210910 16:55:51.545"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${gettoken}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:51.548" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ==</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.546" endtime="20210910 16:55:51.548"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${userId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:51.551" level="INFO">${userId} = 630867430654218240</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.549" endtime="20210910 16:55:51.551"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:51.365" endtime="20210910 16:55:51.552"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:50.940" endtime="20210910 16:55:51.553"/>
|
|
</test>
|
|
<test id="s1-s1-t2" name="get-factorylist">
|
|
<kw name="Create Dictionary" library="BuiltIn">
|
|
<var>${header}</var>
|
|
<arg>content-type=application/json</arg>
|
|
<arg>X-APP-ID=470236309865238528</arg>
|
|
<arg>Authorization=${token}</arg>
|
|
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
|
|
<msg timestamp="20210910 16:55:51.557" level="INFO">${header} = {'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'd6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ=='}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.556" endtime="20210910 16:55:51.557"/>
|
|
</kw>
|
|
<kw name="Create Session" library="RequestsLibrary">
|
|
<arg>factorylist</arg>
|
|
<arg>http://api-client-ztb-test.qniao.cn</arg>
|
|
<arg>${header}</arg>
|
|
<doc>Create Session: create a HTTP session to a server</doc>
|
|
<msg timestamp="20210910 16:55:51.559" 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': 'd6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.558" endtime="20210910 16:55:51.559"/>
|
|
</kw>
|
|
<kw name="Get On Session" library="RequestsLibrary">
|
|
<var>${reps}</var>
|
|
<arg>factorylist</arg>
|
|
<arg>recycle-service/get/paper-mill-paper-category-price-list</arg>
|
|
<arg>params=cityId=&enableSalesAgent=1&pageNum=1&pageSize=10&listType=0</arg>
|
|
<doc>Sends a GET request on a previously created HTTP Session.</doc>
|
|
<msg timestamp="20210910 16:55:52.291" level="INFO">GET Request : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list?cityId=&enableSalesAgent=1&pageNum=1&pageSize=10&listType=0
|
|
path_url=/recycle-service/get/paper-mill-paper-category-price-list?cityId=&enableSalesAgent=1&pageNum=1&pageSize=10&listType=0
|
|
headers={'User-Agent': 'python-requests/2.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Authorization': 'd6SX3ESr8Jb2tYq/89Ft7HVC3UGImoJiXoPPa3TrtP0kQkPtfa2rGyLY0zHYqeeHdYeGUvl+ArHVatl0rAFUBQ=='}
|
|
body=None
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:52.291" level="INFO">GET Response : url=http://api-client-ztb-test.qniao.cn/recycle-service/get/paper-mill-paper-category-price-list?cityId=&enableSalesAgent=1&pageNum=1&pageSize=10&listType=0
|
|
status=200, reason=
|
|
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 10 Sep 2021 08:55:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
|
|
body={"code":0,"message":"successful","data":{"records":[{"paperMillId":"496657684465061888","name":"东莞市金田纸业有限公司","paperCategoryList":[{"categoryId":"496657684473450496","categoryName":"一级纸皮","yesterdayUnitPrice":null,"unitPrice":2.400,"floatingPrice":0.000,"publicSubsidies":0.002},{"categoryId":"496657684477644800","categoryName":"国产纸皮A类","yesterdayUnitPrice":null,"unitPrice":2.260,"floatingPrice":0.000,"publicSubsidies":0.004},{"categoryId":"496657684477644801","categoryName":"国产纸皮统货A级","yesterdayUnitPrice":null,"unitPrice":2.220,"floatingPrice":0.000,"publicSubsidies":0.005},{"categoryId":"496657684477644802","categoryName":"国产纸皮统货B级","yesterdayUnitPrice":null,"unitPrice":2.160,"floatingPrice":0.000,"publicSubsidies":0.003},{"categoryId":"496657684477644803","categoryName":"坑卡A级","yesterdayUnitPrice":null,"unitPrice":1.930,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684477644804","categoryName":"坑卡B级","yesterdayUnitPrice":null,"unitPrice":1.900,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684477644805","categoryName":"厂包纯坑卡","yesterdayUnitPrice":null,"unitPrice":2.020,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684481839104","categoryName":"薄灰","yesterdayUnitPrice":null,"unitPrice":2.020,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684481839105","categoryName":"大小花","yesterdayUnitPrice":null,"unitPrice":1.950,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684481839106","categoryName":"一级办公用纸","yesterdayUnitPrice":null,"unitPrice":2.250,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684481839107","categoryName":"报纸","yesterdayUnitPrice":null,"unitPrice":2.250,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496657684481839108","categoryName":"书本纸","yesterdayUnitPrice":null,"unitPrice":2.250,"floatingPrice":0.000,"publicSubsidies":null}],"locProvinceName":"广东省","locCityName":"东莞市","locDistrictName":"万江街道","logoImg":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20092914192297702.jpg","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0100000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":2476.69,"yesterdayTotalQuantity":80,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":true,"isRecentlySale":true},{"paperMillId":"612631294819569664","name":"山鹰华中纸业有限公司(国贸)","paperCategoryList":[{"categoryId":"612636090817449984","categoryName":"A级","yesterdayUnitPrice":null,"unitPrice":2.480,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"612636090846810112","categoryName":"B级","yesterdayUnitPrice":null,"unitPrice":2.440,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"612636090876170240","categoryName":"C级","yesterdayUnitPrice":null,"unitPrice":2.400,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"612636090905530368","categoryName":"D级","yesterdayUnitPrice":null,"unitPrice":2.360,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"612636090930696192","categoryName":"E级","yesterdayUnitPrice":null,"unitPrice":2.170,"floatingPrice":0.000,"publicSubsidies":null}],"locProvinceName":"湖北省","locCityName":"荆州市","locDistrictName":"公安县","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1626229070940.png","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0150000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":550.74,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":true,"isRecentlySale":true},{"paperMillId":"496656259144093696","name":"东莞金洲纸业有限公司","paperCategoryList":[{"categoryId":"496656259152482304","categoryName":"一级纸","yesterdayUnitPrice":null,"unitPrice":2.420,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496656259156676608","categoryName":"二级纸","yesterdayUnitPrice":null,"unitPrice":2.120,"floatingPrice":0.000,"publicSubsidies":0.005},{"categoryId":"496656259156676609","categoryName":"三级纸","yesterdayUnitPrice":null,"unitPrice":2.300,"floatingPrice":0.000,"publicSubsidies":0.005},{"categoryId":"574943578804064256","categoryName":"页子纸","yesterdayUnitPrice":null,"unitPrice":1.750,"floatingPrice":0.000,"publicSubsidies":0.008}],"locProvinceName":"广东省","locCityName":"东莞市","locDistrictName":"中堂镇","logoImg":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20092915021066608.jpg","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0200000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":14981.17,"yesterdayTotalQuantity":15,"yesterdayRetainedQuantity":1,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"测试修改停运提示语","isPlaceAnOrder":true,"isRecentlySale":true},{"paperMillId":"630378168733274112","name":"九一纸厂有限公司","paperCategoryList":[{"categoryId":"630378353450422272","categoryName":"白纸","yesterdayUnitPrice":null,"unitPrice":1.235,"floatingPrice":0.000,"publicSubsidies":0.005},{"categoryId":"630378353483976704","categoryName":"花纸","yesterdayUnitPrice":null,"unitPrice":1.355,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"630378353517531136","categoryName":"黑卡","yesterdayUnitPrice":null,"unitPrice":1.230,"floatingPrice":0.010,"publicSubsidies":null}],"locProvinceName":"安徽省","locCityName":"安庆市","locDistrictName":"大观区","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1630460295498.jpg","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0230000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":761.71,"yesterdayTotalQuantity":15,"yesterdayRetainedQuantity":null,"hasFollowed":true,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":true,"isRecentlySale":true},{"paperMillId":"496658246925422592","name":"广东理文造纸有限公司","paperCategoryList":[{"categoryId":"496658246933811204","categoryName":"页子纸B","yesterdayUnitPrice":null,"unitPrice":2.355,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"518779191286697984","categoryName":"小花","yesterdayUnitPrice":null,"unitPrice":2.025,"floatingPrice":0.000,"publicSubsidies":0.002},{"categoryId":"570661783233236992","categoryName":"一级页子纸","yesterdayUnitPrice":null,"unitPrice":1.550,"floatingPrice":0.000,"publicSubsidies":0.000}],"locProvinceName":"广东省","locCityName":"东莞市","locDistrictName":"洪梅镇","logoImg":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20092914310384806.jpg","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0050000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":3281.16,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":false,"isRecentlySale":false},{"paperMillId":"496658726493753344","name":"东莞建晖纸业有限公司","paperCategoryList":[{"categoryId":"496658726502141952","categoryName":"A级","yesterdayUnitPrice":null,"unitPrice":2.240,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496658726506336256","categoryName":"B级","yesterdayUnitPrice":null,"unitPrice":1.520,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496658726506336257","categoryName":"C级","yesterdayUnitPrice":null,"unitPrice":2.235,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496658726506336258","categoryName":"统纸","yesterdayUnitPrice":null,"unitPrice":2.200,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496658726506336259","categoryName":"混合白纸","yesterdayUnitPrice":null,"unitPrice":2.250,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496658726510530560","categoryName":"一级办公纸","yesterdayUnitPrice":null,"unitPrice":2.390,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"544862908161593344","categoryName":"国内六","yesterdayUnitPrice":null,"unitPrice":2.370,"floatingPrice":0.000,"publicSubsidies":null}],"locProvinceName":"广东省","locCityName":"东莞市","locDistrictName":"中堂镇","logoImg":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20092915034414509.jpg","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0150000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":2804.36,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":false,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":false,"isRecentlySale":false},{"paperMillId":"496666808611377152","name":"山鹰华中纸业有限公司","paperCategoryList":[{"categoryId":"496666808619765760","categoryName":"A级","yesterdayUnitPrice":null,"unitPrice":2.450,"floatingPrice":0.000,"publicSubsidies":0.006},{"categoryId":"496666808623960064","categoryName":"B级","yesterdayUnitPrice":null,"unitPrice":2.400,"floatingPrice":0.000,"publicSubsidies":0.002},{"categoryId":"496666808623960065","categoryName":"C级","yesterdayUnitPrice":null,"unitPrice":2.455,"floatingPrice":0.000,"publicSubsidies":0.008},{"categoryId":"496666808623960066","categoryName":"D级","yesterdayUnitPrice":null,"unitPrice":2.300,"floatingPrice":0.000,"publicSubsidies":null},{"categoryId":"496666808623960067","categoryName":"E级","yesterdayUnitPrice":null,"unitPrice":2.280,"floatingPrice":0.000,"publicSubsidies":null}],"locProvinceName":"湖北省","locCityName":"荆州市","locDistrictName":"公安县","logoImg":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/20082810161776895.jpg","priceDate":"2021-09-10 00:00:00","proxypaySurcharge":0.0150000,"foreignPaybackIntever":null,"foreignPaybackIntervalString":null,"cumulativeWeight":2124.26,"yesterdayTotalQuantity":null,"yesterdayRetainedQuantity":null,"hasFollowed":false,"isOperations":true,"manageNotifyMessage":"该纸厂已暂停接单,请联系相关负责人!","isPlaceAnOrder":false,"isRecentlySale":false},{"paperMillId":"496740585160445952","name":"江门星辉造纸有限公司","paperCategoryList":[{"categoryId":"496740585168834560","categoryName":"页子纸","yesterdayUnitPrice":null,"unit... (set the log level to DEBUG or TRACE to see the full content)
|
|
</msg>
|
|
<msg timestamp="20210910 16:55:52.292" level="INFO">${reps} = <Response [200]></msg>
|
|
<status status="PASS" starttime="20210910 16:55:51.560" endtime="20210910 16:55:52.292"/>
|
|
</kw>
|
|
<kw name="Should Be Equal As Strings" library="BuiltIn">
|
|
<arg>${reps.json()["message"]}</arg>
|
|
<arg>successful</arg>
|
|
<doc>Fails if objects are unequal after converting them to strings.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:52.294" endtime="20210910 16:55:52.298"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${records}</var>
|
|
<arg>${reps.json()["data"]}</arg>
|
|
<arg>records</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.303" level="INFO">${records} = [{'paperMillId': '496657684465061888', 'name': '东莞市金田纸业有限公司', 'paperCategoryList': [{'categoryId': '496657684473450496', 'categoryName': '一级纸皮', 'yesterdayUnitPrice': None, 'unitPrice': 2.4, 'floating...</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.298" endtime="20210910 16:55:52.303"/>
|
|
</kw>
|
|
<for flavor="IN">
|
|
<var>${item}</var>
|
|
<value>@{records}</value>
|
|
<iter>
|
|
<var name="${item}">{'paperMillId': '496657684465061888', 'name': '东莞市金田纸业有限公司', 'paperCategoryList': [{'categoryId': '496657684473450496', 'categoryName': '一级纸皮', 'yesterdayUnitPrice': None, 'unitPrice': 2.4, 'floatingP...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${name}</var>
|
|
<arg>${item}</arg>
|
|
<arg>name</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.307" level="INFO">${name} = 东莞市金田纸业有限公司</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.306" endtime="20210910 16:55:52.307"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperCategoryList}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperCategoryList</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.310" level="INFO">${paperCategoryList} = [{'categoryId': '496657684473450496', 'categoryName': '一级纸皮', 'yesterdayUnitPrice': None, 'unitPrice': 2.4, 'floatingPrice': 0.0, 'publicSubsidies': 0.002}, {'categoryId': '496657684477644800', 'categ...</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.308" endtime="20210910 16:55:52.310"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${cumulativeWeight}</var>
|
|
<arg>${item}</arg>
|
|
<arg>cumulativeWeight</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.312" level="INFO">${cumulativeWeight} = 2476.69</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.311" endtime="20210910 16:55:52.312"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperMillId}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperMillId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.314" level="INFO">${paperMillId} = 496657684465061888</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.313" endtime="20210910 16:55:52.314"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locProvinceName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locProvinceName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.316" level="INFO">${locProvinceName} = 广东省</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.315" endtime="20210910 16:55:52.316"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locCityName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locCityName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.317" level="INFO">${locCityName} = 东莞市</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.316" endtime="20210910 16:55:52.317"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locDistrictName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locDistrictName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.319" level="INFO">${locDistrictName} = 万江街道</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.318" endtime="20210910 16:55:52.319"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>'${name}'=='九一纸厂有限公司'</arg>
|
|
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:52.320" endtime="20210910 16:55:52.320"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:52.305" endtime="20210910 16:55:52.321"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${item}">{'paperMillId': '612631294819569664', 'name': '山鹰华中纸业有限公司(国贸)', 'paperCategoryList': [{'categoryId': '612636090817449984', 'categoryName': 'A级', 'yesterdayUnitPrice': None, 'unitPrice': 2.48, 'floatin...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${name}</var>
|
|
<arg>${item}</arg>
|
|
<arg>name</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.323" level="INFO">${name} = 山鹰华中纸业有限公司(国贸)</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.322" endtime="20210910 16:55:52.323"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperCategoryList}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperCategoryList</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.323" level="INFO">${paperCategoryList} = [{'categoryId': '612636090817449984', 'categoryName': 'A级', 'yesterdayUnitPrice': None, 'unitPrice': 2.48, 'floatingPrice': 0.0, 'publicSubsidies': None}, {'categoryId': '612636090846810112', 'categor...</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.323" endtime="20210910 16:55:52.323"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${cumulativeWeight}</var>
|
|
<arg>${item}</arg>
|
|
<arg>cumulativeWeight</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.324" level="INFO">${cumulativeWeight} = 550.74</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.324" endtime="20210910 16:55:52.324"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperMillId}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperMillId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.325" level="INFO">${paperMillId} = 612631294819569664</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.325" endtime="20210910 16:55:52.325"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locProvinceName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locProvinceName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.326" level="INFO">${locProvinceName} = 湖北省</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.325" endtime="20210910 16:55:52.326"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locCityName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locCityName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.334" level="INFO">${locCityName} = 荆州市</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.326" endtime="20210910 16:55:52.334"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locDistrictName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locDistrictName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.335" level="INFO">${locDistrictName} = 公安县</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.334" endtime="20210910 16:55:52.335"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>'${name}'=='九一纸厂有限公司'</arg>
|
|
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:52.335" endtime="20210910 16:55:52.336"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:52.321" endtime="20210910 16:55:52.336"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${item}">{'paperMillId': '496656259144093696', 'name': '东莞金洲纸业有限公司', 'paperCategoryList': [{'categoryId': '496656259152482304', 'categoryName': '一级纸', 'yesterdayUnitPrice': None, 'unitPrice': 2.42, 'floatingPr...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${name}</var>
|
|
<arg>${item}</arg>
|
|
<arg>name</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.337" level="INFO">${name} = 东莞金洲纸业有限公司</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.336" endtime="20210910 16:55:52.337"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperCategoryList}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperCategoryList</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.338" level="INFO">${paperCategoryList} = [{'categoryId': '496656259152482304', 'categoryName': '一级纸', 'yesterdayUnitPrice': None, 'unitPrice': 2.42, 'floatingPrice': 0.0, 'publicSubsidies': None}, {'categoryId': '496656259156676608', 'catego...</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.337" endtime="20210910 16:55:52.338"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${cumulativeWeight}</var>
|
|
<arg>${item}</arg>
|
|
<arg>cumulativeWeight</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.338" level="INFO">${cumulativeWeight} = 14981.17</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.338" endtime="20210910 16:55:52.339"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperMillId}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperMillId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.339" level="INFO">${paperMillId} = 496656259144093696</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.339" endtime="20210910 16:55:52.339"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locProvinceName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locProvinceName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.340" level="INFO">${locProvinceName} = 广东省</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.340" endtime="20210910 16:55:52.340"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locCityName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locCityName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.341" level="INFO">${locCityName} = 东莞市</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.340" endtime="20210910 16:55:52.341"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locDistrictName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locDistrictName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.342" level="INFO">${locDistrictName} = 中堂镇</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.341" endtime="20210910 16:55:52.342"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>'${name}'=='九一纸厂有限公司'</arg>
|
|
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:52.342" endtime="20210910 16:55:52.342"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:52.336" endtime="20210910 16:55:52.342"/>
|
|
</iter>
|
|
<iter>
|
|
<var name="${item}">{'paperMillId': '630378168733274112', 'name': '九一纸厂有限公司', 'paperCategoryList': [{'categoryId': '630378353450422272', 'categoryName': '白纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.235, 'floatingPric...</var>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${name}</var>
|
|
<arg>${item}</arg>
|
|
<arg>name</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.343" level="INFO">${name} = 九一纸厂有限公司</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.342" endtime="20210910 16:55:52.343"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperCategoryList}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperCategoryList</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.343" level="INFO">${paperCategoryList} = [{'categoryId': '630378353450422272', 'categoryName': '白纸', 'yesterdayUnitPrice': None, 'unitPrice': 1.235, 'floatingPrice': 0.0, 'publicSubsidies': 0.005}, {'categoryId': '630378353483976704', 'categ...</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.343" endtime="20210910 16:55:52.344"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${cumulativeWeight}</var>
|
|
<arg>${item}</arg>
|
|
<arg>cumulativeWeight</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.344" level="INFO">${cumulativeWeight} = 761.71</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.344" endtime="20210910 16:55:52.344"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${paperMillId}</var>
|
|
<arg>${item}</arg>
|
|
<arg>paperMillId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.345" level="INFO">${paperMillId} = 630378168733274112</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.345" endtime="20210910 16:55:52.345"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locProvinceName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locProvinceName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.346" level="INFO">${locProvinceName} = 安徽省</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.345" endtime="20210910 16:55:52.346"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locCityName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locCityName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.347" level="INFO">${locCityName} = 安庆市</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.346" endtime="20210910 16:55:52.347"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${locDistrictName}</var>
|
|
<arg>${item}</arg>
|
|
<arg>locDistrictName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.347" level="INFO">${locDistrictName} = 大观区</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.347" endtime="20210910 16:55:52.347"/>
|
|
</kw>
|
|
<kw name="Exit For Loop If" library="BuiltIn">
|
|
<arg>'${name}'=='九一纸厂有限公司'</arg>
|
|
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
|
|
<msg timestamp="20210910 16:55:52.348" level="INFO">Exiting for loop altogether.</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.348" endtime="20210910 16:55:52.349"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:52.342" endtime="20210910 16:55:52.349"/>
|
|
</iter>
|
|
<status status="PASS" starttime="20210910 16:55:52.304" endtime="20210910 16:55:52.349"/>
|
|
</for>
|
|
<kw name="Evaluate" library="BuiltIn">
|
|
<var>${value}</var>
|
|
<arg>random.choice(${paperCategoryList})</arg>
|
|
<arg>random</arg>
|
|
<doc>Evaluates the given expression in Python and returns the result.</doc>
|
|
<msg timestamp="20210910 16:55:52.350" level="INFO">${value} = {'categoryId': '630378353517531136', 'categoryName': '黑卡', 'yesterdayUnitPrice': None, 'unitPrice': 1.23, 'floatingPrice': 0.01, 'publicSubsidies': None}</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.350" endtime="20210910 16:55:52.350"/>
|
|
</kw>
|
|
<kw name="Log To Console" library="BuiltIn">
|
|
<arg>\nvalue: ${value}</arg>
|
|
<doc>Logs the given message to the console.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:52.351" endtime="20210910 16:55:52.352"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${categoryid}</var>
|
|
<arg>${value}</arg>
|
|
<arg>categoryId</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.352" level="INFO">${categoryid} = 630378353517531136</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.352" endtime="20210910 16:55:52.352"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${categoryName}</var>
|
|
<arg>${value}</arg>
|
|
<arg>categoryName</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.353" level="INFO">${categoryName} = 黑卡</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.353" endtime="20210910 16:55:52.353"/>
|
|
</kw>
|
|
<kw name="Get From Dictionary" library="Collections">
|
|
<var>${unitPrice}</var>
|
|
<arg>${value}</arg>
|
|
<arg>unitPrice</arg>
|
|
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
|
|
<msg timestamp="20210910 16:55:52.354" level="INFO">${unitPrice} = 1.23</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.354" endtime="20210910 16:55:52.354"/>
|
|
</kw>
|
|
<kw name="Catenate" library="BuiltIn">
|
|
<var>${paperMillAddress}</var>
|
|
<arg>${locProvinceName}</arg>
|
|
<arg>${locCityName}</arg>
|
|
<arg>${locDistrictName}</arg>
|
|
<doc>Catenates the given items together and returns the resulted string.</doc>
|
|
<msg timestamp="20210910 16:55:52.355" level="INFO">${paperMillAddress} = 安徽省 安庆市 大观区</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.354" endtime="20210910 16:55:52.355"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${categoryid}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:52.356" level="INFO">${categoryid} = 630378353517531136</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.355" endtime="20210910 16:55:52.356"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${unitPrice}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:52.357" level="INFO">${unitPrice} = 1.23</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.356" endtime="20210910 16:55:52.357"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${paperMillId}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:52.357" level="INFO">${paperMillId} = 630378168733274112</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.357" endtime="20210910 16:55:52.358"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${paperMillAddress}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:52.358" level="INFO">${paperMillAddress} = 安徽省 安庆市 大观区</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.358" endtime="20210910 16:55:52.358"/>
|
|
</kw>
|
|
<kw name="Set Global Variable" library="BuiltIn">
|
|
<arg>${categoryName}</arg>
|
|
<doc>Makes a variable available globally in all tests and suites.</doc>
|
|
<msg timestamp="20210910 16:55:52.359" level="INFO">${categoryName} = 黑卡</msg>
|
|
<status status="PASS" starttime="20210910 16:55:52.359" endtime="20210910 16:55:52.359"/>
|
|
</kw>
|
|
<status status="PASS" starttime="20210910 16:55:51.555" endtime="20210910 16:55:52.360"/>
|
|
</test>
|
|
<status status="PASS" starttime="20210910 16:55:50.586" endtime="20210910 16:55:52.360"/>
|
|
</suite>
|
|
<doc>[https://pabot.org/?ref=log|Pabot] result from 1 executions.</doc>
|
|
<status status="PASS" starttime="20210910 16:55:50.563" endtime="20210910 16:55:52.362"/>
|
|
</suite>
|
|
<statistics>
|
|
<total>
|
|
<stat pass="2" fail="0" skip="0">All Tests</stat>
|
|
</total>
|
|
<tag>
|
|
</tag>
|
|
<suite>
|
|
<stat pass="2" fail="0" skip="0" id="s1" name="3-Pabotdemo">3-Pabotdemo</stat>
|
|
<stat pass="2" fail="0" skip="0" id="s1-s1" name="1-Get List">3-Pabotdemo.1-Get List</stat>
|
|
</suite>
|
|
</statistics>
|
|
<errors>
|
|
<msg timestamp="20210910 16:55:54.367" level="ERROR">RuntimeError catched in remotelib keyword execution. Maybe there is no connection - is pabot called with --pabotlib option? ErrorDetails: RuntimeError('Connection to remote server broken: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',)</msg>
|
|
</errors>
|
|
</robot>
|