云印通原纸商城
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.
 
 

21539 lines
1.6 MiB

<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20211126 10:27:26.220" rpa="false">
<suite id="s1" name="Yyt-Trading-Rf-Api" source="/root/yyt-trading-rf-api">
<suite id="s1-s1" name="000 Get Current Datetime" source="/root/yyt-trading-rf-api/000_get_current_datetime.robot">
<test id="s1-s1-t1" name="current_datetime">
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<assign>
<var>${current_time}</var>
</assign>
<msg timestamp="20211126 10:27:26.655" level="INFO">${current_time} = 2021-11-26 10:27:26.655</msg>
<status status="PASS" starttime="20211126 10:27:26.655" endtime="20211126 10:27:26.655"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${current_time}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.655" level="INFO">2021-11-26 10:27:26.655</msg>
<status status="PASS" starttime="20211126 10:27:26.655" endtime="20211126 10:27:26.656"></status>
</kw>
<kw name="Convert Date" library="DateTime">
<doc>Converts between supported `date formats`.</doc>
<arguments>
<arg>${current_time}</arg>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${current_date}</var>
</assign>
<msg timestamp="20211126 10:27:26.661" level="INFO">${current_date} = 2021-11-26</msg>
<status status="PASS" starttime="20211126 10:27:26.656" endtime="20211126 10:27:26.661"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${current_date}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.662" level="INFO">2021-11-26</msg>
<status status="PASS" starttime="20211126 10:27:26.661" endtime="20211126 10:27:26.662"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${current_date}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.662" level="INFO">${current_date} = 2021-11-26</msg>
<status status="PASS" starttime="20211126 10:27:26.662" endtime="20211126 10:27:26.662"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.654" endtime="20211126 10:27:26.662" critical="yes"></status>
</test>
<test id="s1-s1-t2" name="current_datetime_month">
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<assign>
<var>${current_time}</var>
</assign>
<msg timestamp="20211126 10:27:26.663" level="INFO">${current_time} = 2021-11-26 10:27:26.663</msg>
<status status="PASS" starttime="20211126 10:27:26.663" endtime="20211126 10:27:26.663"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${current_time}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.663" level="INFO">2021-11-26 10:27:26.663</msg>
<status status="PASS" starttime="20211126 10:27:26.663" endtime="20211126 10:27:26.664"></status>
</kw>
<kw name="Convert Date" library="DateTime">
<doc>Converts between supported `date formats`.</doc>
<arguments>
<arg>${current_time}</arg>
<arg>result_format=%Y-%m</arg>
</arguments>
<assign>
<var>${current_date_month}</var>
</assign>
<msg timestamp="20211126 10:27:26.664" level="INFO">${current_date_month} = 2021-11</msg>
<status status="PASS" starttime="20211126 10:27:26.664" endtime="20211126 10:27:26.664"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${current_date_month}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.664" level="INFO">2021-11</msg>
<status status="PASS" starttime="20211126 10:27:26.664" endtime="20211126 10:27:26.664"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${current_date_month}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.665" level="INFO">${current_date_month} = 2021-11</msg>
<status status="PASS" starttime="20211126 10:27:26.665" endtime="20211126 10:27:26.665"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.662" endtime="20211126 10:27:26.665" critical="yes"></status>
</test>
<test id="s1-s1-t3" name="current_datetime_second">
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<assign>
<var>${current_time}</var>
</assign>
<msg timestamp="20211126 10:27:26.666" level="INFO">${current_time} = 2021-11-26 10:27:26.666</msg>
<status status="PASS" starttime="20211126 10:27:26.666" endtime="20211126 10:27:26.666"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${current_time}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.666" level="INFO">2021-11-26 10:27:26.666</msg>
<status status="PASS" starttime="20211126 10:27:26.666" endtime="20211126 10:27:26.666"></status>
</kw>
<kw name="Convert Date" library="DateTime">
<doc>Converts between supported `date formats`.</doc>
<arguments>
<arg>${current_time}</arg>
<arg>result_format=%Y-%m-%d %H:%M:%S</arg>
</arguments>
<assign>
<var>${current_date_second}</var>
</assign>
<msg timestamp="20211126 10:27:26.667" level="INFO">${current_date_second} = 2021-11-26 10:27:26</msg>
<status status="PASS" starttime="20211126 10:27:26.666" endtime="20211126 10:27:26.667"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${current_date_second}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.667" level="INFO">2021-11-26 10:27:26</msg>
<status status="PASS" starttime="20211126 10:27:26.667" endtime="20211126 10:27:26.667"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${current_date_second}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.668" level="INFO">${current_date_second} = 2021-11-26 10:27:26</msg>
<status status="PASS" starttime="20211126 10:27:26.667" endtime="20211126 10:27:26.668"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.665" endtime="20211126 10:27:26.668" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:26.650" endtime="20211126 10:27:26.668"></status>
</suite>
<suite id="s1-s2" name="001 Login Get Info" source="/root/yyt-trading-rf-api/001_login_get_info">
<suite id="s1-s2-s1" name="Login Customer" source="/root/yyt-trading-rf-api/001_login_get_info/login_customer.robot">
<test id="s1-s2-s1-t1" name="customer_phone">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:26.675" endtime="20211126 10:27:26.675"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.676" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:26.675" endtime="20211126 10:27:26.676"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:26.676" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:26.676" endtime="20211126 10:27:26.676"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13012345678</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211126 10:27:26.677" level="INFO">${account} = 13012345678</msg>
<status status="PASS" starttime="20211126 10:27:26.676" endtime="20211126 10:27:26.677"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:26.677" level="INFO">${body} = {"accountType":2,"account":"13012345678","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:26.677" endtime="20211126 10:27:26.677"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:26.766" 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;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Content-Length': '60'}
body={"accountType":2,"account":"13012345678","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:26.766" 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, 26 Nov 2021 02:27:26 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":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==","userId":"661555746592395264"}}
</msg>
<msg timestamp="20211126 10:27:26.766" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.677" endtime="20211126 10:27:26.766"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.767" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:26.766" endtime="20211126 10:27:26.767"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.768" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==","userId":"661555746592395264"}}</msg>
<status status="PASS" starttime="20211126 10:27:26.767" endtime="20211126 10:27:26.768"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.768" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==', 'userId': '661555746592395264'}}</msg>
<status status="PASS" starttime="20211126 10:27:26.768" endtime="20211126 10:27:26.768"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.769" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.769" endtime="20211126 10:27:26.769"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:26.769" endtime="20211126 10:27:26.770"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_customer}</var>
</assign>
<msg timestamp="20211126 10:27:26.770" level="INFO">${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==</msg>
<status status="PASS" starttime="20211126 10:27:26.770" endtime="20211126 10:27:26.770"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.771" level="INFO">iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==</msg>
<status status="PASS" starttime="20211126 10:27:26.770" endtime="20211126 10:27:26.771"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.771" level="INFO">${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==</msg>
<status status="PASS" starttime="20211126 10:27:26.771" endtime="20211126 10:27:26.771"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_customer}</var>
</assign>
<msg timestamp="20211126 10:27:26.772" level="INFO">${userid_customer} = 661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:26.771" endtime="20211126 10:27:26.772"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.772" level="INFO">661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:26.772" endtime="20211126 10:27:26.772"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.773" level="INFO">${userid_customer} = 661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:26.773" endtime="20211126 10:27:26.773"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${gettoken_customer}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorycustomerheader}</var>
</assign>
<msg timestamp="20211126 10:27:26.774" level="INFO">&amp;{cloudfactorycustomerheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw== }</msg>
<status status="PASS" starttime="20211126 10:27:26.773" endtime="20211126 10:27:26.774"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.774" level="INFO">${cloudfactorycustomerheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}</msg>
<status status="PASS" starttime="20211126 10:27:26.774" endtime="20211126 10:27:26.774"></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="20211126 10:27:26.775" endtime="20211126 10:27:26.775"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.674" endtime="20211126 10:27:26.775" critical="yes"></status>
</test>
<test id="s1-s2-s1-t2" name="customer_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:26.776" endtime="20211126 10:27:26.776"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.776" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:26.776" endtime="20211126 10:27:26.777"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_customer}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:26.777" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=="}</msg>
<status status="PASS" starttime="20211126 10:27:26.777" endtime="20211126 10:27:26.777"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:26.929" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=="}'
</msg>
<msg timestamp="20211126 10:27:26.929" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:26 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":200301,"message":null,"data":null}
</msg>
<msg timestamp="20211126 10:27:26.930" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.777" endtime="20211126 10:27:26.930"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.930" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:26.930" endtime="20211126 10:27:26.931"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.931" level="INFO">{'code': 200301, 'message': None, 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:26.931" endtime="20211126 10:27:26.931"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.932" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.931" endtime="20211126 10:27:26.932"></status>
</kw>
<kw name="Run Keyword And Ignore Error" library="BuiltIn">
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<arguments>
<arg>Get From Dictionary</arg>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${get_status}</var>
<var>${token}</var>
</assign>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:26.932" endtime="20211126 10:27:26.933"></status>
</kw>
<msg timestamp="20211126 10:27:26.933" level="INFO">${get_status} = PASS</msg>
<msg timestamp="20211126 10:27:26.933" level="INFO">${token} = None</msg>
<status status="PASS" starttime="20211126 10:27:26.932" endtime="20211126 10:27:26.933"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>"${get_status}"=="FAIL"</arg>
<arg>${gettoken_customer}</arg>
<arg>"${token}"=="None"</arg>
<arg>${gettoken_customer}</arg>
<arg>${token}</arg>
</arguments>
<assign>
<var>${getlogintoken_customer}</var>
</assign>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>"${token}"=="None"</arg>
<arg>${gettoken_customer}</arg>
<arg>${token}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:26.933" endtime="20211126 10:27:26.934"></status>
</kw>
<msg timestamp="20211126 10:27:26.934" level="INFO">${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==</msg>
<status status="PASS" starttime="20211126 10:27:26.933" endtime="20211126 10:27:26.934"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.934" level="INFO">${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw==</msg>
<status status="PASS" starttime="20211126 10:27:26.934" endtime="20211126 10:27:26.934"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${getlogintoken_customer}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_customer_header}</var>
</assign>
<msg timestamp="20211126 10:27:26.935" level="INFO">&amp;{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw== }</msg>
<status status="PASS" starttime="20211126 10:27:26.934" endtime="20211126 10:27:26.935"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.935" level="INFO">${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}</msg>
<status status="PASS" starttime="20211126 10:27:26.935" endtime="20211126 10:27:26.935"></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="20211126 10:27:26.936" endtime="20211126 10:27:26.936"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.775" endtime="20211126 10:27:26.936" critical="yes"></status>
</test>
<test id="s1-s2-s1-t3" name="get_customer_userinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.937" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:26.937" endtime="20211126 10:27:26.937"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/get/user-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:26.989" level="INFO">GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
path_url=/uec/get/user-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}
body=None
</msg>
<msg timestamp="20211126 10:27:26.989" level="INFO">GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:26 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":{"userId":"661555746592395264","realName":null,"mobile":"13012345678","isAuth":0,"isSetPassword":1,"enterpriseId":null,"enterpriseName":null,"position":null,"employeeStatus":null,"applicationStatus":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locDetail":null,"isSupplierPerssion":false}}
</msg>
<msg timestamp="20211126 10:27:26.990" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.937" endtime="20211126 10:27:26.990"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.990" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:26.990" endtime="20211126 10:27:26.991"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.991" level="INFO">{'code': 0, 'message': 'successful', 'data': {'userId': '661555746592395264', 'realName': None, 'mobile': '13012345678', 'isAuth': 0, 'isSetPassword': 1, 'enterpriseId': None, 'enterpriseName': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locDetail': None, 'isSupplierPerssion': False}}</msg>
<status status="PASS" starttime="20211126 10:27:26.991" endtime="20211126 10:27:26.991"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.992" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.991" endtime="20211126 10:27:26.992"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:26.992" endtime="20211126 10:27:26.993"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>${userid_customer}</arg>
<arg>${response.json()["data"]["userId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:26.993" endtime="20211126 10:27:26.993"></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="20211126 10:27:26.994" endtime="20211126 10:27:26.994"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.936" endtime="20211126 10:27:26.994" critical="yes"></status>
</test>
<test id="s1-s2-s1-t4" name="get_customer_baseinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:26.995" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:26.995" endtime="20211126 10:27:26.996"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>cloud-print-user-center/get/base-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.057" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
path_url=/cloud-print-user-center/get/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}
body=None
</msg>
<msg timestamp="20211126 10:27:27.058" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"mallSupplier":null,"capacityMarket":null,"enterpriseName":null,"enterpriseId":null,"realName":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locStreetId":null,"locStreetName":null,"locDetail":null,"position":null,"employeeStatus":null,"applicationStatus":null,"isConfirmedAgreement":0,"fddEnterpriseStatus":null,"isSupplierPerssion":false}}
</msg>
<msg timestamp="20211126 10:27:27.058" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:26.996" endtime="20211126 10:27:27.058"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.059" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.058" endtime="20211126 10:27:27.059"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.060" level="INFO">{'code': 0, 'message': 'successful', 'data': {'mallSupplier': None, 'capacityMarket': None, 'enterpriseName': None, 'enterpriseId': None, 'realName': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locStreetId': None, 'locStreetName': None, 'locDetail': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'isConfirmedAgreement': 0, 'fddEnterpriseStatus': None, 'isSupplierPerssion': False}}</msg>
<status status="PASS" starttime="20211126 10:27:27.059" endtime="20211126 10:27:27.060"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.060" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.060" endtime="20211126 10:27:27.060"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.060" endtime="20211126 10:27:27.061"></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="20211126 10:27:27.061" endtime="20211126 10:27:27.061"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:26.994" endtime="20211126 10:27:27.061" critical="yes"></status>
</test>
<test id="s1-s2-s1-t5" name="get_customer_useridentity">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.063" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.062" endtime="20211126 10:27:27.063"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>cloud-print-user-center/get/user/identity</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.117" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
path_url=/cloud-print-user-center/get/user/identity
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mzm+V7mZguVItsRGL3DDRPw=='}
body=None
</msg>
<msg timestamp="20211126 10:27:27.117" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"type":0}}
</msg>
<msg timestamp="20211126 10:27:27.117" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.063" endtime="20211126 10:27:27.117"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.118" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.118" endtime="20211126 10:27:27.118"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.119" level="INFO">{'code': 0, 'message': 'successful', 'data': {'type': 0}}</msg>
<status status="PASS" starttime="20211126 10:27:27.118" endtime="20211126 10:27:27.119"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.119" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.119" endtime="20211126 10:27:27.119"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.120" endtime="20211126 10:27:27.120"></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="20211126 10:27:27.121" endtime="20211126 10:27:27.121"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.062" endtime="20211126 10:27:27.121" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:26.671" endtime="20211126 10:27:27.122"></status>
</suite>
<suite id="s1-s2-s2" name="Login Operate" source="/root/yyt-trading-rf-api/001_login_get_info/login_operate.robot">
<test id="s1-s2-s2-t1" name="operate_mail">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:27.127" endtime="20211126 10:27:27.127"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.128" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '503258978847952999'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.128" endtime="20211126 10:27:27.128"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>liangjinman@qniao.cn</arg>
</arguments>
<assign>
<var>${username}</var>
</assign>
<msg timestamp="20211126 10:27:27.129" level="INFO">${username} = liangjinman@qniao.cn</msg>
<status status="PASS" starttime="20211126 10:27:27.128" endtime="20211126 10:27:27.129"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>qn123456</arg>
</arguments>
<assign>
<var>${password}</var>
</assign>
<msg timestamp="20211126 10:27:27.129" level="INFO">${password} = qn123456</msg>
<status status="PASS" starttime="20211126 10:27:27.129" endtime="20211126 10:27:27.129"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>username=${username}</arg>
<arg>password=${password}</arg>
</arguments>
<assign>
<var>&amp;{body}</var>
</assign>
<msg timestamp="20211126 10:27:27.130" level="INFO">&amp;{body} = { username=liangjinman@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20211126 10:27:27.129" endtime="20211126 10:27:27.130"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-factory-operation-backend/admin/login</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.272" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
path_url=/cloud-factory-operation-backend/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': '503258978847952999', 'Content-Length': '49'}
body=username=liangjinman%40qniao.cn&amp;password=qn123456
</msg>
<msg timestamp="20211126 10:27:27.272" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 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 4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
</msg>
<msg timestamp="20211126 10:27:27.272" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.130" endtime="20211126 10:27:27.272"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.273" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.273" endtime="20211126 10:27:27.273"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.274" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20211126 10:27:27.273" endtime="20211126 10:27:27.274"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.274" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.274" endtime="20211126 10:27:27.275"></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>登陆成功</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.275" endtime="20211126 10:27:27.275"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.headers}</arg>
<arg>Authorization</arg>
</arguments>
<assign>
<var>${gettoken_operate}</var>
</assign>
<msg timestamp="20211126 10:27:27.275" level="INFO">${gettoken_operate} = Token 4a8bb5b51207941b91dfa6f617504a38</msg>
<status status="PASS" starttime="20211126 10:27:27.275" endtime="20211126 10:27:27.275"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_operate}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.276" level="INFO">Token 4a8bb5b51207941b91dfa6f617504a38</msg>
<status status="PASS" starttime="20211126 10:27:27.276" endtime="20211126 10:27:27.276"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken_operate}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.276" level="INFO">${gettoken_operate} = Token 4a8bb5b51207941b91dfa6f617504a38</msg>
<status status="PASS" starttime="20211126 10:27:27.276" endtime="20211126 10:27:27.276"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847952999</arg>
<arg>Authorization=${gettoken_operate}</arg>
</arguments>
<assign>
<var>&amp;{operationbackend_header}</var>
</assign>
<msg timestamp="20211126 10:27:27.277" level="INFO">&amp;{operationbackend_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847952999 | Authorization=Token 4a8bb5b51207941b91dfa6f617504a38 }</msg>
<status status="PASS" starttime="20211126 10:27:27.276" endtime="20211126 10:27:27.277"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.277" level="INFO">${operationbackend_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}</msg>
<status status="PASS" starttime="20211126 10:27:27.277" endtime="20211126 10:27:27.277"></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="20211126 10:27:27.278" endtime="20211126 10:27:27.278"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.127" endtime="20211126 10:27:27.278" critical="yes"></status>
</test>
<test id="s1-s2-s2-t2" name="get_operate_userinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.279" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.279" endtime="20211126 10:27:27.279"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-factory-operation-backend/admin/employee/get/login-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.356" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/employee/get/login-info
path_url=/cloud-factory-operation-backend/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:27.356" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"498985714734731264","name":"梁金满","avatar":"","position":"测试工程师","positionList":[{"id":"122345","name":"管理员"},{"id":"500764395257860096","name":"测试角色"},{"id":"500764395257860097","name":"运营"},{"id":"502129955090599936","name":"销售"}],"menuList":["PPGrecycleServiceBusinessSystem","/microSystemManagement/menu","/cloudPrintCenter/document/index","/cloudPrintCenter/shopOrderManage/deliveryOrder/Index","PPGrecycleServiceBusinessSettingMemberExpense","/cloudPrintCenter/shopOrderManage/purchaseOrder/Index","PPGrecycleServiceIndex","/microSystemManagement/position","/cloudPrintCenter/userManage/registerUser/Index","/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryDetail","/cloudPrintCenter/userManage/CustomeClue/Index","/cloudPrintCenter/dataStatistics/tradingData/Index","/cloudPrintCenter/dataStatistics/paperTradingData/Index","/cloudPrintCenter/businessManage/Index","/cloudPrintCenter/businessManage/SupplierManagement/index","/cloudPrintCenter/dataStatistics/supplierTradingData/Index","PPGMarketingAudit","/cloudPrintCenter/businessManage/editCompany","/cloudPrintCenter/printProcessManage/processMange/Index","/cloudPrintCenter/printProcessManage/craftMange/Index","/cloudPrintCenter/document","PPGCustomerManage","/cloudPrintCenter/DatasViews","/cloudPrintCenter/printProcessManage","PPGrecycleServiceBusinessSettingPaperCategory","/cloudPrintCenter/shopOrderManage","/cloudPrintCenter/shopDeliveryManage","/cloudPrintCenter/businessManage/SupplierManagement/OpenAAcount","/cloudPrintCenter/businessManage/AccountMangement","PPGrecycleServiceBusinessSettingStoreDeposit","/microSystemManagement/employee","/cloudPrintCenter/businessRuleManage/Index","/cloudPrintCenter/businessManage/SupplierManagement/SupplierManagementDetail","/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryMachineDetail","/cloudPrintCenter/dataStatistics/customerTradingData/Index","PPGPaperFctoryManage","/cloudPrintCenter/businessManage/FctoryListIndex","/cloudPrintCenter/userManage","PPGrecycleServiceBusinessSettingTopPaperCate","/cloudPrintCenter/shopDeliveryManage/Index","/cloudPrintCenter/businessRuleManage","PPGrecycleServiceBusinessAuth","/cloudPrintCenter/shopOrderManage/purchaseOrder/Details","/cloudPrintCenter/businessManage/PrintingPackagingFactory/Index","PPGrecycleServiceBusinessAuthUsers","PPGOperationAudit","/microSystemManagement","/cloudPrintCenter/businessManage","PPGrecycleServiceBusinessSystemInfo","cloudPrintCenter/dataStatistics","PPGrecycleServiceBusinessSettingOrderExpense","/cloudPrintCenter/userManage/LimitedSpecialOffer/Index","PPGrecycleServiceBusinessSetting","/cloudPrintCenter/businessManage/DiveceIndex","/microSystemManagement/department","/cloudPrintCenter/shopOrderManage/deliveryOrder/Details","/cloudPrintCenter/userManage/PaperQuotation/Index"]}}
</msg>
<msg timestamp="20211126 10:27:27.357" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.279" endtime="20211126 10:27:27.357"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.357" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.357" endtime="20211126 10:27:27.357"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.358" level="INFO">{'code': 0, 'message': 'successful', 'data': {'adminId': '498985714734731264', 'name': '梁金满', 'avatar': '', 'position': '测试工程师', 'positionList': [{'id': '122345', 'name': '管理员'}, {'id': '500764395257860096', 'name': '测试角色'}, {'id': '500764395257860097', 'name': '运营'}, {'id': '502129955090599936', 'name': '销售'}], 'menuList': ['PPGrecycleServiceBusinessSystem', '/microSystemManagement/menu', '/cloudPrintCenter/document/index', '/cloudPrintCenter/shopOrderManage/deliveryOrder/Index', 'PPGrecycleServiceBusinessSettingMemberExpense', '/cloudPrintCenter/shopOrderManage/purchaseOrder/Index', 'PPGrecycleServiceIndex', '/microSystemManagement/position', '/cloudPrintCenter/userManage/registerUser/Index', '/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryDetail', '/cloudPrintCenter/userManage/CustomeClue/Index', '/cloudPrintCenter/dataStatistics/tradingData/Index', '/cloudPrintCenter/dataStatistics/paperTradingData/Index', '/cloudPrintCenter/businessManage/Index', '/cloudPrintCenter/businessManage/SupplierManagement/index', '/cloudPrintCenter/dataStatistics/supplierTradingData/Index', 'PPGMarketingAudit', '/cloudPrintCenter/businessManage/editCompany', '/cloudPrintCenter/printProcessManage/processMange/Index', '/cloudPrintCenter/printProcessManage/craftMange/Index', '/cloudPrintCenter/document', 'PPGCustomerManage', '/cloudPrintCenter/DatasViews', '/cloudPrintCenter/printProcessManage', 'PPGrecycleServiceBusinessSettingPaperCategory', '/cloudPrintCenter/shopOrderManage', '/cloudPrintCenter/shopDeliveryManage', '/cloudPrintCenter/businessManage/SupplierManagement/OpenAAcount', '/cloudPrintCenter/businessManage/AccountMangement', 'PPGrecycleServiceBusinessSettingStoreDeposit', '/microSystemManagement/employee', '/cloudPrintCenter/businessRuleManage/Index', '/cloudPrintCenter/businessManage/SupplierManagement/SupplierManagementDetail', '/cloudPrintCenter/businessManage/PrintingPackagingFactory/PrintingPackagingFactoryMachineDetail', '/cloudPrintCenter/dataStatistics/customerTradingData/Index', 'PPGPaperFctoryManage', '/cloudPrintCenter/businessManage/FctoryListIndex', '/cloudPrintCenter/userManage', 'PPGrecycleServiceBusinessSettingTopPaperCate', '/cloudPrintCenter/shopDeliveryManage/Index', '/cloudPrintCenter/businessRuleManage', 'PPGrecycleServiceBusinessAuth', '/cloudPrintCenter/shopOrderManage/purchaseOrder/Details', '/cloudPrintCenter/businessManage/PrintingPackagingFactory/Index', 'PPGrecycleServiceBusinessAuthUsers', 'PPGOperationAudit', '/microSystemManagement', '/cloudPrintCenter/businessManage', 'PPGrecycleServiceBusinessSystemInfo', 'cloudPrintCenter/dataStatistics', 'PPGrecycleServiceBusinessSettingOrderExpense', '/cloudPrintCenter/userManage/LimitedSpecialOffer/Index', 'PPGrecycleServiceBusinessSetting', '/cloudPrintCenter/businessManage/DiveceIndex', '/microSystemManagement/department', '/cloudPrintCenter/shopOrderManage/deliveryOrder/Details', '/cloudPrintCenter/userManage/PaperQuotation/Index']}}</msg>
<status status="PASS" starttime="20211126 10:27:27.358" endtime="20211126 10:27:27.358"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.359" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.358" endtime="20211126 10:27:27.359"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.359" endtime="20211126 10:27:27.359"></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>管理员</arg>
<arg>${response.json()["data"]["positionList"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.359" endtime="20211126 10:27:27.360"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>adminId</arg>
</arguments>
<assign>
<var>${operate_adminid}</var>
</assign>
<msg timestamp="20211126 10:27:27.361" level="INFO">${operate_adminid} = 498985714734731264</msg>
<status status="PASS" starttime="20211126 10:27:27.360" endtime="20211126 10:27:27.361"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${operate_adminname}</var>
</assign>
<msg timestamp="20211126 10:27:27.361" level="INFO">${operate_adminname} = 梁金满</msg>
<status status="PASS" starttime="20211126 10:27:27.361" endtime="20211126 10:27:27.361"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${operate_adminid}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.362" level="INFO">${operate_adminid} = 498985714734731264</msg>
<status status="PASS" starttime="20211126 10:27:27.361" endtime="20211126 10:27:27.362"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${operate_adminname}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.362" level="INFO">${operate_adminname} = 梁金满</msg>
<status status="PASS" starttime="20211126 10:27:27.362" endtime="20211126 10:27:27.362"></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="20211126 10:27:27.362" endtime="20211126 10:27:27.363"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.278" endtime="20211126 10:27:27.363" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:27.123" endtime="20211126 10:27:27.363"></status>
</suite>
<suite id="s1-s2-s3" name="Login Operate Psc" source="/root/yyt-trading-rf-api/001_login_get_info/login_operate_psc.robot">
<test id="s1-s2-s3-t1" name="operate_mail">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:27.369" endtime="20211126 10:27:27.370"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>pscops</arg>
<arg>${pscops}</arg>
<arg>headers=${operation_psc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.370" level="INFO">Creating Session using : alias=pscops, url=https://api-ops-psc-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-APP-ID': '503258978847965324'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.370" endtime="20211126 10:27:27.370"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>liangjinman@qniao.cn</arg>
</arguments>
<assign>
<var>${username}</var>
</assign>
<msg timestamp="20211126 10:27:27.371" level="INFO">${username} = liangjinman@qniao.cn</msg>
<status status="PASS" starttime="20211126 10:27:27.370" endtime="20211126 10:27:27.371"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>qn123456</arg>
</arguments>
<assign>
<var>${password}</var>
</assign>
<msg timestamp="20211126 10:27:27.371" level="INFO">${password} = qn123456</msg>
<status status="PASS" starttime="20211126 10:27:27.371" endtime="20211126 10:27:27.371"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>username=${username}</arg>
<arg>password=${password}</arg>
</arguments>
<assign>
<var>&amp;{body}</var>
</assign>
<msg timestamp="20211126 10:27:27.372" level="INFO">&amp;{body} = { username=liangjinman@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20211126 10:27:27.371" endtime="20211126 10:27:27.372"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>pscops</arg>
<arg>/payment-settlement-center/admin/login</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.517" level="INFO">POST Request : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/login
path_url=/payment-settlement-center/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': '503258978847965324', 'Content-Length': '49'}
body=username=liangjinman%40qniao.cn&amp;password=qn123456
</msg>
<msg timestamp="20211126 10:27:27.517" level="INFO">POST Response : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 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 67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
</msg>
<msg timestamp="20211126 10:27:27.517" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.372" endtime="20211126 10:27:27.517"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.518" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.518" endtime="20211126 10:27:27.518"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.519" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20211126 10:27:27.518" endtime="20211126 10:27:27.519"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.519" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.519" endtime="20211126 10:27:27.519"></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>登陆成功</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.519" endtime="20211126 10:27:27.520"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.headers}</arg>
<arg>Authorization</arg>
</arguments>
<assign>
<var>${gettoken_operate_psc}</var>
</assign>
<msg timestamp="20211126 10:27:27.520" level="INFO">${gettoken_operate_psc} = Token 67e46d738b8e6a3589900dd9e68af75c</msg>
<status status="PASS" starttime="20211126 10:27:27.520" endtime="20211126 10:27:27.520"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_operate_psc}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.521" level="INFO">Token 67e46d738b8e6a3589900dd9e68af75c</msg>
<status status="PASS" starttime="20211126 10:27:27.520" endtime="20211126 10:27:27.521"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken_operate_psc}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.521" level="INFO">${gettoken_operate_psc} = Token 67e46d738b8e6a3589900dd9e68af75c</msg>
<status status="PASS" starttime="20211126 10:27:27.521" endtime="20211126 10:27:27.521"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965324</arg>
<arg>Authorization=${gettoken_operate_psc}</arg>
</arguments>
<assign>
<var>&amp;{operationpsc_header}</var>
</assign>
<msg timestamp="20211126 10:27:27.522" level="INFO">&amp;{operationpsc_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965324 | Authorization=Token 67e46d738b8e6a3589900dd9e68af75c }</msg>
<status status="PASS" starttime="20211126 10:27:27.521" endtime="20211126 10:27:27.522"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.522" level="INFO">${operationpsc_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}</msg>
<status status="PASS" starttime="20211126 10:27:27.522" endtime="20211126 10:27:27.522"></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="20211126 10:27:27.522" endtime="20211126 10:27:27.523"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.369" endtime="20211126 10:27:27.523" critical="yes"></status>
</test>
<test id="s1-s2-s3-t2" name="get_operate_userinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>pscops</arg>
<arg>${pscops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.524" level="INFO">Creating Session using : alias=pscops, url=https://api-ops-psc-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.523" endtime="20211126 10:27:27.524"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>pscops</arg>
<arg>/payment-settlement-center/admin/employee/get/login-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.599" level="INFO">GET Request : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/employee/get/login-info
path_url=/payment-settlement-center/admin/employee/get/login-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:27:27.599" level="INFO">GET Response : url=https://api-ops-psc-test.qniao.cn/payment-settlement-center/admin/employee/get/login-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"498985714734731264","name":"梁金满","avatar":"","position":"测试工程师","positionList":[{"id":"1","name":"管理员"},{"id":"501903901264580608","name":"运营"},{"id":"502107360286871552","name":"销售"},{"id":"505810793544159232","name":"财务"},{"id":"505810913740328960","name":"出纳"},{"id":"508338193813344256","name":"UI"},{"id":"511511581855715328","name":"品牌"},{"id":"520587878972133376","name":"运营经理"},{"id":"531523439434010624","name":"千纸鹤负责人"},{"id":"535167353386831872","name":"总经办"},{"id":"540187046384373760","name":"客服"},{"id":"541228058049384448","name":"运营总监"}],"menuList":["/financeManagement/CustomeBill/CustomeBill","/paperGeneral/operating/Index","/microSystemManagement/menu","/microSystemManagement/position","/paperGeneral/home/Index","/microSystemManagement","/payAndSettlementCenter","/financeManagement/ShouldPay/ShouldPayDetail","/financeManagement/CustomeBill/CustomeBillDetails","/paperGeneral","/paperGeneral/finance/Index","/financeManagement/ShouldRecieve/ShouldRecieve","/payAndSettlementCenter/creditManagement/QueryIndex","/payAndSettlementCenter/creditManagement/QueryDetails","/financeManagement","/cloudFactory","/payAndSettlementCenter/enterpriseVerify/Index","/financeManagement/ShouldPay/ShouldPay","/paperGeneral/riskControl/Index","/microSystemManagement/department","/payAndSettlementCenter/FsCreditConfig/FsCreditConfigDetail","/payAndSettlementCenter/FsCreditConfig/Index","/microSystemManagement/employee"]}}
</msg>
<msg timestamp="20211126 10:27:27.600" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.524" endtime="20211126 10:27:27.600"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.600" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.600" endtime="20211126 10:27:27.600"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.601" level="INFO">{'code': 0, 'message': 'successful', 'data': {'adminId': '498985714734731264', 'name': '梁金满', 'avatar': '', 'position': '测试工程师', 'positionList': [{'id': '1', 'name': '管理员'}, {'id': '501903901264580608', 'name': '运营'}, {'id': '502107360286871552', 'name': '销售'}, {'id': '505810793544159232', 'name': '财务'}, {'id': '505810913740328960', 'name': '出纳'}, {'id': '508338193813344256', 'name': 'UI'}, {'id': '511511581855715328', 'name': '品牌'}, {'id': '520587878972133376', 'name': '运营经理'}, {'id': '531523439434010624', 'name': '千纸鹤负责人'}, {'id': '535167353386831872', 'name': '总经办'}, {'id': '540187046384373760', 'name': '客服'}, {'id': '541228058049384448', 'name': '运营总监'}], 'menuList': ['/financeManagement/CustomeBill/CustomeBill', '/paperGeneral/operating/Index', '/microSystemManagement/menu', '/microSystemManagement/position', '/paperGeneral/home/Index', '/microSystemManagement', '/payAndSettlementCenter', '/financeManagement/ShouldPay/ShouldPayDetail', '/financeManagement/CustomeBill/CustomeBillDetails', '/paperGeneral', '/paperGeneral/finance/Index', '/financeManagement/ShouldRecieve/ShouldRecieve', '/payAndSettlementCenter/creditManagement/QueryIndex', '/payAndSettlementCenter/creditManagement/QueryDetails', '/financeManagement', '/cloudFactory', '/payAndSettlementCenter/enterpriseVerify/Index', '/financeManagement/ShouldPay/ShouldPay', '/paperGeneral/riskControl/Index', '/microSystemManagement/department', '/payAndSettlementCenter/FsCreditConfig/FsCreditConfigDetail', '/payAndSettlementCenter/FsCreditConfig/Index', '/microSystemManagement/employee']}}</msg>
<status status="PASS" starttime="20211126 10:27:27.601" endtime="20211126 10:27:27.601"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.602" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.601" endtime="20211126 10:27:27.602"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.602" endtime="20211126 10:27:27.602"></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>498985714734731264</arg>
<arg>${response.json()["data"]["adminId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.602" endtime="20211126 10:27:27.603"></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>管理员</arg>
<arg>${response.json()["data"]["positionList"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.603" endtime="20211126 10:27:27.603"></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="20211126 10:27:27.604" endtime="20211126 10:27:27.604"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.523" endtime="20211126 10:27:27.604" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:27.364" endtime="20211126 10:27:27.604"></status>
</suite>
<suite id="s1-s2-s4" name="Login Supplier" source="/root/yyt-trading-rf-api/001_login_get_info/login_supplier.robot">
<test id="s1-s2-s4-t1" name="supplier_phone">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:27.609" endtime="20211126 10:27:27.609"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.609" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.609" endtime="20211126 10:27:27.610"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:27.610" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:27.610" endtime="20211126 10:27:27.610"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13123456789</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211126 10:27:27.610" level="INFO">${account} = 13123456789</msg>
<status status="PASS" starttime="20211126 10:27:27.610" endtime="20211126 10:27:27.610"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:27.611" level="INFO">${body} = {"accountType":2,"account":"13123456789","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:27.610" endtime="20211126 10:27:27.611"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.689" 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;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Content-Length': '60'}
body={"accountType":2,"account":"13123456789","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:27.690" 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, 26 Nov 2021 02:27:27 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":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==","userId":"661555750476320768"}}
</msg>
<msg timestamp="20211126 10:27:27.690" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.611" endtime="20211126 10:27:27.690"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.691" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.690" endtime="20211126 10:27:27.691"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.691" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==","userId":"661555750476320768"}}</msg>
<status status="PASS" starttime="20211126 10:27:27.691" endtime="20211126 10:27:27.691"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.692" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==', 'userId': '661555750476320768'}}</msg>
<status status="PASS" starttime="20211126 10:27:27.691" endtime="20211126 10:27:27.692"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.692" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.692" endtime="20211126 10:27:27.692"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.692" endtime="20211126 10:27:27.693"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:27.693" level="INFO">${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==</msg>
<status status="PASS" starttime="20211126 10:27:27.693" endtime="20211126 10:27:27.693"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.694" level="INFO">iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==</msg>
<status status="PASS" starttime="20211126 10:27:27.693" endtime="20211126 10:27:27.694"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.694" level="INFO">${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==</msg>
<status status="PASS" starttime="20211126 10:27:27.694" endtime="20211126 10:27:27.694"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:27.695" level="INFO">${userid_supplier} = 661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:27.694" endtime="20211126 10:27:27.695"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.695" level="INFO">661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:27.695" endtime="20211126 10:27:27.695"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.695" level="INFO">${userid_supplier} = 661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:27.695" endtime="20211126 10:27:27.695"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847956666</arg>
<arg>Authorization=${gettoken_supplier}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorysupplierheader}</var>
</assign>
<msg timestamp="20211126 10:27:27.696" level="INFO">&amp;{cloudfactorysupplierheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ== }</msg>
<status status="PASS" starttime="20211126 10:27:27.696" endtime="20211126 10:27:27.696"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.696" level="INFO">${cloudfactorysupplierheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}</msg>
<status status="PASS" starttime="20211126 10:27:27.696" endtime="20211126 10:27:27.697"></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="20211126 10:27:27.697" endtime="20211126 10:27:27.697"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.608" endtime="20211126 10:27:27.697" critical="yes"></status>
</test>
<test id="s1-s2-s4-t2" name="supplier_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:27.698" endtime="20211126 10:27:27.698"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.698" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.698" endtime="20211126 10:27:27.699"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_supplier}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:27.699" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=="}</msg>
<status status="PASS" starttime="20211126 10:27:27.699" endtime="20211126 10:27:27.699"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.766" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=="}'
</msg>
<msg timestamp="20211126 10:27:27.767" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":200301,"message":null,"data":null}
</msg>
<msg timestamp="20211126 10:27:27.767" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.699" endtime="20211126 10:27:27.767"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.768" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.767" endtime="20211126 10:27:27.768"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.769" level="INFO">{'code': 200301, 'message': None, 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:27.769" endtime="20211126 10:27:27.769"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.770" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.770" endtime="20211126 10:27:27.770"></status>
</kw>
<kw name="Run Keyword And Ignore Error" library="BuiltIn">
<doc>Runs the given keyword with the given arguments and ignores possible error.</doc>
<arguments>
<arg>Get From Dictionary</arg>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${get_status}</var>
<var>${token}</var>
</assign>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.771" endtime="20211126 10:27:27.772"></status>
</kw>
<msg timestamp="20211126 10:27:27.772" level="INFO">${get_status} = PASS</msg>
<msg timestamp="20211126 10:27:27.772" level="INFO">${token} = None</msg>
<status status="PASS" starttime="20211126 10:27:27.771" endtime="20211126 10:27:27.772"></status>
</kw>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>"${get_status}"=="FAIL"</arg>
<arg>${gettoken_supplier}</arg>
<arg>"${token}"=="None"</arg>
<arg>${gettoken_supplier}</arg>
<arg>${token}</arg>
</arguments>
<assign>
<var>${getlogintoken_supplier}</var>
</assign>
<kw name="Set Variable If" library="BuiltIn">
<doc>Sets variable based on the given condition.</doc>
<arguments>
<arg>"${token}"=="None"</arg>
<arg>${gettoken_supplier}</arg>
<arg>${token}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.773" endtime="20211126 10:27:27.773"></status>
</kw>
<msg timestamp="20211126 10:27:27.773" level="INFO">${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==</msg>
<status status="PASS" starttime="20211126 10:27:27.772" endtime="20211126 10:27:27.773"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.774" level="INFO">${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ==</msg>
<status status="PASS" starttime="20211126 10:27:27.774" endtime="20211126 10:27:27.774"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847956666</arg>
<arg>Authorization=${gettoken_supplier}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_supplierheader}</var>
</assign>
<msg timestamp="20211126 10:27:27.775" level="INFO">&amp;{cloudfactory_supplierheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ== }</msg>
<status status="PASS" starttime="20211126 10:27:27.774" endtime="20211126 10:27:27.775"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.776" level="INFO">${cloudfactory_supplierheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}</msg>
<status status="PASS" starttime="20211126 10:27:27.775" endtime="20211126 10:27:27.776"></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="20211126 10:27:27.776" endtime="20211126 10:27:27.776"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.697" endtime="20211126 10:27:27.776" critical="yes"></status>
</test>
<test id="s1-s2-s4-t3" name="get_supplier_userinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.778" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.778" endtime="20211126 10:27:27.779"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/get/user-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.838" level="INFO">GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
path_url=/uec/get/user-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}
body=None
</msg>
<msg timestamp="20211126 10:27:27.838" level="INFO">GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 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":{"userId":"661555750476320768","realName":null,"mobile":"13123456789","isAuth":0,"isSetPassword":1,"enterpriseId":null,"enterpriseName":null,"position":null,"employeeStatus":null,"applicationStatus":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locDetail":null,"isSupplierPerssion":false}}
</msg>
<msg timestamp="20211126 10:27:27.839" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.779" endtime="20211126 10:27:27.839"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.840" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.839" endtime="20211126 10:27:27.840"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.840" level="INFO">{'code': 0, 'message': 'successful', 'data': {'userId': '661555750476320768', 'realName': None, 'mobile': '13123456789', 'isAuth': 0, 'isSetPassword': 1, 'enterpriseId': None, 'enterpriseName': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locDetail': None, 'isSupplierPerssion': False}}</msg>
<status status="PASS" starttime="20211126 10:27:27.840" endtime="20211126 10:27:27.840"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.841" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.840" endtime="20211126 10:27:27.841"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.841" endtime="20211126 10:27:27.842"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>${userid_supplier}</arg>
<arg>${response.json()["data"]["userId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.842" endtime="20211126 10:27:27.842"></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="20211126 10:27:27.842" endtime="20211126 10:27:27.843"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.777" endtime="20211126 10:27:27.843" critical="yes"></status>
</test>
<test id="s1-s2-s4-t4" name="get_supplier_baseinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.844" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.844" endtime="20211126 10:27:27.844"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>cloud-print-user-center/get/base-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.904" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
path_url=/cloud-print-user-center/get/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}
body=None
</msg>
<msg timestamp="20211126 10:27:27.904" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"mallSupplier":null,"capacityMarket":null,"enterpriseName":null,"enterpriseId":null,"realName":null,"contactsName":null,"contactsMobile":null,"locProvinceId":null,"locProvinceName":null,"locCityId":null,"locCityName":null,"locDistrictId":null,"locDistriceName":null,"locStreetId":null,"locStreetName":null,"locDetail":null,"position":null,"employeeStatus":null,"applicationStatus":null,"isConfirmedAgreement":0,"fddEnterpriseStatus":null,"isSupplierPerssion":false}}
</msg>
<msg timestamp="20211126 10:27:27.904" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.845" endtime="20211126 10:27:27.904"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.905" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.904" endtime="20211126 10:27:27.905"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.906" level="INFO">{'code': 0, 'message': 'successful', 'data': {'mallSupplier': None, 'capacityMarket': None, 'enterpriseName': None, 'enterpriseId': None, 'realName': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': None, 'locProvinceName': None, 'locCityId': None, 'locCityName': None, 'locDistrictId': None, 'locDistriceName': None, 'locStreetId': None, 'locStreetName': None, 'locDetail': None, 'position': None, 'employeeStatus': None, 'applicationStatus': None, 'isConfirmedAgreement': 0, 'fddEnterpriseStatus': None, 'isSupplierPerssion': False}}</msg>
<status status="PASS" starttime="20211126 10:27:27.905" endtime="20211126 10:27:27.906"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.906" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.906" endtime="20211126 10:27:27.906"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.906" endtime="20211126 10:27:27.907"></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="20211126 10:27:27.907" endtime="20211126 10:27:27.908"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.843" endtime="20211126 10:27:27.908" critical="yes"></status>
</test>
<test id="s1-s2-s4-t5" name="get_supplier_useridentity">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.909" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.908" endtime="20211126 10:27:27.909"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>cloud-print-user-center/get/user/identity</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:27.965" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
path_url=/cloud-print-user-center/get/user/identity
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dDmPx7b/Nf4yBuci0IvqWaQ=='}
body=None
</msg>
<msg timestamp="20211126 10:27:27.965" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/user/identity
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:27 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"type":0}}
</msg>
<msg timestamp="20211126 10:27:27.965" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.909" endtime="20211126 10:27:27.965"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.966" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:27.966" endtime="20211126 10:27:27.966"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.967" level="INFO">{'code': 0, 'message': 'successful', 'data': {'type': 0}}</msg>
<status status="PASS" starttime="20211126 10:27:27.966" endtime="20211126 10:27:27.967"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.967" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.967" endtime="20211126 10:27:27.967"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:27.967" endtime="20211126 10:27:27.968"></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="20211126 10:27:27.968" endtime="20211126 10:27:27.968"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.908" endtime="20211126 10:27:27.968" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:27.605" endtime="20211126 10:27:27.969"></status>
</suite>
<suite id="s1-s2-s5" name="Login Supplier Focus" source="/root/yyt-trading-rf-api/001_login_get_info/login_supplier_focus.robot">
<test id="s1-s2-s5-t1" name="supplier_focus_phone">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:27.974" endtime="20211126 10:27:27.974"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_supplier_focus_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:27.974" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:27.974" endtime="20211126 10:27:27.975"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:27.975" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:27.975" endtime="20211126 10:27:27.975"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13500003333</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211126 10:27:27.975" level="INFO">${account} = 13500003333</msg>
<status status="PASS" starttime="20211126 10:27:27.975" endtime="20211126 10:27:27.975"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:27.976" level="INFO">${body} = {"accountType":2,"account":"13500003333","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:27.976" endtime="20211126 10:27:27.976"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:28.073" 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;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Content-Length': '60'}
body={"accountType":2,"account":"13500003333","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:28.073" 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, 26 Nov 2021 02:27:28 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":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==","userId":"592453852213678080"}}
</msg>
<msg timestamp="20211126 10:27:28.074" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:27.976" endtime="20211126 10:27:28.074"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.075" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:28.074" endtime="20211126 10:27:28.075"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.075" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==","userId":"592453852213678080"}}</msg>
<status status="PASS" starttime="20211126 10:27:28.075" endtime="20211126 10:27:28.075"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.076" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'userId': '592453852213678080'}}</msg>
<status status="PASS" starttime="20211126 10:27:28.075" endtime="20211126 10:27:28.076"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.076" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.076" endtime="20211126 10:27:28.076"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.076" endtime="20211126 10:27:28.077"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_supplier_focus}</var>
</assign>
<msg timestamp="20211126 10:27:28.077" level="INFO">${gettoken_supplier_focus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==</msg>
<status status="PASS" starttime="20211126 10:27:28.077" endtime="20211126 10:27:28.077"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_supplier_focus}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.078" level="INFO">iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==</msg>
<status status="PASS" starttime="20211126 10:27:28.078" endtime="20211126 10:27:28.078"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_supplier_focus}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.078" level="INFO">${gettoken_supplier_focus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==</msg>
<status status="PASS" starttime="20211126 10:27:28.078" endtime="20211126 10:27:28.078"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_supplier_focus}</var>
</assign>
<msg timestamp="20211126 10:27:28.079" level="INFO">${userid_supplier_focus} = 592453852213678080</msg>
<status status="PASS" starttime="20211126 10:27:28.079" endtime="20211126 10:27:28.079"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_supplier_focus}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.079" level="INFO">592453852213678080</msg>
<status status="PASS" starttime="20211126 10:27:28.079" endtime="20211126 10:27:28.079"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_supplier_focus}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.080" level="INFO">${userid_supplier_focus} = 592453852213678080</msg>
<status status="PASS" starttime="20211126 10:27:28.079" endtime="20211126 10:27:28.080"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847953922</arg>
<arg>Authorization=${gettoken_supplier_focus}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorysupplierfocusheader}</var>
</assign>
<msg timestamp="20211126 10:27:28.080" level="INFO">&amp;{cloudfactorysupplierfocusheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847953922 | Authorization=iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA== }</msg>
<status status="PASS" starttime="20211126 10:27:28.080" endtime="20211126 10:27:28.080"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorysupplierfocusheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.081" level="INFO">${cloudfactorysupplierfocusheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}</msg>
<status status="PASS" starttime="20211126 10:27:28.080" endtime="20211126 10:27:28.081"></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="20211126 10:27:28.081" endtime="20211126 10:27:28.081"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:27.973" endtime="20211126 10:27:28.081" critical="yes"></status>
</test>
<test id="s1-s2-s5-t2" name="supplier_focus_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:28.082" endtime="20211126 10:27:28.082"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorysupplierfocusheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.083" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:28.082" endtime="20211126 10:27:28.083"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_supplier_focus}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:28.084" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=="}</msg>
<status status="PASS" starttime="20211126 10:27:28.083" endtime="20211126 10:27:28.084"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:28.177" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=="}'
</msg>
<msg timestamp="20211126 10:27:28.177" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:28 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=="}
</msg>
<msg timestamp="20211126 10:27:28.177" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.084" endtime="20211126 10:27:28.177"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.178" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:28.178" endtime="20211126 10:27:28.178"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.179" level="INFO">{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}</msg>
<status status="PASS" starttime="20211126 10:27:28.178" endtime="20211126 10:27:28.179"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.179" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.179" endtime="20211126 10:27:28.180"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.180" endtime="20211126 10:27:28.180"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${getlogintoken_supplier_focus}</var>
</assign>
<msg timestamp="20211126 10:27:28.181" level="INFO">${getlogintoken_supplier_focus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==</msg>
<status status="PASS" starttime="20211126 10:27:28.180" endtime="20211126 10:27:28.181"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${getlogintoken_supplier_focus}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.181" level="INFO">iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==</msg>
<status status="PASS" starttime="20211126 10:27:28.181" endtime="20211126 10:27:28.181"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_supplier_focus}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.182" level="INFO">${getlogintoken_supplier_focus} = iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==</msg>
<status status="PASS" starttime="20211126 10:27:28.181" endtime="20211126 10:27:28.182"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847956666</arg>
<arg>Authorization=${getlogintoken_supplier_focus}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_supplierfocus_header}</var>
</assign>
<msg timestamp="20211126 10:27:28.182" level="INFO">&amp;{cloudfactory_supplierfocus_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA== }</msg>
<status status="PASS" starttime="20211126 10:27:28.182" endtime="20211126 10:27:28.182"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.183" level="INFO">${cloudfactory_supplierfocus_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}</msg>
<status status="PASS" starttime="20211126 10:27:28.183" endtime="20211126 10:27:28.183"></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="20211126 10:27:28.183" endtime="20211126 10:27:28.184"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:28.082" endtime="20211126 10:27:28.184" critical="yes"></status>
</test>
<test id="s1-s2-s5-t3" name="get_supplier_focus_userinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.185" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:28.184" endtime="20211126 10:27:28.185"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/get/user-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:28.242" level="INFO">GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
path_url=/uec/get/user-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:27:28.243" level="INFO">GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/user-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:28 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":{"userId":"592453852213678080","realName":"测试","mobile":"13500003333","isAuth":0,"isSetPassword":1,"enterpriseId":"538701347130839040","enterpriseName":"厦门千纸互联科技有限公司","position":"PRIMARY","employeeStatus":0,"applicationStatus":null,"contactsName":null,"contactsMobile":null,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440103,"locDistriceName":"荔湾区","locDetail":"认同感","isSupplierPerssion":true}}
</msg>
<msg timestamp="20211126 10:27:28.243" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.185" endtime="20211126 10:27:28.243"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.243" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:28.243" endtime="20211126 10:27:28.244"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.244" level="INFO">{'code': 0, 'message': 'successful', 'data': {'userId': '592453852213678080', 'realName': '测试', 'mobile': '13500003333', 'isAuth': 0, 'isSetPassword': 1, 'enterpriseId': '538701347130839040', 'enterpriseName': '厦门千纸互联科技有限公司', 'position': 'PRIMARY', 'employeeStatus': 0, 'applicationStatus': None, 'contactsName': None, 'contactsMobile': None, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440103, 'locDistriceName': '荔湾区', 'locDetail': '认同感', 'isSupplierPerssion': True}}</msg>
<status status="PASS" starttime="20211126 10:27:28.244" endtime="20211126 10:27:28.244"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.245" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.244" endtime="20211126 10:27:28.245"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.245" endtime="20211126 10:27:28.245"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>${userid_supplier_focus}</arg>
<arg>${response.json()["data"]["userId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.246" endtime="20211126 10:27:28.246"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>0</arg>
<arg>${response.json()["data"]["employeeStatus"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.246" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.246" endtime="20211126 10:27:28.246"></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>538701347130839040</arg>
<arg>${response.json()["data"]["enterpriseId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.247" endtime="20211126 10:27:28.247"></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>厦门千纸互联科技有限公司</arg>
<arg>${response.json()["data"]["enterpriseName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.247" endtime="20211126 10:27:28.248"></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="20211126 10:27:28.248" endtime="20211126 10:27:28.248"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:28.184" endtime="20211126 10:27:28.248" critical="yes"></status>
</test>
<test id="s1-s2-s5-t4" name="get_supplier_focus_baseinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.249" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:28.249" endtime="20211126 10:27:28.250"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>cloud-print-user-center/get/base-info</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:28.389" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
path_url=/cloud-print-user-center/get/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:27:28.389" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:28 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"mallSupplier":{"id":"553652487819759617","name":"千鸟官方直营","type":1,"provinceId":null,"provinceName":"天津","cityId":null,"cityName":"天津市","districtId":null,"districtName":"南开区","streetId":null,"streetName":"车陂街道","details":"车陂大岗路16号","contactName":"ggg","contactMoblie":"hhh","managementModel":1,"enterpriseType":5,"isShowSupplierNameOnClient":1},"capacityMarket":{"machineTotal":0,"machineFree":0,"machineOnSale":0},"enterpriseName":"厦门千纸互联科技有限公司","enterpriseId":"538701347130839040","realName":"测试","contactsName":null,"contactsMobile":null,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440103,"locDistriceName":"荔湾区","locStreetId":null,"locStreetName":null,"locDetail":"认同感","position":"PRIMARY","employeeStatus":0,"applicationStatus":null,"isConfirmedAgreement":0,"fddEnterpriseStatus":1,"isSupplierPerssion":true}}
</msg>
<msg timestamp="20211126 10:27:28.390" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.250" endtime="20211126 10:27:28.390"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.391" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:28.390" endtime="20211126 10:27:28.391"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.391" level="INFO">{'code': 0, 'message': 'successful', 'data': {'mallSupplier': {'id': '553652487819759617', 'name': '千鸟官方直营', 'type': 1, 'provinceId': None, 'provinceName': '天津', 'cityId': None, 'cityName': '天津市', 'districtId': None, 'districtName': '南开区', 'streetId': None, 'streetName': '车陂街道', 'details': '车陂大岗路16号', 'contactName': 'ggg', 'contactMoblie': 'hhh', 'managementModel': 1, 'enterpriseType': 5, 'isShowSupplierNameOnClient': 1}, 'capacityMarket': {'machineTotal': 0, 'machineFree': 0, 'machineOnSale': 0}, 'enterpriseName': '厦门千纸互联科技有限公司', 'enterpriseId': '538701347130839040', 'realName': '测试', 'contactsName': None, 'contactsMobile': None, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440103, 'locDistriceName': '荔湾区', 'locStreetId': None, 'locStreetName': None, 'locDetail': '认同感', 'position': 'PRIMARY', 'employeeStatus': 0, 'applicationStatus': None, 'isConfirmedAgreement': 0, 'fddEnterpriseStatus': 1, 'isSupplierPerssion': True}}</msg>
<status status="PASS" starttime="20211126 10:27:28.391" endtime="20211126 10:27:28.391"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.392" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.392" endtime="20211126 10:27:28.392"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.392" endtime="20211126 10:27:28.393"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>0</arg>
<arg>${response.json()["data"]["employeeStatus"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.393" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.393" endtime="20211126 10:27:28.393"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>1</arg>
<arg>${response.json()["data"]["mallSupplier"]["managementModel"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.394" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.394" endtime="20211126 10:27:28.394"></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="20211126 10:27:28.394" endtime="20211126 10:27:28.395"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:28.248" endtime="20211126 10:27:28.395" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:27.969" endtime="20211126 10:27:28.395"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:26.669" endtime="20211126 10:27:28.397"></status>
</suite>
<suite id="s1-s3" name="002 User Register" source="/root/yyt-trading-rf-api/002_user_register">
<suite id="s1-s3-s1" name="Customer User Register" source="/root/yyt-trading-rf-api/002_user_register/customer_user_register.robot">
<test id="s1-s3-s1-t1" name="customer_phone_captcha">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:28.406" endtime="20211126 10:27:28.406"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.407" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:28.406" endtime="20211126 10:27:28.407"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:28.407" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:28.407" endtime="20211126 10:27:28.407"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13012345678</arg>
</arguments>
<assign>
<var>${customer_account}</var>
</assign>
<msg timestamp="20211126 10:27:28.408" level="INFO">${customer_account} = 13012345678</msg>
<status status="PASS" starttime="20211126 10:27:28.408" endtime="20211126 10:27:28.408"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${customer_account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:28.408" level="INFO">${body} = {"accountType":2,"account":"13012345678","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:28.408" endtime="20211126 10:27:28.408"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_account}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.409" level="INFO">${customer_account} = 13012345678</msg>
<status status="PASS" starttime="20211126 10:27:28.408" endtime="20211126 10:27:28.409"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:28.468" 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;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Content-Length': '60'}
body={"accountType":2,"account":"13012345678","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:28.468" 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, 26 Nov 2021 02:27:28 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":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==","userId":"661555746592395264"}}
</msg>
<msg timestamp="20211126 10:27:28.469" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.409" endtime="20211126 10:27:28.469"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.470" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:28.469" endtime="20211126 10:27:28.470"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.470" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==","userId":"661555746592395264"}}</msg>
<status status="PASS" starttime="20211126 10:27:28.470" endtime="20211126 10:27:28.470"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.471" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==', 'userId': '661555746592395264'}}</msg>
<status status="PASS" starttime="20211126 10:27:28.471" endtime="20211126 10:27:28.471"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.472" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.471" endtime="20211126 10:27:28.472"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.472" endtime="20211126 10:27:28.472"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_customer}</var>
</assign>
<msg timestamp="20211126 10:27:28.473" level="INFO">${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==</msg>
<status status="PASS" starttime="20211126 10:27:28.473" endtime="20211126 10:27:28.473"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.474" level="INFO">iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==</msg>
<status status="PASS" starttime="20211126 10:27:28.473" endtime="20211126 10:27:28.474"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.474" level="INFO">${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==</msg>
<status status="PASS" starttime="20211126 10:27:28.474" endtime="20211126 10:27:28.474"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_customer}</var>
</assign>
<msg timestamp="20211126 10:27:28.475" level="INFO">${userid_customer} = 661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:28.474" endtime="20211126 10:27:28.475"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.475" level="INFO">661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:28.475" endtime="20211126 10:27:28.475"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.475" level="INFO">${userid_customer} = 661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:28.475" endtime="20211126 10:27:28.476"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${gettoken_customer}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorycustomerheader}</var>
</assign>
<msg timestamp="20211126 10:27:28.476" level="INFO">&amp;{cloudfactorycustomerheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw== }</msg>
<status status="PASS" starttime="20211126 10:27:28.476" endtime="20211126 10:27:28.476"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.477" level="INFO">${cloudfactorycustomerheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw=='}</msg>
<status status="PASS" starttime="20211126 10:27:28.476" endtime="20211126 10:27:28.477"></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="20211126 10:27:28.477" endtime="20211126 10:27:28.477"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:28.405" endtime="20211126 10:27:28.477" critical="yes"></status>
</test>
<test id="s1-s3-s1-t2" name="customerclue_customer">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:28.478" endtime="20211126 10:27:28.478"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.479" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:28.478" endtime="20211126 10:27:28.479"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_companyname_customer</arg>
</arguments>
<assign>
<var>${customer_companyname}</var>
</assign>
<msg timestamp="20211126 10:27:28.479" level="INFO">${customer_companyname} = autotest_companyname_customer</msg>
<status status="PASS" starttime="20211126 10:27:28.479" endtime="20211126 10:27:28.479"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_enterprisetype}</var>
</assign>
<msg timestamp="20211126 10:27:28.480" level="INFO">${customer_enterprisetype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:28.479" endtime="20211126 10:27:28.480"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_job_customer</arg>
</arguments>
<assign>
<var>${customer_job}</var>
</assign>
<msg timestamp="20211126 10:27:28.480" level="INFO">${customer_job} = autotest_job_customer</msg>
<status status="PASS" starttime="20211126 10:27:28.480" endtime="20211126 10:27:28.480"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_name_customer</arg>
</arguments>
<assign>
<var>${customer_name}</var>
</assign>
<msg timestamp="20211126 10:27:28.480" level="INFO">${customer_name} = autotest_name_customer</msg>
<status status="PASS" starttime="20211126 10:27:28.480" endtime="20211126 10:27:28.480"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"companyName": "${customer_companyname}","enterpriseType": ${customer_enterprisetype},"job": "${customer_job}","name": "${customer_name}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:28.481" level="INFO">${body} = {"companyName": "autotest_companyname_customer","enterpriseType": 2,"job": "autotest_job_customer","name": "autotest_name_customer"}</msg>
<status status="PASS" starttime="20211126 10:27:28.480" endtime="20211126 10:27:28.481"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${customer_companyname}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.481" level="INFO">${customer_companyname} = autotest_companyname_customer</msg>
<status status="PASS" starttime="20211126 10:27:28.481" endtime="20211126 10:27:28.482"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${customer_enterprisetype}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.482" level="INFO">${customer_enterprisetype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:28.482" endtime="20211126 10:27:28.482"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_job}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.483" level="INFO">${customer_job} = autotest_job_customer</msg>
<status status="PASS" starttime="20211126 10:27:28.482" endtime="20211126 10:27:28.483"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.483" level="INFO">${customer_name} = autotest_name_customer</msg>
<status status="PASS" starttime="20211126 10:27:28.483" endtime="20211126 10:27:28.483"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/save/customerclue</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:28.550" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
path_url=/cloud-print-user-center/save/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==', 'Content-Length': '132'}
body=b'{"companyName": "autotest_companyname_customer","enterpriseType": 2,"job": "autotest_job_customer","name": "autotest_name_customer"}'
</msg>
<msg timestamp="20211126 10:27:28.550" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:28 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:28.551" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.483" endtime="20211126 10:27:28.551"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.551" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:28.551" endtime="20211126 10:27:28.552"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.552" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:28.552" endtime="20211126 10:27:28.552"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:28.553" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:28.552" endtime="20211126 10:27:28.553"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:28.553" endtime="20211126 10:27:28.554"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:29.554" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:28.554" endtime="20211126 10:27:29.554"></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="20211126 10:27:29.555" endtime="20211126 10:27:29.555"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:28.477" endtime="20211126 10:27:29.555" critical="yes"></status>
</test>
<test id="s1-s3-s1-t3" name="customer_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:29.556" endtime="20211126 10:27:29.557"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.557" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:29.557" endtime="20211126 10:27:29.558"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_customer}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:29.558" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw=="}</msg>
<status status="PASS" starttime="20211126 10:27:29.558" endtime="20211126 10:27:29.558"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:29.656" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4Mv41fNQI86eX0cbZQhKwUnw=="}'
</msg>
<msg timestamp="20211126 10:27:29.656" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:29 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=="}
</msg>
<msg timestamp="20211126 10:27:29.657" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.558" endtime="20211126 10:27:29.657"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.658" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:29.657" endtime="20211126 10:27:29.658"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.658" level="INFO">{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=='}</msg>
<status status="PASS" starttime="20211126 10:27:29.658" endtime="20211126 10:27:29.658"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.659" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.658" endtime="20211126 10:27:29.659"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.659" endtime="20211126 10:27:29.659"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${getlogintoken_customer}</var>
</assign>
<msg timestamp="20211126 10:27:29.660" level="INFO">${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA==</msg>
<status status="PASS" starttime="20211126 10:27:29.660" endtime="20211126 10:27:29.660"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${getlogintoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.660" level="INFO">iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA==</msg>
<status status="PASS" starttime="20211126 10:27:29.660" endtime="20211126 10:27:29.660"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.661" level="INFO">${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA==</msg>
<status status="PASS" starttime="20211126 10:27:29.661" endtime="20211126 10:27:29.661"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${getlogintoken_customer}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_customer_header}</var>
</assign>
<msg timestamp="20211126 10:27:29.662" level="INFO">&amp;{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA== }</msg>
<status status="PASS" starttime="20211126 10:27:29.661" endtime="20211126 10:27:29.662"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.662" level="INFO">${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=='}</msg>
<status status="PASS" starttime="20211126 10:27:29.662" endtime="20211126 10:27:29.662"></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="20211126 10:27:29.663" endtime="20211126 10:27:29.663"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:29.556" endtime="20211126 10:27:29.663" critical="yes"></status>
</test>
<test id="s1-s3-s1-t4" name="get_customerclue_customer">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.664" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:29.663" endtime="20211126 10:27:29.664"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/get/my/customerclue</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:29.704" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
path_url=/cloud-print-user-center/get/my/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=='}
body=None
</msg>
<msg timestamp="20211126 10:27:29.704" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:29 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"661555754129559552","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","enterpriseType":2}}
</msg>
<msg timestamp="20211126 10:27:29.704" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.664" endtime="20211126 10:27:29.704"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.705" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:29.704" endtime="20211126 10:27:29.705"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.706" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555754129559552', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'enterpriseType': 2}}</msg>
<status status="PASS" starttime="20211126 10:27:29.705" endtime="20211126 10:27:29.706"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.706" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.706" endtime="20211126 10:27:29.706"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.707" endtime="20211126 10:27:29.707"></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>${customer_companyname}</arg>
<arg>${response.json()["data"]["companyName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.707" endtime="20211126 10:27:29.708"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>${customer_enterprisetype}</arg>
<arg>${response.json()["data"]["enterpriseType"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.708" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.708" endtime="20211126 10:27:29.708"></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>${customer_job}</arg>
<arg>${response.json()["data"]["job"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.708" endtime="20211126 10:27:29.709"></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>${customer_name}</arg>
<arg>${response.json()["data"]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.709" endtime="20211126 10:27:29.709"></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>${customer_account}</arg>
<arg>${response.json()["data"]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.710" endtime="20211126 10:27:29.710"></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="20211126 10:27:29.710" endtime="20211126 10:27:29.710"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:29.663" endtime="20211126 10:27:29.711" critical="yes"></status>
</test>
<test id="s1-s3-s1-t5" name="customerclue_verify_have_join_customer">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.712" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:29.711" endtime="20211126 10:27:29.712"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/verify/have-join-and-fill</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:29.762" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
path_url=/cloud-print-user-center/verify/have-join-and-fill
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA==', 'Content-Length': '0'}
body=None
</msg>
<msg timestamp="20211126 10:27:29.762" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:29 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":false}
</msg>
<msg timestamp="20211126 10:27:29.762" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.712" endtime="20211126 10:27:29.762"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.763" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:29.762" endtime="20211126 10:27:29.763"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.764" level="INFO">{'code': 0, 'message': 'successful', 'data': False}</msg>
<status status="PASS" starttime="20211126 10:27:29.763" endtime="20211126 10:27:29.764"></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>False</arg>
<arg>${response.json()["data"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.764" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'bool'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.764" endtime="20211126 10:27:29.764"></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="20211126 10:27:29.765" endtime="20211126 10:27:29.765"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:29.711" endtime="20211126 10:27:29.765" critical="yes"></status>
</test>
<test id="s1-s3-s1-t6" name="customerclue_uploadpictures_customer">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:29.766" endtime="20211126 10:27:29.766"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.766" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:29.766" endtime="20211126 10:27:29.767"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${customer_businesslicense}</var>
</assign>
<msg timestamp="20211126 10:27:29.767" level="INFO">${customer_businesslicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:29.767" endtime="20211126 10:27:29.767"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${customer_idcardback}</var>
</assign>
<msg timestamp="20211126 10:27:29.767" level="INFO">${customer_idcardback} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:29.767" endtime="20211126 10:27:29.767"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${customer_idcardfront}</var>
</assign>
<msg timestamp="20211126 10:27:29.768" level="INFO">${customer_idcardfront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:29.768" endtime="20211126 10:27:29.768"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${customerclue_type}</var>
</assign>
<msg timestamp="20211126 10:27:29.768" level="INFO">${customerclue_type} = 1</msg>
<status status="PASS" starttime="20211126 10:27:29.768" endtime="20211126 10:27:29.768"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"businessLicense": "${customer_businesslicense}","idCardBack": "${customer_idcardback}","idCardFront": "${customer_idcardfront}","type": ${customerclue_type}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:29.769" level="INFO">${body} = {"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378...</msg>
<status status="PASS" starttime="20211126 10:27:29.768" endtime="20211126 10:27:29.769"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/customerclue/upload-pictures</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:29.827" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
path_url=/cloud-print-user-center/customerclue/upload-pictures
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4MKHglnfZTYs7ELbrYH8RryA==', 'Content-Length': '326'}
body=b'{"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type": 1}'
</msg>
<msg timestamp="20211126 10:27:29.827" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:29 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:29.827" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.769" endtime="20211126 10:27:29.827"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.828" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:29.828" endtime="20211126 10:27:29.828"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.829" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:29.828" endtime="20211126 10:27:29.829"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.829" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.829" endtime="20211126 10:27:29.829"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:29.829" endtime="20211126 10:27:29.830"></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="20211126 10:27:29.830" endtime="20211126 10:27:29.830"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:29.765" endtime="20211126 10:27:29.830" critical="yes"></status>
</test>
<test id="s1-s3-s1-t7" name="operate_get_user_register_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:29.831" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:29.831" endtime="20211126 10:27:29.832"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/user/get/user-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.258" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
path_url=/cloud-print-user-center/admin/user/get/user-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:30.258" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555746592395264","nickName":null,"mobile":"13012345678","realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-26 10:27:27"},{"id":"661543032612589568","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-26 09:36:55"},{"id":"661543027646533632","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-26 09:36:54"},{"id":"661308589817860096","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 18:05:20"},{"id":"661308584231047168","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-25 18:05:19"},{"id":"661307098726010880","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 17:59:24"},{"id":"661307093495713792","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-25 17:59:23"},{"id":"661304845810143232","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 17:50:27"},{"id":"661304840122667008","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-25 17:50:26"},{"id":"661278836729712640","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 16:07:06"}],"total":426,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":43}}
</msg>
<msg timestamp="20211126 10:27:30.259" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:29.832" endtime="20211126 10:27:30.259"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.260" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.259" endtime="20211126 10:27:30.260"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.260" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555746592395264', 'nickName': None, 'mobile': '13012345678', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-26 10:27:27'}, {'id': '661543032612589568', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-26 09:36:55'}, {'id': '661543027646533632', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-26 09:36:54'}, {'id': '661308589817860096', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 18:05:20'}, {'id': '661308584231047168', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-25 18:05:19'}, {'id': '661307098726010880', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 17:59:24'}, {'id': '661307093495713792', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-25 17:59:23'}, {'id': '661304845810143232', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 17:50:27'}, {'id': '661304840122667008', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-25 17:50:26'}, {'id': '661278836729712640', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 16:07:06'}], 'total': 426, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 43}}</msg>
<status status="PASS" starttime="20211126 10:27:30.260" endtime="20211126 10:27:30.260"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.261" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.260" endtime="20211126 10:27:30.261"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.261" endtime="20211126 10:27:30.261"></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="20211126 10:27:30.262" endtime="20211126 10:27:30.262"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:29.831" endtime="20211126 10:27:30.262" critical="yes"></status>
</test>
<test id="s1-s3-s1-t8" name="operate_get_user_register_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.263" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:30.263" endtime="20211126 10:27:30.263"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>mobile=${customer_account}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:30.264" level="INFO">${param} = mobile=13012345678</msg>
<status status="PASS" starttime="20211126 10:27:30.263" endtime="20211126 10:27:30.264"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/user/get/user-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.323" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13012345678
path_url=/cloud-print-user-center/admin/user/get/user-list?mobile=13012345678
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:30.323" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13012345678
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555746592395264","nickName":null,"mobile":"13012345678","realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-26 10:27:27"}],"total":1,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:30.323" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.264" endtime="20211126 10:27:30.324"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.324" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.324" endtime="20211126 10:27:30.325"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.325" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555746592395264', 'nickName': None, 'mobile': '13012345678', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-26 10:27:27'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:30.325" endtime="20211126 10:27:30.325"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.326" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.325" endtime="20211126 10:27:30.326"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.326" endtime="20211126 10:27:30.326"></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>${customer_account}</arg>
<arg>${response.json()["data"]["records"][0]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.326" endtime="20211126 10:27:30.327"></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="20211126 10:27:30.327" endtime="20211126 10:27:30.327"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:30.262" endtime="20211126 10:27:30.328" critical="yes"></status>
</test>
<test id="s1-s3-s1-t9" name="operate_get_customerclue_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.329" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:30.328" endtime="20211126 10:27:30.329"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/customerclue/page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.478" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
path_url=/cloud-print-user-center/admin/get/customerclue/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:30.478" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555754129559552","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","remark":null,"status":1,"operatorName":null,"userId":"661555746592395264","createTime":"2021-11-26 10:27:28","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659119433914126336","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659119416381935616","createTime":"2021-11-19 17:06:24","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118871223078912","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118857167966208","createTime":"2021-11-19 17:04:10","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118860833787904","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118853195960320","createTime":"2021-11-19 17:04:07","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118221835767808","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118207986176000","createTime":"2021-11-19 17:01:35","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118211681357824","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118202571329536","createTime":"2021-11-19 17:01:33","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"652586256055799808","name":"df","companyName":"sdf","job":"df","mobile":"13546548548","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"652586236762001408","createTime":"2021-11-01 16:25:53","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"650050752286429184","name":"一休","companyName":"测试","job":"一休","mobile":"15800210584","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"636246482214850560","createTime":"2021-10-25 16:30:42","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"647894856353583104","name":"第三方","companyName":"违法","job":"福","mobile":"13484654654","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"647894838435516416","createTime":"2021-10-19 17:43:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"647889349328900096","name":"东方","companyName":"方式","job":"福","mobile":"13843416541","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"647889329426927616","createTime":"2021-10-19 17:22:03","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":134,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":14}}
</msg>
<msg timestamp="20211126 10:27:30.479" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.329" endtime="20211126 10:27:30.479"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.480" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.479" endtime="20211126 10:27:30.480"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.480" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555754129559552', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '661555746592395264', 'createTime': '2021-11-26 10:27:28', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659119433914126336', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659119416381935616', 'createTime': '2021-11-19 17:06:24', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118871223078912', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118857167966208', 'createTime': '2021-11-19 17:04:10', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118860833787904', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118853195960320', 'createTime': '2021-11-19 17:04:07', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118221835767808', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118207986176000', 'createTime': '2021-11-19 17:01:35', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118211681357824', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118202571329536', 'createTime': '2021-11-19 17:01:33', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '652586256055799808', 'name': 'df', 'companyName': 'sdf', 'job': 'df', 'mobile': '13546548548', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '652586236762001408', 'createTime': '2021-11-01 16:25:53', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '650050752286429184', 'name': '一休', 'companyName': '测试', 'job': '一休', 'mobile': '15800210584', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '636246482214850560', 'createTime': '2021-10-25 16:30:42', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '647894856353583104', 'name': '第三方', 'companyName': '违法', 'job': '福', 'mobile': '13484654654', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '647894838435516416', 'createTime': '2021-10-19 17:43:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '647889349328900096', 'name': '东方', 'companyName': '方式', 'job': '福', 'mobile': '13843416541', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '647889329426927616', 'createTime': '2021-10-19 17:22:03', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 134, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 14}}</msg>
<status status="PASS" starttime="20211126 10:27:30.480" endtime="20211126 10:27:30.481"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.481" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.481" endtime="20211126 10:27:30.481"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.481" endtime="20211126 10:27:30.482"></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="20211126 10:27:30.482" endtime="20211126 10:27:30.482"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:30.328" endtime="20211126 10:27:30.482" critical="yes"></status>
</test>
<test id="s1-s3-s1-t10" name="operate_get_customerclue_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.483" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:30.483" endtime="20211126 10:27:30.484"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>status=1</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:30.484" level="INFO">${param} = status=1</msg>
<status status="PASS" starttime="20211126 10:27:30.484" endtime="20211126 10:27:30.484"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/customerclue/page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.650" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
path_url=/cloud-print-user-center/admin/get/customerclue/page?status=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:30.650" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555754129559552","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","remark":null,"status":1,"operatorName":null,"userId":"661555746592395264","createTime":"2021-11-26 10:27:28","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"633391999982112768","name":"dfg","companyName":"efg","job":"dfhg","mobile":"13647684694","remark":null,"status":1,"operatorName":null,"userId":"633391981627838464","createTime":"2021-09-09 17:14:46","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633391170327810048","name":"sdf","companyName":"fdfg","job":"fsdf","mobile":"13574894646","remark":null,"status":1,"operatorName":null,"userId":"633391150648135680","createTime":"2021-09-09 17:11:28","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633390347971596288","name":"df","companyName":"dfgdf","job":"sdf","mobile":"13435468456","remark":null,"status":1,"operatorName":null,"userId":"633390325460766720","createTime":"2021-09-09 17:08:12","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633388329324384256","name":"123","companyName":"123","job":"3213","mobile":"13654565795","remark":null,"status":1,"operatorName":null,"userId":"633388311670558720","createTime":"2021-09-09 17:00:11","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633366107872432128","name":"42","companyName":"41234","job":"2234","mobile":"13800654654","remark":null,"status":1,"operatorName":null,"userId":"633366083545468928","createTime":"2021-09-09 15:31:53","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633021599859216384","name":"邓熊飞飞","companyName":"人生无限公司","job":"总监","mobile":"13427033688","remark":null,"status":1,"operatorName":null,"userId":"633020915705319424","createTime":"2021-09-08 16:42:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627592338700636160","name":"Wkh","companyName":"Weikaihu","job":"Gggg","mobile":"18911814873","remark":null,"status":1,"operatorName":null,"userId":"571400428810539008","createTime":"2021-08-24 17:08:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627584858704711680","name":"324","companyName":"反对过分的","job":"34","mobile":"13416541654","remark":null,"status":1,"operatorName":null,"userId":"627584815327219712","createTime":"2021-08-24 16:39:15","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627475682414432256","name":"2341","companyName":"13123","job":"1323","mobile":"13549849641","remark":null,"status":1,"operatorName":null,"userId":"627474786603372544","createTime":"2021-08-24 09:25:26","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":93,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":10}}
</msg>
<msg timestamp="20211126 10:27:30.651" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.484" endtime="20211126 10:27:30.651"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.651" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.651" endtime="20211126 10:27:30.651"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.652" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555754129559552', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '661555746592395264', 'createTime': '2021-11-26 10:27:28', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '633391999982112768', 'name': 'dfg', 'companyName': 'efg', 'job': 'dfhg', 'mobile': '13647684694', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633391981627838464', 'createTime': '2021-09-09 17:14:46', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633391170327810048', 'name': 'sdf', 'companyName': 'fdfg', 'job': 'fsdf', 'mobile': '13574894646', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633391150648135680', 'createTime': '2021-09-09 17:11:28', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633390347971596288', 'name': 'df', 'companyName': 'dfgdf', 'job': 'sdf', 'mobile': '13435468456', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633390325460766720', 'createTime': '2021-09-09 17:08:12', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633388329324384256', 'name': '123', 'companyName': '123', 'job': '3213', 'mobile': '13654565795', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633388311670558720', 'createTime': '2021-09-09 17:00:11', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633366107872432128', 'name': '42', 'companyName': '41234', 'job': '2234', 'mobile': '13800654654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633366083545468928', 'createTime': '2021-09-09 15:31:53', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633021599859216384', 'name': '邓熊飞飞', 'companyName': '人生无限公司', 'job': '总监', 'mobile': '13427033688', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633020915705319424', 'createTime': '2021-09-08 16:42:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627592338700636160', 'name': 'Wkh', 'companyName': 'Weikaihu', 'job': 'Gggg', 'mobile': '18911814873', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '571400428810539008', 'createTime': '2021-08-24 17:08:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627584858704711680', 'name': '324', 'companyName': '反对过分的', 'job': '34', 'mobile': '13416541654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627584815327219712', 'createTime': '2021-08-24 16:39:15', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627475682414432256', 'name': '2341', 'companyName': '13123', 'job': '1323', 'mobile': '13549849641', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627474786603372544', 'createTime': '2021-08-24 09:25:26', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 93, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 10}}</msg>
<status status="PASS" starttime="20211126 10:27:30.652" endtime="20211126 10:27:30.652"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.653" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.652" endtime="20211126 10:27:30.653"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.653" endtime="20211126 10:27:30.654"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${customerclue_id}</var>
</assign>
<msg timestamp="20211126 10:27:30.654" level="INFO">${customerclue_id} = 661555754129559552</msg>
<status status="PASS" starttime="20211126 10:27:30.654" endtime="20211126 10:27:30.654"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customerclue_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.655" level="INFO">${customerclue_id} = 661555754129559552</msg>
<status status="PASS" starttime="20211126 10:27:30.654" endtime="20211126 10:27:30.655"></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="20211126 10:27:30.655" endtime="20211126 10:27:30.655"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:30.483" endtime="20211126 10:27:30.655" critical="yes"></status>
</test>
<test id="s1-s3-s1-t11" name="operate_handle_customerclue">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.656" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:30.656" endtime="20211126 10:27:30.657"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_customerclue_remark</arg>
</arguments>
<assign>
<var>${customerclue_remark}</var>
</assign>
<msg timestamp="20211126 10:27:30.657" level="INFO">${customerclue_remark} = autotest_customerclue_remark</msg>
<status status="PASS" starttime="20211126 10:27:30.657" endtime="20211126 10:27:30.657"></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":"${customerclue_id}","adminId":"${operate_adminid}","name":"${operate_adminname}","remark":"${customerclue_remark}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:30.657" level="INFO">${body} = {"id":"661555754129559552","adminId":"498985714734731264","name":"梁金满","remark":"autotest_customerclue_remark"}</msg>
<status status="PASS" starttime="20211126 10:27:30.657" endtime="20211126 10:27:30.657"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/handle/customerclue</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.716" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
path_url=/cloud-print-user-center/admin/handle/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '117'}
body=b'{"id":"661555754129559552","adminId":"498985714734731264","name":"\xe6\xa2\x81\xe9\x87\x91\xe6\xbb\xa1","remark":"autotest_customerclue_remark"}'
</msg>
<msg timestamp="20211126 10:27:30.716" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:30.717" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.658" endtime="20211126 10:27:30.717"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.717" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.717" endtime="20211126 10:27:30.717"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.718" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:30.718" endtime="20211126 10:27:30.718"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.718" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.718" endtime="20211126 10:27:30.719"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.719" endtime="20211126 10:27:30.719"></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="20211126 10:27:30.719" endtime="20211126 10:27:30.719"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:30.656" endtime="20211126 10:27:30.720" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:28.402" endtime="20211126 10:27:30.720"></status>
</suite>
<suite id="s1-s3-s2" name="Supplier User Register" source="/root/yyt-trading-rf-api/002_user_register/supplier_user_register.robot">
<test id="s1-s3-s2-t1" name="supplier_phone_captcha">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:30.727" endtime="20211126 10:27:30.727"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.727" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:30.727" endtime="20211126 10:27:30.728"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:30.728" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:30.728" endtime="20211126 10:27:30.728"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13123456789</arg>
</arguments>
<assign>
<var>${supplier_account}</var>
</assign>
<msg timestamp="20211126 10:27:30.728" level="INFO">${supplier_account} = 13123456789</msg>
<status status="PASS" starttime="20211126 10:27:30.728" endtime="20211126 10:27:30.728"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${supplier_account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:30.729" level="INFO">${body} = {"accountType":2,"account":"13123456789","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:30.728" endtime="20211126 10:27:30.729"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_account}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.729" level="INFO">${supplier_account} = 13123456789</msg>
<status status="PASS" starttime="20211126 10:27:30.729" endtime="20211126 10:27:30.729"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.787" 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;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Content-Length': '60'}
body={"accountType":2,"account":"13123456789","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:30.787" 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, 26 Nov 2021 02:27:30 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":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==","userId":"661555750476320768"}}
</msg>
<msg timestamp="20211126 10:27:30.788" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.729" endtime="20211126 10:27:30.788"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.789" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.788" endtime="20211126 10:27:30.789"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.789" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==","userId":"661555750476320768"}}</msg>
<status status="PASS" starttime="20211126 10:27:30.789" endtime="20211126 10:27:30.790"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.790" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==', 'userId': '661555750476320768'}}</msg>
<status status="PASS" starttime="20211126 10:27:30.790" endtime="20211126 10:27:30.790"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.791" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.790" endtime="20211126 10:27:30.791"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.791" endtime="20211126 10:27:30.792"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:30.792" level="INFO">${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==</msg>
<status status="PASS" starttime="20211126 10:27:30.792" endtime="20211126 10:27:30.792"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.793" level="INFO">iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==</msg>
<status status="PASS" starttime="20211126 10:27:30.793" endtime="20211126 10:27:30.793"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.794" level="INFO">${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==</msg>
<status status="PASS" starttime="20211126 10:27:30.793" endtime="20211126 10:27:30.794"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:30.794" level="INFO">${userid_supplier} = 661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:30.794" endtime="20211126 10:27:30.794"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.795" level="INFO">661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:30.795" endtime="20211126 10:27:30.795"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.796" level="INFO">${userid_supplier} = 661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:30.795" endtime="20211126 10:27:30.796"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847956666</arg>
<arg>Authorization=${gettoken_supplier}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorysupplierheader}</var>
</assign>
<msg timestamp="20211126 10:27:30.797" level="INFO">&amp;{cloudfactorysupplierheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg== }</msg>
<status status="PASS" starttime="20211126 10:27:30.796" endtime="20211126 10:27:30.797"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.797" level="INFO">${cloudfactorysupplierheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg=='}</msg>
<status status="PASS" starttime="20211126 10:27:30.797" endtime="20211126 10:27:30.797"></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="20211126 10:27:30.798" endtime="20211126 10:27:30.798"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:30.726" endtime="20211126 10:27:30.798" critical="yes"></status>
</test>
<test id="s1-s3-s2-t2" name="customerclue_supplier">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:30.799" endtime="20211126 10:27:30.799"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.800" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:30.800" endtime="20211126 10:27:30.801"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_companyname_supplier</arg>
</arguments>
<assign>
<var>${supplier_companyname}</var>
</assign>
<msg timestamp="20211126 10:27:30.801" level="INFO">${supplier_companyname} = autotest_companyname_supplier</msg>
<status status="PASS" starttime="20211126 10:27:30.801" endtime="20211126 10:27:30.801"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5</arg>
</arguments>
<assign>
<var>${supplier_enterprisetype}</var>
</assign>
<msg timestamp="20211126 10:27:30.802" level="INFO">${supplier_enterprisetype} = 5</msg>
<status status="PASS" starttime="20211126 10:27:30.801" endtime="20211126 10:27:30.802"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_job_supplier</arg>
</arguments>
<assign>
<var>${supplier_job}</var>
</assign>
<msg timestamp="20211126 10:27:30.802" level="INFO">${supplier_job} = autotest_job_supplier</msg>
<status status="PASS" starttime="20211126 10:27:30.802" endtime="20211126 10:27:30.802"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_name_supplier</arg>
</arguments>
<assign>
<var>${supplier_name}</var>
</assign>
<msg timestamp="20211126 10:27:30.803" level="INFO">${supplier_name} = autotest_name_supplier</msg>
<status status="PASS" starttime="20211126 10:27:30.802" endtime="20211126 10:27:30.803"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"companyName": "${supplier_companyname}","enterpriseType": ${supplier_enterprisetype},"job": "${supplier_job}","name": "${supplier_name}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:30.803" level="INFO">${body} = {"companyName": "autotest_companyname_supplier","enterpriseType": 5,"job": "autotest_job_supplier","name": "autotest_name_supplier"}</msg>
<status status="PASS" starttime="20211126 10:27:30.803" endtime="20211126 10:27:30.803"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${supplier_companyname}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.804" level="INFO">${supplier_companyname} = autotest_companyname_supplier</msg>
<status status="PASS" starttime="20211126 10:27:30.804" endtime="20211126 10:27:30.804"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${supplier_enterprisetype}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.805" level="INFO">${supplier_enterprisetype} = 5</msg>
<status status="PASS" starttime="20211126 10:27:30.805" endtime="20211126 10:27:30.805"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_job}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.806" level="INFO">${supplier_job} = autotest_job_supplier</msg>
<status status="PASS" starttime="20211126 10:27:30.805" endtime="20211126 10:27:30.806"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.806" level="INFO">${supplier_name} = autotest_name_supplier</msg>
<status status="PASS" starttime="20211126 10:27:30.806" endtime="20211126 10:27:30.806"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/save/customerclue</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:30.888" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
path_url=/cloud-print-user-center/save/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==', 'Content-Length': '132'}
body=b'{"companyName": "autotest_companyname_supplier","enterpriseType": 5,"job": "autotest_job_supplier","name": "autotest_name_supplier"}'
</msg>
<msg timestamp="20211126 10:27:30.888" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/save/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:30 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:30.888" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.807" endtime="20211126 10:27:30.889"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.889" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:30.889" endtime="20211126 10:27:30.889"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.890" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:30.890" endtime="20211126 10:27:30.890"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:30.891" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:30.890" endtime="20211126 10:27:30.891"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:30.891" endtime="20211126 10:27:30.891"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:31.892" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:30.892" endtime="20211126 10:27:31.892"></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="20211126 10:27:31.893" endtime="20211126 10:27:31.893"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:30.798" endtime="20211126 10:27:31.893" critical="yes"></status>
</test>
<test id="s1-s3-s2-t3" name="supplier_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:31.894" endtime="20211126 10:27:31.894"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.895" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:31.894" endtime="20211126 10:27:31.895"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_supplier}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:31.895" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg=="}</msg>
<status status="PASS" starttime="20211126 10:27:31.895" endtime="20211126 10:27:31.895"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:31.987" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dLijIxZx4l+e21QfcwsQISg=="}'
</msg>
<msg timestamp="20211126 10:27:31.987" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:31 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=="}
</msg>
<msg timestamp="20211126 10:27:31.987" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:31.896" endtime="20211126 10:27:31.987"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.988" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:31.987" endtime="20211126 10:27:31.988"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.989" level="INFO">{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=='}</msg>
<status status="PASS" starttime="20211126 10:27:31.988" endtime="20211126 10:27:31.989"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.989" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:31.989" endtime="20211126 10:27:31.989"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:31.989" endtime="20211126 10:27:31.990"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${getlogintoken_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:31.990" level="INFO">${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA==</msg>
<status status="PASS" starttime="20211126 10:27:31.990" endtime="20211126 10:27:31.990"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${getlogintoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.991" level="INFO">iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA==</msg>
<status status="PASS" starttime="20211126 10:27:31.990" endtime="20211126 10:27:31.991"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.991" level="INFO">${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA==</msg>
<status status="PASS" starttime="20211126 10:27:31.991" endtime="20211126 10:27:31.991"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${getlogintoken_supplier}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_supplier_header}</var>
</assign>
<msg timestamp="20211126 10:27:31.992" level="INFO">&amp;{cloudfactory_supplier_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA== }</msg>
<status status="PASS" starttime="20211126 10:27:31.991" endtime="20211126 10:27:31.992"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.992" level="INFO">${cloudfactory_supplier_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=='}</msg>
<status status="PASS" starttime="20211126 10:27:31.992" endtime="20211126 10:27:31.992"></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="20211126 10:27:31.993" endtime="20211126 10:27:31.993"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:31.893" endtime="20211126 10:27:31.993" critical="yes"></status>
</test>
<test id="s1-s3-s2-t4" name="get_customerclue_supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:31.994" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:31.994" endtime="20211126 10:27:31.995"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/get/my/customerclue</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:32.029" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
path_url=/cloud-print-user-center/get/my/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=='}
body=None
</msg>
<msg timestamp="20211126 10:27:32.030" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/my/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"661555763885510656","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"13123456789","enterpriseType":5}}
</msg>
<msg timestamp="20211126 10:27:32.030" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:31.995" endtime="20211126 10:27:32.030"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.031" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:32.030" endtime="20211126 10:27:32.031"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.031" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555763885510656', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '13123456789', 'enterpriseType': 5}}</msg>
<status status="PASS" starttime="20211126 10:27:32.031" endtime="20211126 10:27:32.031"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.032" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.031" endtime="20211126 10:27:32.032"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.032" endtime="20211126 10:27:32.032"></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>${supplier_companyname}</arg>
<arg>${response.json()["data"]["companyName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.032" endtime="20211126 10:27:32.033"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>${supplier_enterprisetype}</arg>
<arg>${response.json()["data"]["enterpriseType"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.033" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.033" endtime="20211126 10:27:32.034"></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>${supplier_job}</arg>
<arg>${response.json()["data"]["job"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.034" endtime="20211126 10:27:32.034"></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>${supplier_name}</arg>
<arg>${response.json()["data"]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.034" endtime="20211126 10:27:32.035"></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>${supplier_account}</arg>
<arg>${response.json()["data"]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.035" endtime="20211126 10:27:32.035"></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="20211126 10:27:32.036" endtime="20211126 10:27:32.036"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:31.993" endtime="20211126 10:27:32.036" critical="yes"></status>
</test>
<test id="s1-s3-s2-t5" name="customerclue_verify_have_join_supplier">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.037" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:32.037" endtime="20211126 10:27:32.037"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/verify/have-join-and-fill</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:32.090" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
path_url=/cloud-print-user-center/verify/have-join-and-fill
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA==', 'Content-Length': '0'}
body=None
</msg>
<msg timestamp="20211126 10:27:32.090" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/verify/have-join-and-fill
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":false}
</msg>
<msg timestamp="20211126 10:27:32.090" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.037" endtime="20211126 10:27:32.090"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.091" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:32.090" endtime="20211126 10:27:32.091"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.091" level="INFO">{'code': 0, 'message': 'successful', 'data': False}</msg>
<status status="PASS" starttime="20211126 10:27:32.091" endtime="20211126 10:27:32.091"></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>False</arg>
<arg>${response.json()["data"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.092" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'bool'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.092" endtime="20211126 10:27:32.092"></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="20211126 10:27:32.092" endtime="20211126 10:27:32.092"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:32.036" endtime="20211126 10:27:32.092" critical="yes"></status>
</test>
<test id="s1-s3-s2-t6" name="customerclue_uploadpictures_supplier">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:32.093" endtime="20211126 10:27:32.093"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.094" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:32.094" endtime="20211126 10:27:32.094"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_businesslicense}</var>
</assign>
<msg timestamp="20211126 10:27:32.095" level="INFO">${supplier_businesslicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:32.095" endtime="20211126 10:27:32.095"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_idcardback}</var>
</assign>
<msg timestamp="20211126 10:27:32.095" level="INFO">${supplier_idcardback} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:32.095" endtime="20211126 10:27:32.095"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_idcardfront}</var>
</assign>
<msg timestamp="20211126 10:27:32.096" level="INFO">${supplier_idcardfront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:32.096" endtime="20211126 10:27:32.096"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${customerclue_type}</var>
</assign>
<msg timestamp="20211126 10:27:32.096" level="INFO">${customerclue_type} = 1</msg>
<status status="PASS" starttime="20211126 10:27:32.096" endtime="20211126 10:27:32.096"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"businessLicense": "${supplier_businesslicense}","idCardBack": "${supplier_idcardback}","idCardFront": "${supplier_idcardfront}","type": ${customerclue_type}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:32.097" level="INFO">${body} = {"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378...</msg>
<status status="PASS" starttime="20211126 10:27:32.096" endtime="20211126 10:27:32.097"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/customerclue/upload-pictures</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:32.155" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
path_url=/cloud-print-user-center/customerclue/upload-pictures
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dYHb2C2Hr2eLeMfz/Y1uXCA==', 'Content-Length': '326'}
body=b'{"businessLicense": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront": "https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type": 1}'
</msg>
<msg timestamp="20211126 10:27:32.155" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/customerclue/upload-pictures
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:32.155" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.097" endtime="20211126 10:27:32.155"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.156" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:32.156" endtime="20211126 10:27:32.156"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.157" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:32.156" endtime="20211126 10:27:32.157"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.157" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.157" endtime="20211126 10:27:32.157"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.157" endtime="20211126 10:27:32.158"></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="20211126 10:27:32.158" endtime="20211126 10:27:32.158"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:32.093" endtime="20211126 10:27:32.158" critical="yes"></status>
</test>
<test id="s1-s3-s2-t7" name="operate_get_user_register_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.159" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:32.159" endtime="20211126 10:27:32.160"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/user/get/user-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:32.605" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
path_url=/cloud-print-user-center/admin/user/get/user-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:32.605" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555750476320768","nickName":null,"mobile":"13123456789","realName":null,"enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-26 10:27:28"},{"id":"661555746592395264","nickName":null,"mobile":"13012345678","realName":null,"enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-26 10:27:27"},{"id":"661543032612589568","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-26 09:36:55"},{"id":"661543027646533632","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-26 09:36:54"},{"id":"661308589817860096","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 18:05:20"},{"id":"661308584231047168","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-25 18:05:19"},{"id":"661307098726010880","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 17:59:24"},{"id":"661307093495713792","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-25 17:59:23"},{"id":"661304845810143232","nickName":null,"mobile":null,"realName":"autotest_name_supplier","enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-25 17:50:27"},{"id":"661304840122667008","nickName":null,"mobile":null,"realName":"autotest_name_customer","enterpriseName":null,"fromApp":"千鸟云工厂","createTime":"2021-11-25 17:50:26"}],"total":427,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":43}}
</msg>
<msg timestamp="20211126 10:27:32.605" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.160" endtime="20211126 10:27:32.605"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.606" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:32.606" endtime="20211126 10:27:32.606"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.607" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555750476320768', 'nickName': None, 'mobile': '13123456789', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-26 10:27:28'}, {'id': '661555746592395264', 'nickName': None, 'mobile': '13012345678', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-26 10:27:27'}, {'id': '661543032612589568', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-26 09:36:55'}, {'id': '661543027646533632', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-26 09:36:54'}, {'id': '661308589817860096', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 18:05:20'}, {'id': '661308584231047168', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-25 18:05:19'}, {'id': '661307098726010880', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 17:59:24'}, {'id': '661307093495713792', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-25 17:59:23'}, {'id': '661304845810143232', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_supplier', 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-25 17:50:27'}, {'id': '661304840122667008', 'nickName': None, 'mobile': None, 'realName': 'autotest_name_customer', 'enterpriseName': None, 'fromApp': '千鸟云工厂', 'createTime': '2021-11-25 17:50:26'}], 'total': 427, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 43}}</msg>
<status status="PASS" starttime="20211126 10:27:32.607" endtime="20211126 10:27:32.607"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.608" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.607" endtime="20211126 10:27:32.608"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.608" endtime="20211126 10:27:32.608"></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="20211126 10:27:32.609" endtime="20211126 10:27:32.609"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:32.159" endtime="20211126 10:27:32.609" critical="yes"></status>
</test>
<test id="s1-s3-s2-t8" name="operate_get_user_register_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.610" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:32.610" endtime="20211126 10:27:32.611"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>mobile=${supplier_account}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:32.611" level="INFO">${param} = mobile=13123456789</msg>
<status status="PASS" starttime="20211126 10:27:32.611" endtime="20211126 10:27:32.611"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/user/get/user-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:32.669" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13123456789
path_url=/cloud-print-user-center/admin/user/get/user-list?mobile=13123456789
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:32.669" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/user/get/user-list?mobile=13123456789
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555750476320768","nickName":null,"mobile":"13123456789","realName":null,"enterpriseName":null,"fromApp":"千鸟纸多多","createTime":"2021-11-26 10:27:28"}],"total":1,"size":10,"current":1,"orders":[{"column":"u.create_time","asc":false}],"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:32.669" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.611" endtime="20211126 10:27:32.669"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.670" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:32.670" endtime="20211126 10:27:32.670"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.671" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555750476320768', 'nickName': None, 'mobile': '13123456789', 'realName': None, 'enterpriseName': None, 'fromApp': '千鸟纸多多', 'createTime': '2021-11-26 10:27:28'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'u.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:32.670" endtime="20211126 10:27:32.671"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.671" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.671" endtime="20211126 10:27:32.671"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.672" endtime="20211126 10:27:32.672"></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>${supplier_account}</arg>
<arg>${response.json()["data"]["records"][0]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.672" endtime="20211126 10:27:32.673"></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="20211126 10:27:32.673" endtime="20211126 10:27:32.673"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:32.609" endtime="20211126 10:27:32.673" critical="yes"></status>
</test>
<test id="s1-s3-s2-t9" name="operate_get_customerclue_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.674" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:32.674" endtime="20211126 10:27:32.675"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/customerclue/page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:32.840" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
path_url=/cloud-print-user-center/admin/get/customerclue/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:32.840" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:32 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555763885510656","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"13123456789","remark":null,"status":1,"operatorName":null,"userId":"661555750476320768","createTime":"2021-11-26 10:27:30","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"661555754129559552","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"13012345678","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"661555746592395264","createTime":"2021-11-26 10:27:28","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659119433914126336","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659119416381935616","createTime":"2021-11-19 17:06:24","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118871223078912","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118857167966208","createTime":"2021-11-19 17:04:10","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118860833787904","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118853195960320","createTime":"2021-11-19 17:04:07","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118221835767808","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"\"13123456789\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118207986176000","createTime":"2021-11-19 17:01:35","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"659118211681357824","name":"autotest_name_customer","companyName":"autotest_companyname_customer","job":"autotest_job_customer","mobile":"\"13012345678\"","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"659118202571329536","createTime":"2021-11-19 17:01:33","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"652586256055799808","name":"df","companyName":"sdf","job":"df","mobile":"13546548548","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"652586236762001408","createTime":"2021-11-01 16:25:53","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"650050752286429184","name":"一休","companyName":"测试","job":"一休","mobile":"15800210584","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"636246482214850560","createTime":"2021-10-25 16:30:42","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"647894856353583104","name":"第三方","companyName":"违法","job":"福","mobile":"13484654654","remark":"autotest_customerclue_remark","status":2,"operatorName":"梁金满","userId":"647894838435516416","createTime":"2021-10-19 17:43:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":135,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":14}}
</msg>
<msg timestamp="20211126 10:27:32.841" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.675" endtime="20211126 10:27:32.841"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.841" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:32.841" endtime="20211126 10:27:32.842"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.842" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555763885510656', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '13123456789', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '661555750476320768', 'createTime': '2021-11-26 10:27:30', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '661555754129559552', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '13012345678', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '661555746592395264', 'createTime': '2021-11-26 10:27:28', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659119433914126336', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659119416381935616', 'createTime': '2021-11-19 17:06:24', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118871223078912', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118857167966208', 'createTime': '2021-11-19 17:04:10', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118860833787904', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118853195960320', 'createTime': '2021-11-19 17:04:07', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118221835767808', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '"13123456789"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118207986176000', 'createTime': '2021-11-19 17:01:35', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '659118211681357824', 'name': 'autotest_name_customer', 'companyName': 'autotest_companyname_customer', 'job': 'autotest_job_customer', 'mobile': '"13012345678"', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '659118202571329536', 'createTime': '2021-11-19 17:01:33', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '652586256055799808', 'name': 'df', 'companyName': 'sdf', 'job': 'df', 'mobile': '13546548548', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '652586236762001408', 'createTime': '2021-11-01 16:25:53', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '650050752286429184', 'name': '一休', 'companyName': '测试', 'job': '一休', 'mobile': '15800210584', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '636246482214850560', 'createTime': '2021-10-25 16:30:42', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '647894856353583104', 'name': '第三方', 'companyName': '违法', 'job': '福', 'mobile': '13484654654', 'remark': 'autotest_customerclue_remark', 'status': 2, 'operatorName': '梁金满', 'userId': '647894838435516416', 'createTime': '2021-10-19 17:43:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 135, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 14}}</msg>
<status status="PASS" starttime="20211126 10:27:32.842" endtime="20211126 10:27:32.842"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.843" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.843" endtime="20211126 10:27:32.843"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.843" endtime="20211126 10:27:32.844"></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>${supplier_account}</arg>
<arg>${response.json()["data"]["records"][0]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.844" endtime="20211126 10:27:32.844"></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>${supplier_companyname}</arg>
<arg>${response.json()["data"]["records"][0]["companyName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.844" endtime="20211126 10:27:32.845"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>${supplier_enterprisetype}</arg>
<arg>${response.json()["data"]["records"][0]["enterpriseType"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.845" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.845" endtime="20211126 10:27:32.845"></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>${supplier_job}</arg>
<arg>${response.json()["data"]["records"][0]["job"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.846" endtime="20211126 10:27:32.846"></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>${supplier_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.846" endtime="20211126 10:27:32.847"></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>${userid_supplier}</arg>
<arg>${response.json()["data"]["records"][0]["userId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:32.847" endtime="20211126 10:27:32.847"></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="20211126 10:27:32.848" endtime="20211126 10:27:32.848"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:32.674" endtime="20211126 10:27:32.848" critical="yes"></status>
</test>
<test id="s1-s3-s2-t10" name="operate_get_customerclue_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:32.849" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:32.849" endtime="20211126 10:27:32.849"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>status=1</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:32.850" level="INFO">${param} = status=1</msg>
<status status="PASS" starttime="20211126 10:27:32.850" endtime="20211126 10:27:32.850"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/customerclue/page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:33.027" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
path_url=/cloud-print-user-center/admin/get/customerclue/page?status=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:33.028" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/customerclue/page?status=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555763885510656","name":"autotest_name_supplier","companyName":"autotest_companyname_supplier","job":"autotest_job_supplier","mobile":"13123456789","remark":null,"status":1,"operatorName":null,"userId":"661555750476320768","createTime":"2021-11-26 10:27:30","detailList":[],"haveJoinEnterprise":false,"enterpriseType":5,"businessLicense":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardFront":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","idCardBack":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},{"id":"633391999982112768","name":"dfg","companyName":"efg","job":"dfhg","mobile":"13647684694","remark":null,"status":1,"operatorName":null,"userId":"633391981627838464","createTime":"2021-09-09 17:14:46","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633391170327810048","name":"sdf","companyName":"fdfg","job":"fsdf","mobile":"13574894646","remark":null,"status":1,"operatorName":null,"userId":"633391150648135680","createTime":"2021-09-09 17:11:28","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633390347971596288","name":"df","companyName":"dfgdf","job":"sdf","mobile":"13435468456","remark":null,"status":1,"operatorName":null,"userId":"633390325460766720","createTime":"2021-09-09 17:08:12","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633388329324384256","name":"123","companyName":"123","job":"3213","mobile":"13654565795","remark":null,"status":1,"operatorName":null,"userId":"633388311670558720","createTime":"2021-09-09 17:00:11","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633366107872432128","name":"42","companyName":"41234","job":"2234","mobile":"13800654654","remark":null,"status":1,"operatorName":null,"userId":"633366083545468928","createTime":"2021-09-09 15:31:53","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"633021599859216384","name":"邓熊飞飞","companyName":"人生无限公司","job":"总监","mobile":"13427033688","remark":null,"status":1,"operatorName":null,"userId":"633020915705319424","createTime":"2021-09-08 16:42:56","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627592338700636160","name":"Wkh","companyName":"Weikaihu","job":"Gggg","mobile":"18911814873","remark":null,"status":1,"operatorName":null,"userId":"571400428810539008","createTime":"2021-08-24 17:08:59","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627584858704711680","name":"324","companyName":"反对过分的","job":"34","mobile":"13416541654","remark":null,"status":1,"operatorName":null,"userId":"627584815327219712","createTime":"2021-08-24 16:39:15","detailList":[],"haveJoinEnterprise":false,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null},{"id":"627475682414432256","name":"2341","companyName":"13123","job":"1323","mobile":"13549849641","remark":null,"status":1,"operatorName":null,"userId":"627474786603372544","createTime":"2021-08-24 09:25:26","detailList":[],"haveJoinEnterprise":true,"enterpriseType":2,"businessLicense":null,"idCardFront":null,"idCardBack":null}],"total":93,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":10}}
</msg>
<msg timestamp="20211126 10:27:33.028" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:32.850" endtime="20211126 10:27:33.028"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.029" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:33.028" endtime="20211126 10:27:33.029"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.029" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555763885510656', 'name': 'autotest_name_supplier', 'companyName': 'autotest_companyname_supplier', 'job': 'autotest_job_supplier', 'mobile': '13123456789', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '661555750476320768', 'createTime': '2021-11-26 10:27:30', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 5, 'businessLicense': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardFront': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'idCardBack': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg'}, {'id': '633391999982112768', 'name': 'dfg', 'companyName': 'efg', 'job': 'dfhg', 'mobile': '13647684694', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633391981627838464', 'createTime': '2021-09-09 17:14:46', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633391170327810048', 'name': 'sdf', 'companyName': 'fdfg', 'job': 'fsdf', 'mobile': '13574894646', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633391150648135680', 'createTime': '2021-09-09 17:11:28', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633390347971596288', 'name': 'df', 'companyName': 'dfgdf', 'job': 'sdf', 'mobile': '13435468456', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633390325460766720', 'createTime': '2021-09-09 17:08:12', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633388329324384256', 'name': '123', 'companyName': '123', 'job': '3213', 'mobile': '13654565795', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633388311670558720', 'createTime': '2021-09-09 17:00:11', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633366107872432128', 'name': '42', 'companyName': '41234', 'job': '2234', 'mobile': '13800654654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633366083545468928', 'createTime': '2021-09-09 15:31:53', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '633021599859216384', 'name': '邓熊飞飞', 'companyName': '人生无限公司', 'job': '总监', 'mobile': '13427033688', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '633020915705319424', 'createTime': '2021-09-08 16:42:56', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627592338700636160', 'name': 'Wkh', 'companyName': 'Weikaihu', 'job': 'Gggg', 'mobile': '18911814873', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '571400428810539008', 'createTime': '2021-08-24 17:08:59', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627584858704711680', 'name': '324', 'companyName': '反对过分的', 'job': '34', 'mobile': '13416541654', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627584815327219712', 'createTime': '2021-08-24 16:39:15', 'detailList': [], 'haveJoinEnterprise': False, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}, {'id': '627475682414432256', 'name': '2341', 'companyName': '13123', 'job': '1323', 'mobile': '13549849641', 'remark': None, 'status': 1, 'operatorName': None, 'userId': '627474786603372544', 'createTime': '2021-08-24 09:25:26', 'detailList': [], 'haveJoinEnterprise': True, 'enterpriseType': 2, 'businessLicense': None, 'idCardFront': None, 'idCardBack': None}], 'total': 93, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 10}}</msg>
<status status="PASS" starttime="20211126 10:27:33.029" endtime="20211126 10:27:33.029"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.030" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:33.030" endtime="20211126 10:27:33.030"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:33.030" endtime="20211126 10:27:33.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>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${customerclue_id}</var>
</assign>
<msg timestamp="20211126 10:27:33.031" level="INFO">${customerclue_id} = 661555763885510656</msg>
<status status="PASS" starttime="20211126 10:27:33.031" endtime="20211126 10:27:33.031"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customerclue_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.032" level="INFO">${customerclue_id} = 661555763885510656</msg>
<status status="PASS" starttime="20211126 10:27:33.031" endtime="20211126 10:27:33.032"></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="20211126 10:27:33.032" endtime="20211126 10:27:33.032"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:32.848" endtime="20211126 10:27:33.032" critical="yes"></status>
</test>
<test id="s1-s3-s2-t11" name="operate_handle_customerclue">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.033" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:33.033" endtime="20211126 10:27:33.033"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_customerclue_remark</arg>
</arguments>
<assign>
<var>${customerclue_remark}</var>
</assign>
<msg timestamp="20211126 10:27:33.034" level="INFO">${customerclue_remark} = autotest_customerclue_remark</msg>
<status status="PASS" starttime="20211126 10:27:33.034" endtime="20211126 10:27:33.034"></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":"${customerclue_id}","adminId":"${operate_adminid}","name":"${operate_adminname}","remark":"${customerclue_remark}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:33.034" level="INFO">${body} = {"id":"661555763885510656","adminId":"498985714734731264","name":"梁金满","remark":"autotest_customerclue_remark"}</msg>
<status status="PASS" starttime="20211126 10:27:33.034" endtime="20211126 10:27:33.034"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/handle/customerclue</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:33.092" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
path_url=/cloud-print-user-center/admin/handle/customerclue
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '117'}
body=b'{"id":"661555763885510656","adminId":"498985714734731264","name":"\xe6\xa2\x81\xe9\x87\x91\xe6\xbb\xa1","remark":"autotest_customerclue_remark"}'
</msg>
<msg timestamp="20211126 10:27:33.092" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/handle/customerclue
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:33.093" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:33.034" endtime="20211126 10:27:33.093"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.093" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:33.093" endtime="20211126 10:27:33.093"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.094" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:33.094" endtime="20211126 10:27:33.094"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.094" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:33.094" endtime="20211126 10:27:33.095"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:33.095" endtime="20211126 10:27:33.095"></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="20211126 10:27:33.095" endtime="20211126 10:27:33.095"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:33.032" endtime="20211126 10:27:33.096" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:30.722" endtime="20211126 10:27:33.096"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:28.399" endtime="20211126 10:27:33.099"></status>
</suite>
<suite id="s1-s4" name="003 Enterprise Open Account Customer" source="/root/yyt-trading-rf-api/003_enterprise_open_account_customer">
<suite id="s1-s4-s1" name="Printing Packaging Factory Open Account" source="/root/yyt-trading-rf-api/003_enterprise_open_account_customer/printing_packaging_factory_open_account.robot">
<test id="s1-s4-s1-t1" name="operate_open_account_printing_packaging_factory">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:33.110" endtime="20211126 10:27:33.110"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.110" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:33.110" endtime="20211126 10:27:33.111"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_printing_packaging_factory_name</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_name}</var>
</assign>
<msg timestamp="20211126 10:27:33.111" level="INFO">${printing_packaging_factory_name} = autotest_printing_packaging_factory_name</msg>
<status status="PASS" starttime="20211126 10:27:33.111" endtime="20211126 10:27:33.111"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_type}</var>
</assign>
<msg timestamp="20211126 10:27:33.111" level="INFO">${printing_packaging_factory_type} = 2</msg>
<status status="PASS" starttime="20211126 10:27:33.111" endtime="20211126 10:27:33.111"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_shortname</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_shortname}</var>
</assign>
<msg timestamp="20211126 10:27:33.112" level="INFO">${printing_packaging_factory_shortname} = autotest_shortname</msg>
<status status="PASS" starttime="20211126 10:27:33.112" endtime="20211126 10:27:33.112"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_91440101MA59F2J10M</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_uniformsocialcreditcode}</var>
</assign>
<msg timestamp="20211126 10:27:33.112" level="INFO">${printing_packaging_factory_uniformsocialcreditcode} = autotest_91440101MA59F2J10M</msg>
<status status="PASS" starttime="20211126 10:27:33.112" endtime="20211126 10:27:33.112"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_printing_packaging_factory_locdetail</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdetail}</var>
</assign>
<msg timestamp="20211126 10:27:33.112" level="INFO">${printing_packaging_factory_locdetail} = autotest_printing_packaging_factory_locdetail</msg>
<status status="PASS" starttime="20211126 10:27:33.112" endtime="20211126 10:27:33.113"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalperson</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalpersonname}</var>
</assign>
<msg timestamp="20211126 10:27:33.113" level="INFO">${printing_packaging_factory_legalpersonname} = autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:33.113" endtime="20211126 10:27:33.113"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalpersonidcardno</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalpersonidcardno}</var>
</assign>
<msg timestamp="20211126 10:27:33.113" level="INFO">${printing_packaging_factory_legalpersonidcardno} = autotest_legalpersonidcardno</msg>
<status status="PASS" starttime="20211126 10:27:33.113" endtime="20211126 10:27:33.113"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locprovinceid}</var>
</assign>
<msg timestamp="20211126 10:27:33.114" level="INFO">${printing_packaging_factory_locprovinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:33.114" endtime="20211126 10:27:33.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_loccityid}</var>
</assign>
<msg timestamp="20211126 10:27:33.114" level="INFO">${printing_packaging_factory_loccityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:33.114" endtime="20211126 10:27:33.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdistrictid}</var>
</assign>
<msg timestamp="20211126 10:27:33.114" level="INFO">${printing_packaging_factory_locdistrictid} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:33.114" endtime="20211126 10:27:33.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locstreetid}</var>
</assign>
<msg timestamp="20211126 10:27:33.115" level="INFO">${printing_packaging_factory_locstreetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:33.115" endtime="20211126 10:27:33.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locprovincename}</var>
</assign>
<msg timestamp="20211126 10:27:33.115" level="INFO">${printing_packaging_factory_locprovincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:33.115" endtime="20211126 10:27:33.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_loccityname}</var>
</assign>
<msg timestamp="20211126 10:27:33.115" level="INFO">${printing_packaging_factory_loccityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:33.115" endtime="20211126 10:27:33.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdistrictname}</var>
</assign>
<msg timestamp="20211126 10:27:33.116" level="INFO">${printing_packaging_factory_locdistrictname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:33.116" endtime="20211126 10:27:33.116"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locstreetname}</var>
</assign>
<msg timestamp="20211126 10:27:33.116" level="INFO">${printing_packaging_factory_locstreetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:33.116" endtime="20211126 10:27:33.116"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"name":"${printing_packaging_factory_name}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:33.117" level="INFO">${body} = {"name":"autotest_printing_packaging_factory_name","type":2,"shortName":"autotest_shortname","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","locDetail":"autotest_printing_packaging_factory_lo...</msg>
<status status="PASS" starttime="20211126 10:27:33.116" endtime="20211126 10:27:33.117"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${printing_packaging_factory_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.118" level="INFO">${printing_packaging_factory_name} = autotest_printing_packaging_factory_name</msg>
<status status="PASS" starttime="20211126 10:27:33.117" endtime="20211126 10:27:33.118"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${printing_packaging_factory_shortname}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.118" level="INFO">${printing_packaging_factory_shortname} = autotest_shortname</msg>
<status status="PASS" starttime="20211126 10:27:33.118" endtime="20211126 10:27:33.118"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${printing_packaging_factory_legalpersonname}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.118" level="INFO">${printing_packaging_factory_legalpersonname} = autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:33.118" endtime="20211126 10:27:33.119"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${printing_packaging_factory_legalpersonidcardno}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.119" level="INFO">${printing_packaging_factory_legalpersonidcardno} = autotest_legalpersonidcardno</msg>
<status status="PASS" starttime="20211126 10:27:33.119" endtime="20211126 10:27:33.119"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/enterprise</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:33.305" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise
path_url=/cloud-print-user-center/admin/save/enterprise
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '509'}
body=b'{"name":"autotest_printing_packaging_factory_name","type":2,"shortName":"autotest_shortname","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","locDetail":"autotest_printing_packaging_factory_locdetail","legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}'
</msg>
<msg timestamp="20211126 10:27:33.305" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:33.306" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:33.119" endtime="20211126 10:27:33.306"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.307" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:33.306" endtime="20211126 10:27:33.307"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.307" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:33.307" endtime="20211126 10:27:33.307"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:33.308" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:33.308" endtime="20211126 10:27:33.308"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:33.308" endtime="20211126 10:27:33.309"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:34.309" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:33.309" endtime="20211126 10:27:34.309"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:33.109" endtime="20211126 10:27:34.310" critical="yes"></status>
</test>
<test id="s1-s4-s1-t2" name="operate_get_printing_packaging_factory_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.311" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:34.311" endtime="20211126 10:27:34.311"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/packaging-printing-mill-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:34.368" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:34.369" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:34 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555773826011136","name":"autotest_printing_packaging_factory_name","shortName":"autotest_shortname","legalPersonName":"autotest_legalperson","hasCredit":0,"createTime":"2021-11-26 10:27:33","status":0},{"id":"660830324686721024","name":"&lt;tag on*=*/&gt;","shortName":"&lt;tag on*=*/&gt;","legalPersonName":"&lt;tag on*=*/&gt;","hasCredit":0,"createTime":"2021-11-24 10:24:53","status":0},{"id":"37","name":"梓兴纸制品有限公司","shortName":null,"legalPersonName":null,"hasCredit":0,"createTime":"2021-01-20 15:04:08","status":0},{"id":"653280697334763520","name":"骏富国际多发几个包vv吧","shortName":"骏富国际多发几个包vv吧","legalPersonName":"骏富国际多发几个包vv吧","hasCredit":0,"createTime":"2021-11-03 14:25:21","status":0},{"id":"651482452493209600","name":"测试杠","shortName":"测试杠","legalPersonName":"测试杠","hasCredit":0,"createTime":"2021-10-29 15:19:46","status":0},{"id":"651117713762160640","name":"统计客户","shortName":"统计客户","legalPersonName":"统计客户","hasCredit":1,"createTime":"2021-10-28 15:10:26","status":0},{"id":"651116880207155200","name":"123356345345","shortName":"123356345345","legalPersonName":"123356345345","hasCredit":0,"createTime":"2021-10-28 15:07:07","status":0},{"id":"651116728784392192","name":"1111ssxx","shortName":"sd","legalPersonName":"444","hasCredit":1,"createTime":"2021-10-28 15:06:31","status":0},{"id":"651116289812729856","name":"2222XXX","shortName":"444","legalPersonName":"4444","hasCredit":1,"createTime":"2021-10-28 15:04:46","status":0},{"id":"651107960398942208","name":"DDDDDS","shortName":"SDS","legalPersonName":"3333","hasCredit":0,"createTime":"2021-10-28 14:31:40","status":0}],"total":82,"size":10,"current":1,"orders":[{"column":"p.create_time","asc":false}],"searchCount":true,"pages":9}}
</msg>
<msg timestamp="20211126 10:27:34.369" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.312" endtime="20211126 10:27:34.369"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.370" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:34.369" endtime="20211126 10:27:34.370"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.370" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555773826011136', 'name': 'autotest_printing_packaging_factory_name', 'shortName': 'autotest_shortname', 'legalPersonName': 'autotest_legalperson', 'hasCredit': 0, 'createTime': '2021-11-26 10:27:33', 'status': 0}, {'id': '660830324686721024', 'name': '&lt;tag on*=*/&gt;', 'shortName': '&lt;tag on*=*/&gt;', 'legalPersonName': '&lt;tag on*=*/&gt;', 'hasCredit': 0, 'createTime': '2021-11-24 10:24:53', 'status': 0}, {'id': '37', 'name': '梓兴纸制品有限公司', 'shortName': None, 'legalPersonName': None, 'hasCredit': 0, 'createTime': '2021-01-20 15:04:08', 'status': 0}, {'id': '653280697334763520', 'name': '骏富国际多发几个包vv吧', 'shortName': '骏富国际多发几个包vv吧', 'legalPersonName': '骏富国际多发几个包vv吧', 'hasCredit': 0, 'createTime': '2021-11-03 14:25:21', 'status': 0}, {'id': '651482452493209600', 'name': '测试杠', 'shortName': '测试杠', 'legalPersonName': '测试杠', 'hasCredit': 0, 'createTime': '2021-10-29 15:19:46', 'status': 0}, {'id': '651117713762160640', 'name': '统计客户', 'shortName': '统计客户', 'legalPersonName': '统计客户', 'hasCredit': 1, 'createTime': '2021-10-28 15:10:26', 'status': 0}, {'id': '651116880207155200', 'name': '123356345345', 'shortName': '123356345345', 'legalPersonName': '123356345345', 'hasCredit': 0, 'createTime': '2021-10-28 15:07:07', 'status': 0}, {'id': '651116728784392192', 'name': '1111ssxx', 'shortName': 'sd', 'legalPersonName': '444', 'hasCredit': 1, 'createTime': '2021-10-28 15:06:31', 'status': 0}, {'id': '651116289812729856', 'name': '2222XXX', 'shortName': '444', 'legalPersonName': '4444', 'hasCredit': 1, 'createTime': '2021-10-28 15:04:46', 'status': 0}, {'id': '651107960398942208', 'name': 'DDDDDS', 'shortName': 'SDS', 'legalPersonName': '3333', 'hasCredit': 0, 'createTime': '2021-10-28 14:31:40', 'status': 0}], 'total': 82, 'size': 10, 'current': 1, 'orders': [{'column': 'p.create_time', 'asc': False}], 'searchCount': True, 'pages': 9}}</msg>
<status status="PASS" starttime="20211126 10:27:34.370" endtime="20211126 10:27:34.370"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.371" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.371" endtime="20211126 10:27:34.371"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.371" endtime="20211126 10:27:34.372"></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>${printing_packaging_factory_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.372" endtime="20211126 10:27:34.372"></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>${printing_packaging_factory_shortname}</arg>
<arg>${response.json()["data"]["records"][0]["shortName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.373" endtime="20211126 10:27:34.373"></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>${printing_packaging_factory_legalpersonname}</arg>
<arg>${response.json()["data"]["records"][0]["legalPersonName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.373" endtime="20211126 10:27:34.374"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:34.310" endtime="20211126 10:27:34.374" critical="yes"></status>
</test>
<test id="s1-s4-s1-t3" name="operate_get_printing_packaging_factory_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.375" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:34.375" endtime="20211126 10:27:34.375"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>name=${printing_packaging_factory_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:34.376" level="INFO">${param} = name=autotest_printing_packaging_factory_name</msg>
<status status="PASS" starttime="20211126 10:27:34.375" endtime="20211126 10:27:34.376"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/packaging-printing-mill-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:34.430" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list?name=autotest_printing_packaging_factory_name
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill-list?name=autotest_printing_packaging_factory_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:34.430" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill-list?name=autotest_printing_packaging_factory_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:34 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555773826011136","name":"autotest_printing_packaging_factory_name","shortName":"autotest_shortname","legalPersonName":"autotest_legalperson","hasCredit":0,"createTime":"2021-11-26 10:27:33","status":0}],"total":1,"size":10,"current":1,"orders":[{"column":"p.create_time","asc":false}],"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:34.430" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.376" endtime="20211126 10:27:34.430"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.431" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:34.431" endtime="20211126 10:27:34.431"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.432" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555773826011136', 'name': 'autotest_printing_packaging_factory_name', 'shortName': 'autotest_shortname', 'legalPersonName': 'autotest_legalperson', 'hasCredit': 0, 'createTime': '2021-11-26 10:27:33', 'status': 0}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'p.create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:34.431" endtime="20211126 10:27:34.432"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.432" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.432" endtime="20211126 10:27:34.432"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.432" endtime="20211126 10:27:34.433"></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>${printing_packaging_factory_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.433" endtime="20211126 10:27:34.433"></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>${printing_packaging_factory_shortname}</arg>
<arg>${response.json()["data"]["records"][0]["shortName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.434" endtime="20211126 10:27:34.434"></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>${printing_packaging_factory_legalpersonname}</arg>
<arg>${response.json()["data"]["records"][0]["legalPersonName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.434" endtime="20211126 10:27:34.435"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_id}</var>
</assign>
<msg timestamp="20211126 10:27:34.435" level="INFO">${printing_packaging_factory_id} = 661555773826011136</msg>
<status status="PASS" starttime="20211126 10:27:34.435" endtime="20211126 10:27:34.435"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.436" level="INFO">${printing_packaging_factory_id} = 661555773826011136</msg>
<status status="PASS" starttime="20211126 10:27:34.435" endtime="20211126 10:27:34.436"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:34.374" endtime="20211126 10:27:34.436" critical="yes"></status>
</test>
<test id="s1-s4-s1-t4" name="operate_get_printing_packaging_factory_modify_state">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecops</arg>
<arg>${uecops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.437" level="INFO">Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:34.437" endtime="20211126 10:27:34.437"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","status":1}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:34.438" level="INFO">${body} = {"enterpriseId":"661555773826011136","status":1}</msg>
<status status="PASS" starttime="20211126 10:27:34.438" endtime="20211126 10:27:34.438"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecops</arg>
<arg>/uec/admin/modify/enterprise/state</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:34.481" level="INFO">POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/modify/enterprise/state
path_url=/uec/admin/modify/enterprise/state
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '48'}
body=b'{"enterpriseId":"661555773826011136","status":1}'
</msg>
<msg timestamp="20211126 10:27:34.481" level="INFO">POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/modify/enterprise/state
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:34 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":null}
</msg>
<msg timestamp="20211126 10:27:34.481" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.438" endtime="20211126 10:27:34.482"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.482" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:34.482" endtime="20211126 10:27:34.482"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.483" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:34.482" endtime="20211126 10:27:34.483"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.483" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.483" endtime="20211126 10:27:34.483"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.484" endtime="20211126 10:27:34.484"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:34.436" endtime="20211126 10:27:34.484" critical="yes"></status>
</test>
<test id="s1-s4-s1-t5" name="operate_save_printing_packaging_factory_base_info">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:34.485" endtime="20211126 10:27:34.485"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.486" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:34.485" endtime="20211126 10:27:34.486"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_printing_packaging_factory_name</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_name}</var>
</assign>
<msg timestamp="20211126 10:27:34.486" level="INFO">${printing_packaging_factory_name} = autotest_printing_packaging_factory_name</msg>
<status status="PASS" starttime="20211126 10:27:34.486" endtime="20211126 10:27:34.486"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_type}</var>
</assign>
<msg timestamp="20211126 10:27:34.487" level="INFO">${printing_packaging_factory_type} = 2</msg>
<status status="PASS" starttime="20211126 10:27:34.487" endtime="20211126 10:27:34.487"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_shortname</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_shortname}</var>
</assign>
<msg timestamp="20211126 10:27:34.487" level="INFO">${printing_packaging_factory_shortname} = autotest_shortname</msg>
<status status="PASS" starttime="20211126 10:27:34.487" endtime="20211126 10:27:34.487"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_91440101MA59F2J10M</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_uniformsocialcreditcode}</var>
</assign>
<msg timestamp="20211126 10:27:34.487" level="INFO">${printing_packaging_factory_uniformsocialcreditcode} = autotest_91440101MA59F2J10M</msg>
<status status="PASS" starttime="20211126 10:27:34.487" endtime="20211126 10:27:34.487"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_printing_packaging_factory_locdetail</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdetail}</var>
</assign>
<msg timestamp="20211126 10:27:34.488" level="INFO">${printing_packaging_factory_locdetail} = autotest_printing_packaging_factory_locdetail</msg>
<status status="PASS" starttime="20211126 10:27:34.488" endtime="20211126 10:27:34.488"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalperson</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalpersonname}</var>
</assign>
<msg timestamp="20211126 10:27:34.488" level="INFO">${printing_packaging_factory_legalpersonname} = autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:34.488" endtime="20211126 10:27:34.488"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalpersonidcardno</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalpersonidcardno}</var>
</assign>
<msg timestamp="20211126 10:27:34.488" level="INFO">${printing_packaging_factory_legalpersonidcardno} = autotest_legalpersonidcardno</msg>
<status status="PASS" starttime="20211126 10:27:34.488" endtime="20211126 10:27:34.488"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locprovinceid}</var>
</assign>
<msg timestamp="20211126 10:27:34.489" level="INFO">${printing_packaging_factory_locprovinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:34.489" endtime="20211126 10:27:34.489"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_loccityid}</var>
</assign>
<msg timestamp="20211126 10:27:34.489" level="INFO">${printing_packaging_factory_loccityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:34.489" endtime="20211126 10:27:34.489"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdistrictid}</var>
</assign>
<msg timestamp="20211126 10:27:34.489" level="INFO">${printing_packaging_factory_locdistrictid} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:34.489" endtime="20211126 10:27:34.489"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locstreetid}</var>
</assign>
<msg timestamp="20211126 10:27:34.490" level="INFO">${printing_packaging_factory_locstreetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:34.489" endtime="20211126 10:27:34.490"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locprovincename}</var>
</assign>
<msg timestamp="20211126 10:27:34.490" level="INFO">${printing_packaging_factory_locprovincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:34.490" endtime="20211126 10:27:34.490"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_loccityname}</var>
</assign>
<msg timestamp="20211126 10:27:34.490" level="INFO">${printing_packaging_factory_loccityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:34.490" endtime="20211126 10:27:34.490"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdistrictname}</var>
</assign>
<msg timestamp="20211126 10:27:34.491" level="INFO">${printing_packaging_factory_locdistrictname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:34.490" endtime="20211126 10:27:34.491"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locstreetname}</var>
</assign>
<msg timestamp="20211126 10:27:34.491" level="INFO">${printing_packaging_factory_locstreetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:34.491" endtime="20211126 10:27:34.491"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalpersonmobile}</var>
</assign>
<msg timestamp="20211126 10:27:34.491" level="INFO">${printing_packaging_factory_legalpersonmobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:27:34.491" endtime="20211126 10:27:34.491"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_businessLicense}</var>
</assign>
<msg timestamp="20211126 10:27:34.492" level="INFO">${printing_packaging_factory_businessLicense} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:34.492" endtime="20211126 10:27:34.492"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalPersonIdCardBack}</var>
</assign>
<msg timestamp="20211126 10:27:34.492" level="INFO">${printing_packaging_factory_legalPersonIdCardBack} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:34.492" endtime="20211126 10:27:34.492"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalPersonIdCardFront}</var>
</assign>
<msg timestamp="20211126 10:27:34.492" level="INFO">${printing_packaging_factory_legalPersonIdCardFront} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:34.492" endtime="20211126 10:27:34.492"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","id":"${printing_packaging_factory_id}","createTime":"${current_date_second}","updateTime":"${current_date_second}","name":"${printing_packaging_factory_name}","uniformSocialCreditCode":"${printing_packaging_factory_uniformsocialcreditcode}","locProvinceId":${printing_packaging_factory_locprovinceid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityId":${printing_packaging_factory_loccityid},"locCityName":"${printing_packaging_factory_loccityname}","locDistrictId":${printing_packaging_factory_locdistrictid},"locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetId":${printing_packaging_factory_locstreetid},"locStreetName":"${printing_packaging_factory_locstreetname}","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","legalPersonIdCardNo":"${printing_packaging_factory_legalpersonidcardno}","legalPersonMobile":"${printing_packaging_factory_legalpersonmobile}","type":${printing_packaging_factory_type},"shortName":"${printing_packaging_factory_shortname}","registeredCapital":999,"incomeInPastTwoYears":100,"regAddrLongitude":null,"regAddrLatitude":null,"birthday":"${current_date}","cooperationTime":"${current_date_month}","legalPersonIdCardFrontImg":"${printing_packaging_factory_legalPersonIdCardFront}","legalPersonIdCardBackImg":null,"businessLicenseImg":"${printing_packaging_factory_businessLicense}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:34.494" level="INFO">${body} = {"enterpriseId":"661555773826011136","id":"661555773826011136","createTime":"2021-11-26 10:27:26","updateTime":"2021-11-26 10:27:26","name":"autotest_printing_packaging_factory_name","uniformSocialCre...</msg>
<status status="PASS" starttime="20211126 10:27:34.493" endtime="20211126 10:27:34.494"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/packaging-printing-mill/base-info</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:34.582" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
path_url=/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '1084'}
body=b'{"enterpriseId":"661555773826011136","id":"661555773826011136","createTime":"2021-11-26 10:27:26","updateTime":"2021-11-26 10:27:26","name":"autotest_printing_packaging_factory_name","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","locProvinceId":440000,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityId":440100,"locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictId":440106,"locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetId":440106003,"locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","locDetail":"autotest_printing_packaging_factory_locdetail","legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","type":2,"shortName":"autotest_shortname","registeredCapital":999,"incomeInPastTwoYears":100,"regAddrLongitude":null,"regAddrLatitude":null,"birthday":"2021-11-26","cooperationTime":"2021-11","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":null,"businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
</msg>
<msg timestamp="20211126 10:27:34.582" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/packaging-printing-mill/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:34 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:34.583" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.494" endtime="20211126 10:27:34.583"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.583" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:34.583" endtime="20211126 10:27:34.584"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.584" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:34.584" endtime="20211126 10:27:34.584"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:34.585" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:34.584" endtime="20211126 10:27:34.585"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:34.585" endtime="20211126 10:27:34.585"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:35.586" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:34.586" endtime="20211126 10:27:35.586"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:34.484" endtime="20211126 10:27:35.587" critical="yes"></status>
</test>
<test id="s1-s4-s1-t6" name="operate_save_printing_packaging_factory_baseinfo_factory_related_information">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:35.588" endtime="20211126 10:27:35.588"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:35.588" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:35.588" endtime="20211126 10:27:35.589"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_printing_packaging_factory_locdetail</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdetail}</var>
</assign>
<msg timestamp="20211126 10:27:35.589" level="INFO">${printing_packaging_factory_locdetail} = autotest_printing_packaging_factory_locdetail</msg>
<status status="PASS" starttime="20211126 10:27:35.589" endtime="20211126 10:27:35.589"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locprovinceid}</var>
</assign>
<msg timestamp="20211126 10:27:35.589" level="INFO">${printing_packaging_factory_locprovinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:35.589" endtime="20211126 10:27:35.589"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_loccityid}</var>
</assign>
<msg timestamp="20211126 10:27:35.590" level="INFO">${printing_packaging_factory_loccityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:35.590" endtime="20211126 10:27:35.590"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdistrictid}</var>
</assign>
<msg timestamp="20211126 10:27:35.590" level="INFO">${printing_packaging_factory_locdistrictid} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:35.590" endtime="20211126 10:27:35.590"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locstreetid}</var>
</assign>
<msg timestamp="20211126 10:27:35.590" level="INFO">${printing_packaging_factory_locstreetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:35.590" endtime="20211126 10:27:35.590"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locprovincename}</var>
</assign>
<msg timestamp="20211126 10:27:35.591" level="INFO">${printing_packaging_factory_locprovincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:35.590" endtime="20211126 10:27:35.591"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_loccityname}</var>
</assign>
<msg timestamp="20211126 10:27:35.591" level="INFO">${printing_packaging_factory_loccityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:35.591" endtime="20211126 10:27:35.591"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locdistrictname}</var>
</assign>
<msg timestamp="20211126 10:27:35.591" level="INFO">${printing_packaging_factory_locdistrictname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:35.591" endtime="20211126 10:27:35.591"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_locstreetname}</var>
</assign>
<msg timestamp="20211126 10:27:35.592" level="INFO">${printing_packaging_factory_locstreetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:35.591" endtime="20211126 10:27:35.592"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_legalpersonmobile}</var>
</assign>
<msg timestamp="20211126 10:27:35.592" level="INFO">${printing_packaging_factory_legalpersonmobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:27:35.592" endtime="20211126 10:27:35.592"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_factoryphotos}</var>
</assign>
<msg timestamp="20211126 10:27:35.592" level="INFO">${printing_packaging_factory_factoryphotos} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:35.592" endtime="20211126 10:27:35.592"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_leasecontract}</var>
</assign>
<msg timestamp="20211126 10:27:35.593" level="INFO">${printing_packaging_factory_leasecontract} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:35.592" endtime="20211126 10:27:35.593"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_mainproducts</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_mainproducts}</var>
</assign>
<msg timestamp="20211126 10:27:35.593" level="INFO">${printing_packaging_factory_mainproducts} = autotest_mainproducts</msg>
<status status="PASS" starttime="20211126 10:27:35.593" endtime="20211126 10:27:35.593"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","leaseContractImg":"${printing_packaging_factory_leasecontract}","factoryPhotos":"${printing_packaging_factory_factoryphotos}","mainProducts":"${printing_packaging_factory_mainproducts}","businessAnnualVolume":"9990000","locLatitude":"23.119958","locLongitude":"113.406448","locDetail":"${printing_packaging_factory_locdetail}","legalPersonName":"${printing_packaging_factory_legalpersonname}","locProvinceId":${printing_packaging_factory_locprovinceid},"locCityId":${printing_packaging_factory_loccityid},"locDistrictId":${printing_packaging_factory_locdistrictid},"locStreetId":${printing_packaging_factory_locstreetid},"locProvinceName":"${printing_packaging_factory_locprovincename}","locCityName":"${printing_packaging_factory_loccityname}","locDistrictName":"${printing_packaging_factory_locdistrictname}","locStreetName":"${printing_packaging_factory_locstreetname}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:35.594" level="INFO">${body} = {"enterpriseId":"661555773826011136","leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-sh...</msg>
<status status="PASS" starttime="20211126 10:27:35.593" endtime="20211126 10:27:35.594"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/factory</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:35.724" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory
path_url=/cloud-print-user-center/admin/save/factory
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '683'}
body=b'{"enterpriseId":"661555773826011136","leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","mainProducts":"autotest_mainproducts","businessAnnualVolume":"9990000","locLatitude":"23.119958","locLongitude":"113.406448","locDetail":"autotest_printing_packaging_factory_locdetail","legalPersonName":"autotest_legalperson","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}'
</msg>
<msg timestamp="20211126 10:27:35.725" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:35 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:35.725" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:35.594" endtime="20211126 10:27:35.725"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:35.726" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:35.725" endtime="20211126 10:27:35.726"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:35.726" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:35.726" endtime="20211126 10:27:35.726"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:35.727" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:35.727" endtime="20211126 10:27:35.727"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:35.727" endtime="20211126 10:27:35.728"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:36.729" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:35.728" endtime="20211126 10:27:36.729"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:35.587" endtime="20211126 10:27:36.729" critical="yes"></status>
</test>
<test id="s1-s4-s1-t7" name="operate_save_printing_packaging_factory_baseinfo_enterprise_shipping_addresses">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:36.730" endtime="20211126 10:27:36.731"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecops</arg>
<arg>${uecops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:36.731" level="INFO">Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:36.731" endtime="20211126 10:27:36.732"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_printing_packaging_factory_locdetail</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_detail}</var>
</assign>
<msg timestamp="20211126 10:27:36.732" level="INFO">${printing_packaging_factory_detail} = autotest_printing_packaging_factory_locdetail</msg>
<status status="PASS" starttime="20211126 10:27:36.732" endtime="20211126 10:27:36.732"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_provinceid}</var>
</assign>
<msg timestamp="20211126 10:27:36.732" level="INFO">${printing_packaging_factory_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:36.732" endtime="20211126 10:27:36.732"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_cityid}</var>
</assign>
<msg timestamp="20211126 10:27:36.733" level="INFO">${printing_packaging_factory_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:36.733" endtime="20211126 10:27:36.733"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_districtid}</var>
</assign>
<msg timestamp="20211126 10:27:36.733" level="INFO">${printing_packaging_factory_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:36.733" endtime="20211126 10:27:36.733"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_streetid}</var>
</assign>
<msg timestamp="20211126 10:27:36.734" level="INFO">${printing_packaging_factory_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:36.733" endtime="20211126 10:27:36.734"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_provincename}</var>
</assign>
<msg timestamp="20211126 10:27:36.734" level="INFO">${printing_packaging_factory_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:36.734" endtime="20211126 10:27:36.734"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_cityname}</var>
</assign>
<msg timestamp="20211126 10:27:36.734" level="INFO">${printing_packaging_factory_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:36.734" endtime="20211126 10:27:36.734"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_districtname}</var>
</assign>
<msg timestamp="20211126 10:27:36.735" level="INFO">${printing_packaging_factory_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:36.734" endtime="20211126 10:27:36.735"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_streetname}</var>
</assign>
<msg timestamp="20211126 10:27:36.735" level="INFO">${printing_packaging_factory_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:36.735" endtime="20211126 10:27:36.735"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_receiver</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_receiver}</var>
</assign>
<msg timestamp="20211126 10:27:36.735" level="INFO">${printing_packaging_factory_receiver} = autotest_receiver</msg>
<status status="PASS" starttime="20211126 10:27:36.735" endtime="20211126 10:27:36.735"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_receivermobile}</var>
</assign>
<msg timestamp="20211126 10:27:36.736" level="INFO">${printing_packaging_factory_receivermobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:27:36.736" endtime="20211126 10:27:36.736"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","receiverMobile":"${printing_packaging_factory_receivermobile}","receiver":"${printing_packaging_factory_receiver}","receiveEnterpriseName":"${printing_packaging_factory_name}","enterpriseShippingAddressList":[{"detail":"${printing_packaging_factory_detail}","provinceId":${printing_packaging_factory_provinceid},"cityId":${printing_packaging_factory_cityid},"districtId":${printing_packaging_factory_districtid},"streetId":${printing_packaging_factory_streetid},"provinceName":"${printing_packaging_factory_provincename}","cityName":"${printing_packaging_factory_cityname}","districtName":"${printing_packaging_factory_districtname}","streetName":"${printing_packaging_factory_streetname}"}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:36.737" level="INFO">${body} = {"enterpriseId":"661555773826011136","receiverMobile":"13800138000","receiver":"autotest_receiver","receiveEnterpriseName":"autotest_printing_packaging_factory_name","enterpriseShippingAddressList":[{...</msg>
<status status="PASS" starttime="20211126 10:27:36.736" endtime="20211126 10:27:36.737"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecops</arg>
<arg>/uec/admin/save/enterprise-shipping-addresses</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:36.774" level="INFO">POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise-shipping-addresses
path_url=/uec/admin/save/enterprise-shipping-addresses
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '441'}
body=b'{"enterpriseId":"661555773826011136","receiverMobile":"13800138000","receiver":"autotest_receiver","receiveEnterpriseName":"autotest_printing_packaging_factory_name","enterpriseShippingAddressList":[{"detail":"autotest_printing_packaging_factory_locdetail","provinceId":440000,"cityId":440100,"districtId":440106,"streetId":440106003,"provinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","cityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","districtName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","streetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}]}'
</msg>
<msg timestamp="20211126 10:27:36.774" level="INFO">POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise-shipping-addresses
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:36 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":null}
</msg>
<msg timestamp="20211126 10:27:36.774" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:36.737" endtime="20211126 10:27:36.774"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:36.775" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:36.775" endtime="20211126 10:27:36.775"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:36.776" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:36.775" endtime="20211126 10:27:36.776"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:36.776" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:36.776" endtime="20211126 10:27:36.777"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:36.777" endtime="20211126 10:27:36.777"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:37.778" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:36.777" endtime="20211126 10:27:37.778"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:36.730" endtime="20211126 10:27:37.778" critical="yes"></status>
</test>
<test id="s1-s4-s1-t8" name="operate_save_printing_packaging_factory_settlementaccountinfo_enterprise_scrappaper_credit">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:37.779" endtime="20211126 10:27:37.780"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:37.780" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:37.780" endtime="20211126 10:27:37.781"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","deposit":990000,"earnest":900000,"totalUsed":90000}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:37.782" level="INFO">${body} = {"enterpriseId":"661555773826011136","deposit":990000,"earnest":900000,"totalUsed":90000}</msg>
<status status="PASS" starttime="20211126 10:27:37.781" endtime="20211126 10:27:37.782"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:37.916" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
path_url=/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '89'}
body=b'{"enterpriseId":"661555773826011136","deposit":990000,"earnest":900000,"totalUsed":90000}'
</msg>
<msg timestamp="20211126 10:27:37.916" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-scrap-paper-credit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:37 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:37.916" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:37.782" endtime="20211126 10:27:37.916"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:37.917" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:37.916" endtime="20211126 10:27:37.917"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:37.918" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:37.917" endtime="20211126 10:27:37.918"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:37.918" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:37.918" endtime="20211126 10:27:37.918"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:37.918" endtime="20211126 10:27:37.919"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:38.919" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:37.919" endtime="20211126 10:27:38.920"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:37.779" endtime="20211126 10:27:38.920" critical="yes"></status>
</test>
<test id="s1-s4-s1-t9" name="operate_save_printing_packaging_factory_settlementaccountinfo_enterprise_private_account">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:38.921" endtime="20211126 10:27:38.922"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecops</arg>
<arg>${uecops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:38.922" level="INFO">Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:38.922" endtime="20211126 10:27:38.922"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_name</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_cardholdername}</var>
</assign>
<msg timestamp="20211126 10:27:38.923" level="INFO">${printing_packaging_factory_cardholdername} = autotest_name</msg>
<status status="PASS" starttime="20211126 10:27:38.923" endtime="20211126 10:27:38.923"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_bankcardnumber</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_bankcardnumber}</var>
</assign>
<msg timestamp="20211126 10:27:38.923" level="INFO">${printing_packaging_factory_bankcardnumber} = autotest_bankcardnumber</msg>
<status status="PASS" starttime="20211126 10:27:38.923" endtime="20211126 10:27:38.923"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_openingbank</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_openingbank}</var>
</assign>
<msg timestamp="20211126 10:27:38.924" level="INFO">${printing_packaging_factory_openingbank} = autotest_openingbank</msg>
<status status="PASS" starttime="20211126 10:27:38.923" endtime="20211126 10:27:38.924"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","list":[{"cardholderName":"${printing_packaging_factory_cardholdername}","bankCardNumber":"${printing_packaging_factory_bankcardnumber}","openingBank":"${printing_packaging_factory_openingbank}"}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:38.924" level="INFO">${body} = {"enterpriseId":"661555773826011136","list":[{"cardholderName":"autotest_name","bankCardNumber":"autotest_bankcardnumber","openingBank":"autotest_openingbank"}]}</msg>
<status status="PASS" starttime="20211126 10:27:38.924" endtime="20211126 10:27:38.924"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecops</arg>
<arg>/uec/admin/save/enterprise/private-account</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:38.977" level="INFO">POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
path_url=/uec/admin/save/enterprise/private-account
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '161'}
body=b'{"enterpriseId":"661555773826011136","list":[{"cardholderName":"autotest_name","bankCardNumber":"autotest_bankcardnumber","openingBank":"autotest_openingbank"}]}'
</msg>
<msg timestamp="20211126 10:27:38.977" level="INFO">POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:38 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":null}
</msg>
<msg timestamp="20211126 10:27:38.977" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:38.924" endtime="20211126 10:27:38.977"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:38.978" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:38.977" endtime="20211126 10:27:38.978"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:38.978" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:38.978" endtime="20211126 10:27:38.979"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:38.979" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:38.979" endtime="20211126 10:27:38.979"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:38.979" endtime="20211126 10:27:38.980"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:39.980" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:38.980" endtime="20211126 10:27:39.980"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:38.920" endtime="20211126 10:27:39.981" critical="yes"></status>
</test>
<test id="s1-s4-s1-t10" name="operate_save_printing_packaging_factory_settlementaccountinfo_enterprise_papereexternal_settlement_accounts">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:39.982" endtime="20211126 10:27:39.982"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:39.983" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:39.982" endtime="20211126 10:27:39.984"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_type}</var>
</assign>
<msg timestamp="20211126 10:27:39.984" level="INFO">${printing_packaging_factory_type} = 1</msg>
<status status="PASS" starttime="20211126 10:27:39.984" endtime="20211126 10:27:39.984"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_accountid</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_accountid}</var>
</assign>
<msg timestamp="20211126 10:27:39.984" level="INFO">${printing_packaging_factory_accountid} = autotest_accountid</msg>
<status status="PASS" starttime="20211126 10:27:39.984" endtime="20211126 10:27:39.984"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","enterprisePaperExternalSettlementAccountList":[{"type":"${printing_packaging_factory_type}","accountId":"${printing_packaging_factory_accountid}","balance":990000,"total":990000}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:39.985" level="INFO">${body} = {"enterpriseId":"661555773826011136","enterprisePaperExternalSettlementAccountList":[{"type":"1","accountId":"autotest_accountid","balance":990000,"total":990000}]}</msg>
<status status="PASS" starttime="20211126 10:27:39.985" endtime="20211126 10:27:39.985"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:40.065" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
path_url=/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '164'}
body=b'{"enterpriseId":"661555773826011136","enterprisePaperExternalSettlementAccountList":[{"type":"1","accountId":"autotest_accountid","balance":990000,"total":990000}]}'
</msg>
<msg timestamp="20211126 10:27:40.066" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/enterprise-papere-external-settlement-accounts
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:40 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:40.066" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:39.985" endtime="20211126 10:27:40.066"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:40.067" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:40.066" endtime="20211126 10:27:40.067"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:40.067" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:40.067" endtime="20211126 10:27:40.067"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:40.068" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:40.067" endtime="20211126 10:27:40.068"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:40.068" endtime="20211126 10:27:40.068"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:41.069" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:40.068" endtime="20211126 10:27:41.069"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:39.981" endtime="20211126 10:27:41.069" critical="yes"></status>
</test>
<test id="s1-s4-s1-t11" name="operate_save_printing_packaging_factory_employee_list_add_enterprise_administrator">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:41.071" endtime="20211126 10:27:41.071"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:41.072" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:41.071" endtime="20211126 10:27:41.072"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_name_customer</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_administrator_realname}</var>
</assign>
<msg timestamp="20211126 10:27:41.072" level="INFO">${printing_packaging_factory_administrator_realname} = autotest_name_customer</msg>
<status status="PASS" starttime="20211126 10:27:41.072" endtime="20211126 10:27:41.072"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_job_customer</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_administrator_title}</var>
</assign>
<msg timestamp="20211126 10:27:41.073" level="INFO">${printing_packaging_factory_administrator_title} = autotest_job_customer</msg>
<status status="PASS" starttime="20211126 10:27:41.072" endtime="20211126 10:27:41.073"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13012345678</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_administrator_mobile}</var>
</assign>
<msg timestamp="20211126 10:27:41.073" level="INFO">${printing_packaging_factory_administrator_mobile} = 13012345678</msg>
<status status="PASS" starttime="20211126 10:27:41.073" endtime="20211126 10:27:41.073"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","realName":"${printing_packaging_factory_administrator_realname}","title":"${printing_packaging_factory_administrator_title}","mobile":"${printing_packaging_factory_administrator_mobile}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:41.074" level="INFO">${body} = {"enterpriseId":"661555773826011136","realName":"autotest_name_customer","title":"autotest_job_customer","mobile":"13012345678"}</msg>
<status status="PASS" starttime="20211126 10:27:41.073" endtime="20211126 10:27:41.074"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/add/enterprise-administrator</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:41.190" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/add/enterprise-administrator
path_url=/cloud-print-user-center/admin/add/enterprise-administrator
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '128'}
body=b'{"enterpriseId":"661555773826011136","realName":"autotest_name_customer","title":"autotest_job_customer","mobile":"13012345678"}'
</msg>
<msg timestamp="20211126 10:27:41.190" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/add/enterprise-administrator
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:41 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:41.191" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:41.074" endtime="20211126 10:27:41.191"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${printing_packaging_factory_administrator_mobile}</arg>
</arguments>
<msg timestamp="20211126 10:27:41.191" level="INFO">${printing_packaging_factory_administrator_mobile} = 13012345678</msg>
<status status="PASS" starttime="20211126 10:27:41.191" endtime="20211126 10:27:41.191"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${printing_packaging_factory_administrator_realname}</arg>
</arguments>
<msg timestamp="20211126 10:27:41.192" level="INFO">${printing_packaging_factory_administrator_realname} = autotest_name_customer</msg>
<status status="PASS" starttime="20211126 10:27:41.192" endtime="20211126 10:27:41.192"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:41.192" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:41.192" endtime="20211126 10:27:41.192"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:41.193" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:41.193" endtime="20211126 10:27:41.193"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:41.193" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:41.193" endtime="20211126 10:27:41.193"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:41.194" endtime="20211126 10:27:41.194"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:42.195" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:41.194" endtime="20211126 10:27:42.195"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:41.070" endtime="20211126 10:27:42.195" critical="yes"></status>
</test>
<test id="s1-s4-s1-t12" name="operate_save_printing_packaging_factory_employee_list_add_employee">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:42.196" endtime="20211126 10:27:42.197"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecops</arg>
<arg>${uecops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:42.197" level="INFO">Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:42.197" endtime="20211126 10:27:42.197"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>ADMINISTRATOR</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_position}</var>
</assign>
<msg timestamp="20211126 10:27:42.198" level="INFO">${printing_packaging_factory_position} = ADMINISTRATOR</msg>
<status status="PASS" starttime="20211126 10:27:42.198" endtime="20211126 10:27:42.198"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_employee</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_realname}</var>
</assign>
<msg timestamp="20211126 10:27:42.198" level="INFO">${printing_packaging_factory_realname} = autotest_employee</msg>
<status status="PASS" starttime="20211126 10:27:42.198" endtime="20211126 10:27:42.198"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${printing_packaging_factory_id}","position":"${printing_packaging_factory_position}","realName":"${printing_packaging_factory_realname}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:42.199" level="INFO">${body} = {"enterpriseId":"661555773826011136","position":"ADMINISTRATOR","realName":"autotest_employee"}</msg>
<status status="PASS" starttime="20211126 10:27:42.198" endtime="20211126 10:27:42.199"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecops</arg>
<arg>/uec/admin/add/employee</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:42.260" level="INFO">POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/add/employee
path_url=/uec/admin/add/employee
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '95'}
body=b'{"enterpriseId":"661555773826011136","position":"ADMINISTRATOR","realName":"autotest_employee"}'
</msg>
<msg timestamp="20211126 10:27:42.260" level="INFO">POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/add/employee
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:42 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":null}
</msg>
<msg timestamp="20211126 10:27:42.260" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:42.199" endtime="20211126 10:27:42.260"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:42.261" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:42.261" endtime="20211126 10:27:42.261"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:42.262" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:42.261" endtime="20211126 10:27:42.262"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:42.262" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:42.262" endtime="20211126 10:27:42.262"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:42.263" endtime="20211126 10:27:42.263"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:43.264" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:42.263" endtime="20211126 10:27:43.264"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:42.196" endtime="20211126 10:27:43.264" critical="yes"></status>
</test>
<test id="s1-s4-s1-t13" name="operate_get_printing_packaging_factory_baseinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.266" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:43.265" endtime="20211126 10:27:43.266"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/${printing_packaging_factory_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:43.327" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/661555773826011136
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/661555773826011136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:43.327" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/base-info/661555773826011136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"enterprise":{"id":"661555773826011136","isDelete":0,"createTime":"2021-11-26 10:27:33","updateTime":"2021-11-26 10:27:36","creatorId":"0","editorId":"0","name":"autotest_printing_packaging_factory_name","uniformSocialCreditCode":"autotest_91440101MA59F2J10M","status":0,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_printing_packaging_factory_locdetail","receiptRequirement":null,"legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":null,"type":2,"shortName":"autotest_shortname","registeredCapital":999.00000,"businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","regAddrLongitude":null,"regAddrLatitude":null,"birthday":"2021-11-26","incomeInPastTwoYears":100.0000,"businessType":"02","cooperationTime":"2021-11","fullAddress":"广东省广州市天河区车陂街道autotest_printing_packaging_factory_locdetail"},"factory":{"id":"661555784261439488","enterpriseId":"661555773826011136","locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_printing_packaging_factory_locdetail","locLongitude":"113.40119","locLatitude":"23.115953","floorSpace":null,"leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessAnnualVolume":"9990000","mainProducts":"autotest_mainproducts","contactName":null,"contactMobile":null,"name":null},"enterpriseShippingAddressList":[{"id":"661555788665458688","isDelete":0,"createTime":"2021-11-26 10:27:37","updateTime":"2021-11-26 10:27:37","creatorId":null,"editorId":null,"enterpriseId":"661555773826011136","provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","detail":"autotest_printing_packaging_factory_locdetail","receiver":null,"receiverMobile":null,"receiveEnterpriseName":null,"isDefault":0}]}}
</msg>
<msg timestamp="20211126 10:27:43.327" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.267" endtime="20211126 10:27:43.327"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.328" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:43.327" endtime="20211126 10:27:43.328"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.329" level="INFO">{'code': 0, 'message': 'successful', 'data': {'enterprise': {'id': '661555773826011136', 'isDelete': 0, 'createTime': '2021-11-26 10:27:33', 'updateTime': '2021-11-26 10:27:36', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_printing_packaging_factory_name', 'uniformSocialCreditCode': 'autotest_91440101MA59F2J10M', 'status': 0, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_printing_packaging_factory_locdetail', 'receiptRequirement': None, 'legalPersonName': 'autotest_legalperson', 'legalPersonIdCardNo': 'autotest_legalpersonidcardno', 'legalPersonMobile': '13800138000', 'legalPersonIdCardFrontImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'legalPersonIdCardBackImg': None, 'type': 2, 'shortName': 'autotest_shortname', 'registeredCapital': 999.0, 'businessLicenseImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'regAddrLongitude': None, 'regAddrLatitude': None, 'birthday': '2021-11-26', 'incomeInPastTwoYears': 100.0, 'businessType': '02', 'cooperationTime': '2021-11', 'fullAddress': '广东省广州市天河区车陂街道autotest_printing_packaging_factory_locdetail'}, 'factory': {'id': '661555784261439488', 'enterpriseId': '661555773826011136', 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_printing_packaging_factory_locdetail', 'locLongitude': '113.40119', 'locLatitude': '23.115953', 'floorSpace': None, 'leaseContractImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'factoryPhotos': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'businessAnnualVolume': '9990000', 'mainProducts': 'autotest_mainproducts', 'contactName': None, 'contactMobile': None, 'name': None}, 'enterpriseShippingAddressList': [{'id': '661555788665458688', 'isDelete': 0, 'createTime': '2021-11-26 10:27:37', 'updateTime': '2021-11-26 10:27:37', 'creatorId': None, 'editorId': None, 'enterpriseId': '661555773826011136', 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'detail': 'autotest_printing_packaging_factory_locdetail', 'receiver': None, 'receiverMobile': None, 'receiveEnterpriseName': None, 'isDefault': 0}]}}</msg>
<status status="PASS" starttime="20211126 10:27:43.328" endtime="20211126 10:27:43.329"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.329" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.329" endtime="20211126 10:27:43.329"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.330" endtime="20211126 10:27:43.330"></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>${printing_packaging_factory_name}</arg>
<arg>${response.json()["data"]["enterprise"]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.330" endtime="20211126 10:27:43.331"></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>${printing_packaging_factory_shortname}</arg>
<arg>${response.json()["data"]["enterprise"]["shortName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.331" endtime="20211126 10:27:43.332"></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>${printing_packaging_factory_legalpersonname}</arg>
<arg>${response.json()["data"]["enterprise"]["legalPersonName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.332" endtime="20211126 10:27:43.332"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:43.265" endtime="20211126 10:27:43.332" critical="yes"></status>
</test>
<test id="s1-s4-s1-t14" name="operate_get_printing_packaging_factory_settlementaccountinfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.333" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:43.333" endtime="20211126 10:27:43.334"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/${printing_packaging_factory_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:43.384" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/661555773826011136
path_url=/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/661555773826011136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:43.385" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/packaging-printing-mill/settlement-account-info/661555773826011136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"enterpriseCredit":{"id":null,"enterpriseId":null,"enterpriseName":null,"enterpriseType":null,"legalpersonName":null,"legalpersonIdNo":null,"purpose":null,"creditLine":null,"usedCreditLine":null,"availableCreditLine":null,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":null,"createTime":null,"isDelete":null,"paperSettlementIntervalTypeId":null,"totalUsed":null},"enterpriseScrapPaperCredit":{"id":"661555793451159552","isDelete":0,"createTime":"2021-11-26 10:27:37","updateTime":"2021-11-26 10:27:37","enterpriseId":"661555773826011136","deposit":990000.00,"earnest":900000.00,"totalUsed":90000.00},"enterprisePrivateAccountList":[{"id":"661555797901316096","cardholderName":"autotest_name","openingBank":"autotest_openingbank","bankCardNumber":"autotest_bankcardnumber","mobilePhone":null,"enterpriseId":"661555773826011136","isDelete":0,"createTime":"2021-11-26 10:27:39","updateTime":"2021-11-26 10:27:39"}],"enterprisePaperExternalSettlementAccountList":[],"enterpriseFeisuanCredit":null}}
</msg>
<msg timestamp="20211126 10:27:43.385" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.334" endtime="20211126 10:27:43.385"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.386" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:43.385" endtime="20211126 10:27:43.386"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.386" level="INFO">{'code': 0, 'message': 'successful', 'data': {'enterpriseCredit': {'id': None, 'enterpriseId': None, 'enterpriseName': None, 'enterpriseType': None, 'legalpersonName': None, 'legalpersonIdNo': None, 'purpose': None, 'creditLine': None, 'usedCreditLine': None, 'availableCreditLine': None, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': None, 'createTime': None, 'isDelete': None, 'paperSettlementIntervalTypeId': None, 'totalUsed': None}, 'enterpriseScrapPaperCredit': {'id': '661555793451159552', 'isDelete': 0, 'createTime': '2021-11-26 10:27:37', 'updateTime': '2021-11-26 10:27:37', 'enterpriseId': '661555773826011136', 'deposit': 990000.0, 'earnest': 900000.0, 'totalUsed': 90000.0}, 'enterprisePrivateAccountList': [{'id': '661555797901316096', 'cardholderName': 'autotest_name', 'openingBank': 'autotest_openingbank', 'bankCardNumber': 'autotest_bankcardnumber', 'mobilePhone': None, 'enterpriseId': '661555773826011136', 'isDelete': 0, 'createTime': '2021-11-26 10:27:39', 'updateTime': '2021-11-26 10:27:39'}], 'enterprisePaperExternalSettlementAccountList': [], 'enterpriseFeisuanCredit': None}}</msg>
<status status="PASS" starttime="20211126 10:27:43.386" endtime="20211126 10:27:43.386"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.387" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.386" endtime="20211126 10:27:43.387"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.387" endtime="20211126 10:27:43.387"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:43.333" endtime="20211126 10:27:43.388" critical="yes"></status>
</test>
<test id="s1-s4-s1-t15" name="operate_get_printing_packaging_factory_employee_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecops</arg>
<arg>${uecops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.389" level="INFO">Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:43.388" endtime="20211126 10:27:43.389"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enterpriseId=${printing_packaging_factory_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:43.390" level="INFO">${param} = enterpriseId=661555773826011136</msg>
<status status="PASS" starttime="20211126 10:27:43.389" endtime="20211126 10:27:43.390"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecops</arg>
<arg>/uec/admin/get/employee-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:43.428" level="INFO">GET Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/get/employee-list?enterpriseId=661555773826011136
path_url=/uec/admin/get/employee-list?enterpriseId=661555773826011136
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:43.428" level="INFO">GET Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/get/employee-list?enterpriseId=661555773826011136
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:43 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":{"records":[{"id":"661555807158145024","userId":"661555746592395264","realName":"autotest_name_customer","position":"ADMINISTRATOR","mobile":"13012345678","nickName":null,"appFrom":"503258978847965388","appFromName":"千鸟云工厂","createTime":"2021-11-26 10:27:41","status":0,"title":"autotest_job_customer"},{"id":"661555811654438912","userId":"661555811591524352","realName":"autotest_employee","position":"ADMINISTRATOR","mobile":null,"nickName":null,"appFrom":"503258978847952999","appFromName":"跟单王运营后台","createTime":"2021-11-26 10:27:42","status":0,"title":null}],"total":2,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:27:43.428" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.390" endtime="20211126 10:27:43.428"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.429" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:43.428" endtime="20211126 10:27:43.429"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.429" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555807158145024', 'userId': '661555746592395264', 'realName': 'autotest_name_customer', 'position': 'ADMINISTRATOR', 'mobile': '13012345678', 'nickName': None, 'appFrom': '503258978847965388', 'appFromName': '千鸟云工厂', 'createTime': '2021-11-26 10:27:41', 'status': 0, 'title': 'autotest_job_customer'}, {'id': '661555811654438912', 'userId': '661555811591524352', 'realName': 'autotest_employee', 'position': 'ADMINISTRATOR', 'mobile': None, 'nickName': None, 'appFrom': '503258978847952999', 'appFromName': '跟单王运营后台', 'createTime': '2021-11-26 10:27:42', 'status': 0, 'title': None}], 'total': 2, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:43.429" endtime="20211126 10:27:43.429"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.430" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.430" endtime="20211126 10:27:43.430"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.430" endtime="20211126 10:27:43.431"></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>${printing_packaging_factory_administrator_mobile}</arg>
<arg>${response.json()["data"]["records"][0]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.431" endtime="20211126 10:27:43.431"></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>${printing_packaging_factory_administrator_realname}</arg>
<arg>${response.json()["data"]["records"][0]["realName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.432" endtime="20211126 10:27:43.432"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:43.388" endtime="20211126 10:27:43.432" critical="yes"></status>
</test>
<test id="s1-s4-s1-t16" name="customer_phone">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:43.433" endtime="20211126 10:27:43.433"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.434" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:43.433" endtime="20211126 10:27:43.434"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:43.434" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:43.434" endtime="20211126 10:27:43.434"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13012345678</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211126 10:27:43.435" level="INFO">${account} = 13012345678</msg>
<status status="PASS" starttime="20211126 10:27:43.434" endtime="20211126 10:27:43.435"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:43.435" level="INFO">${body} = {"accountType":2,"account":"13012345678","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:43.435" endtime="20211126 10:27:43.435"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:43.516" 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;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Content-Length': '60'}
body={"accountType":2,"account":"13012345678","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:43.516" 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, 26 Nov 2021 02:27:43 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":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==","userId":"661555746592395264"}}
</msg>
<msg timestamp="20211126 10:27:43.517" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.435" endtime="20211126 10:27:43.517"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.517" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:43.517" endtime="20211126 10:27:43.518"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.518" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==","userId":"661555746592395264"}}</msg>
<status status="PASS" starttime="20211126 10:27:43.518" endtime="20211126 10:27:43.518"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.519" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'userId': '661555746592395264'}}</msg>
<status status="PASS" starttime="20211126 10:27:43.518" endtime="20211126 10:27:43.519"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.519" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.519" endtime="20211126 10:27:43.519"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.520" endtime="20211126 10:27:43.520"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_customer}</var>
</assign>
<msg timestamp="20211126 10:27:43.521" level="INFO">${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==</msg>
<status status="PASS" starttime="20211126 10:27:43.520" endtime="20211126 10:27:43.521"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.521" level="INFO">iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==</msg>
<status status="PASS" starttime="20211126 10:27:43.521" endtime="20211126 10:27:43.521"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.522" level="INFO">${gettoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==</msg>
<status status="PASS" starttime="20211126 10:27:43.521" endtime="20211126 10:27:43.522"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_customer}</var>
</assign>
<msg timestamp="20211126 10:27:43.522" level="INFO">${userid_customer} = 661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:43.522" endtime="20211126 10:27:43.522"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.523" level="INFO">661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:43.523" endtime="20211126 10:27:43.523"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.523" level="INFO">${userid_customer} = 661555746592395264</msg>
<status status="PASS" starttime="20211126 10:27:43.523" endtime="20211126 10:27:43.523"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${gettoken_customer}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorycustomerheader}</var>
</assign>
<msg timestamp="20211126 10:27:43.524" level="INFO">&amp;{cloudfactorycustomerheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w== }</msg>
<status status="PASS" starttime="20211126 10:27:43.524" endtime="20211126 10:27:43.524"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.525" level="INFO">${cloudfactorycustomerheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}</msg>
<status status="PASS" starttime="20211126 10:27:43.524" endtime="20211126 10:27:43.525"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:43.432" endtime="20211126 10:27:43.525" critical="yes"></status>
</test>
<test id="s1-s4-s1-t17" name="customer_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:43.526" endtime="20211126 10:27:43.526"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorycustomerheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.526" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:43.526" endtime="20211126 10:27:43.527"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_customer}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:43.528" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=="}</msg>
<status status="PASS" starttime="20211126 10:27:43.527" endtime="20211126 10:27:43.528"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:43.613" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=="}'
</msg>
<msg timestamp="20211126 10:27:43.613" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=="}
</msg>
<msg timestamp="20211126 10:27:43.613" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.528" endtime="20211126 10:27:43.613"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.614" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:43.613" endtime="20211126 10:27:43.614"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.615" level="INFO">{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}</msg>
<status status="PASS" starttime="20211126 10:27:43.614" endtime="20211126 10:27:43.615"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.615" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.615" endtime="20211126 10:27:43.615"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.616" endtime="20211126 10:27:43.616"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${getlogintoken_customer}</var>
</assign>
<msg timestamp="20211126 10:27:43.617" level="INFO">${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==</msg>
<status status="PASS" starttime="20211126 10:27:43.616" endtime="20211126 10:27:43.617"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${getlogintoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.617" level="INFO">iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==</msg>
<status status="PASS" starttime="20211126 10:27:43.617" endtime="20211126 10:27:43.617"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_customer}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.618" level="INFO">${getlogintoken_customer} = iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==</msg>
<status status="PASS" starttime="20211126 10:27:43.617" endtime="20211126 10:27:43.618"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847965388</arg>
<arg>Authorization=${getlogintoken_customer}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_customer_header}</var>
</assign>
<msg timestamp="20211126 10:27:43.619" level="INFO">&amp;{cloudfactory_customer_header} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847965388 | Authorization=iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w== }</msg>
<status status="PASS" starttime="20211126 10:27:43.618" endtime="20211126 10:27:43.619"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.619" level="INFO">${cloudfactory_customer_header} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}</msg>
<status status="PASS" starttime="20211126 10:27:43.619" endtime="20211126 10:27:43.619"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:43.525" endtime="20211126 10:27:43.620" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:33.105" endtime="20211126 10:27:43.621"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:33.102" endtime="20211126 10:27:43.626"></status>
</suite>
<suite id="s1-s5" name="004 Enterprise Open Account Supplier" source="/root/yyt-trading-rf-api/004_enterprise_open_account_supplier">
<suite id="s1-s5-s1" name="Supplier Paper Open Account" source="/root/yyt-trading-rf-api/004_enterprise_open_account_supplier/supplier_paper_open_account.robot">
<test id="s1-s5-s1-t1" name="operate_save_virtual_supplier">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:43.637" endtime="20211126 10:27:43.638"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.638" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:43.638" endtime="20211126 10:27:43.639"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_name</arg>
</arguments>
<assign>
<var>${virtual_supplier_name}</var>
</assign>
<msg timestamp="20211126 10:27:43.639" level="INFO">${virtual_supplier_name} = autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:43.639" endtime="20211126 10:27:43.639"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_details</arg>
</arguments>
<assign>
<var>${virtual_supplier_details}</var>
</assign>
<msg timestamp="20211126 10:27:43.639" level="INFO">${virtual_supplier_details} = autotest_supplier_paper_details</msg>
<status status="PASS" starttime="20211126 10:27:43.639" endtime="20211126 10:27:43.639"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_contactname</arg>
</arguments>
<assign>
<var>${virtual_supplier_contactname}</var>
</assign>
<msg timestamp="20211126 10:27:43.640" level="INFO">${virtual_supplier_contactname} = autotest_supplier_paper_contactname</msg>
<status status="PASS" starttime="20211126 10:27:43.639" endtime="20211126 10:27:43.640"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${virtual_supplier_contactmoblie}</var>
</assign>
<msg timestamp="20211126 10:27:43.640" level="INFO">${virtual_supplier_contactmoblie} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:27:43.640" endtime="20211126 10:27:43.640"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${virtual_supplier_provinceid}</var>
</assign>
<msg timestamp="20211126 10:27:43.640" level="INFO">${virtual_supplier_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:43.640" endtime="20211126 10:27:43.640"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${virtual_supplier_cityid}</var>
</assign>
<msg timestamp="20211126 10:27:43.641" level="INFO">${virtual_supplier_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:43.640" endtime="20211126 10:27:43.641"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${virtual_supplier_districtid}</var>
</assign>
<msg timestamp="20211126 10:27:43.641" level="INFO">${virtual_supplier_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:43.641" endtime="20211126 10:27:43.641"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${virtual_supplier_streetid}</var>
</assign>
<msg timestamp="20211126 10:27:43.641" level="INFO">${virtual_supplier_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:43.641" endtime="20211126 10:27:43.641"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${virtual_supplier_provincename}</var>
</assign>
<msg timestamp="20211126 10:27:43.642" level="INFO">${virtual_supplier_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:43.642" endtime="20211126 10:27:43.642"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${virtual_supplier_cityname}</var>
</assign>
<msg timestamp="20211126 10:27:43.642" level="INFO">${virtual_supplier_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:43.642" endtime="20211126 10:27:43.642"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${virtual_supplier_districtname}</var>
</assign>
<msg timestamp="20211126 10:27:43.643" level="INFO">${virtual_supplier_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:43.642" endtime="20211126 10:27:43.643"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${virtual_supplier_streetname}</var>
</assign>
<msg timestamp="20211126 10:27:43.643" level="INFO">${virtual_supplier_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:43.643" endtime="20211126 10:27:43.643"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"name":"${virtual_supplier_name}","details":"${virtual_supplier_details}","contactName":"${virtual_supplier_contactname}","contactMoblie":"${virtual_supplier_contactmoblie}","provinceName":"${virtual_supplier_provincename}","cityName":"${virtual_supplier_cityname}","districtName":"${virtual_supplier_districtname}","streetName":"${virtual_supplier_streetname}","provinceId":${virtual_supplier_provinceid},"cityId":${virtual_supplier_cityid},"districtId":${virtual_supplier_districtid},"streetId":${virtual_supplier_streetid}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:43.644" level="INFO">${body} = {"name":"autotest_supplier_paper_name","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","provinceName":"广东省","cityName":"广州...</msg>
<status status="PASS" starttime="20211126 10:27:43.643" endtime="20211126 10:27:43.644"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${virtual_supplier_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.644" level="INFO">${virtual_supplier_name} = autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:43.644" endtime="20211126 10:27:43.644"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:43.718" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
path_url=/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '347'}
body=b'{"name":"autotest_supplier_paper_name","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","provinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","cityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","districtName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","streetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","provinceId":440000,"cityId":440100,"districtId":440106,"streetId":440106003}'
</msg>
<msg timestamp="20211126 10:27:43.718" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/save
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:43 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555817715208192","name":"autotest_supplier_paper_name"}}
</msg>
<msg timestamp="20211126 10:27:43.719" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.644" endtime="20211126 10:27:43.719"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.720" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:43.719" endtime="20211126 10:27:43.720"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.721" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555817715208192', 'name': 'autotest_supplier_paper_name'}}</msg>
<status status="PASS" starttime="20211126 10:27:43.720" endtime="20211126 10:27:43.721"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:43.721" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:43.721" endtime="20211126 10:27:43.722"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.722" endtime="20211126 10:27:43.722"></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>${virtual_supplier_name}</arg>
<arg>${response.json()["data"]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:43.722" endtime="20211126 10:27:43.723"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:44.724" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:43.723" endtime="20211126 10:27:44.724"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:43.637" endtime="20211126 10:27:44.724" critical="yes"></status>
</test>
<test id="s1-s5-s1-t2" name="operate_get_virtual_supplier_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.726" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:44.726" endtime="20211126 10:27:44.726"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/supplier/directsalestore/virtual-supplier/page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:44.796" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page
path_url=/trading-center/admin/supplier/directsalestore/virtual-supplier/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:44.796" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:44 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":[{"isDelete":false,"createTime":"2021-11-26T10:27:43","updateTime":"2021-11-26T10:27:43","id":"661555817715208192","enterpriseId":null,"name":"autotest_supplier_paper_name","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","managementModel":0,"isShowSupplierNameOnClient":null,"shortName":null,"uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"661555817715208192","createTimeStr":"2021-11-26 10:27:43"},{"isDelete":false,"createTime":"2021-11-01T14:57:51","updateTime":"2021-11-17T16:03:49","id":"652564100836102144","enterpriseId":"652591307126083584","name":"2为人妻我让请问请问","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101004,"streetName":"新兴街道","details":"2为人妻我让请问请问","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"213","uniformSocialCreditCode":"2为人妻我让请问请问","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652564100836102144","createTimeStr":"2021-11-01 14:57:51"},{"isDelete":false,"createTime":"2021-11-01T14:49:37","updateTime":"2021-11-01T14:49:37","id":"652562031479754752","enterpriseId":null,"name":"wwww","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":null,"provinceName":null,"cityId":null,"cityName":null,"districtId":null,"districtName":null,"streetId":null,"streetName":null,"details":null,"contactName":null,"contactMoblie":null,"managementModel":0,"isShowSupplierNameOnClient":null,"shortName":"w","uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652562031479754752","createTimeStr":"2021-11-01 14:49:37"},{"isDelete":false,"createTime":"2021-11-01T14:48:58","updateTime":"2021-11-01T14:48:58","id":"652561865410482176","enterpriseId":null,"name":"axxxx","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":null,"provinceName":null,"cityId":null,"cityName":null,"districtId":null,"districtName":null,"streetId":null,"streetName":null,"details":null,"contactName":null,"contactMoblie":null,"managementModel":0,"isShowSupplierNameOnClient":null,"shortName":"x","uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652561865410482176","createTimeStr":"2021-11-01 14:48:58"},{"isDelete":false,"createTime":"2021-11-01T14:46:39","updateTime":"2021-11-17T17:07:39","id":"652561283912175616","enterpriseId":"658394971832979456","name":"1231243","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101001,"streetName":"劝业场街道","details":"1231243","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":null,"uniformSocialCreditCode":"1231243","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652561283912175616","createTimeStr":"2021-11-01 14:46:39"},{"isDelete":false,"createTime":"2021-11-01T14:37:39","updateTime":"2021-11-01T14:46:33","id":"652559018459533312","enterpriseId":"652561257320288256","name":"未开户供应商","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":130000,"provinceName":"河北省","cityId":130100,"cityName":"石家庄市","districtId":130102,"districtName":"长安区","streetId":130102002,"streetName":"青园街道","details":"未开户供应商","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":null,"uniformSocialCreditCode":"未开户供应商","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"652559018459533312","createTimeStr":"2021-11-01 14:37:39"},{"isDelete":false,"createTime":"2021-10-29T16:53:22","updateTime":"2021-10-29T18:01:29","id":"651506009763876864","enterpriseId":"651506075723501568","name":"1234123123","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":110000,"provinceName":"","cityId":110100,"cityName":"","districtId":110101,"districtName":"","streetId":110101001,"streetName":"","details":"231332","contactName":"1234123123","contactMoblie":"1234123123","managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"","uniformSocialCreditCode":"12131321313231","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651506009763876864","createTimeStr":"2021-10-29 16:53:22"},{"isDelete":false,"createTime":"2021-10-28T15:12:53","updateTime":"2021-10-29T16:51:46","id":"651118331750912000","enterpriseId":"651128601827217408","name":"统计供应商","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","details":"统计供应商","contactName":"统计供应商","contactMoblie":"统计供应商","managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"统计供应商","uniformSocialCreditCode":"统计供应商","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":4,"fddStatusStr":"认证完成","replyNum":2,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651118331750912000","createTimeStr":"2021-10-28 15:12:53"},{"isDelete":false,"createTime":"2021-10-28T11:00:55","updateTime":"2021-10-28T16:00:24","id":"651054924326637568","enterpriseId":"651130293138362368","name":"5645646457","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":120000,"provinceName":"天津","cityId":120100,"cityName":"天津市","districtId":120101,"districtName":"和平区","streetId":120101002,"streetName":"小白楼街道","details":"5645646457","contactName":null,"contactMoblie":null,"managementModel":2,"isShowSupplierNameOnClient":null,"shortName":"124334","uniformSocialCreditCode":"5645646457","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651054924326637568","createTimeStr":"2021-10-28 11:00:55"},{"isDelete":false,"createTime":"2021-10-28T10:56:40","updateTime":"2021-10-28T10:56:41","id":"651053853378220032","enterpriseId":null,"name":"45345345345345","status":1,"type":0,"creatorId":null,"editorId":null,"provinceId":null,"provinceName":null,"cityId":null,"cityName":null,"districtId":null,"districtName":null,"streetId":null,"streetName":null,"details":null,"contactName":null,"contactMoblie":null,"managementModel":0,"isShowSupplierNameOnClient":null,"shortName":"34","uniformSocialCreditCode":null,"openAccountStatus":0,"openAccountStatusStr":"未开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"651053853378220032","createTimeStr":"2021-10-28 10:56:40"}],"total":65,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":7}}
</msg>
<msg timestamp="20211126 10:27:44.797" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:44.727" endtime="20211126 10:27:44.797"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.798" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:44.797" endtime="20211126 10:27:44.798"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.798" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'isDelete': False, 'createTime': '2021-11-26T10:27:43', 'updateTime': '2021-11-26T10:27:43', 'id': '661555817715208192', 'enterpriseId': None, 'name': 'autotest_supplier_paper_name', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'details': 'autotest_supplier_paper_details', 'contactName': 'autotest_supplier_paper_contactname', 'contactMoblie': '13800138000', 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': None, 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '661555817715208192', 'createTimeStr': '2021-11-26 10:27:43'}, {'isDelete': False, 'createTime': '2021-11-01T14:57:51', 'updateTime': '2021-11-17T16:03:49', 'id': '652564100836102144', 'enterpriseId': '652591307126083584', 'name': '2为人妻我让请问请问', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101004, 'streetName': '新兴街道', 'details': '2为人妻我让请问请问', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '213', 'uniformSocialCreditCode': '2为人妻我让请问请问', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652564100836102144', 'createTimeStr': '2021-11-01 14:57:51'}, {'isDelete': False, 'createTime': '2021-11-01T14:49:37', 'updateTime': '2021-11-01T14:49:37', 'id': '652562031479754752', 'enterpriseId': None, 'name': 'wwww', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': None, 'provinceName': None, 'cityId': None, 'cityName': None, 'districtId': None, 'districtName': None, 'streetId': None, 'streetName': None, 'details': None, 'contactName': None, 'contactMoblie': None, 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': 'w', 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652562031479754752', 'createTimeStr': '2021-11-01 14:49:37'}, {'isDelete': False, 'createTime': '2021-11-01T14:48:58', 'updateTime': '2021-11-01T14:48:58', 'id': '652561865410482176', 'enterpriseId': None, 'name': 'axxxx', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': None, 'provinceName': None, 'cityId': None, 'cityName': None, 'districtId': None, 'districtName': None, 'streetId': None, 'streetName': None, 'details': None, 'contactName': None, 'contactMoblie': None, 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': 'x', 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652561865410482176', 'createTimeStr': '2021-11-01 14:48:58'}, {'isDelete': False, 'createTime': '2021-11-01T14:46:39', 'updateTime': '2021-11-17T17:07:39', 'id': '652561283912175616', 'enterpriseId': '658394971832979456', 'name': '1231243', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101001, 'streetName': '劝业场街道', 'details': '1231243', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': None, 'uniformSocialCreditCode': '1231243', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652561283912175616', 'createTimeStr': '2021-11-01 14:46:39'}, {'isDelete': False, 'createTime': '2021-11-01T14:37:39', 'updateTime': '2021-11-01T14:46:33', 'id': '652559018459533312', 'enterpriseId': '652561257320288256', 'name': '未开户供应商', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 130000, 'provinceName': '河北省', 'cityId': 130100, 'cityName': '石家庄市', 'districtId': 130102, 'districtName': '长安区', 'streetId': 130102002, 'streetName': '青园街道', 'details': '未开户供应商', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': None, 'uniformSocialCreditCode': '未开户供应商', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '652559018459533312', 'createTimeStr': '2021-11-01 14:37:39'}, {'isDelete': False, 'createTime': '2021-10-29T16:53:22', 'updateTime': '2021-10-29T18:01:29', 'id': '651506009763876864', 'enterpriseId': '651506075723501568', 'name': '1234123123', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 110000, 'provinceName': '', 'cityId': 110100, 'cityName': '', 'districtId': 110101, 'districtName': '', 'streetId': 110101001, 'streetName': '', 'details': '231332', 'contactName': '1234123123', 'contactMoblie': '1234123123', 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '', 'uniformSocialCreditCode': '12131321313231', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651506009763876864', 'createTimeStr': '2021-10-29 16:53:22'}, {'isDelete': False, 'createTime': '2021-10-28T15:12:53', 'updateTime': '2021-10-29T16:51:46', 'id': '651118331750912000', 'enterpriseId': '651128601827217408', 'name': '统计供应商', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'details': '统计供应商', 'contactName': '统计供应商', 'contactMoblie': '统计供应商', 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '统计供应商', 'uniformSocialCreditCode': '统计供应商', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': 4, 'fddStatusStr': '认证完成', 'replyNum': 2, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651118331750912000', 'createTimeStr': '2021-10-28 15:12:53'}, {'isDelete': False, 'createTime': '2021-10-28T11:00:55', 'updateTime': '2021-10-28T16:00:24', 'id': '651054924326637568', 'enterpriseId': '651130293138362368', 'name': '5645646457', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 120000, 'provinceName': '天津', 'cityId': 120100, 'cityName': '天津市', 'districtId': 120101, 'districtName': '和平区', 'streetId': 120101002, 'streetName': '小白楼街道', 'details': '5645646457', 'contactName': None, 'contactMoblie': None, 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': '124334', 'uniformSocialCreditCode': '5645646457', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651054924326637568', 'createTimeStr': '2021-10-28 11:00:55'}, {'isDelete': False, 'createTime': '2021-10-28T10:56:40', 'updateTime': '2021-10-28T10:56:41', 'id': '651053853378220032', 'enterpriseId': None, 'name': '45345345345345', 'status': 1, 'type': 0, 'creatorId': None, 'editorId': None, 'provinceId': None, 'provinceName': None, 'cityId': None, 'cityName': None, 'districtId': None, 'districtName': None, 'streetId': None, 'streetName': None, 'details': None, 'contactName': None, 'contactMoblie': None, 'managementModel': 0, 'isShowSupplierNameOnClient': None, 'shortName': '34', 'uniformSocialCreditCode': None, 'openAccountStatus': 0, 'openAccountStatusStr': '未开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '651053853378220032', 'createTimeStr': '2021-10-28 10:56:40'}], 'total': 65, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'optimizeCountSql': True, 'hitCount': False, 'countId': None, 'maxLimit': None, 'searchCount': True, 'pages': 7}}</msg>
<status status="PASS" starttime="20211126 10:27:44.798" endtime="20211126 10:27:44.799"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.799" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:44.799" endtime="20211126 10:27:44.799"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:44.799" endtime="20211126 10:27:44.800"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${supplier_paper_id}</var>
</assign>
<msg timestamp="20211126 10:27:44.800" level="INFO">${supplier_paper_id} = 661555817715208192</msg>
<status status="PASS" starttime="20211126 10:27:44.800" endtime="20211126 10:27:44.800"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_paper_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.801" level="INFO">${supplier_paper_id} = 661555817715208192</msg>
<status status="PASS" starttime="20211126 10:27:44.801" endtime="20211126 10:27:44.801"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:44.725" endtime="20211126 10:27:44.801" critical="yes"></status>
</test>
<test id="s1-s5-s1-t3" name="operate_update_virtual_supplier_status">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.802" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:44.802" endtime="20211126 10:27:44.802"></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":"${supplier_paper_id}","status":1}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:44.803" level="INFO">${body} = {"id":"661555817715208192","status":1}</msg>
<status status="PASS" starttime="20211126 10:27:44.803" endtime="20211126 10:27:44.803"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:44.851" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
path_url=/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '38'}
body=b'{"id":"661555817715208192","status":1}'
</msg>
<msg timestamp="20211126 10:27:44.851" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/supplier/directsalestore/virtual-supplier/updatestatus
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:44 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:44.851" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:44.803" endtime="20211126 10:27:44.852"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.852" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:44.852" endtime="20211126 10:27:44.852"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.853" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:44.853" endtime="20211126 10:27:44.853"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.854" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:44.853" endtime="20211126 10:27:44.854"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:44.854" endtime="20211126 10:27:44.854"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:44.801" endtime="20211126 10:27:44.855" critical="yes"></status>
</test>
<test id="s1-s5-s1-t4" name="operate_create_enterprise_with_supplier_paper">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:44.856" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:44.856" endtime="20211126 10:27:44.857"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_name</arg>
</arguments>
<assign>
<var>${supplier_paper_name}</var>
</assign>
<msg timestamp="20211126 10:27:44.857" level="INFO">${supplier_paper_name} = autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:44.857" endtime="20211126 10:27:44.857"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${supplier_paper_type}</var>
</assign>
<msg timestamp="20211126 10:27:44.857" level="INFO">${supplier_paper_type} = 2</msg>
<status status="PASS" starttime="20211126 10:27:44.857" endtime="20211126 10:27:44.857"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest91440101MA59F2J10M</arg>
</arguments>
<assign>
<var>${supplier_paper_uniformSocialCreditCode}</var>
</assign>
<msg timestamp="20211126 10:27:44.858" level="INFO">${supplier_paper_uniformSocialCreditCode} = autotest91440101MA59F2J10M</msg>
<status status="PASS" starttime="20211126 10:27:44.858" endtime="20211126 10:27:44.858"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalperson</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonName}</var>
</assign>
<msg timestamp="20211126 10:27:44.858" level="INFO">${supplier_paper_legalPersonName} = autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:44.858" endtime="20211126 10:27:44.858"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalpersonidcardno</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonIdCardNo}</var>
</assign>
<msg timestamp="20211126 10:27:44.859" level="INFO">${supplier_paper_legalPersonIdCardNo} = autotest_legalpersonidcardno</msg>
<status status="PASS" starttime="20211126 10:27:44.859" endtime="20211126 10:27:44.859"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${supplier_paper_paperSettlementIntervalTypeId}</var>
</assign>
<msg timestamp="20211126 10:27:44.859" level="INFO">${supplier_paper_paperSettlementIntervalTypeId} = 1</msg>
<status status="PASS" starttime="20211126 10:27:44.859" endtime="20211126 10:27:44.859"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${supplier_paper_locProvinceId}</var>
</assign>
<msg timestamp="20211126 10:27:44.859" level="INFO">${supplier_paper_locProvinceId} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:44.859" endtime="20211126 10:27:44.859"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${supplier_paper_locCityId}</var>
</assign>
<msg timestamp="20211126 10:27:44.860" level="INFO">${supplier_paper_locCityId} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:44.860" endtime="20211126 10:27:44.860"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${supplier_paper_locDistrictId}</var>
</assign>
<msg timestamp="20211126 10:27:44.860" level="INFO">${supplier_paper_locDistrictId} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:44.860" endtime="20211126 10:27:44.860"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${supplier_paper_locStreetId}</var>
</assign>
<msg timestamp="20211126 10:27:44.861" level="INFO">${supplier_paper_locStreetId} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:44.860" endtime="20211126 10:27:44.861"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_details</arg>
</arguments>
<assign>
<var>${supplier_paper_locDetail}</var>
</assign>
<msg timestamp="20211126 10:27:44.861" level="INFO">${supplier_paper_locDetail} = autotest_supplier_paper_details</msg>
<status status="PASS" starttime="20211126 10:27:44.861" endtime="20211126 10:27:44.861"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonIdCardFrontImg}</var>
</assign>
<msg timestamp="20211126 10:27:44.861" level="INFO">${supplier_paper_legalPersonIdCardFrontImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:44.861" endtime="20211126 10:27:44.861"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonIdCardBackImg}</var>
</assign>
<msg timestamp="20211126 10:27:44.862" level="INFO">${supplier_paper_legalPersonIdCardBackImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:44.861" endtime="20211126 10:27:44.862"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_paper_businessLicenseImg}</var>
</assign>
<msg timestamp="20211126 10:27:44.862" level="INFO">${supplier_paper_businessLicenseImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:44.862" endtime="20211126 10:27:44.862"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_contactsname</arg>
</arguments>
<assign>
<var>${supplier_paper_contactsname}</var>
</assign>
<msg timestamp="20211126 10:27:44.863" level="INFO">${supplier_paper_contactsname} = autotest_contactsname</msg>
<status status="PASS" starttime="20211126 10:27:44.862" endtime="20211126 10:27:44.863"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_mobilePhone</arg>
</arguments>
<assign>
<var>${supplier_paper_mobilePhone}</var>
</assign>
<msg timestamp="20211126 10:27:44.863" level="INFO">${supplier_paper_mobilePhone} = autotest_mobilePhone</msg>
<status status="PASS" starttime="20211126 10:27:44.863" endtime="20211126 10:27:44.863"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_telephone</arg>
</arguments>
<assign>
<var>${supplier_paper_telephone}</var>
</assign>
<msg timestamp="20211126 10:27:44.863" level="INFO">${supplier_paper_telephone} = autotest_telephone</msg>
<status status="PASS" starttime="20211126 10:27:44.863" endtime="20211126 10:27:44.863"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_email</arg>
</arguments>
<assign>
<var>${supplier_paper_email}</var>
</assign>
<msg timestamp="20211126 10:27:44.864" level="INFO">${supplier_paper_email} = autotest_email</msg>
<status status="PASS" starttime="20211126 10:27:44.863" endtime="20211126 10:27:44.864"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_wechatAccount</arg>
</arguments>
<assign>
<var>${supplier_paper_wechatAccount}</var>
</assign>
<msg timestamp="20211126 10:27:44.864" level="INFO">${supplier_paper_wechatAccount} = autotest_wechatAccount</msg>
<status status="PASS" starttime="20211126 10:27:44.864" endtime="20211126 10:27:44.864"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_remark</arg>
</arguments>
<assign>
<var>${supplier_paper_remark}</var>
</assign>
<msg timestamp="20211126 10:27:44.864" level="INFO">${supplier_paper_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:27:44.864" endtime="20211126 10:27:44.864"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_bankAccountName</arg>
</arguments>
<assign>
<var>${supplier_paper_bankAccountName}</var>
</assign>
<msg timestamp="20211126 10:27:44.865" level="INFO">${supplier_paper_bankAccountName} = autotest_bankAccountName</msg>
<status status="PASS" starttime="20211126 10:27:44.865" endtime="20211126 10:27:44.865"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_bankAccount</arg>
</arguments>
<assign>
<var>${supplier_paper_bankAccount}</var>
</assign>
<msg timestamp="20211126 10:27:44.865" level="INFO">${supplier_paper_bankAccount} = autotest_bankAccount</msg>
<status status="PASS" starttime="20211126 10:27:44.865" endtime="20211126 10:27:44.865"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_bankName</arg>
</arguments>
<assign>
<var>${supplier_paper_bankName}</var>
</assign>
<msg timestamp="20211126 10:27:44.866" level="INFO">${supplier_paper_bankName} = autotest_bankName</msg>
<status status="PASS" starttime="20211126 10:27:44.865" endtime="20211126 10:27:44.866"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_accountOpeningBranch</arg>
</arguments>
<assign>
<var>${supplier_paper_accountOpeningBranch}</var>
</assign>
<msg timestamp="20211126 10:27:44.866" level="INFO">${supplier_paper_accountOpeningBranch} = autotest_accountOpeningBranch</msg>
<status status="PASS" starttime="20211126 10:27:44.866" endtime="20211126 10:27:44.866"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_locationBank</arg>
</arguments>
<assign>
<var>${supplier_paper_locationBank}</var>
</assign>
<msg timestamp="20211126 10:27:44.866" level="INFO">${supplier_paper_locationBank} = autotest_locationBank</msg>
<status status="PASS" starttime="20211126 10:27:44.866" endtime="20211126 10:27:44.866"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"supplierId":"${supplier_paper_id}","enterprise":{"name":"${supplier_paper_name}","locDetail":"${supplier_paper_locDetail}","type":${supplier_paper_type},"uniformSocialCreditCode":"${supplier_paper_uniformSocialCreditCode}","legalPersonIdCardNo":"${supplier_paper_legalPersonIdCardNo}","legalPersonName":"${supplier_paper_legalPersonName}","paperSettlementIntervalTypeId":"${supplier_paper_paperSettlementIntervalTypeId}","locProvinceId":${supplier_paper_locProvinceId},"locCityId":${supplier_paper_locCityId},"locDistrictId":${supplier_paper_locDistrictId},"locStreetId":${supplier_paper_locStreetId},"legalPersonIdCardFrontImg":"${supplier_paper_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_legalPersonIdCardBackImg}","businessLicenseImg":"${supplier_paper_businessLicenseImg}"},"enterpriseContacts":{"name":"${supplier_paper_contactsname}","mobilePhone":"${supplier_paper_mobilePhone}","telephone":"${supplier_paper_telephone}","email":"${supplier_paper_email}","wechatAccount":"${supplier_paper_wechatAccount}","remark":"${supplier_paper_remark}"},"enterpriseCorporateAccount":{"bankAccountName":"${supplier_paper_bankAccountName}","bankAccount":"${supplier_paper_bankAccount}","bankName":"${supplier_paper_bankName}","accountOpeningBranch":"${supplier_paper_accountOpeningBranch}","locationBank":"${supplier_paper_locationBank}"}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:44.868" level="INFO">${body} = {"supplierId":"661555817715208192","enterprise":{"name":"autotest_supplier_paper_name","locDetail":"autotest_supplier_paper_details","type":2,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","le...</msg>
<status status="PASS" starttime="20211126 10:27:44.867" endtime="20211126 10:27:44.868"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/create/enterprise/with/supplier</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:45.035" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/create/enterprise/with/supplier
path_url=/cloud-print-user-center/admin/create/enterprise/with/supplier
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '1215'}
body=b'{"supplierId":"661555817715208192","enterprise":{"name":"autotest_supplier_paper_name","locDetail":"autotest_supplier_paper_details","type":2,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonName":"autotest_legalperson","paperSettlementIntervalTypeId":"1","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"},"enterpriseContacts":{"name":"autotest_contactsname","mobilePhone":"autotest_mobilePhone","telephone":"autotest_telephone","email":"autotest_email","wechatAccount":"autotest_wechatAccount","remark":"autotest_remark"},"enterpriseCorporateAccount":{"bankAccountName":"autotest_bankAccountName","bankAccount":"autotest_bankAccount","bankName":"autotest_bankName","accountOpeningBranch":"autotest_accountOpeningBranch","locationBank":"autotest_locationBank"}}'
</msg>
<msg timestamp="20211126 10:27:45.036" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/create/enterprise/with/supplier
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:45 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:45.036" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:44.868" endtime="20211126 10:27:45.036"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_paper_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:45.037" level="INFO">${supplier_paper_name} = autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:45.036" endtime="20211126 10:27:45.037"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:45.037" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:45.037" endtime="20211126 10:27:45.037"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:45.038" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:45.038" endtime="20211126 10:27:45.038"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:45.039" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:45.038" endtime="20211126 10:27:45.039"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:45.039" endtime="20211126 10:27:45.039"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:46.040" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:45.039" endtime="20211126 10:27:46.040"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:44.855" endtime="20211126 10:27:46.040" critical="yes"></status>
</test>
<test id="s1-s5-s1-t5" name="operate_get_virtual_supplier_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.042" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:46.041" endtime="20211126 10:27:46.042"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>name=${virtual_supplier_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:46.043" level="INFO">${param} = name=autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:46.042" endtime="20211126 10:27:46.043"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/supplier/directsalestore/virtual-supplier/page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:46.105" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page?name=autotest_supplier_paper_name
path_url=/trading-center/admin/supplier/directsalestore/virtual-supplier/page?name=autotest_supplier_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:46.106" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/supplier/directsalestore/virtual-supplier/page?name=autotest_supplier_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:46 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":[{"isDelete":false,"createTime":"2021-11-26T10:27:43","updateTime":"2021-11-26T10:27:44","id":"661555817715208192","enterpriseId":"661555823029391360","name":"autotest_supplier_paper_name","status":1,"type":1,"creatorId":null,"editorId":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","details":"autotest_supplier_paper_details","contactName":"autotest_supplier_paper_contactname","contactMoblie":"13800138000","managementModel":2,"isShowSupplierNameOnClient":null,"shortName":null,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","openAccountStatus":1,"openAccountStatusStr":"已开户","fddStatus":null,"fddStatusStr":"未认证","replyNum":0,"enterpriseStatus":1,"enterpriseStatusStr":"启用","idStr":"661555817715208192","createTimeStr":"2021-11-26 10:27:43"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:46.106" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:46.043" endtime="20211126 10:27:46.106"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.107" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:46.106" endtime="20211126 10:27:46.107"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.107" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'isDelete': False, 'createTime': '2021-11-26T10:27:43', 'updateTime': '2021-11-26T10:27:44', 'id': '661555817715208192', 'enterpriseId': '661555823029391360', 'name': 'autotest_supplier_paper_name', 'status': 1, 'type': 1, 'creatorId': None, 'editorId': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'details': 'autotest_supplier_paper_details', 'contactName': 'autotest_supplier_paper_contactname', 'contactMoblie': '13800138000', 'managementModel': 2, 'isShowSupplierNameOnClient': None, 'shortName': None, 'uniformSocialCreditCode': 'autotest91440101MA59F2J10M', 'openAccountStatus': 1, 'openAccountStatusStr': '已开户', 'fddStatus': None, 'fddStatusStr': '未认证', 'replyNum': 0, 'enterpriseStatus': 1, 'enterpriseStatusStr': '启用', 'idStr': '661555817715208192', 'createTimeStr': '2021-11-26 10:27:43'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'optimizeCountSql': True, 'hitCount': False, 'countId': None, 'maxLimit': None, 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:46.107" endtime="20211126 10:27:46.108"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.108" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:46.108" endtime="20211126 10:27:46.108"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:46.108" endtime="20211126 10:27:46.109"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>enterpriseId</arg>
</arguments>
<assign>
<var>${supplier_enterprise_id}</var>
</assign>
<msg timestamp="20211126 10:27:46.109" level="INFO">${supplier_enterprise_id} = 661555823029391360</msg>
<status status="PASS" starttime="20211126 10:27:46.109" endtime="20211126 10:27:46.109"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_enterprise_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.110" level="INFO">${supplier_enterprise_id} = 661555823029391360</msg>
<status status="PASS" starttime="20211126 10:27:46.109" endtime="20211126 10:27:46.110"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:46.041" endtime="20211126 10:27:46.110" critical="yes"></status>
</test>
<test id="s1-s5-s1-t6" name="operate_supplier_paper_save_base_info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.111" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:46.111" endtime="20211126 10:27:46.111"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_name</arg>
</arguments>
<assign>
<var>${supplier_paper_name}</var>
</assign>
<msg timestamp="20211126 10:27:46.112" level="INFO">${supplier_paper_name} = autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:46.112" endtime="20211126 10:27:46.112"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_shortName</arg>
</arguments>
<assign>
<var>${supplier_paper_shortName}</var>
</assign>
<msg timestamp="20211126 10:27:46.112" level="INFO">${supplier_paper_shortName} = autotest_shortName</msg>
<status status="PASS" starttime="20211126 10:27:46.112" endtime="20211126 10:27:46.112"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5</arg>
</arguments>
<assign>
<var>${supplier_paper_type}</var>
</assign>
<msg timestamp="20211126 10:27:46.113" level="INFO">${supplier_paper_type} = 5</msg>
<status status="PASS" starttime="20211126 10:27:46.112" endtime="20211126 10:27:46.113"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest91440101MA59F2J10M</arg>
</arguments>
<assign>
<var>${supplier_paper_uniformSocialCreditCode}</var>
</assign>
<msg timestamp="20211126 10:27:46.113" level="INFO">${supplier_paper_uniformSocialCreditCode} = autotest91440101MA59F2J10M</msg>
<status status="PASS" starttime="20211126 10:27:46.113" endtime="20211126 10:27:46.113"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalperson</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonName}</var>
</assign>
<msg timestamp="20211126 10:27:46.113" level="INFO">${supplier_paper_legalPersonName} = autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:46.113" endtime="20211126 10:27:46.113"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_legalpersonidcardno</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonIdCardNo}</var>
</assign>
<msg timestamp="20211126 10:27:46.114" level="INFO">${supplier_paper_legalPersonIdCardNo} = autotest_legalpersonidcardno</msg>
<status status="PASS" starttime="20211126 10:27:46.113" endtime="20211126 10:27:46.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonMobile}</var>
</assign>
<msg timestamp="20211126 10:27:46.114" level="INFO">${supplier_paper_legalPersonMobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:27:46.114" endtime="20211126 10:27:46.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${supplier_paper_paperSettlementIntervalTypeId}</var>
</assign>
<msg timestamp="20211126 10:27:46.114" level="INFO">${supplier_paper_paperSettlementIntervalTypeId} = 1</msg>
<status status="PASS" starttime="20211126 10:27:46.114" endtime="20211126 10:27:46.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${supplier_paper_locProvinceId}</var>
</assign>
<msg timestamp="20211126 10:27:46.114" level="INFO">${supplier_paper_locProvinceId} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:46.114" endtime="20211126 10:27:46.114"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${supplier_paper_locCityId}</var>
</assign>
<msg timestamp="20211126 10:27:46.115" level="INFO">${supplier_paper_locCityId} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:46.115" endtime="20211126 10:27:46.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${supplier_paper_locDistrictId}</var>
</assign>
<msg timestamp="20211126 10:27:46.115" level="INFO">${supplier_paper_locDistrictId} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:46.115" endtime="20211126 10:27:46.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${supplier_paper_locStreetId}</var>
</assign>
<msg timestamp="20211126 10:27:46.117" level="INFO">${supplier_paper_locStreetId} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:46.115" endtime="20211126 10:27:46.117"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${supplier_paper_locprovincename}</var>
</assign>
<msg timestamp="20211126 10:27:46.117" level="INFO">${supplier_paper_locprovincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:46.117" endtime="20211126 10:27:46.117"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${supplier_paper_loccityname}</var>
</assign>
<msg timestamp="20211126 10:27:46.117" level="INFO">${supplier_paper_loccityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:46.117" endtime="20211126 10:27:46.117"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${supplier_paper_locdistrictname}</var>
</assign>
<msg timestamp="20211126 10:27:46.118" level="INFO">${supplier_paper_locdistrictname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:46.118" endtime="20211126 10:27:46.118"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${supplier_paper_locstreetname}</var>
</assign>
<msg timestamp="20211126 10:27:46.118" level="INFO">${supplier_paper_locstreetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:46.118" endtime="20211126 10:27:46.118"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_details</arg>
</arguments>
<assign>
<var>${supplier_paper_locDetail}</var>
</assign>
<msg timestamp="20211126 10:27:46.118" level="INFO">${supplier_paper_locDetail} = autotest_supplier_paper_details</msg>
<status status="PASS" starttime="20211126 10:27:46.118" endtime="20211126 10:27:46.118"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonIdCardFrontImg}</var>
</assign>
<msg timestamp="20211126 10:27:46.119" level="INFO">${supplier_paper_legalPersonIdCardFrontImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:46.119" endtime="20211126 10:27:46.119"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_paper_legalPersonIdCardBackImg}</var>
</assign>
<msg timestamp="20211126 10:27:46.119" level="INFO">${supplier_paper_legalPersonIdCardBackImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:46.119" endtime="20211126 10:27:46.119"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_paper_businessLicenseImg}</var>
</assign>
<msg timestamp="20211126 10:27:46.119" level="INFO">${supplier_paper_businessLicenseImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:46.119" endtime="20211126 10:27:46.119"></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":"${supplier_enterprise_id}","createTime":null,"updateTime":"${current_date_second}","name":"${supplier_paper_name}","shortName":"${supplier_paper_shortName}","receiptRequirement":null,"legalPersonName":"${supplier_paper_legalPersonName}","legalPersonIdCardNo":"${supplier_paper_legalPersonIdCardNo}","legalPersonMobile":"${supplier_paper_legalPersonMobile}","type":${supplier_paper_type},"registeredCapital":999,"regAddrLongitude":null,"regAddrLatitude":null,"supplierId":null,"annualTurnover":100,"uniformSocialCreditCode":"${supplier_paper_uniformSocialCreditCode}","locProvinceId":${supplier_paper_locProvinceId},"locProvinceName":"${supplier_paper_locprovincename}","locCityId":${supplier_paper_locCityId},"locCityName":"${supplier_paper_loccityname}","locDistrictId":${supplier_paper_locDistrictId},"locDistrictName":"${supplier_paper_locdistrictname}","locStreetId":${supplier_paper_locStreetId},"locStreetName":"${supplier_paper_locstreetname}","locDetail":"${supplier_paper_locDetail}","businessLicenseImg":"${supplier_paper_businessLicenseImg}","legalPersonIdCardFrontImg":"${supplier_paper_legalPersonIdCardFrontImg}","legalPersonIdCardBackImg":"${supplier_paper_legalPersonIdCardBackImg}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:46.120" level="INFO">${body} = {"id":"661555823029391360","createTime":null,"updateTime":"2021-11-26 10:27:26","name":"autotest_supplier_paper_name","shortName":"autotest_shortName","receiptRequirement":null,"legalPersonName":"auto...</msg>
<status status="PASS" starttime="20211126 10:27:46.119" endtime="20211126 10:27:46.120"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/supplier/base-info</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:46.209" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/base-info
path_url=/cloud-print-user-center/admin/save/supplier/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '1074'}
body=b'{"id":"661555823029391360","createTime":null,"updateTime":"2021-11-26 10:27:26","name":"autotest_supplier_paper_name","shortName":"autotest_shortName","receiptRequirement":null,"legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","type":5,"registeredCapital":999,"regAddrLongitude":null,"regAddrLatitude":null,"supplierId":null,"annualTurnover":100,"uniformSocialCreditCode":"autotest91440101MA59F2J10M","locProvinceId":440000,"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityId":440100,"locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictId":440106,"locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetId":440106003,"locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","locDetail":"autotest_supplier_paper_details","businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
</msg>
<msg timestamp="20211126 10:27:46.209" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:46 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:46.209" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:46.120" endtime="20211126 10:27:46.209"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.210" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:46.209" endtime="20211126 10:27:46.210"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:46.210" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:46.210" endtime="20211126 10:27:46.210"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:46.211" endtime="20211126 10:27:46.211"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:47.211" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:46.211" endtime="20211126 10:27:47.212"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:46.110" endtime="20211126 10:27:47.212" critical="yes"></status>
</test>
<test id="s1-s5-s1-t7" name="operate_supplier_paper_save_main_products">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:47.213" endtime="20211126 10:27:47.214"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:47.214" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:47.214" endtime="20211126 10:27:47.214"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${supplier_enterprise_id}","mainCategoryBrandId":"599233095564136448","mainCategoryId":"638458876659896320","mainProducts":"638458876659896320"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:47.215" level="INFO">${body} = {"enterpriseId":"661555823029391360","mainCategoryBrandId":"599233095564136448","mainCategoryId":"638458876659896320","mainProducts":"638458876659896320"}</msg>
<status status="PASS" starttime="20211126 10:27:47.215" endtime="20211126 10:27:47.215"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/supplier/main-products</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:47.278" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/main-products
path_url=/cloud-print-user-center/admin/save/supplier/main-products
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '154'}
body=b'{"enterpriseId":"661555823029391360","mainCategoryBrandId":"599233095564136448","mainCategoryId":"638458876659896320","mainProducts":"638458876659896320"}'
</msg>
<msg timestamp="20211126 10:27:47.278" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/supplier/main-products
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:47 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:47.278" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:47.215" endtime="20211126 10:27:47.278"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:47.279" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:47.279" endtime="20211126 10:27:47.279"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:47.280" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:47.279" endtime="20211126 10:27:47.280"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:47.280" endtime="20211126 10:27:47.280"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:48.281" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:47.280" endtime="20211126 10:27:48.281"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:47.212" endtime="20211126 10:27:48.282" critical="yes"></status>
</test>
<test id="s1-s5-s1-t8" name="operate_supplier_paper_save_factory_list">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:48.283" endtime="20211126 10:27:48.283"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:48.283" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:48.283" endtime="20211126 10:27:48.284"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${supplier_factory_locProvinceId}</var>
</assign>
<msg timestamp="20211126 10:27:48.284" level="INFO">${supplier_factory_locProvinceId} = 440000</msg>
<status status="PASS" starttime="20211126 10:27:48.284" endtime="20211126 10:27:48.284"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${supplier_factory_locCityId}</var>
</assign>
<msg timestamp="20211126 10:27:48.284" level="INFO">${supplier_factory_locCityId} = 440100</msg>
<status status="PASS" starttime="20211126 10:27:48.284" endtime="20211126 10:27:48.284"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${supplier_factory_locDistrictId}</var>
</assign>
<msg timestamp="20211126 10:27:48.285" level="INFO">${supplier_factory_locDistrictId} = 440106</msg>
<status status="PASS" starttime="20211126 10:27:48.285" endtime="20211126 10:27:48.285"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${supplier_factory_locStreetId}</var>
</assign>
<msg timestamp="20211126 10:27:48.285" level="INFO">${supplier_factory_locStreetId} = 440106003</msg>
<status status="PASS" starttime="20211126 10:27:48.285" endtime="20211126 10:27:48.285"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${supplier_factory_locprovincename}</var>
</assign>
<msg timestamp="20211126 10:27:48.285" level="INFO">${supplier_factory_locprovincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:27:48.285" endtime="20211126 10:27:48.285"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${supplier_factory_loccityname}</var>
</assign>
<msg timestamp="20211126 10:27:48.286" level="INFO">${supplier_factory_loccityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:27:48.286" endtime="20211126 10:27:48.286"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${supplier_factory_locdistrictname}</var>
</assign>
<msg timestamp="20211126 10:27:48.286" level="INFO">${supplier_factory_locdistrictname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:27:48.286" endtime="20211126 10:27:48.286"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${supplier_factory_locstreetname}</var>
</assign>
<msg timestamp="20211126 10:27:48.286" level="INFO">${supplier_factory_locstreetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:27:48.286" endtime="20211126 10:27:48.286"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_factory_details</arg>
</arguments>
<assign>
<var>${supplier_factory_locDetail}</var>
</assign>
<msg timestamp="20211126 10:27:48.287" level="INFO">${supplier_factory_locDetail} = autotest_supplier_factory_details</msg>
<status status="PASS" starttime="20211126 10:27:48.287" endtime="20211126 10:27:48.287"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_factory_leaseContractImg}</var>
</assign>
<msg timestamp="20211126 10:27:48.287" level="INFO">${supplier_factory_leaseContractImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:48.287" endtime="20211126 10:27:48.287"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${supplier_factory_factoryPhotos}</var>
</assign>
<msg timestamp="20211126 10:27:48.287" level="INFO">${supplier_factory_factoryPhotos} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:48.287" endtime="20211126 10:27:48.287"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${supplier_enterprise_id}","factoryList":[{"locProvinceName":"${supplier_factory_locprovincename}","locCityName":"${supplier_factory_loccityname}","locDistrictName":"${supplier_factory_locdistrictname}","locStreetName":"${supplier_factory_locstreetname}","locDetail":"${supplier_factory_locDetail}","locProvinceId":${supplier_factory_locProvinceId},"locCityId":${supplier_factory_locCityId},"locDistrictId":${supplier_factory_locDistrictId},"locStreetId":${supplier_factory_locStreetId},"leaseContractImg":"${supplier_factory_leaseContractImg}","factoryPhotos":"${supplier_factory_factoryPhotos}"}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:48.288" level="INFO">${body} = {"enterpriseId":"661555823029391360","factoryList":[{"locProvinceName":"广东省","locCityName":"广州市","locDistrictName":"天河区","locStreetName":"车陂街道","locDetail":"autotest_supplier_factory_details","locProv...</msg>
<status status="PASS" starttime="20211126 10:27:48.287" endtime="20211126 10:27:48.288"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/factory-list</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:48.364" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory-list
path_url=/cloud-print-user-center/admin/save/factory-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '522'}
body=b'{"enterpriseId":"661555823029391360","factoryList":[{"locProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","locCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","locDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","locStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","locDetail":"autotest_supplier_factory_details","locProvinceId":440000,"locCityId":440100,"locDistrictId":440106,"locStreetId":440106003,"leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}]}'
</msg>
<msg timestamp="20211126 10:27:48.364" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/factory-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:48 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:48.364" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:48.288" endtime="20211126 10:27:48.364"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:48.365" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:48.364" endtime="20211126 10:27:48.365"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:48.366" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:48.365" endtime="20211126 10:27:48.366"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:48.366" endtime="20211126 10:27:48.366"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:49.367" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:48.366" endtime="20211126 10:27:49.367"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:48.282" endtime="20211126 10:27:49.367" critical="yes"></status>
</test>
<test id="s1-s5-s1-t9" name="operate_supplier_paper_save_private_account">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:49.369" endtime="20211126 10:27:49.369"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecops</arg>
<arg>${uecops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:49.369" level="INFO">Creating Session using : alias=uecops, url=https://api-ops-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:49.369" endtime="20211126 10:27:49.370"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_cardholder</arg>
</arguments>
<assign>
<var>${supplier_private_account_cardholderName}</var>
</assign>
<msg timestamp="20211126 10:27:49.371" level="INFO">${supplier_private_account_cardholderName} = autotest_cardholder</msg>
<status status="PASS" starttime="20211126 10:27:49.370" endtime="20211126 10:27:49.371"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_bankCardNumber</arg>
</arguments>
<assign>
<var>${supplier_private_account_bankCardNumber}</var>
</assign>
<msg timestamp="20211126 10:27:49.371" level="INFO">${supplier_private_account_bankCardNumber} = autotest_bankCardNumber</msg>
<status status="PASS" starttime="20211126 10:27:49.371" endtime="20211126 10:27:49.371"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_openingBank</arg>
</arguments>
<assign>
<var>${supplier_private_account_openingBank}</var>
</assign>
<msg timestamp="20211126 10:27:49.371" level="INFO">${supplier_private_account_openingBank} = autotest_openingBank</msg>
<status status="PASS" starttime="20211126 10:27:49.371" endtime="20211126 10:27:49.371"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${supplier_enterprise_id}","list":[{"cardholderName":"${supplier_private_account_cardholderName} ","bankCardNumber":"${supplier_private_account_bankCardNumber}","openingBank":"${supplier_private_account_openingBank} "}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:49.372" level="INFO">${body} = {"enterpriseId":"661555823029391360","list":[{"cardholderName":"autotest_cardholder ","bankCardNumber":"autotest_bankCardNumber","openingBank":"autotest_openingBank "}]}</msg>
<status status="PASS" starttime="20211126 10:27:49.371" endtime="20211126 10:27:49.372"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecops</arg>
<arg>/uec/admin/save/enterprise/private-account</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:49.421" level="INFO">POST Request : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
path_url=/uec/admin/save/enterprise/private-account
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '169'}
body=b'{"enterpriseId":"661555823029391360","list":[{"cardholderName":"autotest_cardholder ","bankCardNumber":"autotest_bankCardNumber","openingBank":"autotest_openingBank "}]}'
</msg>
<msg timestamp="20211126 10:27:49.421" level="INFO">POST Response : url=https://api-ops-uec-test.qniao.cn/uec/admin/save/enterprise/private-account
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:49 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":null}
</msg>
<msg timestamp="20211126 10:27:49.422" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:49.372" endtime="20211126 10:27:49.422"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:49.423" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:49.422" endtime="20211126 10:27:49.423"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:49.423" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:49.423" endtime="20211126 10:27:49.423"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:49.424" endtime="20211126 10:27:49.424"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:50.425" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:49.424" endtime="20211126 10:27:50.425"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:49.368" endtime="20211126 10:27:50.425" critical="yes"></status>
</test>
<test id="s1-s5-s1-t10" name="operate_supplier_paper_add_pc_machine">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:50.426" endtime="20211126 10:27:50.426"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:50.427" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:50.426" endtime="20211126 10:27:50.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>autotest_supplier_machine_name</arg>
</arguments>
<assign>
<var>${supplier_machine_name}</var>
</assign>
<msg timestamp="20211126 10:27:50.428" level="INFO">${supplier_machine_name} = autotest_supplier_machine_name</msg>
<status status="PASS" starttime="20211126 10:27:50.427" endtime="20211126 10:27:50.428"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>10</arg>
</arguments>
<assign>
<var>${supplier_machineType}</var>
</assign>
<msg timestamp="20211126 10:27:50.428" level="INFO">${supplier_machineType} = 10</msg>
<status status="PASS" starttime="20211126 10:27:50.428" endtime="20211126 10:27:50.428"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${supplier_enterprise_id}","id":null,"name":"${supplier_machine_name}","machineType":"${supplier_machineType}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:50.429" level="INFO">${body} = {"enterpriseId":"661555823029391360","id":null,"name":"autotest_supplier_machine_name","machineType":"10"}</msg>
<status status="PASS" starttime="20211126 10:27:50.428" endtime="20211126 10:27:50.429"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/capacity-market/add/pc-machine</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:50.537" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/capacity-market/add/pc-machine
path_url=/capacity-market/add/pc-machine
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '106'}
body=b'{"enterpriseId":"661555823029391360","id":null,"name":"autotest_supplier_machine_name","machineType":"10"}'
</msg>
<msg timestamp="20211126 10:27:50.537" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/capacity-market/add/pc-machine
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:50 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":"661555846110646272"}
</msg>
<msg timestamp="20211126 10:27:50.537" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:50.429" endtime="20211126 10:27:50.537"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:50.538" level="INFO">{'code': 0, 'message': 'successful', 'data': '661555846110646272'}</msg>
<status status="PASS" starttime="20211126 10:27:50.538" endtime="20211126 10:27:50.538"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:50.539" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:50.539" endtime="20211126 10:27:50.539"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:50.539" endtime="20211126 10:27:50.540"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:51.540" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:50.540" endtime="20211126 10:27:51.541"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:50.425" endtime="20211126 10:27:51.541" critical="yes"></status>
</test>
<test id="s1-s5-s1-t11" name="operate_supplier_paper_add_enterprise_administrator">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:51.542" endtime="20211126 10:27:51.542"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:51.543" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:51.543" endtime="20211126 10:27:51.544"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_name_supplier</arg>
</arguments>
<assign>
<var>${supplier_enterprise_administrator_realname}</var>
</assign>
<msg timestamp="20211126 10:27:51.544" level="INFO">${supplier_enterprise_administrator_realname} = autotest_name_supplier</msg>
<status status="PASS" starttime="20211126 10:27:51.544" endtime="20211126 10:27:51.544"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13123456789</arg>
</arguments>
<assign>
<var>${supplier_enterprise_administrator_mobile}</var>
</assign>
<msg timestamp="20211126 10:27:51.544" level="INFO">${supplier_enterprise_administrator_mobile} = 13123456789</msg>
<status status="PASS" starttime="20211126 10:27:51.544" endtime="20211126 10:27:51.545"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>ADMINISTRATOR</arg>
</arguments>
<assign>
<var>${supplier_enterprise_administrator_position}</var>
</assign>
<msg timestamp="20211126 10:27:51.545" level="INFO">${supplier_enterprise_administrator_position} = ADMINISTRATOR</msg>
<status status="PASS" starttime="20211126 10:27:51.545" endtime="20211126 10:27:51.545"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enterpriseId":"${supplier_enterprise_id}","realName":"${supplier_enterprise_administrator_realname}","mobile":${supplier_enterprise_administrator_mobile},"position":"${supplier_enterprise_administrator_position}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:51.545" level="INFO">${body} = {"enterpriseId":"661555823029391360","realName":"autotest_name_supplier","mobile":13123456789,"position":"ADMINISTRATOR"}</msg>
<status status="PASS" starttime="20211126 10:27:51.545" endtime="20211126 10:27:51.545"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/save/user/to/enterprise</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:51.645" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/user/to/enterprise
path_url=/cloud-print-user-center/admin/save/user/to/enterprise
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '121'}
body=b'{"enterpriseId":"661555823029391360","realName":"autotest_name_supplier","mobile":13123456789,"position":"ADMINISTRATOR"}'
</msg>
<msg timestamp="20211126 10:27:51.646" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/save/user/to/enterprise
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:51 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:51.646" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:51.546" endtime="20211126 10:27:51.646"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${supplier_enterprise_administrator_mobile}</arg>
</arguments>
<msg timestamp="20211126 10:27:51.647" level="INFO">${supplier_enterprise_administrator_mobile} = 13123456789</msg>
<status status="PASS" starttime="20211126 10:27:51.646" endtime="20211126 10:27:51.647"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${supplier_enterprise_administrator_realname}</arg>
</arguments>
<msg timestamp="20211126 10:27:51.647" level="INFO">${supplier_enterprise_administrator_realname} = autotest_name_supplier</msg>
<status status="PASS" starttime="20211126 10:27:51.647" endtime="20211126 10:27:51.647"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:51.648" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:51.647" endtime="20211126 10:27:51.648"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:51.648" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:51.648" endtime="20211126 10:27:51.649"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:51.649" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:51.649" endtime="20211126 10:27:51.649"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:51.649" endtime="20211126 10:27:51.650"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:52.650" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:51.650" endtime="20211126 10:27:52.651"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:51.541" endtime="20211126 10:27:52.651" critical="yes"></status>
</test>
<test id="s1-s5-s1-t12" name="operate_get_supplier_paper_base_info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.652" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:52.652" endtime="20211126 10:27:52.653"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/supplier/base-info/${supplier_enterprise_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:52.712" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/base-info/661555823029391360
path_url=/cloud-print-user-center/admin/get/supplier/base-info/661555823029391360
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:52.712" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/base-info/661555823029391360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"enterprise":{"id":"661555823029391360","isDelete":0,"createTime":"2021-11-26 10:27:45","updateTime":"2021-11-26 10:27:46","creatorId":"0","editorId":"0","name":"autotest_supplier_paper_name","uniformSocialCreditCode":"autotest91440101MA59F2J10M","status":0,"locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_supplier_paper_details","receiptRequirement":null,"legalPersonName":"autotest_legalperson","legalPersonIdCardNo":"autotest_legalpersonidcardno","legalPersonMobile":"13800138000","legalPersonIdCardFrontImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","legalPersonIdCardBackImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","type":5,"shortName":"autotest_shortName","registeredCapital":999.00000,"businessLicenseImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","regAddrLongitude":"113.40119","regAddrLatitude":"23.115953","supplierId":null,"annualTurnover":100.00,"fullAddress":"广东省广州市天河区车陂街道autotest_supplier_paper_details"},"mainProducts":{"enterpriseId":661555823029391360,"mainProducts":"638458876659896320","mainCategoryId":"638458876659896320","mainCategoryName":null,"mainCategoryBrandId":"599233095564136448","mainCategoryBrandName":null},"factoryList":[{"id":"661555837260664832","enterpriseId":"661555823029391360","locProvinceId":440000,"locProvinceName":"广东省","locCityId":440100,"locCityName":"广州市","locDistrictId":440106,"locDistrictName":"天河区","locStreetId":440106003,"locStreetName":"车陂街道","locDetail":"autotest_supplier_factory_details","locLongitude":"113.40119","locLatitude":"23.115953","floorSpace":null,"leaseContractImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","factoryPhotos":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","businessAnnualVolume":null,"mainProducts":null,"contactName":null,"contactMobile":null,"name":null}]}}
</msg>
<msg timestamp="20211126 10:27:52.713" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.653" endtime="20211126 10:27:52.713"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.714" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:52.713" endtime="20211126 10:27:52.714"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.715" level="INFO">{'code': 0, 'message': 'successful', 'data': {'enterprise': {'id': '661555823029391360', 'isDelete': 0, 'createTime': '2021-11-26 10:27:45', 'updateTime': '2021-11-26 10:27:46', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_supplier_paper_name', 'uniformSocialCreditCode': 'autotest91440101MA59F2J10M', 'status': 0, 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_supplier_paper_details', 'receiptRequirement': None, 'legalPersonName': 'autotest_legalperson', 'legalPersonIdCardNo': 'autotest_legalpersonidcardno', 'legalPersonMobile': '13800138000', 'legalPersonIdCardFrontImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'legalPersonIdCardBackImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'type': 5, 'shortName': 'autotest_shortName', 'registeredCapital': 999.0, 'businessLicenseImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'regAddrLongitude': '113.40119', 'regAddrLatitude': '23.115953', 'supplierId': None, 'annualTurnover': 100.0, 'fullAddress': '广东省广州市天河区车陂街道autotest_supplier_paper_details'}, 'mainProducts': {'enterpriseId': 661555823029391360, 'mainProducts': '638458876659896320', 'mainCategoryId': '638458876659896320', 'mainCategoryName': None, 'mainCategoryBrandId': '599233095564136448', 'mainCategoryBrandName': None}, 'factoryList': [{'id': '661555837260664832', 'enterpriseId': '661555823029391360', 'locProvinceId': 440000, 'locProvinceName': '广东省', 'locCityId': 440100, 'locCityName': '广州市', 'locDistrictId': 440106, 'locDistrictName': '天河区', 'locStreetId': 440106003, 'locStreetName': '车陂街道', 'locDetail': 'autotest_supplier_factory_details', 'locLongitude': '113.40119', 'locLatitude': '23.115953', 'floorSpace': None, 'leaseContractImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'factoryPhotos': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'businessAnnualVolume': None, 'mainProducts': None, 'contactName': None, 'contactMobile': None, 'name': None}]}}</msg>
<status status="PASS" starttime="20211126 10:27:52.714" endtime="20211126 10:27:52.715"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.716" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.715" endtime="20211126 10:27:52.716"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.716" endtime="20211126 10:27:52.717"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:52.651" endtime="20211126 10:27:52.717" critical="yes"></status>
</test>
<test id="s1-s5-s1-t13" name="operate_get_supplier_paper_settlement_account_info">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.719" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:52.718" endtime="20211126 10:27:52.720"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/get/supplier/settlement-account-info/${supplier_enterprise_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:52.788" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/settlement-account-info/661555823029391360
path_url=/cloud-print-user-center/admin/get/supplier/settlement-account-info/661555823029391360
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:52.788" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/get/supplier/settlement-account-info/661555823029391360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":{"settlementInfo":{"enterpriseId":"661555823029391360","createTime":"2021-11-26 10:27:44","creatorName":"梁金满","paperSettlementIntervalTypeId":"1","totalPayable":0.00,"totalTrade":0.00},"enterprisePrivateAccountList":[{"id":"661555841702432768","cardholderName":"autotest_cardholder ","openingBank":"autotest_openingBank ","bankCardNumber":"autotest_bankCardNumber","mobilePhone":null,"enterpriseId":"661555823029391360","isDelete":0,"createTime":"2021-11-26 10:27:49","updateTime":"2021-11-26 10:27:49"}]}}
</msg>
<msg timestamp="20211126 10:27:52.789" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.720" endtime="20211126 10:27:52.789"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.789" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:52.789" endtime="20211126 10:27:52.789"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.790" level="INFO">{'code': 0, 'message': 'successful', 'data': {'settlementInfo': {'enterpriseId': '661555823029391360', 'createTime': '2021-11-26 10:27:44', 'creatorName': '梁金满', 'paperSettlementIntervalTypeId': '1', 'totalPayable': 0.0, 'totalTrade': 0.0}, 'enterprisePrivateAccountList': [{'id': '661555841702432768', 'cardholderName': 'autotest_cardholder ', 'openingBank': 'autotest_openingBank ', 'bankCardNumber': 'autotest_bankCardNumber', 'mobilePhone': None, 'enterpriseId': '661555823029391360', 'isDelete': 0, 'createTime': '2021-11-26 10:27:49', 'updateTime': '2021-11-26 10:27:49'}]}}</msg>
<status status="PASS" starttime="20211126 10:27:52.790" endtime="20211126 10:27:52.790"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.790" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.790" endtime="20211126 10:27:52.791"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.791" endtime="20211126 10:27:52.791"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:52.717" endtime="20211126 10:27:52.791" critical="yes"></status>
</test>
<test id="s1-s5-s1-t14" name="operate_get_supplier_paper_employee_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.792" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:52.792" endtime="20211126 10:27:52.793"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>supplierEnterpriseId=${supplier_enterprise_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:52.793" level="INFO">${param} = supplierEnterpriseId=661555823029391360</msg>
<status status="PASS" starttime="20211126 10:27:52.793" endtime="20211126 10:27:52.793"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/get/employee-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:52.829" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/employee-list?supplierEnterpriseId=661555823029391360
path_url=/cloud-print-user-center/get/employee-list?supplierEnterpriseId=661555823029391360
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:52.829" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/employee-list?supplierEnterpriseId=661555823029391360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"661555851001204736","userId":"661555750476320768","realName":"autotest_name_supplier","position":"ADMINISTRATOR","mobile":"13123456789","nickName":null,"appFrom":"503258978847956666","appFromName":"千鸟纸多多","createTime":"2021-11-26 10:27:52","status":0,"idCardNo":null,"idCardImgs":null,"title":null,"enterpriseId":"661555823029391360","idCardImgsStr":null}],"total":1,"size":10,"current":1,"orders":null,"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:52.830" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.793" endtime="20211126 10:27:52.830"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.830" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:52.830" endtime="20211126 10:27:52.831"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.831" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555851001204736', 'userId': '661555750476320768', 'realName': 'autotest_name_supplier', 'position': 'ADMINISTRATOR', 'mobile': '13123456789', 'nickName': None, 'appFrom': '503258978847956666', 'appFromName': '千鸟纸多多', 'createTime': '2021-11-26 10:27:52', 'status': 0, 'idCardNo': None, 'idCardImgs': None, 'title': None, 'enterpriseId': '661555823029391360', 'idCardImgsStr': None}], 'total': 1, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:52.831" endtime="20211126 10:27:52.831"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.832" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.831" endtime="20211126 10:27:52.832"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.832" endtime="20211126 10:27:52.832"></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>${supplier_enterprise_administrator_mobile}</arg>
<arg>${response.json()["data"]["records"][0]["mobile"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.833" endtime="20211126 10:27:52.833"></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>${supplier_enterprise_administrator_realname}</arg>
<arg>${response.json()["data"]["records"][0]["realName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.833" endtime="20211126 10:27:52.834"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:52.792" endtime="20211126 10:27:52.834" critical="yes"></status>
</test>
<test id="s1-s5-s1-t15" name="operate_get_supplier_paper_machine_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.835" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:52.835" endtime="20211126 10:27:52.835"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enterpriseId=${supplier_enterprise_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:52.836" level="INFO">${param} = enterpriseId=661555823029391360</msg>
<status status="PASS" starttime="20211126 10:27:52.835" endtime="20211126 10:27:52.836"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/get/supplier/machine/page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:52.875" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/supplier/machine/page?enterpriseId=661555823029391360
path_url=/cloud-print-user-center/get/supplier/machine/page?enterpriseId=661555823029391360
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:52.875" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/get/supplier/machine/page?enterpriseId=661555823029391360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:52 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"661555846110646272","isDelete":0,"createTime":"2021-11-26 10:27:50","updateTime":"2021-11-26 10:27:50","enterpriseId":"661555823029391360","imgList":null,"purchaseAmount":null,"name":"autotest_supplier_machine_name","machineType":"10","machineTypeName":"烫金机","purchasingDate":null,"newnessDegree":null,"inputMaxSizeLength":null,"inputMaxSizeWidth":null,"inputMaxThickness":null,"lockSeam":null,"description":null,"model":null,"provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","longitude":"113.40119","latitude":"23.115953","capacity":null}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:52.875" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.836" endtime="20211126 10:27:52.875"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.876" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:52.875" endtime="20211126 10:27:52.876"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.876" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555846110646272', 'isDelete': 0, 'createTime': '2021-11-26 10:27:50', 'updateTime': '2021-11-26 10:27:50', 'enterpriseId': '661555823029391360', 'imgList': None, 'purchaseAmount': None, 'name': 'autotest_supplier_machine_name', 'machineType': '10', 'machineTypeName': '烫金机', 'purchasingDate': None, 'newnessDegree': None, 'inputMaxSizeLength': None, 'inputMaxSizeWidth': None, 'inputMaxThickness': None, 'lockSeam': None, 'description': None, 'model': None, 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'longitude': '113.40119', 'latitude': '23.115953', 'capacity': None}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:52.876" endtime="20211126 10:27:52.876"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.877" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.877" endtime="20211126 10:27:52.877"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.877" endtime="20211126 10:27:52.877"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:52.834" endtime="20211126 10:27:52.878" critical="yes"></status>
</test>
<test id="s1-s5-s1-t16" name="operate_get_supplier_paper_purchase_order_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.879" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:52.878" endtime="20211126 10:27:52.879"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enterpriseId=${supplier_enterprise_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:52.879" level="INFO">${param} = enterpriseId=661555823029391360</msg>
<status status="PASS" starttime="20211126 10:27:52.879" endtime="20211126 10:27:52.879"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/purchase-order-list/in/supplier-detail</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:52.942" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/purchase-order-list/in/supplier-detail?enterpriseId=661555823029391360
path_url=/trading-center/admin/get/purchase-order-list/in/supplier-detail?enterpriseId=661555823029391360
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:27:52.942" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/purchase-order-list/in/supplier-detail?enterpriseId=661555823029391360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:52 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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}}
</msg>
<msg timestamp="20211126 10:27:52.942" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.880" endtime="20211126 10:27:52.942"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.943" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:52.942" endtime="20211126 10:27:52.943"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.944" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:52.943" endtime="20211126 10:27:52.944"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.944" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.944" endtime="20211126 10:27:52.944"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:52.944" endtime="20211126 10:27:52.945"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:52.878" endtime="20211126 10:27:52.945" critical="yes"></status>
</test>
<test id="s1-s5-s1-t17" name="supplier_phone">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:52.946" endtime="20211126 10:27:52.946"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloud_factory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:52.946" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:52.946" endtime="20211126 10:27:52.947"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${accounttype}</var>
</assign>
<msg timestamp="20211126 10:27:52.947" level="INFO">${accounttype} = 2</msg>
<status status="PASS" starttime="20211126 10:27:52.947" endtime="20211126 10:27:52.947"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13123456789</arg>
</arguments>
<assign>
<var>${account}</var>
</assign>
<msg timestamp="20211126 10:27:52.947" level="INFO">${account} = 13123456789</msg>
<status status="PASS" starttime="20211126 10:27:52.947" endtime="20211126 10:27:52.947"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"accountType":${accounttype},"account":"${account}","captcha":"888888"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:52.948" level="INFO">${body} = {"accountType":2,"account":"13123456789","captcha":"888888"}</msg>
<status status="PASS" starttime="20211126 10:27:52.947" endtime="20211126 10:27:52.948"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/authorize/by-captcha</arg>
<arg>${body}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:53.019" 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;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Content-Length': '60'}
body={"accountType":2,"account":"13123456789","captcha":"888888"}
</msg>
<msg timestamp="20211126 10:27:53.019" 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, 26 Nov 2021 02:27:53 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":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==","userId":"661555750476320768"}}
</msg>
<msg timestamp="20211126 10:27:53.019" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:52.948" endtime="20211126 10:27:53.019"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.020" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:53.020" endtime="20211126 10:27:53.020"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.021" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==","userId":"661555750476320768"}}</msg>
<status status="PASS" starttime="20211126 10:27:53.021" endtime="20211126 10:27:53.021"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.021" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==', 'userId': '661555750476320768'}}</msg>
<status status="PASS" starttime="20211126 10:27:53.021" endtime="20211126 10:27:53.021"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.022" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:53.022" endtime="20211126 10:27:53.022"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:53.022" endtime="20211126 10:27:53.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>${response.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:53.023" level="INFO">${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==</msg>
<status status="PASS" starttime="20211126 10:27:53.023" endtime="20211126 10:27:53.023"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${gettoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.023" level="INFO">iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==</msg>
<status status="PASS" starttime="20211126 10:27:53.023" endtime="20211126 10:27:53.023"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${gettoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.024" level="INFO">${gettoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==</msg>
<status status="PASS" starttime="20211126 10:27:53.024" endtime="20211126 10:27:53.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>${response.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userid_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:53.024" level="INFO">${userid_supplier} = 661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:53.024" endtime="20211126 10:27:53.025"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${userid_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.025" level="INFO">661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:53.025" endtime="20211126 10:27:53.025"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${userid_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.025" level="INFO">${userid_supplier} = 661555750476320768</msg>
<status status="PASS" starttime="20211126 10:27:53.025" endtime="20211126 10:27:53.025"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847956666</arg>
<arg>Authorization=${gettoken_supplier}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactorysupplierheader}</var>
</assign>
<msg timestamp="20211126 10:27:53.026" level="INFO">&amp;{cloudfactorysupplierheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg== }</msg>
<status status="PASS" starttime="20211126 10:27:53.025" endtime="20211126 10:27:53.026"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.026" level="INFO">${cloudfactorysupplierheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}</msg>
<status status="PASS" starttime="20211126 10:27:53.026" endtime="20211126 10:27:53.026"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:52.945" endtime="20211126 10:27:53.027" critical="yes"></status>
</test>
<test id="s1-s5-s1-t18" name="supplier_login_token">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:53.027" endtime="20211126 10:27:53.028"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactorysupplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.028" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:53.028" endtime="20211126 10:27:53.028"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"loginToken":"${gettoken_supplier}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:53.029" level="INFO">${body} = {"loginToken":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=="}</msg>
<status status="PASS" starttime="20211126 10:27:53.028" endtime="20211126 10:27:53.029"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/authorize/get/product-line-token/by/login-token</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:53.114" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
path_url=/cloud-print-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;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==', 'Content-Length': '105'}
body=b'{"loginToken":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=="}'
</msg>
<msg timestamp="20211126 10:27:53.114" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:53 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":"iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=="}
</msg>
<msg timestamp="20211126 10:27:53.114" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:53.029" endtime="20211126 10:27:53.114"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.115" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:53.114" endtime="20211126 10:27:53.115"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.116" level="INFO">{'code': 0, 'message': 'successful', 'data': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}</msg>
<status status="PASS" starttime="20211126 10:27:53.115" endtime="20211126 10:27:53.116"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.116" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:53.116" endtime="20211126 10:27:53.116"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:53.116" endtime="20211126 10:27:53.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>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${getlogintoken_supplier}</var>
</assign>
<msg timestamp="20211126 10:27:53.117" level="INFO">${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==</msg>
<status status="PASS" starttime="20211126 10:27:53.117" endtime="20211126 10:27:53.118"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${getlogintoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.118" level="INFO">iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==</msg>
<status status="PASS" starttime="20211126 10:27:53.118" endtime="20211126 10:27:53.118"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${getlogintoken_supplier}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.118" level="INFO">${getlogintoken_supplier} = iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==</msg>
<status status="PASS" starttime="20211126 10:27:53.118" endtime="20211126 10:27:53.119"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>Content-Type=application/json;charset=UTF-8</arg>
<arg>X-APP-ID=503258978847956666</arg>
<arg>Authorization=${getlogintoken_supplier}</arg>
</arguments>
<assign>
<var>&amp;{cloudfactory_supplierheader}</var>
</assign>
<msg timestamp="20211126 10:27:53.119" level="INFO">&amp;{cloudfactory_supplierheader} = { Content-Type=application/json;charset=UTF-8 | X-APP-ID=503258978847956666 | Authorization=iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg== }</msg>
<status status="PASS" starttime="20211126 10:27:53.119" endtime="20211126 10:27:53.119"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.120" level="INFO">${cloudfactory_supplierheader} = {'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}</msg>
<status status="PASS" starttime="20211126 10:27:53.119" endtime="20211126 10:27:53.120"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:53.027" endtime="20211126 10:27:53.120" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:43.632" endtime="20211126 10:27:53.122"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:43.630" endtime="20211126 10:27:53.127"></status>
</suite>
<suite id="s1-s6" name="005 Enterprise Apply Credit" source="/root/yyt-trading-rf-api/005_enterprise_apply_credit">
<suite id="s1-s6-s1" name="Apply Credit Qniao Customer" source="/root/yyt-trading-rf-api/005_enterprise_apply_credit/apply_credit_qniao_customer.robot">
<test id="s1-s6-s1-t1" name="operate_save_apply_credit_qniao">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:53.138" endtime="20211126 10:27:53.138"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.139" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:53.139" endtime="20211126 10:27:53.139"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_type}</var>
</assign>
<msg timestamp="20211126 10:27:53.140" level="INFO">${printing_packaging_factory_type} = 2</msg>
<status status="PASS" starttime="20211126 10:27:53.139" endtime="20211126 10:27:53.140"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_purpose}</var>
</assign>
<msg timestamp="20211126 10:27:53.140" level="INFO">${printing_packaging_factory_purpose} = 1</msg>
<status status="PASS" starttime="20211126 10:27:53.140" endtime="20211126 10:27:53.140"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>990000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_creditLine}</var>
</assign>
<msg timestamp="20211126 10:27:53.140" level="INFO">${printing_packaging_factory_creditLine} = 990000</msg>
<status status="PASS" starttime="20211126 10:27:53.140" endtime="20211126 10:27:53.140"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>11</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_paperSettlementIntervalTypeId}</var>
</assign>
<msg timestamp="20211126 10:27:53.141" level="INFO">${printing_packaging_factory_paperSettlementIntervalTypeId} = 11</msg>
<status status="PASS" starttime="20211126 10:27:53.141" endtime="20211126 10:27:53.141"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_remark</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_remark}</var>
</assign>
<msg timestamp="20211126 10:27:53.141" level="INFO">${printing_packaging_factory_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:27:53.141" endtime="20211126 10:27:53.141"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"creditLine":${printing_packaging_factory_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_purpose},"remark":"${printing_packaging_factory_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_paperSettlementIntervalTypeId}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:53.142" level="INFO">${body} = {"creditLine":990000,"enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalpersonidcardno","legalpersonMob...</msg>
<status status="PASS" starttime="20211126 10:27:53.141" endtime="20211126 10:27:53.142"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/application/save/application</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:53.199" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/save/application
path_url=/cloud-print-user-center/admin/credit/application/save/application
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '327'}
body=b'{"creditLine":990000,"enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalpersonidcardno","legalpersonMobile":null,"legalpersonName":"autotest_legalperson","purpose":1,"remark":"autotest_remark","paperSettlementIntervalTypeId":"11"}'
</msg>
<msg timestamp="20211126 10:27:53.199" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/save/application
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:53 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:53.199" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:53.142" endtime="20211126 10:27:53.199"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${printing_packaging_factory_creditLine}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.200" level="INFO">${printing_packaging_factory_creditLine} = 990000</msg>
<status status="PASS" starttime="20211126 10:27:53.200" endtime="20211126 10:27:53.200"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.201" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:53.200" endtime="20211126 10:27:53.201"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.201" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:53.201" endtime="20211126 10:27:53.201"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:53.202" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:53.201" endtime="20211126 10:27:53.202"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:53.202" endtime="20211126 10:27:53.203"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:54.203" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:53.203" endtime="20211126 10:27:54.203"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:53.138" endtime="20211126 10:27:54.204" critical="yes"></status>
</test>
<test id="s1-s6-s1-t2" name="operate_get_credit_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.205" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:54.205" endtime="20211126 10:27:54.205"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/application/get/application-order-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:54.258" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list
path_url=/cloud-print-user-center/admin/credit/application/get/application-order-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:27:54.258" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555857565290496","enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-11-26 10:27:53","auditorName":"胡勤生","auditorTime":"2021-11-26 10:27:53","status":1,"remark":"autotest_remark","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651470047725883392","enterpriseId":"651116289812729856","enterpriseName":"2222XXX","enterpriseType":2,"legalpersonName":"4444","legalpersonIdNo":"5555","creditLine":300000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-29 14:30:28","auditorName":"胡勤生","auditorTime":"2021-10-29 14:30:28","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651145828639051776","enterpriseId":"651116728784392192","enterpriseName":"1111ssxx","enterpriseType":2,"legalpersonName":"444","legalpersonIdNo":"555","creditLine":100002.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-28 17:02:08","auditorName":"胡勤生","auditorTime":"2021-10-28 17:37:08","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651145509817421824","enterpriseId":"635463418333237248","enterpriseName":"测试向企业","enterpriseType":2,"legalpersonName":"测试向","legalpersonIdNo":"371699199306169985","creditLine":30000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-28 17:00:52","auditorName":"胡勤生","auditorTime":"2021-10-28 17:00:52","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"651142893398003712","enterpriseId":"651117713762160640","enterpriseName":"统计客户","enterpriseType":2,"legalpersonName":"统计客户","legalpersonIdNo":"统计客户","creditLine":1990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-28 16:50:29","auditorName":"胡勤生","auditorTime":"2021-10-29 10:54:40","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"647895981223972864","enterpriseId":"647880580117172224","enterpriseName":"豆腐丝稀饭瑟瑟发抖","enterpriseType":2,"legalpersonName":"豆腐丝稀饭瑟瑟发抖","legalpersonIdNo":"豆腐丝稀饭瑟瑟发抖","creditLine":9990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-19 17:48:24","auditorName":"胡勤生","auditorTime":"2021-10-19 17:51:18","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"12","paperSettlementIntervalTypeName":"月结45天"},{"id":"645258792631668736","enterpriseId":"635465709027201024","enterpriseName":"测试钟","enterpriseType":2,"legalpersonName":"测试钟","legalpersonIdNo":"370399198305239943","creditLine":100000000.00,"purpose":1,"creatorName":"贾晓堂","createTime":"2021-10-12 11:09:10","auditorName":"胡勤生","auditorTime":"2021-10-12 11:09:29","status":2,"remark":"1","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"15","paperSettlementIntervalTypeName":"月结90天"},{"id":"644896867263582208","enterpriseId":"639554551388704768","enterpriseName":"企鹅王","enterpriseType":2,"legalpersonName":"企鹅王","legalpersonIdNo":"企鹅王","creditLine":1000000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-10-11 11:11:00","auditorName":"胡勤生","auditorTime":"2021-10-13 15:55:28","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"635885416976879616","enterpriseId":"635820806936596480","enterpriseName":"测试10","enterpriseType":2,"legalpersonName":"交接","legalpersonIdNo":"v 2345678765456g","creditLine":10000.00,"purpose":1,"creatorName":"贾晓堂","createTime":"2021-09-16 14:22:43","auditorName":"胡勤生","auditorTime":"2021-09-16 14:22:43","status":2,"remark":"1","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"},{"id":"635198717397438464","enterpriseId":"635198331240452096","enterpriseName":"后台添加的企业","enterpriseType":2,"legalpersonName":"王冰泉","legalpersonIdNo":"210682199005255711","creditLine":150000.00,"purpose":1,"creatorName":"贾晓堂","createTime":"2021-09-14 16:54:01","auditorName":"胡勤生","auditorTime":"2021-09-14 16:54:01","status":2,"remark":null,"serviceFeeRatio":null,"paperSettlementIntervalTypeId":"12","paperSettlementIntervalTypeName":"月结45天"}],"total":48,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":5}}
</msg>
<msg timestamp="20211126 10:27:54.259" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:54.205" endtime="20211126 10:27:54.259"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.259" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:54.259" endtime="20211126 10:27:54.260"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.260" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555857565290496', 'enterpriseId': '661555773826011136', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-11-26 10:27:53', 'auditorName': '胡勤生', 'auditorTime': '2021-11-26 10:27:53', 'status': 1, 'remark': 'autotest_remark', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651470047725883392', 'enterpriseId': '651116289812729856', 'enterpriseName': '2222XXX', 'enterpriseType': 2, 'legalpersonName': '4444', 'legalpersonIdNo': '5555', 'creditLine': 300000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-29 14:30:28', 'auditorName': '胡勤生', 'auditorTime': '2021-10-29 14:30:28', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651145828639051776', 'enterpriseId': '651116728784392192', 'enterpriseName': '1111ssxx', 'enterpriseType': 2, 'legalpersonName': '444', 'legalpersonIdNo': '555', 'creditLine': 100002.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-28 17:02:08', 'auditorName': '胡勤生', 'auditorTime': '2021-10-28 17:37:08', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651145509817421824', 'enterpriseId': '635463418333237248', 'enterpriseName': '测试向企业', 'enterpriseType': 2, 'legalpersonName': '测试向', 'legalpersonIdNo': '371699199306169985', 'creditLine': 30000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-28 17:00:52', 'auditorName': '胡勤生', 'auditorTime': '2021-10-28 17:00:52', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '651142893398003712', 'enterpriseId': '651117713762160640', 'enterpriseName': '统计客户', 'enterpriseType': 2, 'legalpersonName': '统计客户', 'legalpersonIdNo': '统计客户', 'creditLine': 1990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-28 16:50:29', 'auditorName': '胡勤生', 'auditorTime': '2021-10-29 10:54:40', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '647895981223972864', 'enterpriseId': '647880580117172224', 'enterpriseName': '豆腐丝稀饭瑟瑟发抖', 'enterpriseType': 2, 'legalpersonName': '豆腐丝稀饭瑟瑟发抖', 'legalpersonIdNo': '豆腐丝稀饭瑟瑟发抖', 'creditLine': 9990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-19 17:48:24', 'auditorName': '胡勤生', 'auditorTime': '2021-10-19 17:51:18', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '12', 'paperSettlementIntervalTypeName': '月结45天'}, {'id': '645258792631668736', 'enterpriseId': '635465709027201024', 'enterpriseName': '测试钟', 'enterpriseType': 2, 'legalpersonName': '测试钟', 'legalpersonIdNo': '370399198305239943', 'creditLine': 100000000.0, 'purpose': 1, 'creatorName': '贾晓堂', 'createTime': '2021-10-12 11:09:10', 'auditorName': '胡勤生', 'auditorTime': '2021-10-12 11:09:29', 'status': 2, 'remark': '1', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '15', 'paperSettlementIntervalTypeName': '月结90天'}, {'id': '644896867263582208', 'enterpriseId': '639554551388704768', 'enterpriseName': '企鹅王', 'enterpriseType': 2, 'legalpersonName': '企鹅王', 'legalpersonIdNo': '企鹅王', 'creditLine': 1000000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-10-11 11:11:00', 'auditorName': '胡勤生', 'auditorTime': '2021-10-13 15:55:28', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '635885416976879616', 'enterpriseId': '635820806936596480', 'enterpriseName': '测试10', 'enterpriseType': 2, 'legalpersonName': '交接', 'legalpersonIdNo': 'v 2345678765456g', 'creditLine': 10000.0, 'purpose': 1, 'creatorName': '贾晓堂', 'createTime': '2021-09-16 14:22:43', 'auditorName': '胡勤生', 'auditorTime': '2021-09-16 14:22:43', 'status': 2, 'remark': '1', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}, {'id': '635198717397438464', 'enterpriseId': '635198331240452096', 'enterpriseName': '后台添加的企业', 'enterpriseType': 2, 'legalpersonName': '王冰泉', 'legalpersonIdNo': '210682199005255711', 'creditLine': 150000.0, 'purpose': 1, 'creatorName': '贾晓堂', 'createTime': '2021-09-14 16:54:01', 'auditorName': '胡勤生', 'auditorTime': '2021-09-14 16:54:01', 'status': 2, 'remark': None, 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '12', 'paperSettlementIntervalTypeName': '月结45天'}], 'total': 48, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 5}}</msg>
<status status="PASS" starttime="20211126 10:27:54.260" endtime="20211126 10:27:54.260"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.261" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:54.260" endtime="20211126 10:27:54.261"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:54.261" endtime="20211126 10:27:54.261"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:54.204" endtime="20211126 10:27:54.262" critical="yes"></status>
</test>
<test id="s1-s6-s1-t3" name="operate_get_credit_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.263" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:54.262" endtime="20211126 10:27:54.263"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>timeBegin=${current_date} 00:00:00&amp;timeEnd=${current_date} 23:59:59&amp;enterpriseName=${printing_packaging_factory_name}&amp;legalpersonName=${printing_packaging_factory_legalpersonname}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:54.264" level="INFO">${param} = timeBegin=2021-11-26 00:00:00&amp;timeEnd=2021-11-26 23:59:59&amp;enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:54.263" endtime="20211126 10:27:54.264"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/application/get/application-order-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:54.313" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list?timeBegin=2021-11-26%2000:00:00&amp;timeEnd=2021-11-26%2023:59:59&amp;enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson
path_url=/cloud-print-user-center/admin/credit/application/get/application-order-list?timeBegin=2021-11-26%2000:00:00&amp;timeEnd=2021-11-26%2023:59:59&amp;enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:27:54.313" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/get/application-order-list?timeBegin=2021-11-26%2000:00:00&amp;timeEnd=2021-11-26%2023:59:59&amp;enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555857565290496","enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"purpose":1,"creatorName":"梁金满","createTime":"2021-11-26 10:27:53","auditorName":"胡勤生","auditorTime":"2021-11-26 10:27:53","status":1,"remark":"autotest_remark","serviceFeeRatio":null,"paperSettlementIntervalTypeId":"11","paperSettlementIntervalTypeName":"月结30天"}],"total":1,"size":10,"current":1,"orders":[{"column":"create_time","asc":false}],"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:54.313" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:54.264" endtime="20211126 10:27:54.313"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.314" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:54.314" endtime="20211126 10:27:54.314"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.315" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555857565290496', 'enterpriseId': '661555773826011136', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'purpose': 1, 'creatorName': '梁金满', 'createTime': '2021-11-26 10:27:53', 'auditorName': '胡勤生', 'auditorTime': '2021-11-26 10:27:53', 'status': 1, 'remark': 'autotest_remark', 'serviceFeeRatio': None, 'paperSettlementIntervalTypeId': '11', 'paperSettlementIntervalTypeName': '月结30天'}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'create_time', 'asc': False}], 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:54.314" endtime="20211126 10:27:54.315"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.315" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:54.315" endtime="20211126 10:27:54.315"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:54.315" endtime="20211126 10:27:54.316"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_credit_id}</var>
</assign>
<msg timestamp="20211126 10:27:54.316" level="INFO">${printing_packaging_factory_credit_id} = 661555857565290496</msg>
<status status="PASS" starttime="20211126 10:27:54.316" endtime="20211126 10:27:54.316"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${printing_packaging_factory_credit_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.317" level="INFO">${printing_packaging_factory_credit_id} = 661555857565290496</msg>
<status status="PASS" starttime="20211126 10:27:54.317" endtime="20211126 10:27:54.317"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:54.262" endtime="20211126 10:27:54.317" critical="yes"></status>
</test>
<test id="s1-s6-s1-t4" name="operate_verify_reject_apply_credit_qniao">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:54.318" endtime="20211126 10:27:54.318"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.319" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:54.318" endtime="20211126 10:27:54.319"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_verify_status}</var>
</assign>
<msg timestamp="20211126 10:27:54.319" level="INFO">${printing_packaging_factory_verify_status} = 2</msg>
<status status="PASS" starttime="20211126 10:27:54.319" endtime="20211126 10:27:54.319"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"status":${printing_packaging_factory_verify_status}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:54.320" level="INFO">${body} = {"status":2}</msg>
<status status="PASS" starttime="20211126 10:27:54.319" endtime="20211126 10:27:54.320"></status>
</kw>
<kw name="Put On Session" library="RequestsLibrary">
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/application/verify/application-order/${printing_packaging_factory_credit_id}</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:54.380" level="INFO">PUT Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/661555857565290496
path_url=/cloud-print-user-center/admin/credit/application/verify/application-order/661555857565290496
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '12'}
body=b'{"status":2}'
</msg>
<msg timestamp="20211126 10:27:54.381" level="INFO">PUT Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/661555857565290496
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:54 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:54.381" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:54.320" endtime="20211126 10:27:54.381"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.382" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:54.381" endtime="20211126 10:27:54.382"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.382" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:54.382" endtime="20211126 10:27:54.382"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:54.383" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:54.383" endtime="20211126 10:27:54.383"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:54.383" endtime="20211126 10:27:54.384"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:55.384" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:54.384" endtime="20211126 10:27:55.385"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:54.317" endtime="20211126 10:27:55.385" critical="yes"></status>
</test>
<test id="s1-s6-s1-t5" name="operate_update_apply_credit_qniao">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:55.386" endtime="20211126 10:27:55.386"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:55.387" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:55.386" endtime="20211126 10:27:55.387"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_type}</var>
</assign>
<msg timestamp="20211126 10:27:55.387" level="INFO">${printing_packaging_factory_type} = 2</msg>
<status status="PASS" starttime="20211126 10:27:55.387" endtime="20211126 10:27:55.387"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_purpose}</var>
</assign>
<msg timestamp="20211126 10:27:55.388" level="INFO">${printing_packaging_factory_purpose} = 1</msg>
<status status="PASS" starttime="20211126 10:27:55.388" endtime="20211126 10:27:55.388"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>990000</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_creditLine}</var>
</assign>
<msg timestamp="20211126 10:27:55.388" level="INFO">${printing_packaging_factory_creditLine} = 990000</msg>
<status status="PASS" starttime="20211126 10:27:55.388" endtime="20211126 10:27:55.388"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>11</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_paperSettlementIntervalTypeId}</var>
</assign>
<msg timestamp="20211126 10:27:55.388" level="INFO">${printing_packaging_factory_paperSettlementIntervalTypeId} = 11</msg>
<status status="PASS" starttime="20211126 10:27:55.388" endtime="20211126 10:27:55.388"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_remark</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_remark}</var>
</assign>
<msg timestamp="20211126 10:27:55.389" level="INFO">${printing_packaging_factory_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:27:55.389" endtime="20211126 10:27:55.389"></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":"${printing_packaging_factory_credit_id}","creditLine":${printing_packaging_factory_creditLine},"enterpriseId":"${printing_packaging_factory_id}","enterpriseName":"${printing_packaging_factory_name}","enterpriseType":${printing_packaging_factory_type},"legalpersonIdNo":"${printing_packaging_factory_legalpersonidcardno}","legalpersonMobile":null,"legalpersonName":"${printing_packaging_factory_legalpersonname}","purpose":${printing_packaging_factory_purpose},"remark":"${printing_packaging_factory_remark}","paperSettlementIntervalTypeId":"${printing_packaging_factory_paperSettlementIntervalTypeId}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:55.390" level="INFO">${body} = {"id":"661555857565290496","creditLine":990000,"enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalperso...</msg>
<status status="PASS" starttime="20211126 10:27:55.389" endtime="20211126 10:27:55.390"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/application/update/application</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:55.452" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/update/application
path_url=/cloud-print-user-center/admin/credit/application/update/application
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '353'}
body=b'{"id":"661555857565290496","creditLine":990000,"enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonIdNo":"autotest_legalpersonidcardno","legalpersonMobile":null,"legalpersonName":"autotest_legalperson","purpose":1,"remark":"autotest_remark","paperSettlementIntervalTypeId":"11"}'
</msg>
<msg timestamp="20211126 10:27:55.452" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/update/application
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:55 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:55.452" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:55.390" endtime="20211126 10:27:55.452"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:55.453" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:55.452" endtime="20211126 10:27:55.453"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:55.453" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:55.453" endtime="20211126 10:27:55.454"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:55.454" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:55.454" endtime="20211126 10:27:55.454"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:55.454" endtime="20211126 10:27:55.455"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:56.455" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:55.455" endtime="20211126 10:27:56.455"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:55.385" endtime="20211126 10:27:56.456" critical="yes"></status>
</test>
<test id="s1-s6-s1-t6" name="operate_verify_pass_apply_credit_qniao">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:27:56.457" endtime="20211126 10:27:56.457"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:56.457" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:56.457" endtime="20211126 10:27:56.458"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_verify_status}</var>
</assign>
<msg timestamp="20211126 10:27:56.458" level="INFO">${printing_packaging_factory_verify_status} = 1</msg>
<status status="PASS" starttime="20211126 10:27:56.458" endtime="20211126 10:27:56.458"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"status":${printing_packaging_factory_verify_status}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:56.459" level="INFO">${body} = {"status":1}</msg>
<status status="PASS" starttime="20211126 10:27:56.458" endtime="20211126 10:27:56.459"></status>
</kw>
<kw name="Put On Session" library="RequestsLibrary">
<doc>Sends a PUT request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/application/verify/application-order/${printing_packaging_factory_credit_id}</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:56.552" level="INFO">PUT Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/661555857565290496
path_url=/cloud-print-user-center/admin/credit/application/verify/application-order/661555857565290496
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '12'}
body=b'{"status":1}'
</msg>
<msg timestamp="20211126 10:27:56.552" level="INFO">PUT Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/application/verify/application-order/661555857565290496
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:56 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:27:56.552" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:56.459" endtime="20211126 10:27:56.552"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:56.553" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:56.552" endtime="20211126 10:27:56.553"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:56.554" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:56.553" endtime="20211126 10:27:56.554"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:56.554" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:56.554" endtime="20211126 10:27:56.554"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:56.554" endtime="20211126 10:27:56.555"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:27:57.555" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:27:56.555" endtime="20211126 10:27:57.556"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:56.456" endtime="20211126 10:27:57.556" critical="yes"></status>
</test>
<test id="s1-s6-s1-t7" name="operate_get_credit_list_details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.557" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.557" endtime="20211126 10:27:57.558"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/get/enterprise-credit-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.607" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list
path_url=/cloud-print-user-center/admin/credit/get/enterprise-credit-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:27:57.607" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555871519739904","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661543157674151936","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661308728557047808","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661307234931838976","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661306878080454656","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661304984620634112","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661303240876494848","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661189627826278400","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661183624250527744","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661182769019359232","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00}],"total":155,"size":10,"current":1,"orders":[{"column":"id","asc":false}],"searchCount":true,"pages":16}}
</msg>
<msg timestamp="20211126 10:27:57.608" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.558" endtime="20211126 10:27:57.608"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.608" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:57.608" endtime="20211126 10:27:57.608"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.609" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555871519739904', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661543157674151936', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661308728557047808', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661307234931838976', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661306878080454656', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661304984620634112', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661303240876494848', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661189627826278400', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661183624250527744', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661182769019359232', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}], 'total': 155, 'size': 10, 'current': 1, 'orders': [{'column': 'id', 'asc': False}], 'searchCount': True, 'pages': 16}}</msg>
<status status="PASS" starttime="20211126 10:27:57.609" endtime="20211126 10:27:57.609"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.610" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.609" endtime="20211126 10:27:57.610"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.610" endtime="20211126 10:27:57.611"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.556" endtime="20211126 10:27:57.611" critical="yes"></status>
</test>
<test id="s1-s6-s1-t8" name="operate_get_credit_list_details_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.612" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.612" endtime="20211126 10:27:57.612"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enterpriseName=${printing_packaging_factory_name}&amp;legalpersonName=${printing_packaging_factory_legalpersonname}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:27:57.613" level="INFO">${param} = enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson</msg>
<status status="PASS" starttime="20211126 10:27:57.612" endtime="20211126 10:27:57.613"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/get/enterprise-credit-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.663" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list?enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson
path_url=/cloud-print-user-center/admin/credit/get/enterprise-credit-list?enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:27:57.663" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/get/enterprise-credit-list?enterpriseName=autotest_printing_packaging_factory_name&amp;legalpersonName=autotest_legalperson
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555871519739904","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661543157674151936","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661308728557047808","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661307234931838976","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661306878080454656","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661304984620634112","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":0.00,"availableCreditLine":990000.00,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661303240876494848","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661189627826278400","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661183624250527744","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00},{"id":"661182769019359232","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.00,"usedCreditLine":20372.44,"availableCreditLine":969627.56,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.00}],"total":113,"size":10,"current":1,"orders":[{"column":"id","asc":false}],"searchCount":true,"pages":12}}
</msg>
<msg timestamp="20211126 10:27:57.663" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.613" endtime="20211126 10:27:57.663"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.664" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:57.663" endtime="20211126 10:27:57.664"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.665" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555871519739904', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661543157674151936', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661308728557047808', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661307234931838976', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661306878080454656', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661304984620634112', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661303240876494848', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661189627826278400', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661183624250527744', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}, {'id': '661182769019359232', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 20372.44, 'availableCreditLine': 969627.56, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}], 'total': 113, 'size': 10, 'current': 1, 'orders': [{'column': 'id', 'asc': False}], 'searchCount': True, 'pages': 12}}</msg>
<status status="PASS" starttime="20211126 10:27:57.664" endtime="20211126 10:27:57.665"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.665" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.665" endtime="20211126 10:27:57.665"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.665" endtime="20211126 10:27:57.666"></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>${printing_packaging_factory_name}</arg>
<arg>${response.json()["data"]["records"][0]["enterpriseName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.666" endtime="20211126 10:27:57.666"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${printing_packaging_factory_credit_details_id}</var>
</assign>
<msg timestamp="20211126 10:27:57.667" level="INFO">${printing_packaging_factory_credit_details_id} = 661555871519739904</msg>
<status status="PASS" starttime="20211126 10:27:57.666" endtime="20211126 10:27:57.667"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${printing_packaging_factory_credit_details_id}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.667" level="INFO">${printing_packaging_factory_credit_details_id} = 661555871519739904</msg>
<status status="PASS" starttime="20211126 10:27:57.667" endtime="20211126 10:27:57.667"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.611" endtime="20211126 10:27:57.668" critical="yes"></status>
</test>
<test id="s1-s6-s1-t9" name="operate_get_credit_list_details_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.669" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.668" endtime="20211126 10:27:57.669"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/cloud-print-user-center/admin/credit/order/get/order-list/${printing_packaging_factory_credit_details_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.722" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/order/get/order-list/661555871519739904
path_url=/cloud-print-user-center/admin/credit/order/get/order-list/661555871519739904
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:27:57.722" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/cloud-print-user-center/admin/credit/order/get/order-list/661555871519739904
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555871540711424","tradeType":3,"createTime":"2021-11-26 10:27:56","originalCreditLine":0.00,"currentCreditLine":990000.00,"floatingCreditLine":990000.00,"exOrderId":null}],"total":1,"size":10,"current":1,"orders":[{"column":"id","asc":false}],"searchCount":true,"pages":1}}
</msg>
<msg timestamp="20211126 10:27:57.723" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.669" endtime="20211126 10:27:57.723"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.724" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:57.723" endtime="20211126 10:27:57.724"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.724" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555871540711424', 'tradeType': 3, 'createTime': '2021-11-26 10:27:56', 'originalCreditLine': 0.0, 'currentCreditLine': 990000.0, 'floatingCreditLine': 990000.0, 'exOrderId': None}], 'total': 1, 'size': 10, 'current': 1, 'orders': [{'column': 'id', 'asc': False}], 'searchCount': True, 'pages': 1}}</msg>
<status status="PASS" starttime="20211126 10:27:57.724" endtime="20211126 10:27:57.724"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.725" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.725" endtime="20211126 10:27:57.725"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.725" endtime="20211126 10:27:57.726"></status>
</kw>
<kw name="Should Be Equal As Integers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to integers.</doc>
<arguments>
<arg>${printing_packaging_factory_creditLine}</arg>
<arg>${response.json()["data"]["records"][0]["currentCreditLine"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.726" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'float'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.726" endtime="20211126 10:27:57.726"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.668" endtime="20211126 10:27:57.726" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:53.134" endtime="20211126 10:27:57.727"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:53.131" endtime="20211126 10:27:57.730"></status>
</suite>
<suite id="s1-s7" name="006 Get Credit" source="/root/yyt-trading-rf-api/006_get_credit">
<suite id="s1-s7-s1" name="Customer Credit Password" source="/root/yyt-trading-rf-api/006_get_credit/customer_credit_password.robot">
<test id="s1-s7-s1-t1" name="customer_get_credit_password_status">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.739" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.739" endtime="20211126 10:27:57.740"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/credit/payment-password/getstatus</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.782" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/getstatus
path_url=/cloud-print-user-center/credit/payment-password/getstatus
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:27:57.782" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/getstatus
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"admin":true,"setPassword":false}}
</msg>
<msg timestamp="20211126 10:27:57.782" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.740" endtime="20211126 10:27:57.782"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.783" level="INFO">{'code': 0, 'message': 'successful', 'data': {'admin': True, 'setPassword': False}}</msg>
<status status="PASS" starttime="20211126 10:27:57.782" endtime="20211126 10:27:57.783"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.783" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.783" endtime="20211126 10:27:57.784"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.784" endtime="20211126 10:27:57.784"></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>False</arg>
<arg>${response.json()["data"]["setPassword"]}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.785" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'bool'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.784" endtime="20211126 10:27:57.785"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.738" endtime="20211126 10:27:57.785" critical="yes"></status>
</test>
<test id="s1-s7-s1-t2" name="customer_save_credit_password">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.786" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.786" endtime="20211126 10:27:57.786"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>123456</arg>
</arguments>
<assign>
<var>${customer_credit_password}</var>
</assign>
<msg timestamp="20211126 10:27:57.787" level="INFO">${customer_credit_password} = 123456</msg>
<status status="PASS" starttime="20211126 10:27:57.787" endtime="20211126 10:27:57.787"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${save_creditpassword_type}</var>
</assign>
<msg timestamp="20211126 10:27:57.787" level="INFO">${save_creditpassword_type} = 0</msg>
<status status="PASS" starttime="20211126 10:27:57.787" endtime="20211126 10:27:57.787"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"oldPassword":"","newPassword":"${customer_credit_password}","repeatPassword":"${customer_credit_password}","status":${save_creditpassword_type}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:57.788" level="INFO">${body} = {"oldPassword":"","newPassword":"123456","repeatPassword":"123456","status":0}</msg>
<status status="PASS" starttime="20211126 10:27:57.788" endtime="20211126 10:27:57.788"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/credit/payment-password/save</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.851" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
path_url=/cloud-print-user-center/credit/payment-password/save
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '78'}
body=b'{"oldPassword":"","newPassword":"123456","repeatPassword":"123456","status":0}'
</msg>
<msg timestamp="20211126 10:27:57.851" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:57.852" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.788" endtime="20211126 10:27:57.852"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${customer_credit_password}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.852" level="INFO">${customer_credit_password} = 123456</msg>
<status status="PASS" starttime="20211126 10:27:57.852" endtime="20211126 10:27:57.852"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.853" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:57.852" endtime="20211126 10:27:57.853"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.853" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.853" endtime="20211126 10:27:57.853"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.854" endtime="20211126 10:27:57.854"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.785" endtime="20211126 10:27:57.854" critical="yes"></status>
</test>
<test id="s1-s7-s1-t3" name="customer_update_credit_password">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.855" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.855" endtime="20211126 10:27:57.855"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>123456</arg>
</arguments>
<assign>
<var>${customer_credit_password_new}</var>
</assign>
<msg timestamp="20211126 10:27:57.856" level="INFO">${customer_credit_password_new} = 123456</msg>
<status status="PASS" starttime="20211126 10:27:57.856" endtime="20211126 10:27:57.856"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${save_creditpassword_type}</var>
</assign>
<msg timestamp="20211126 10:27:57.856" level="INFO">${save_creditpassword_type} = 1</msg>
<status status="PASS" starttime="20211126 10:27:57.856" endtime="20211126 10:27:57.856"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"oldPassword":"${customer_credit_password}","newPassword":"${customer_credit_password_new}","repeatPassword":"${customer_credit_password_new}","status":${save_creditpassword_type}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:57.857" level="INFO">${body} = {"oldPassword":"123456","newPassword":"123456","repeatPassword":"123456","status":1}</msg>
<status status="PASS" starttime="20211126 10:27:57.856" endtime="20211126 10:27:57.857"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/credit/payment-password/save</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.913" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
path_url=/cloud-print-user-center/credit/payment-password/save
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '84'}
body=b'{"oldPassword":"123456","newPassword":"123456","repeatPassword":"123456","status":1}'
</msg>
<msg timestamp="20211126 10:27:57.913" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/payment-password/save
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:57.913" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.857" endtime="20211126 10:27:57.913"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.914" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:57.914" endtime="20211126 10:27:57.914"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.915" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.914" endtime="20211126 10:27:57.915"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.915" endtime="20211126 10:27:57.915"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_credit_password_new}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.916" level="INFO">${customer_credit_password_new} = 123456</msg>
<status status="PASS" starttime="20211126 10:27:57.916" endtime="20211126 10:27:57.916"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.854" endtime="20211126 10:27:57.916" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:57.735" endtime="20211126 10:27:57.917"></status>
</suite>
<suite id="s1-s7-s2" name="Customer Get Credit" source="/root/yyt-trading-rf-api/006_get_credit/customer_get_credit.robot">
<test id="s1-s7-s2-t1" name="customer_get_credit_qniao">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.922" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.922" endtime="20211126 10:27:57.922"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:57.960" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
path_url=/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:27:57.961" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:57 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"id":"661555871519739904","enterpriseName":"autotest_printing_packaging_factory_name","enterpriseType":2,"legalpersonName":"autotest_legalperson","legalpersonIdNo":"autotest_legalpersonidcardno","creditLine":990000.000,"usedCreditLine":0.000,"availableCreditLine":990000.000,"settlementPeriod":null,"settlementDays":null,"serviceFeeRatio":0.0000}}
</msg>
<msg timestamp="20211126 10:27:57.961" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.922" endtime="20211126 10:27:57.961"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.962" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555871519739904', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'enterpriseType': 2, 'legalpersonName': 'autotest_legalperson', 'legalpersonIdNo': 'autotest_legalpersonidcardno', 'creditLine': 990000.0, 'usedCreditLine': 0.0, 'availableCreditLine': 990000.0, 'settlementPeriod': None, 'settlementDays': None, 'serviceFeeRatio': 0.0}}</msg>
<status status="PASS" starttime="20211126 10:27:57.961" endtime="20211126 10:27:57.962"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.962" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.962" endtime="20211126 10:27:57.962"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:57.962" endtime="20211126 10:27:57.963"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.921" endtime="20211126 10:27:57.963" critical="yes"></status>
</test>
<test id="s1-s7-s2-t2" name="customer_get_credit_feisuan">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:57.964" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:57.964" endtime="20211126 10:27:57.965"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/credit/get/enterprise-feisuan-credit</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:58.003" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/enterprise-feisuan-credit
path_url=/cloud-print-user-center/credit/get/enterprise-feisuan-credit
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:27:58.003" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/credit/get/enterprise-feisuan-credit
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:58 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:58.004" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:57.965" endtime="20211126 10:27:58.004"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.005" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:58.004" endtime="20211126 10:27:58.005"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.005" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:58.005" endtime="20211126 10:27:58.005"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:58.006" endtime="20211126 10:27:58.006"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:57.963" endtime="20211126 10:27:58.006" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:57.917" endtime="20211126 10:27:58.007"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:57.733" endtime="20211126 10:27:58.008"></status>
</suite>
<suite id="s1-s8" name="007 Paper Variety Management" source="/root/yyt-trading-rf-api/007_paper_variety_management">
<suite id="s1-s8-s1" name="Paper Brand" source="/root/yyt-trading-rf-api/007_paper_variety_management/paper_brand.robot">
<test id="s1-s8-s1-t1" name="supplierfocus_save_paper_brand">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.016" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:27:58.015" endtime="20211126 10:27:58.016"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>638458876659896320</arg>
</arguments>
<assign>
<var>${paper_categoryid}</var>
</assign>
<msg timestamp="20211126 10:27:58.017" level="INFO">${paper_categoryid} = 638458876659896320</msg>
<status status="PASS" starttime="20211126 10:27:58.016" endtime="20211126 10:27:58.017"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>638458967357526016</arg>
</arguments>
<assign>
<var>${paper_Manufacturerid}</var>
</assign>
<msg timestamp="20211126 10:27:58.017" level="INFO">${paper_Manufacturerid} = 638458967357526016</msg>
<status status="PASS" starttime="20211126 10:27:58.017" endtime="20211126 10:27:58.017"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>aotutest_paper_brand_name</arg>
</arguments>
<assign>
<var>${paper_brand_name}</var>
</assign>
<msg timestamp="20211126 10:27:58.018" level="INFO">${paper_brand_name} = aotutest_paper_brand_name</msg>
<status status="PASS" starttime="20211126 10:27:58.017" endtime="20211126 10:27:58.018"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>aotutest_paper_name</arg>
</arguments>
<assign>
<var>${paper_name}</var>
</assign>
<msg timestamp="20211126 10:27:58.018" level="INFO">${paper_name} = aotutest_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:58.018" endtime="20211126 10:27:58.018"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>This autotest_paper_characteristic</arg>
</arguments>
<assign>
<var>${paper_characteristic}</var>
</assign>
<msg timestamp="20211126 10:27:58.018" level="INFO">${paper_characteristic} = This autotest_paper_characteristic</msg>
<status status="PASS" starttime="20211126 10:27:58.018" endtime="20211126 10:27:58.018"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>This apaper_description</arg>
</arguments>
<assign>
<var>${paper_description}</var>
</assign>
<msg timestamp="20211126 10:27:58.018" level="INFO">${paper_description} = This apaper_description</msg>
<status status="PASS" starttime="20211126 10:27:58.018" endtime="20211126 10:27:58.019"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${paper_brand_img}</var>
</assign>
<msg timestamp="20211126 10:27:58.019" level="INFO">${paper_brand_img} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:58.019" endtime="20211126 10:27:58.019"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"categoryId":"${paper_categoryid}","paperManufacturerId":"${paper_Manufacturerid}","name":"${paper_brand_name}","paperName":"${paper_name}","characteristic":"${paper_characteristic}","description":"${paper_description}","img":"${paper_brand_img}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:27:58.019" level="INFO">${body} = {"categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This autotest_paper_characteristic"...</msg>
<status status="PASS" starttime="20211126 10:27:58.019" endtime="20211126 10:27:58.019"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_brand_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.020" level="INFO">${paper_brand_name} = aotutest_paper_brand_name</msg>
<status status="PASS" starttime="20211126 10:27:58.020" endtime="20211126 10:27:58.020"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_name}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.020" level="INFO">${paper_name} = aotutest_paper_name</msg>
<status status="PASS" starttime="20211126 10:27:58.020" endtime="20211126 10:27:58.020"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_categoryid}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.021" level="INFO">${paper_categoryid} = 638458876659896320</msg>
<status status="PASS" starttime="20211126 10:27:58.020" endtime="20211126 10:27:58.021"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_Manufacturerid}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.021" level="INFO">${paper_Manufacturerid} = 638458967357526016</msg>
<status status="PASS" starttime="20211126 10:27:58.021" endtime="20211126 10:27:58.021"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_characteristic}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.022" level="INFO">${paper_characteristic} = This autotest_paper_characteristic</msg>
<status status="PASS" starttime="20211126 10:27:58.021" endtime="20211126 10:27:58.022"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_description}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.022" level="INFO">${paper_description} = This apaper_description</msg>
<status status="PASS" starttime="20211126 10:27:58.022" endtime="20211126 10:27:58.022"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_brand_img}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.022" level="INFO">${paper_brand_img} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:27:58.022" endtime="20211126 10:27:58.022"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/product/brand</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:27:58.082" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
path_url=/trading-center/save/product/brand
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '336'}
body=b'{"categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
</msg>
<msg timestamp="20211126 10:27:58.082" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:27:58 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:27:58.082" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:27:58.023" endtime="20211126 10:27:58.083"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.083" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:27:58.083" endtime="20211126 10:27:58.083"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.084" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:27:58.083" endtime="20211126 10:27:58.084"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:27:58.084" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:27:58.084" endtime="20211126 10:27:58.084"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:27:58.084" endtime="20211126 10:27:58.085"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20211126 10:28:00.085" level="INFO">Slept 2 seconds</msg>
<status status="PASS" starttime="20211126 10:27:58.085" endtime="20211126 10:28:00.086"></status>
</kw>
<status status="PASS" starttime="20211126 10:27:58.015" endtime="20211126 10:28:00.086" critical="yes"></status>
</test>
<test id="s1-s8-s1-t2" name="supplierfocus_get_paper_brand_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.087" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.087" endtime="20211126 10:28:00.088"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/product/brand-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.134" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list
path_url=/trading-center/get/product/brand-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:00.134" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":{"records":[{"id":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","createTime":"2021-11-26 10:27:58","updateTime":"2021-11-26 10:27:58","shortName":"apm"},{"id":"652853213489401856","categoryId":"1","categoryName":"白板纸","name":"沙雕风格","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"622401477847158784","paperManufacturerName":"广州一会发给黄","paperName":"111111111111111111111111","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635818800517.png","characteristic":null,"description":null,"createTime":"2021-11-02 10:06:41","updateTime":"2021-11-02 10:06:45","shortName":"供货"},{"id":"651122232923394048","categoryId":"16","categoryName":"其他","name":"统计","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"统计纸品","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635406102165.jpg","characteristic":null,"description":null,"createTime":"2021-10-28 15:28:23","updateTime":"2021-10-28 15:28:26","shortName":"test"},{"id":"650463564347346944","categoryId":"1","categoryName":"白板纸","name":"12312","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"34252345","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635249062613.jpg","characteristic":null,"description":null,"createTime":"2021-10-26 19:51:04","updateTime":"2021-10-26 19:51:08","shortName":"岳阳"},{"id":"647475598360449024","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"光明","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"624705315354578944","paperManufacturerName":"山东华泰纸业股份有限公司","paperName":"铁甲","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634536676230.jpg","characteristic":null,"description":null,"createTime":"2021-10-18 13:57:58","updateTime":"2021-10-18 13:58:05","shortName":"华泰"},{"id":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"橙光","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"岳阳特级牛卡","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634290245852.jpg","characteristic":"321","description":"123","createTime":"2021-10-15 17:30:50","updateTime":"2021-10-18 10:43:23","shortName":"岳阳"},{"id":"646077175493169152","categoryId":"8","categoryName":"白卡纸","name":"为人父","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617760337176956928","paperManufacturerName":"广州测试纸厂","paperName":"口语课回家","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634203265867.jpg","characteristic":null,"description":null,"createTime":"2021-10-14 17:21:08","updateTime":"2021-10-14 17:21:48","shortName":"测试纸厂"},{"id":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"122","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"617785159873335296","paperManufacturerName":"aaa","paperName":"一休","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632571489513.jpg","characteristic":null,"description":null,"createTime":"2021-09-25 20:04:52","updateTime":"2021-09-25 20:05:35","shortName":"a"},{"id":"634846041195286528","categoryId":"633768048419016704","categoryName":"而","name":"123","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"213","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631525556370.jpg","characteristic":null,"description":null,"createTime":"2021-09-13 17:32:37","updateTime":"2021-09-13 17:58:36","shortName":"岳阳"},{"id":"633768148222480384","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"掏粪工","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"620256187698515968","paperManufacturerName":"APP金光集团","paperName":"电饭锅","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg","characteristic":null,"description":null,"createTime":"2021-09-10 18:09:27","updateTime":"2021-09-23 10:25:46","shortName":"APP金光"},{"id":"623228969491238912","categoryId":"1","categoryName":"白板纸","name":"海龙","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623225300418957312","paperManufacturerName":"东莞玖龙纸业有限公司","paperName":"海龙白板","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","description":"涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。","createTime":"2021-08-12 16:10:31","updateTime":"2021-08-13 11:17:14","shortName":"东莞玖龙"},{"id":"623228646341087232","categoryId":"1","categoryName":"白板纸","name":"地龙","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623225300418957312","paperManufacturerName":"东莞玖龙纸业有限公司","paperName":"地龙灰底白","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","description":"涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。","createTime":"2021-08-12 16:09:14","updateTime":"2021-08-12 16:09:21","shortName":"东莞玖龙"},{"id":"623143393647792128","categoryId":"9","categoryName":"金银卡","name":"测试纸品","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"test测试纸品","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"description":null,"createTime":"2021-08-12 10:30:28","updateTime":"2021-10-13 14:35:14","shortName":"test"},{"id":"622859344161148928","categoryId":"8","categoryName":"白卡纸","name":"丽锦","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"622858763329736704","paperManufacturerName":"湛江晨鸣纸厂","paperName":"晨鸣丽锦白卡","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628667626654.jpeg","characteristic":"表面均匀平滑、耐折度高、光泽度高、层间接合度高","description":"特点:表面均匀平滑、耐折度高、光泽度高、层间接合度高; \n用途:日用品包装、化妆品包装、医药品包装、手提袋等。 ","createTime":"2021-08-11 15:41:45","updateTime":"2021-08-11 15:41:52","shortName":"晨鸣"},{"id":"622154891854483456","categoryId":"622154152801341440","categoryName":"213测试","name":"213品牌","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617725308912668672","paperManufacturerName":"55","paperName":"213白板","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"11","description":"22","createTime":"2021-08-09 17:02:31","updateTime":"2021-08-30 11:24:00","shortName":"5"},{"id":"620256796661125120","categoryId":"620255255233433600","categoryName":"特种牛皮纸","name":"金桂","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"620256187698515968","paperManufacturerName":"APP金光集团","paperName":"金桂特种牛皮纸","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"小贵,但质量好","description":"耐折,不掉粉,防潮","createTime":"2021-08-04 11:20:10","updateTime":"2021-08-13 11:17:29","shortName":"APP金光"},{"id":"618418545189064704","categoryId":"14","categoryName":"牛卡纸","name":"山东分公司表","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"618417503357505536","paperManufacturerName":"风格的风格的风格都过1","paperName":"2131","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"description":null,"createTime":"2021-07-30 09:35:36","updateTime":"2021-08-13 11:17:14","shortName":"该删"},{"id":"618216372782108672","categoryId":"15","categoryName":"特种纸","name":"山东分公司表","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"618215479944810496","paperManufacturerName":"风格的风格的风格都过","paperName":"违法该如何更好","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"description":null,"createTime":"2021-07-29 20:12:15","updateTime":"2021-08-13 11:17:17","shortName":"该删的"},{"id":"617825820777517056","categoryId":"15","categoryName":"特种纸","name":"ff","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"fff11","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"description":null,"createTime":"2021-07-28 18:20:20","updateTime":"2021-08-13 11:17:54","shortName":"gds"},{"id":"604400112793423872","categoryId":"8","categoryName":"白卡纸","name":"丽盈","creatorId":"0","editorId":"0","status":0,"paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"丽盈白卡纸","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","description":"可以从用途、硬度、白度等维度描述纸品","createTime":"2021-06-21 17:11:22","updateTime":"2021-08-13 11:17:28","shortName":"gds"}],"pageIdentifier":[1624295482000,60],"pageSize":20,"order":{},"next":true}}
</msg>
<msg timestamp="20211126 10:28:00.135" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.088" endtime="20211126 10:28:00.135"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.136" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.135" endtime="20211126 10:28:00.136"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.136" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'description': 'This apaper_description', 'createTime': '2021-11-26 10:27:58', 'updateTime': '2021-11-26 10:27:58', 'shortName': 'apm'}, {'id': '652853213489401856', 'categoryId': '1', 'categoryName': '白板纸', 'name': '沙雕风格', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '622401477847158784', 'paperManufacturerName': '广州一会发给黄', 'paperName': '111111111111111111111111', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635818800517.png', 'characteristic': None, 'description': None, 'createTime': '2021-11-02 10:06:41', 'updateTime': '2021-11-02 10:06:45', 'shortName': '供货'}, {'id': '651122232923394048', 'categoryId': '16', 'categoryName': '其他', 'name': '统计', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': '统计纸品', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635406102165.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-28 15:28:23', 'updateTime': '2021-10-28 15:28:26', 'shortName': 'test'}, {'id': '650463564347346944', 'categoryId': '1', 'categoryName': '白板纸', 'name': '12312', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '34252345', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635249062613.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-26 19:51:04', 'updateTime': '2021-10-26 19:51:08', 'shortName': '岳阳'}, {'id': '647475598360449024', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '光明', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '624705315354578944', 'paperManufacturerName': '山东华泰纸业股份有限公司', 'paperName': '铁甲', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634536676230.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-18 13:57:58', 'updateTime': '2021-10-18 13:58:05', 'shortName': '华泰'}, {'id': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '橙光', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '岳阳特级牛卡', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634290245852.jpg', 'characteristic': '321', 'description': '123', 'createTime': '2021-10-15 17:30:50', 'updateTime': '2021-10-18 10:43:23', 'shortName': '岳阳'}, {'id': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '为人父', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617760337176956928', 'paperManufacturerName': '广州测试纸厂', 'paperName': '口语课回家', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634203265867.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-10-14 17:21:08', 'updateTime': '2021-10-14 17:21:48', 'shortName': '测试纸厂'}, {'id': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '122', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '617785159873335296', 'paperManufacturerName': 'aaa', 'paperName': '一休', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632571489513.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-09-25 20:04:52', 'updateTime': '2021-09-25 20:05:35', 'shortName': 'a'}, {'id': '634846041195286528', 'categoryId': '633768048419016704', 'categoryName': '而', 'name': '123', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '213', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631525556370.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-09-13 17:32:37', 'updateTime': '2021-09-13 17:58:36', 'shortName': '岳阳'}, {'id': '633768148222480384', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '掏粪工', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '620256187698515968', 'paperManufacturerName': 'APP金光集团', 'paperName': '电饭锅', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-09-10 18:09:27', 'updateTime': '2021-09-23 10:25:46', 'shortName': 'APP金光'}, {'id': '623228969491238912', 'categoryId': '1', 'categoryName': '白板纸', 'name': '海龙', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623225300418957312', 'paperManufacturerName': '东莞玖龙纸业有限公司', 'paperName': '海龙白板', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'description': '涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。', 'createTime': '2021-08-12 16:10:31', 'updateTime': '2021-08-13 11:17:14', 'shortName': '东莞玖龙'}, {'id': '623228646341087232', 'categoryId': '1', 'categoryName': '白板纸', 'name': '地龙', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623225300418957312', 'paperManufacturerName': '东莞玖龙纸业有限公司', 'paperName': '地龙灰底白', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'description': '涂布灰底白板纸为一种纸板,纸板的一面有光滑的涂布面层,以致具备优越的印刷适性。涂布灰底白板纸一般用作需要高质印刷适性的小型彩盒包装物料,例如:电子消费品丶化妆品或其他消费商品的包装,亦可连同高强瓦楞原纸及卡纸用作瓦楞纸板的外层。玖龙集团分别以玖龙丶海龙丶地龙区分不同档次产品,以适应客户不同需求。', 'createTime': '2021-08-12 16:09:14', 'updateTime': '2021-08-12 16:09:21', 'shortName': '东莞玖龙'}, {'id': '623143393647792128', 'categoryId': '9', 'categoryName': '金银卡', 'name': '测试纸品', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': 'test测试纸品', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'description': None, 'createTime': '2021-08-12 10:30:28', 'updateTime': '2021-10-13 14:35:14', 'shortName': 'test'}, {'id': '622859344161148928', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '丽锦', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '622858763329736704', 'paperManufacturerName': '湛江晨鸣纸厂', 'paperName': '晨鸣丽锦白卡', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628667626654.jpeg', 'characteristic': '表面均匀平滑、耐折度高、光泽度高、层间接合度高', 'description': '特点:表面均匀平滑、耐折度高、光泽度高、层间接合度高; \n用途:日用品包装、化妆品包装、医药品包装、手提袋等。 ', 'createTime': '2021-08-11 15:41:45', 'updateTime': '2021-08-11 15:41:52', 'shortName': '晨鸣'}, {'id': '622154891854483456', 'categoryId': '622154152801341440', 'categoryName': '213测试', 'name': '213品牌', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617725308912668672', 'paperManufacturerName': '55', 'paperName': '213白板', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '11', 'description': '22', 'createTime': '2021-08-09 17:02:31', 'updateTime': '2021-08-30 11:24:00', 'shortName': '5'}, {'id': '620256796661125120', 'categoryId': '620255255233433600', 'categoryName': '特种牛皮纸', 'name': '金桂', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '620256187698515968', 'paperManufacturerName': 'APP金光集团', 'paperName': '金桂特种牛皮纸', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '小贵,但质量好', 'description': '耐折,不掉粉,防潮', 'createTime': '2021-08-04 11:20:10', 'updateTime': '2021-08-13 11:17:29', 'shortName': 'APP金光'}, {'id': '618418545189064704', 'categoryId': '14', 'categoryName': '牛卡纸', 'name': '山东分公司表', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '618417503357505536', 'paperManufacturerName': '风格的风格的风格都过1', 'paperName': '2131', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'description': None, 'createTime': '2021-07-30 09:35:36', 'updateTime': '2021-08-13 11:17:14', 'shortName': '该删'}, {'id': '618216372782108672', 'categoryId': '15', 'categoryName': '特种纸', 'name': '山东分公司表', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '618215479944810496', 'paperManufacturerName': '风格的风格的风格都过', 'paperName': '违法该如何更好', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'description': None, 'createTime': '2021-07-29 20:12:15', 'updateTime': '2021-08-13 11:17:17', 'shortName': '该删的'}, {'id': '617825820777517056', 'categoryId': '15', 'categoryName': '特种纸', 'name': 'ff', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': 'fff11', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'description': None, 'createTime': '2021-07-28 18:20:20', 'updateTime': '2021-08-13 11:17:54', 'shortName': 'gds'}, {'id': '604400112793423872', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '丽盈', 'creatorId': '0', 'editorId': '0', 'status': 0, 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': '丽盈白卡纸', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'description': '可以从用途、硬度、白度等维度描述纸品', 'createTime': '2021-06-21 17:11:22', 'updateTime': '2021-08-13 11:17:28', 'shortName': 'gds'}], 'pageIdentifier': [1624295482000, 60], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:00.136" endtime="20211126 10:28:00.137"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.137" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.137" endtime="20211126 10:28:00.137"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.137" endtime="20211126 10:28:00.138"></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>${paper_brand_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.138" endtime="20211126 10:28:00.139"></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>${paper_name}</arg>
<arg>${response.json()["data"]["records"][0]["paperName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.139" endtime="20211126 10:28:00.140"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.086" endtime="20211126 10:28:00.140" critical="yes"></status>
</test>
<test id="s1-s8-s1-t3" name="supplierfocus_search_paper_brand">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.141" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.141" endtime="20211126 10:28:00.141"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>searchValue=${paper_brand_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:00.142" level="INFO">${param} = searchValue=aotutest_paper_brand_name</msg>
<status status="PASS" starttime="20211126 10:28:00.141" endtime="20211126 10:28:00.142"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/product/brand-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.184" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list?searchValue=aotutest_paper_brand_name
path_url=/trading-center/get/product/brand-list?searchValue=aotutest_paper_brand_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:00.184" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/brand-list?searchValue=aotutest_paper_brand_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":{"records":[{"id":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","creatorId":"0","editorId":"0","status":1,"paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","createTime":"2021-11-26 10:27:58","updateTime":"2021-11-26 10:27:58","shortName":"apm"}],"pageIdentifier":[1637922478000,0.24282935,89],"pageSize":20,"order":{},"next":true}}
</msg>
<msg timestamp="20211126 10:28:00.184" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.142" endtime="20211126 10:28:00.185"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.185" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.185" endtime="20211126 10:28:00.185"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.186" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'creatorId': '0', 'editorId': '0', 'status': 1, 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'description': 'This apaper_description', 'createTime': '2021-11-26 10:27:58', 'updateTime': '2021-11-26 10:27:58', 'shortName': 'apm'}], 'pageIdentifier': [1637922478000, 0.24282935, 89], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:00.185" endtime="20211126 10:28:00.186"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.186" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.186" endtime="20211126 10:28:00.186"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.187" endtime="20211126 10:28:00.187"></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>${paper_brand_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.187" endtime="20211126 10:28:00.187"></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>${paper_name}</arg>
<arg>${response.json()["data"]["records"][0]["paperName"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.188" endtime="20211126 10:28:00.188"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_brand_id}</var>
</assign>
<msg timestamp="20211126 10:28:00.189" level="INFO">${paper_brand_id} = 661555878020911104</msg>
<status status="PASS" starttime="20211126 10:28:00.188" endtime="20211126 10:28:00.189"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_brand_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.189" level="INFO">${paper_brand_id} = 661555878020911104</msg>
<status status="PASS" starttime="20211126 10:28:00.189" endtime="20211126 10:28:00.189"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.140" endtime="20211126 10:28:00.189" critical="yes"></status>
</test>
<test id="s1-s8-s1-t4" name="supplierfocus_edit_paper_brand">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.190" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.190" endtime="20211126 10:28:00.191"></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":"${paper_brand_id}","categoryId":"${paper_categoryid}","paperManufacturerId":"${paper_Manufacturerid}","name":"${paper_brand_name}","paperName":"${paper_name}","characteristic":"${paper_characteristic}","description":"${paper_description}","img":"${paper_brand_img}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:00.191" level="INFO">${body} = {"id":"661555878020911104","categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This auto...</msg>
<status status="PASS" starttime="20211126 10:28:00.191" endtime="20211126 10:28:00.191"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/product/brand</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.273" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
path_url=/trading-center/save/product/brand
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '362'}
body=b'{"id":"661555878020911104","categoryId":"638458876659896320","paperManufacturerId":"638458967357526016","name":"aotutest_paper_brand_name","paperName":"aotutest_paper_name","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
</msg>
<msg timestamp="20211126 10:28:00.274" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/brand
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":null}
</msg>
<msg timestamp="20211126 10:28:00.274" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.191" endtime="20211126 10:28:00.274"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.275" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.274" endtime="20211126 10:28:00.275"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.276" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:00.275" endtime="20211126 10:28:00.276"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.276" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.276" endtime="20211126 10:28:00.276"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.276" endtime="20211126 10:28:00.277"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.190" endtime="20211126 10:28:00.277" critical="yes"></status>
</test>
<test id="s1-s8-s1-t5" name="supplierfocus_update_status_paper_brand">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.278" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.278" endtime="20211126 10:28:00.278"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"idList":["${paper_brand_id}"],"status":0}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:00.279" level="INFO">${body} = {"idList":["661555878020911104"],"status":0}</msg>
<status status="PASS" starttime="20211126 10:28:00.279" endtime="20211126 10:28:00.279"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/update/category-brands/status/batch</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.338" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/category-brands/status/batch
path_url=/trading-center/update/category-brands/status/batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '44'}
body=b'{"idList":["661555878020911104"],"status":0}'
</msg>
<msg timestamp="20211126 10:28:00.339" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/category-brands/status/batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":null}
</msg>
<msg timestamp="20211126 10:28:00.339" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.279" endtime="20211126 10:28:00.339"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.340" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.339" endtime="20211126 10:28:00.340"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.340" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:00.340" endtime="20211126 10:28:00.341"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.341" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.341" endtime="20211126 10:28:00.341"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.341" endtime="20211126 10:28:00.342"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.277" endtime="20211126 10:28:00.342" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:27:58.011" endtime="20211126 10:28:00.343"></status>
</suite>
<suite id="s1-s8-s2" name="Paper Category" source="/root/yyt-trading-rf-api/007_paper_variety_management/paper_category.robot">
<test id="s1-s8-s2-t1" name="supplierfocus_save_paper_category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.349" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.349" endtime="20211126 10:28:00.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>autotest_paper_category_name</arg>
</arguments>
<assign>
<var>${paper_category_name}</var>
</assign>
<msg timestamp="20211126 10:28:00.350" level="INFO">${paper_category_name} = autotest_paper_category_name</msg>
<status status="PASS" starttime="20211126 10:28:00.350" endtime="20211126 10:28:00.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>{"name":"${paper_category_name}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:00.351" level="INFO">${body} = {"name":"autotest_paper_category_name"}</msg>
<status status="PASS" starttime="20211126 10:28:00.350" endtime="20211126 10:28:00.351"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_category_name}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.351" level="INFO">${paper_category_name} = autotest_paper_category_name</msg>
<status status="PASS" starttime="20211126 10:28:00.351" endtime="20211126 10:28:00.351"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/product/paper-category</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.407" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
path_url=/trading-center/save/product/paper-category
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '39'}
body=b'{"name":"autotest_paper_category_name"}'
</msg>
<msg timestamp="20211126 10:28:00.407" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":null}
</msg>
<msg timestamp="20211126 10:28:00.407" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.351" endtime="20211126 10:28:00.407"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_category_name}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.408" level="INFO">${paper_category_name} = autotest_paper_category_name</msg>
<status status="PASS" starttime="20211126 10:28:00.408" endtime="20211126 10:28:00.408"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.409" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.409" endtime="20211126 10:28:00.409"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.410" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:00.409" endtime="20211126 10:28:00.410"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.411" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.410" endtime="20211126 10:28:00.411"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.411" endtime="20211126 10:28:00.412"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.348" endtime="20211126 10:28:00.412" critical="yes"></status>
</test>
<test id="s1-s8-s2-t2" name="supplierfocus_get_paper_category_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.414" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.413" endtime="20211126 10:28:00.414"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/product/paper-category-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.461" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/paper-category-list
path_url=/trading-center/get/product/paper-category-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:00.461" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/product/paper-category-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":{"records":[{"id":"661555887764279296","name":"autotest_paper_category_name","status":0,"createTime":"2021-11-26 10:28:00"},{"id":"638458876659896320","name":"autotest_category","status":0,"createTime":"2021-09-23 16:48:44"},{"id":"634845798869372928","name":"撒旦法","status":1,"createTime":"2021-09-13 17:31:39"},{"id":"633768048419016704","name":"而","status":0,"createTime":"2021-09-10 18:09:03"},{"id":"622858543002947584","name":"特级牛卡","status":0,"createTime":"2021-08-11 15:38:34"},{"id":"622154152801341440","name":"213测试","status":0,"createTime":"2021-08-09 16:59:35"},{"id":"620601711232421888","name":"111231去 ","status":0,"createTime":"2021-08-05 10:10:44"},{"id":"620255255233433600","name":"特种牛皮纸","status":0,"createTime":"2021-08-04 11:14:02"},{"id":"620254327726018560","name":"11123","status":0,"createTime":"2021-08-04 11:10:21"},{"id":"620253839144128512","name":"11123","status":0,"createTime":"2021-08-04 11:08:25"}],"total":26,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:00.461" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.415" endtime="20211126 10:28:00.462"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.462" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.462" endtime="20211126 10:28:00.462"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.463" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555887764279296', 'name': 'autotest_paper_category_name', 'status': 0, 'createTime': '2021-11-26 10:28:00'}, {'id': '638458876659896320', 'name': 'autotest_category', 'status': 0, 'createTime': '2021-09-23 16:48:44'}, {'id': '634845798869372928', 'name': '撒旦法', 'status': 1, 'createTime': '2021-09-13 17:31:39'}, {'id': '633768048419016704', 'name': '而', 'status': 0, 'createTime': '2021-09-10 18:09:03'}, {'id': '622858543002947584', 'name': '特级牛卡', 'status': 0, 'createTime': '2021-08-11 15:38:34'}, {'id': '622154152801341440', 'name': '213测试', 'status': 0, 'createTime': '2021-08-09 16:59:35'}, {'id': '620601711232421888', 'name': '111231去 ', 'status': 0, 'createTime': '2021-08-05 10:10:44'}, {'id': '620255255233433600', 'name': '特种牛皮纸', 'status': 0, 'createTime': '2021-08-04 11:14:02'}, {'id': '620254327726018560', 'name': '11123', 'status': 0, 'createTime': '2021-08-04 11:10:21'}, {'id': '620253839144128512', 'name': '11123', 'status': 0, 'createTime': '2021-08-04 11:08:25'}], 'total': 26, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:00.463" endtime="20211126 10:28:00.463"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.464" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.463" endtime="20211126 10:28:00.464"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.464" endtime="20211126 10:28:00.464"></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>${paper_category_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.465" endtime="20211126 10:28:00.465"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_category_id}</var>
</assign>
<msg timestamp="20211126 10:28:00.466" level="INFO">${paper_category_id} = 661555887764279296</msg>
<status status="PASS" starttime="20211126 10:28:00.465" endtime="20211126 10:28:00.466"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_category_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.466" level="INFO">${paper_category_id} = 661555887764279296</msg>
<status status="PASS" starttime="20211126 10:28:00.466" endtime="20211126 10:28:00.466"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>status</arg>
</arguments>
<assign>
<var>${paper_category_status}</var>
</assign>
<msg timestamp="20211126 10:28:00.467" level="INFO">${paper_category_status} = 0</msg>
<status status="PASS" starttime="20211126 10:28:00.467" endtime="20211126 10:28:00.467"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_category_status}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.468" level="INFO">${paper_category_status} = 0</msg>
<status status="PASS" starttime="20211126 10:28:00.468" endtime="20211126 10:28:00.468"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.412" endtime="20211126 10:28:00.468" critical="yes"></status>
</test>
<test id="s1-s8-s2-t3" name="supplierfocus_edit_paper_category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.470" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.469" endtime="20211126 10:28:00.470"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"name":"${paper_category_name}","id":"${paper_category_id}","status":${paper_category_status}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:00.470" level="INFO">${body} = {"name":"autotest_paper_category_name","id":"661555887764279296","status":0}</msg>
<status status="PASS" starttime="20211126 10:28:00.470" endtime="20211126 10:28:00.470"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/product/paper-category</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.532" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
path_url=/trading-center/save/product/paper-category
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '76'}
body=b'{"name":"autotest_paper_category_name","id":"661555887764279296","status":0}'
</msg>
<msg timestamp="20211126 10:28:00.533" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":null}
</msg>
<msg timestamp="20211126 10:28:00.533" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.471" endtime="20211126 10:28:00.533"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.534" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.533" endtime="20211126 10:28:00.534"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.534" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:00.534" endtime="20211126 10:28:00.534"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.535" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.534" endtime="20211126 10:28:00.535"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.535" endtime="20211126 10:28:00.535"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.468" endtime="20211126 10:28:00.535" critical="yes"></status>
</test>
<test id="s1-s8-s2-t4" name="supplierfocus_disable_paper_category">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.537" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.536" endtime="20211126 10:28:00.537"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"name":"${paper_category_name}","id":"${paper_category_id}","status":1}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:00.537" level="INFO">${body} = {"name":"autotest_paper_category_name","id":"661555887764279296","status":1}</msg>
<status status="PASS" starttime="20211126 10:28:00.537" endtime="20211126 10:28:00.537"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/product/paper-category</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.598" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
path_url=/trading-center/save/product/paper-category
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '76'}
body=b'{"name":"autotest_paper_category_name","id":"661555887764279296","status":1}'
</msg>
<msg timestamp="20211126 10:28:00.598" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product/paper-category
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":null}
</msg>
<msg timestamp="20211126 10:28:00.599" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.537" endtime="20211126 10:28:00.599"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.600" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.599" endtime="20211126 10:28:00.600"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.600" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:00.600" endtime="20211126 10:28:00.601"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.601" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.601" endtime="20211126 10:28:00.601"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.602" endtime="20211126 10:28:00.602"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.536" endtime="20211126 10:28:00.602" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:00.344" endtime="20211126 10:28:00.603"></status>
</suite>
<suite id="s1-s8-s3" name="Paper Manufacturer" source="/root/yyt-trading-rf-api/007_paper_variety_management/paper_manufacturer.robot">
<test id="s1-s8-s3-t1" name="supplierfocus_save_paper_manufacturer">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.609" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:00.609" endtime="20211126 10:28:00.609"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_paper_manufacturer_name</arg>
</arguments>
<assign>
<var>${paper_manufacturer_name}</var>
</assign>
<msg timestamp="20211126 10:28:00.610" level="INFO">${paper_manufacturer_name} = autotest_paper_manufacturer_name</msg>
<status status="PASS" starttime="20211126 10:28:00.610" endtime="20211126 10:28:00.610"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>apmn</arg>
</arguments>
<assign>
<var>${paper_manufacturer_shortName}</var>
</assign>
<msg timestamp="20211126 10:28:00.610" level="INFO">${paper_manufacturer_shortName} = apmn</msg>
<status status="PASS" starttime="20211126 10:28:00.610" endtime="20211126 10:28:00.610"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>This autotest_paper_manufacturer</arg>
</arguments>
<assign>
<var>${paper_manufacturer_description}</var>
</assign>
<msg timestamp="20211126 10:28:00.611" level="INFO">${paper_manufacturer_description} = This autotest_paper_manufacturer</msg>
<status status="PASS" starttime="20211126 10:28:00.610" endtime="20211126 10:28:00.611"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</arg>
</arguments>
<assign>
<var>${paper_manufacturer_logoImg}</var>
</assign>
<msg timestamp="20211126 10:28:00.611" level="INFO">${paper_manufacturer_logoImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:28:00.611" endtime="20211126 10:28:00.611"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"name":"${paper_manufacturer_name}","shortName":"${paper_manufacturer_shortName}","description":"${paper_manufacturer_description}","logoImg":"${paper_manufacturer_logoImg}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:00.611" level="INFO">${body} = {"name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"This autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/163237854...</msg>
<status status="PASS" starttime="20211126 10:28:00.611" endtime="20211126 10:28:00.611"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_manufacturer_name}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.612" level="INFO">${paper_manufacturer_name} = autotest_paper_manufacturer_name</msg>
<status status="PASS" starttime="20211126 10:28:00.612" endtime="20211126 10:28:00.612"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_manufacturer_shortName}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.612" level="INFO">${paper_manufacturer_shortName} = apmn</msg>
<status status="PASS" starttime="20211126 10:28:00.612" endtime="20211126 10:28:00.612"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_manufacturer_description}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.613" level="INFO">${paper_manufacturer_description} = This autotest_paper_manufacturer</msg>
<status status="PASS" starttime="20211126 10:28:00.613" endtime="20211126 10:28:00.613"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_manufacturer_logoImg}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.613" level="INFO">${paper_manufacturer_logoImg} = https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg</msg>
<status status="PASS" starttime="20211126 10:28:00.613" endtime="20211126 10:28:00.613"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/paper-manufacturer</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:00.671" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
path_url=/trading-center/save/paper-manufacturer
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '210'}
body=b'{"name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"This autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
</msg>
<msg timestamp="20211126 10:28:00.671" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:00 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":null}
</msg>
<msg timestamp="20211126 10:28:00.671" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.613" endtime="20211126 10:28:00.672"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.672" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:00.672" endtime="20211126 10:28:00.672"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.673" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:00.673" endtime="20211126 10:28:00.673"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:00.673" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:00.673" endtime="20211126 10:28:00.674"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:00.674" endtime="20211126 10:28:00.674"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20211126 10:28:02.675" level="INFO">Slept 2 seconds</msg>
<status status="PASS" starttime="20211126 10:28:00.674" endtime="20211126 10:28:02.675"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:00.608" endtime="20211126 10:28:02.675" critical="yes"></status>
</test>
<test id="s1-s8-s3-t2" name="supplierfocus_get_paper_manufacturer_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.677" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:02.676" endtime="20211126 10:28:02.678"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/paper-manufacturer/list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:02.719" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list
path_url=/trading-center/get/paper-manufacturer/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:02.720" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:02 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":{"records":[{"id":"661555888879964160","creatorId":"0","editorId":"0","name":"autotest_paper_manufacturer_name","shortName":"apmn","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","description":"This autotest_paper_manufacturer","createTime":"2021-11-26 10:28:01"},{"id":"638458967357526016","creatorId":"0","editorId":"0","name":"autotest_paper_manufacturer","shortName":"apm","logoImg":null,"description":"勿删AAA\n","createTime":"2021-09-23 16:49:05"},{"id":"624705488851963904","creatorId":"0","editorId":"0","name":"岳阳纸业股份有限公司","shortName":"岳阳","logoImg":null,"description":null,"createTime":"2021-08-16 17:57:41"},{"id":"624705379305132032","creatorId":"0","editorId":"0","name":"金东纸业(江苏)股份有限公司","shortName":"金东","logoImg":null,"description":null,"createTime":"2021-08-16 17:57:15"},{"id":"624705315354578944","creatorId":"0","editorId":"0","name":"山东华泰纸业股份有限公司","shortName":"华泰","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:59"},{"id":"624705248644173824","creatorId":"0","editorId":"0","name":"宁波亚洲浆业有限公司","shortName":"宁波亚洲","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:43"},{"id":"624705168600076288","creatorId":"0","editorId":"0","name":"江苏王子纸制有限公司","shortName":"王子","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:24"},{"id":"624705094885183488","creatorId":"0","editorId":"0","name":"海南金海浆纸业有限公司","shortName":"金海","logoImg":null,"description":null,"createTime":"2021-08-16 17:56:07"},{"id":"624705020796997632","creatorId":"0","editorId":"0","name":"华劲集团股份有限公司","shortName":"华劲","logoImg":null,"description":null,"createTime":"2021-08-16 17:55:49"},{"id":"624704937565229056","creatorId":"0","editorId":"0","name":"开平市易大丰纸业有限公司","shortName":"易大丰","logoImg":null,"description":null,"createTime":"2021-08-16 17:55:29"},{"id":"624704870452170752","creatorId":"0","editorId":"0","name":"东莞市金田纸业有限公司","shortName":"金田","logoImg":null,"description":null,"createTime":"2021-08-16 17:55:13"},{"id":"624704810486206464","creatorId":"0","editorId":"0","name":"东莞市新富发纸业有限公司","shortName":"新富发","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:59"},{"id":"624704736549015552","creatorId":"0","editorId":"0","name":"佛山市缘聚(聚义)纸类贸易有限公司","shortName":"缘聚","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:41"},{"id":"624704646061101056","creatorId":"0","editorId":"0","name":"广州厚歆贸易有限公司","shortName":"厚歆","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:20"},{"id":"624704583272370176","creatorId":"0","editorId":"0","name":"蕉岭金发纸业有限公司","shortName":"金发","logoImg":null,"description":null,"createTime":"2021-08-16 17:54:05"},{"id":"624704478167306240","creatorId":"0","editorId":"0","name":"东莞建晖纸业有限公司","shortName":"建晖","logoImg":null,"description":null,"createTime":"2021-08-16 17:53:40"},{"id":"624704401759670272","creatorId":"0","editorId":"0","name":"玖龙纸业(控股)有限公司","shortName":"玖龙","logoImg":null,"description":null,"createTime":"2021-08-16 17:53:21"},{"id":"624704319429677056","creatorId":"0","editorId":"0","name":"万国纸业太阳白卡纸有限公司","shortName":"万国","logoImg":null,"description":null,"createTime":"2021-08-16 17:53:02"},{"id":"624703581366390784","creatorId":"0","editorId":"0","name":"山东晨鸣纸业集团股份有限公司","shortName":"晨鸣","logoImg":null,"description":null,"createTime":"2021-08-16 17:50:06"},{"id":"624703270253891584","creatorId":"0","editorId":"0","name":"山东博汇纸业股份有限公司","shortName":"博汇","logoImg":null,"description":null,"createTime":"2021-08-16 17:48:52"}],"pageIdentifier":[1629136132000,38],"pageSize":20,"order":{},"next":true}}
</msg>
<msg timestamp="20211126 10:28:02.720" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.678" endtime="20211126 10:28:02.720"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.721" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:02.720" endtime="20211126 10:28:02.721"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.722" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555888879964160', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_paper_manufacturer_name', 'shortName': 'apmn', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'description': 'This autotest_paper_manufacturer', 'createTime': '2021-11-26 10:28:01'}, {'id': '638458967357526016', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_paper_manufacturer', 'shortName': 'apm', 'logoImg': None, 'description': '勿删AAA\n', 'createTime': '2021-09-23 16:49:05'}, {'id': '624705488851963904', 'creatorId': '0', 'editorId': '0', 'name': '岳阳纸业股份有限公司', 'shortName': '岳阳', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:57:41'}, {'id': '624705379305132032', 'creatorId': '0', 'editorId': '0', 'name': '金东纸业(江苏)股份有限公司', 'shortName': '金东', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:57:15'}, {'id': '624705315354578944', 'creatorId': '0', 'editorId': '0', 'name': '山东华泰纸业股份有限公司', 'shortName': '华泰', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:59'}, {'id': '624705248644173824', 'creatorId': '0', 'editorId': '0', 'name': '宁波亚洲浆业有限公司', 'shortName': '宁波亚洲', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:43'}, {'id': '624705168600076288', 'creatorId': '0', 'editorId': '0', 'name': '江苏王子纸制有限公司', 'shortName': '王子', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:24'}, {'id': '624705094885183488', 'creatorId': '0', 'editorId': '0', 'name': '海南金海浆纸业有限公司', 'shortName': '金海', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:56:07'}, {'id': '624705020796997632', 'creatorId': '0', 'editorId': '0', 'name': '华劲集团股份有限公司', 'shortName': '华劲', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:55:49'}, {'id': '624704937565229056', 'creatorId': '0', 'editorId': '0', 'name': '开平市易大丰纸业有限公司', 'shortName': '易大丰', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:55:29'}, {'id': '624704870452170752', 'creatorId': '0', 'editorId': '0', 'name': '东莞市金田纸业有限公司', 'shortName': '金田', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:55:13'}, {'id': '624704810486206464', 'creatorId': '0', 'editorId': '0', 'name': '东莞市新富发纸业有限公司', 'shortName': '新富发', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:59'}, {'id': '624704736549015552', 'creatorId': '0', 'editorId': '0', 'name': '佛山市缘聚(聚义)纸类贸易有限公司', 'shortName': '缘聚', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:41'}, {'id': '624704646061101056', 'creatorId': '0', 'editorId': '0', 'name': '广州厚歆贸易有限公司', 'shortName': '厚歆', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:20'}, {'id': '624704583272370176', 'creatorId': '0', 'editorId': '0', 'name': '蕉岭金发纸业有限公司', 'shortName': '金发', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:54:05'}, {'id': '624704478167306240', 'creatorId': '0', 'editorId': '0', 'name': '东莞建晖纸业有限公司', 'shortName': '建晖', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:53:40'}, {'id': '624704401759670272', 'creatorId': '0', 'editorId': '0', 'name': '玖龙纸业(控股)有限公司', 'shortName': '玖龙', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:53:21'}, {'id': '624704319429677056', 'creatorId': '0', 'editorId': '0', 'name': '万国纸业太阳白卡纸有限公司', 'shortName': '万国', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:53:02'}, {'id': '624703581366390784', 'creatorId': '0', 'editorId': '0', 'name': '山东晨鸣纸业集团股份有限公司', 'shortName': '晨鸣', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:50:06'}, {'id': '624703270253891584', 'creatorId': '0', 'editorId': '0', 'name': '山东博汇纸业股份有限公司', 'shortName': '博汇', 'logoImg': None, 'description': None, 'createTime': '2021-08-16 17:48:52'}], 'pageIdentifier': [1629136132000, 38], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:02.721" endtime="20211126 10:28:02.722"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.722" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.722" endtime="20211126 10:28:02.723"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.723" endtime="20211126 10:28:02.723"></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>${paper_manufacturer_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.723" endtime="20211126 10:28:02.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>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_manufacturer_id}</var>
</assign>
<msg timestamp="20211126 10:28:02.725" level="INFO">${paper_manufacturer_id} = 661555888879964160</msg>
<status status="PASS" starttime="20211126 10:28:02.724" endtime="20211126 10:28:02.725"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_manufacturer_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.725" level="INFO">${paper_manufacturer_id} = 661555888879964160</msg>
<status status="PASS" starttime="20211126 10:28:02.725" endtime="20211126 10:28:02.725"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:02.676" endtime="20211126 10:28:02.725" critical="yes"></status>
</test>
<test id="s1-s8-s3-t3" name="supplierfocus_search_paper_manufacturer">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.727" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:02.726" endtime="20211126 10:28:02.727"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>searchValue=${paper_manufacturer_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:02.728" level="INFO">${param} = searchValue=autotest_paper_manufacturer_name</msg>
<status status="PASS" starttime="20211126 10:28:02.727" endtime="20211126 10:28:02.728"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/paper-manufacturer/list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:02.769" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list?searchValue=autotest_paper_manufacturer_name
path_url=/trading-center/get/paper-manufacturer/list?searchValue=autotest_paper_manufacturer_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:02.769" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/paper-manufacturer/list?searchValue=autotest_paper_manufacturer_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:02 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":{"records":[{"id":"661555888879964160","creatorId":"0","editorId":"0","name":"autotest_paper_manufacturer_name","shortName":"apmn","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","description":"This autotest_paper_manufacturer","createTime":"2021-11-26 10:28:01"}],"pageIdentifier":[1637922481000,0.27366334,97],"pageSize":20,"order":{},"next":true}}
</msg>
<msg timestamp="20211126 10:28:02.769" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.728" endtime="20211126 10:28:02.769"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.770" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:02.770" endtime="20211126 10:28:02.770"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.771" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555888879964160', 'creatorId': '0', 'editorId': '0', 'name': 'autotest_paper_manufacturer_name', 'shortName': 'apmn', 'logoImg': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'description': 'This autotest_paper_manufacturer', 'createTime': '2021-11-26 10:28:01'}], 'pageIdentifier': [1637922481000, 0.27366334, 97], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:02.770" endtime="20211126 10:28:02.771"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.771" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.771" endtime="20211126 10:28:02.771"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.771" endtime="20211126 10:28:02.772"></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>${paper_manufacturer_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.772" endtime="20211126 10:28:02.772"></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>${paper_manufacturer_id}</arg>
<arg>${response.json()["data"]["records"][0]["id"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.773" endtime="20211126 10:28:02.773"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:02.726" endtime="20211126 10:28:02.773" critical="yes"></status>
</test>
<test id="s1-s8-s3-t4" name="supplierfocus_edit_paper_manufacturer">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.774" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:02.774" endtime="20211126 10:28:02.775"></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":"${paper_manufacturer_id}","name":"${paper_manufacturer_name}","shortName":"${paper_manufacturer_shortName}","description":"${paper_manufacturer_description}","logoImg":"${paper_manufacturer_logoImg}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:02.776" level="INFO">${body} = {"id":"661555888879964160","name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"This autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyunc...</msg>
<status status="PASS" starttime="20211126 10:28:02.775" endtime="20211126 10:28:02.776"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/paper-manufacturer</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:02.838" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
path_url=/trading-center/save/paper-manufacturer
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '236'}
body=b'{"id":"661555888879964160","name":"autotest_paper_manufacturer_name","shortName":"apmn","description":"This autotest_paper_manufacturer","logoImg":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg"}'
</msg>
<msg timestamp="20211126 10:28:02.838" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/paper-manufacturer
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:02 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":null}
</msg>
<msg timestamp="20211126 10:28:02.838" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.776" endtime="20211126 10:28:02.838"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.839" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:02.839" endtime="20211126 10:28:02.839"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.840" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:02.840" endtime="20211126 10:28:02.840"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.841" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.840" endtime="20211126 10:28:02.841"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.841" endtime="20211126 10:28:02.841"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:02.774" endtime="20211126 10:28:02.841" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:00.604" endtime="20211126 10:28:02.842"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:58.009" endtime="20211126 10:28:02.844"></status>
</suite>
<suite id="s1-s9" name="008 Market Information" source="/root/yyt-trading-rf-api/008_market_information">
<suite id="s1-s9-s1" name="Market Information Link" source="/root/yyt-trading-rf-api/008_market_information/market_information_link.robot">
<test id="s1-s9-s1-t1" name="operate_save_market_information_link">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20211126 10:28:02.853" endtime="20211126 10:28:02.855"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.855" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:02.855" endtime="20211126 10:28:02.856"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect</arg>
</arguments>
<assign>
<var>${market_information_link}</var>
</assign>
<msg timestamp="20211126 10:28:02.856" level="INFO">${market_information_link} = http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#we...</msg>
<status status="PASS" starttime="20211126 10:28:02.856" endtime="20211126 10:28:02.856"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"link":"${market_information_link}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:02.857" level="INFO">${body} = {"link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;sc...</msg>
<status status="PASS" starttime="20211126 10:28:02.856" endtime="20211126 10:28:02.857"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${market_information_link}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.857" level="INFO">${market_information_link} = http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#we...</msg>
<status status="PASS" starttime="20211126 10:28:02.857" endtime="20211126 10:28:02.857"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/save/market-information-link</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:02.933" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/save/market-information-link
path_url=/trading-center/admin/save/market-information-link
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '224'}
body=b'{"link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect"}'
</msg>
<msg timestamp="20211126 10:28:02.933" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/save/market-information-link
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:28:02.934" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.857" endtime="20211126 10:28:02.934"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.935" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:02.934" endtime="20211126 10:28:02.935"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.935" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:02.935" endtime="20211126 10:28:02.935"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.936" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.935" endtime="20211126 10:28:02.936"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.936" endtime="20211126 10:28:02.937"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:02.853" endtime="20211126 10:28:02.937" critical="yes"></status>
</test>
<test id="s1-s9-s1-t2" name="operate_get_market_information_link_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationbackend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.938" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:02.938" endtime="20211126 10:28:02.938"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/market-information-link-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:02.994" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/market-information-link-list
path_url=/trading-center/admin/get/market-information-link-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:28:02.994" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/market-information-link-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:02 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555898342313984","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":0,"createTime":"2021-11-26 10:28:03","updateTime":null,"creatorName":"梁金满"},{"id":"661543184853241856","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-26 09:37:32","updateTime":"2021-11-26 10:28:03","creatorName":"梁金满"},{"id":"661308760265986048","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 18:06:01","updateTime":"2021-11-26 09:37:32","creatorName":"梁金满"},{"id":"661307266317815808","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 18:00:04","updateTime":"2021-11-25 18:06:01","creatorName":"梁金满"},{"id":"661306909676146688","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 17:58:39","updateTime":"2021-11-25 18:00:04","creatorName":"梁金满"},{"id":"661303276335140864","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 17:44:13","updateTime":"2021-11-25 17:58:39","creatorName":"梁金满"},{"id":"661189655617736704","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 10:12:44","updateTime":"2021-11-25 17:44:13","creatorName":"梁金满"},{"id":"661183652180398080","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 09:48:53","updateTime":"2021-11-25 10:12:44","creatorName":"梁金满"},{"id":"661182802255024128","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 09:45:30","updateTime":"2021-11-25 09:48:53","creatorName":"梁金满"},{"id":"661182238121136128","link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect","clickNum":1,"createTime":"2021-11-25 09:43:15","updateTime":"2021-11-25 09:45:30","creatorName":"梁金满"}],"total":135,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:02.994" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.938" endtime="20211126 10:28:02.995"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.996" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:02.995" endtime="20211126 10:28:02.996"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.997" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555898342313984', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 0, 'createTime': '2021-11-26 10:28:03', 'updateTime': None, 'creatorName': '梁金满'}, {'id': '661543184853241856', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-26 09:37:32', 'updateTime': '2021-11-26 10:28:03', 'creatorName': '梁金满'}, {'id': '661308760265986048', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 18:06:01', 'updateTime': '2021-11-26 09:37:32', 'creatorName': '梁金满'}, {'id': '661307266317815808', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 18:00:04', 'updateTime': '2021-11-25 18:06:01', 'creatorName': '梁金满'}, {'id': '661306909676146688', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 17:58:39', 'updateTime': '2021-11-25 18:00:04', 'creatorName': '梁金满'}, {'id': '661303276335140864', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 17:44:13', 'updateTime': '2021-11-25 17:58:39', 'creatorName': '梁金满'}, {'id': '661189655617736704', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 10:12:44', 'updateTime': '2021-11-25 17:44:13', 'creatorName': '梁金满'}, {'id': '661183652180398080', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 09:48:53', 'updateTime': '2021-11-25 10:12:44', 'creatorName': '梁金满'}, {'id': '661182802255024128', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 09:45:30', 'updateTime': '2021-11-25 09:48:53', 'creatorName': '梁金满'}, {'id': '661182238121136128', 'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect', 'clickNum': 1, 'createTime': '2021-11-25 09:43:15', 'updateTime': '2021-11-25 09:45:30', 'creatorName': '梁金满'}], 'total': 135, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:02.996" endtime="20211126 10:28:02.997"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:02.998" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:02.997" endtime="20211126 10:28:02.998"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.998" endtime="20211126 10:28:02.999"></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>${market_information_link}</arg>
<arg>${response.json()["data"]["records"][0]["link"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:02.999" endtime="20211126 10:28:02.999"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:02.937" endtime="20211126 10:28:03.000" critical="yes"></status>
</test>
<test id="s1-s9-s1-t3" name="customer_get_market_information_link">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.001" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:03.001" endtime="20211126 10:28:03.002"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/market-information-link</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:03.045" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/market-information-link
path_url=/trading-center/get/market-information-link
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:03.045" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/market-information-link
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:03 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":{"link":"http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect"}}
</msg>
<msg timestamp="20211126 10:28:03.045" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:03.002" endtime="20211126 10:28:03.046"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.046" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:03.046" endtime="20211126 10:28:03.046"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.047" level="INFO">{'code': 0, 'message': 'successful', 'data': {'link': 'http://mp.weixin.qq.com/s?__biz=MzU1MDMwNzAzMA==&amp;mid=2247483666&amp;idx=1&amp;sn=f63007b21094978d2f864fdd884b39dc&amp;chksm=fba3d4abccd45dbdb535ef00b0a3cb7c24242e467f3b55e067c343da11d780d527d6fc5cb327&amp;scene=18#wechat_redirect'}}</msg>
<status status="PASS" starttime="20211126 10:28:03.047" endtime="20211126 10:28:03.047"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.048" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:03.047" endtime="20211126 10:28:03.048"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:03.048" endtime="20211126 10:28:03.048"></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>${market_information_link}</arg>
<arg>${response.json()["data"]["link"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:03.048" endtime="20211126 10:28:03.049"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:03.000" endtime="20211126 10:28:03.049" critical="yes"></status>
</test>
<test id="s1-s9-s1-t4" name="record_market_information_link_view">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.050" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:03.050" endtime="20211126 10:28:03.050"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/record/market-information-link/view</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:03.102" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/record/market-information-link/view
path_url=/trading-center/record/market-information-link/view
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '0'}
body=None
</msg>
<msg timestamp="20211126 10:28:03.102" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/record/market-information-link/view
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:03 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":null}
</msg>
<msg timestamp="20211126 10:28:03.103" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:03.051" endtime="20211126 10:28:03.103"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.103" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:03.103" endtime="20211126 10:28:03.103"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.104" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:03.104" endtime="20211126 10:28:03.104"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.105" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:03.104" endtime="20211126 10:28:03.105"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:03.105" endtime="20211126 10:28:03.105"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:03.049" endtime="20211126 10:28:03.105" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:02.849" endtime="20211126 10:28:03.106"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:02.846" endtime="20211126 10:28:03.107"></status>
</suite>
<suite id="s1-s10" name="009 Product Manage" source="/root/yyt-trading-rf-api/009_product_manage">
<suite id="s1-s10-s1" name="Product Add And List" source="/root/yyt-trading-rf-api/009_product_manage/product_add_and_list.robot">
<test id="s1-s10-s1-t1" name="supplierfocus_product_check_exist">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.115" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:03.115" endtime="20211126 10:28:03.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>categoryBrandId=${paper_brand_id}&amp;salesEnterpriseId=${supplier_enterprise_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:03.116" level="INFO">${param} = categoryBrandId=661555878020911104&amp;salesEnterpriseId=661555823029391360</msg>
<status status="PASS" starttime="20211126 10:28:03.115" endtime="20211126 10:28:03.116"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/product/check-exist</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:03.156" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/product/check-exist?categoryBrandId=661555878020911104&amp;salesEnterpriseId=661555823029391360
path_url=/trading-center/product/check-exist?categoryBrandId=661555878020911104&amp;salesEnterpriseId=661555823029391360
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:03.156" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/product/check-exist?categoryBrandId=661555878020911104&amp;salesEnterpriseId=661555823029391360
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:03 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":{"id":null,"categoryId":null,"categoryFirstId":null,"brandName":null,"name":null,"itemNo":null,"litPicUrl":null,"description":null,"shippingNote":null,"remark":null,"setNum":null,"setUnit":null,"stockUnit":null,"imageUrls":null,"sellingProposition":null,"introduction":null,"otherNote":null,"supplierName":null,"salesEnterpriseId":null,"videoUrls":null,"skuModelList":null,"skuList":null,"categoryName":null,"paperMill":null,"categoryBrandId":null,"status":0}}
</msg>
<msg timestamp="20211126 10:28:03.156" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:03.116" endtime="20211126 10:28:03.157"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.157" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:03.157" endtime="20211126 10:28:03.157"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.158" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': None, 'categoryId': None, 'categoryFirstId': None, 'brandName': None, 'name': None, 'itemNo': None, 'litPicUrl': None, 'description': None, 'shippingNote': None, 'remark': None, 'setNum': None, 'setUnit': None, 'stockUnit': None, 'imageUrls': None, 'sellingProposition': None, 'introduction': None, 'otherNote': None, 'supplierName': None, 'salesEnterpriseId': None, 'videoUrls': None, 'skuModelList': None, 'skuList': None, 'categoryName': None, 'paperMill': None, 'categoryBrandId': None, 'status': 0}}</msg>
<status status="PASS" starttime="20211126 10:28:03.158" endtime="20211126 10:28:03.158"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:03.158" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:03.158" endtime="20211126 10:28:03.159"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:03.159" endtime="20211126 10:28:03.159"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:04.160" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:03.159" endtime="20211126 10:28:04.160"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:03.114" endtime="20211126 10:28:04.160" critical="yes"></status>
</test>
<test id="s1-s10-s1-t2" name="supplierfocus_save_product">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.162" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:04.161" endtime="20211126 10:28:04.162"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>678</arg>
</arguments>
<assign>
<var>${gramweight}</var>
</assign>
<msg timestamp="20211126 10:28:04.163" level="INFO">${gramweight} = 678</msg>
<status status="PASS" starttime="20211126 10:28:04.162" endtime="20211126 10:28:04.163"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5678</arg>
</arguments>
<assign>
<var>${purchasePrice}</var>
</assign>
<msg timestamp="20211126 10:28:04.163" level="INFO">${purchasePrice} = 5678</msg>
<status status="PASS" starttime="20211126 10:28:04.163" endtime="20211126 10:28:04.163"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"categoryId":null,"brandName":"${paper_brand_name}","name":"${paper_name}","itemNo":"无","description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","sellingProposition":"月结30天价格,不加服务费!","setUnit":"吨","skuList":[{"id":null,"2":${gramweight},"purchasePrice":${purchasePrice}}],"categoryBrandId":"${paper_brand_id}","categoryName":"${paper_category_name}","paperMill":"${paper_manufacturer_shortName}","salesEnterpriseId":${supplier_paper_id},"supplierName":"${supplier_paper_name}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:04.164" level="INFO">${body} = {"categoryId":null,"brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","itemNo":"无","description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或...</msg>
<status status="PASS" starttime="20211126 10:28:04.163" endtime="20211126 10:28:04.164"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/save/product</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:04.373" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product
path_url=/trading-center/save/product
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '695'}
body=b'{"categoryId":null,"brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","itemNo":"\xe6\x97\xa0","description":"\xe6\x8a\xa5\xe4\xbb\xb7\xe5\x85\xa8\xe9\x83\xa8\xe4\xb8\xba\xe7\x8e\xb0\xe9\x87\x91\xe5\x90\xab\xe7\xa8\x8e\xe4\xbb\xb7\xef\xbc\x8c\xe6\x94\xaf\xe6\x8c\x81\xe5\x85\x88\xe7\x94\xa8\xe5\x90\x8e\xe4\xbb\x98\xef\xbc\x8c\xe6\xac\xa2\xe8\xbf\x8e\xe6\x9d\xa5\xe7\x94\xb5\xe6\x9f\xa5\xe8\xaf\xa2\xef\xbc\x81\xe8\xbf\x91\xe6\x9c\x9f\xe4\xbb\xb7\xe6\xa0\xbc\xe6\xb3\xa2\xe5\x8a\xa8\xe8\xbe\x83\xe5\xa4\xa7\xef\xbc\x8c\xe8\xaf\xb7\xe4\xb8\x8b\xe5\x8d\x95\xe5\x89\x8d\xe5\x85\x88\xe5\x92\xa8\xe8\xaf\xa2\xe4\xbb\xb7\xe6\xa0\xbc\xe3\x80\x82","shippingNote":"\xe5\x88\x86\xe5\x88\x87\xe7\xba\xb8\xe4\xb8\x8d\xe8\xb6\xb3\xe9\x87\x8d\xe9\x87\x8f\xe7\x9a\x84\xef\xbc\x8c\xe5\x8f\xa6\xe5\x8a\xa0\xe8\xb0\x83\xe6\x9c\xba\xe8\xb4\xb9\xef\xbc\x9b\xe4\xbd\x8e\xe4\xba\x8e\xe9\x80\x81\xe8\xb4\xa7\xe9\x87\x8d\xe9\x87\x8f\xe6\x88\x96\xe8\xb6\x85\xe5\x87\xba\xe9\x80\x81\xe8\xb4\xa7\xe8\x8c\x83\xe5\x9b\xb4\xe7\x9a\x84\xef\xbc\x8c\xe8\xbf\x90\xe8\xb4\xb9\xe5\x8f\xa6\xe8\xae\xa1\xe3\x80\x82","sellingProposition":"\xe6\x9c\x88\xe7\xbb\x9330\xe5\xa4\xa9\xe4\xbb\xb7\xe6\xa0\xbc\xef\xbc\x8c\xe4\xb8\x8d\xe5\x8a\xa0\xe6\x9c\x8d\xe5\x8a\xa1\xe8\xb4\xb9\xef\xbc\x81","setUnit":"\xe5\x90\xa8","skuList":[{"id":null,"2":678,"purchasePrice":5678}],"categoryBrandId":"661555878020911104","categoryName":"autotest_paper_category_name","paperMill":"apmn","salesEnterpriseId":661555817715208192,"supplierName":"autotest_supplier_paper_name"}'
</msg>
<msg timestamp="20211126 10:28:04.374" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/save/product
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:04 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":{"id":"661555903803297792","categoryId":"638458876659896320","categoryFirstId":"5","brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","itemNo":"无","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","remark":null,"setNum":0E-7,"setUnit":"吨","stockUnit":"吨","imageUrls":[null],"sellingProposition":"月结30天价格,不加服务费!","introduction":"aotutest_paper_brand_name;克重:678","otherNote":null,"supplierName":"autotest_supplier_paper_name","salesEnterpriseId":"661555817715208192","videoUrls":[],"skuModelList":[{"id":"2","name":"克重","vals":[{"id":"536336519024218112","val":"200"},{"id":"536336519129075712","val":"300"},{"id":"538768767342219264","val":"230"},{"id":"538768767371579392","val":"250"},{"id":"538768767447076864","val":"400"},{"id":"538770448599617536","val":"80"},{"id":"538770448645754880","val":"157"},{"id":"538770998686781440","val":"60"},{"id":"538776086784380928","val":"350"},{"id":"538776086817935360","val":"400"},{"id":"538778845835300864","val":"100"},{"id":"538778845868855296","val":"105"},{"id":"538778845906604032","val":"115"},{"id":"538778845940158464","val":"120"},{"id":"538778845973712896","val":"128"},{"id":"538778846011461632","val":"150"},{"id":"538778846045016064","val":"157"},{"id":"538779972022702080","val":"90"},{"id":"538779972056256512","val":"110"},{"id":"538779972119171072","val":"130"},{"id":"538782186074148864","val":"140"},{"id":"538785717996883968","val":"70"},{"id":"538785718160461824","val":"180"},{"id":"538788511214604288","val":"58"},{"id":"538788511252353024","val":"65"},{"id":"538788511340433408","val":"68"},{"id":"538788511382376448","val":"75"},{"id":"538788511415930880","val":"78"},{"id":"538788511449485312","val":"95"},{"id":"538788511483039744","val":"98"},{"id":"538788511545954304","val":"118"},{"id":"538809934024937472","val":"62"},{"id":"538809934058491904","val":"71"},{"id":"541011288902471680","val":"210"},{"id":"541011288952803328","val":"400"},{"id":"541015765759954944","val":"230"},{"id":"541018415922548736","val":"102"},{"id":"541018415968686080","val":"128"},{"id":"541018415993851904","val":"180"},{"id":"541019992976658432","val":"220"},{"id":"541020785435873280","val":"400"},{"id":"543151777298649088","val":"220"},{"id":"543152860087586816","val":"102"},{"id":"544665952399265792","val":"280"},{"id":"544667785389805568","val":"999"},{"id":"550311978757918720","val":"1"},{"id":"552587825216884736","val":"7"},{"id":"552587825535651840","val":"9"},{"id":"553662082453737472","val":"2"},{"id":"554139389811363840","val":"323"},{"id":"554139490940227584","val":"32"},{"id":"554296904591216640","val":"3"},{"id":"564088425444151296","val":"686"},{"id":"564088901820616704","val":"123"},{"id":"564126949245587456","val":"410"},{"id":"564126949711155200","val":"450"},{"id":"565606046874341376","val":"111"},{"id":"580083174936285184","val":"500"},{"id":"580096957972877312","val":"55"},{"id":"584191393442959360","val":"190"},{"id":"588513741365186560","val":"222"},{"id":"589241094877876224","val":"170"},{"id":"590177065869905920","val":"320"},{"id":"592126865800564736","val":"160"},{"id":"592325410239418368","val":"5698"},{"id":"592326611043487744","val":"588"},{"id":"595350706626629632","val":"151"},{"id":"595702140685651968","val":"520"},{"id":"597865047296970752","val":"1400"},{"id":"598556468513476608","val":"1231"},{"id":"599296942652133376","val":"2313"},{"id":"599370213384916992","val":"4564"},{"id":"599371557239918592","val":"321"},{"id":"600022598272815104","val":"13"},{"id":"603266955499147264","val":"31"},{"id":"603683459742961664","val":"213"},{"id":"603689722082103296","val":"1321"},{"id":"604308035543896064","val":"1213"},{"id":"604309673205698560","val":"123123"},{"id":"604358737972563968","val":"3445"},{"id":"604359821583585280","val":"112312"},{"id":"604742080429953024","val":"67"},{"id":"604742159459028992","val":"6765"},{"id":"604756182527250432","val":"112"},{"id":"604798376105611264","val":"134"},{"id":"604850207171153920","val":"211"},{"id":"604871990934900736","val":"312"},{"id":"605378428308426752","val":"34534"},{"id":"605869497802428416","val":"456456"},{"id":"605871081575813120","val":"1276"},{"id":"606926942897311744","val":"132"},{"id":"606930610174431232","val":"453"},{"id":"606930839871295488","val":"6456"},{"id":"607291776000200704","val":"963"},{"id":"608294705981165568","val":"888"},{"id":"608388734093758464","val":"1000"},{"id":"608390183850741760","val":"9991"},{"id":"608390193430532096","val":"1001"},{"id":"608391434348924928","val":"399"},{"id":"608399296643076096","val":"1200"},{"id":"608742882039435264","val":"666"},{"id":"608746305870761984","val":"333"},{"id":"608752324160131072","val":"663"},{"id":"609370051778318336","val":"1121312"},{"id":"609392585408122880","val":"544"},{"id":"609425115062603776","val":"876"},{"id":"610149185353814016","val":"152"},{"id":"610161647641825280","val":"305"},{"id":"618221052174143488","val":"2341"},{"id":"619695748057010176","val":"34"},{"id":"619695772442693632","val":"3323"},{"id":"619697681912172544","val":"3234"},{"id":"619699469985910784","val":"2222"},{"id":"619699479800582144","val":"11111"},{"id":"620024322391674880","val":"243"},{"id":"620300258550878208","val":"345"},{"id":"620300683169632256","val":"4543"},{"id":"620306664461045760","val":"1344"},{"id":"620348596071567360","val":"1233"},{"id":"620773162442952704","val":"432"},{"id":"620773166226214912","val":"234"},{"id":"622134478336299008","val":"8989"},{"id":"622153514864480256","val":"900"},{"id":"622193869236342784","val":"133"},{"id":"622492750033588224","val":"88"},{"id":"622551793901113344","val":"343"},{"id":"622551802566545408","val":"314"},{"id":"622868979475681280","val":"240"},{"id":"623521594450513920","val":"600"},{"id":"624594849974325248","val":"2000"},{"id":"624759606408777728","val":"233"},{"id":"624759609084743680","val":"344"},{"id":"624947664802418688","val":"5645"},{"id":"625017294946439168","val":"3421"},{"id":"627192842661531648","val":"654"},{"id":"627192846151192576","val":"456"},{"id":"627238592305041408","val":"12323"},{"id":"627238594658045952","val":"213123"},{"id":"627282620425834496","val":"54234"},{"id":"627592755710922752","val":"3231"},{"id":"627613549325324288","val":"2132"},{"id":"632305653066633216","val":"3311"},{"id":"632677342476636160","val":"4234"},{"id":"632930468538486784","val":"1234"},{"id":"633730564851109888","val":"12"},{"id":"634820075391684608","val":"54345"},{"id":"635097158462345216","val":"89"},{"id":"635097158940495872","val":"255"},{"id":"635485597905063936","val":"2133"},{"id":"636176997281828864","val":"290"},{"id":"636210907168509952","val":"245"},{"id":"636262734345932800","val":"1900"},{"id":"638014204846149632","val":"9000"},{"id":"638106570395357184","val":"21"},{"id":"639081978032951296","val":"3000"},{"id":"639232160141807616","val":"122"},{"id":"639241932580720640","val":"23"},{"id":"639241932689772544","val":"322"},{"id":"639241932807213056","val":"23232"},{"id":"639241932924653568","val":"1212"},{"id":"639241933042094080","val":"32334"},{"id":"639241933155340288","val":"2123"},{"id":"639241933272780800","val":"21324"},{"id":"639241933386027008","val":"4321"},{"id":"639241933495078912","val":"2335"},{"id":"639241933604130816","val":"212111"},{"id":"639241933717377024","val":"38924"},{"id":"639241933830623232","val":"834"},{"id":"639241933943869440","val":"434"},{"id":"639241934052921344","val":"5"},{"id":"639241934161973248","val":"4"},{"id":"639241934447185920","val":"3489"},{"id":"639252076794351616","val":"12222"},{"id":"639470161807675392","val":"2300"},{"id":"639471515007586304","val":"235"},{"id":"645255965804990464","val":"800"},{"id":"645259961290592256","val":"890"},{"id":"645594792394362880","val":"678"},{"id":"645717517314166784","val":"677"},{"id":"645717520627666944","val":"3666"},{"id":"645717522481549312","val":"3777"},{"id":"646035902572924928","val":"10000"},{"id":"646062083779203072","val":"1332"},{"id":"646063159530098688","val":"13333"},{"id":"646421251270774784","val":"675"},{"id":"646421886397452288","val":"45656"},{"id":"646424680475004928","val":"555"},{"id":"646426055447547904","val":"168"},{"id":"646442507332358144","val":"435"},{"id":"647478960468398080","val":"5434"},{"id":"647478962733322240","val":"3454"},{"id":"647501709622513664","val":"45345"},{"id":"647514067677876224","val":"23423"},{"id":"647514068206358528","val":"34234"},{"id":"647769796099837952","val":"3123"},{"id":"647770024681017344","val":"2134"},{"id":"647845729284526080","val":"23123"},{"id":"647854994514644992","val":"390"},{"id":"647875834853593088","val":"231"},{"id":"647891572750422016","val":"55555"},{"id":"650429249760661504","val":"1020"},{"id":"650437580495654912","val":"4334"},{"id":"650464515766489088","val":"606"},{"id":"651395289508352000","val":"324"},{"id":"652547456227217408","val":"99"},{"id":"652559535701102592","val":"7688"},{"id":"652935168918687744","val":"41536"},{"id":"652935171024228352","val":"4556"},{"id":"652935172076998656","val":"6345"},{"id":"653927284167806976","val":"43223"}]},{"id":"3","name":"规格","vals":[{"id":"1","val":"正度"},{"id":"2","val":"大度"},{"id":"3","val":"卷筒"},{"id":"594943106122649600","val":"特规分切"}]}],"skuList":[{"2":"678","3":"特规分切","remark":null,"id":1441,"purchasePrice":5678.0000,"stock":0.00,"listPrice":5678.0000}],"categoryName":"autotest_category","paperMill":"apm","categoryBrandId":"661555878020911104"}}
</msg>
<msg timestamp="20211126 10:28:04.374" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:04.164" endtime="20211126 10:28:04.374"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gramweight}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.375" level="INFO">${gramweight} = 678</msg>
<status status="PASS" starttime="20211126 10:28:04.374" endtime="20211126 10:28:04.375"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${purchasePrice}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.376" level="INFO">${purchasePrice} = 5678</msg>
<status status="PASS" starttime="20211126 10:28:04.375" endtime="20211126 10:28:04.376"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.376" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:04.376" endtime="20211126 10:28:04.376"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.377" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555903803297792', 'categoryId': '638458876659896320', 'categoryFirstId': '5', 'brandName': 'aotutest_paper_brand_name', 'name': 'aotutest_paper_name', 'itemNo': '无', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'remark': None, 'setNum': 0.0, 'setUnit': '吨', 'stockUnit': '吨', 'imageUrls': [None], 'sellingProposition': '月结30天价格,不加服务费!', 'introduction': 'aotutest_paper_brand_name;克重:678', 'otherNote': None, 'supplierName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'videoUrls': [], 'skuModelList': [{'id': '2', 'name': '克重', 'vals': [{'id': '536336519024218112', 'val': '200'}, {'id': '536336519129075712', 'val': '300'}, {'id': '538768767342219264', 'val': '230'}, {'id': '538768767371579392', 'val': '250'}, {'id': '538768767447076864', 'val': '400'}, {'id': '538770448599617536', 'val': '80'}, {'id': '538770448645754880', 'val': '157'}, {'id': '538770998686781440', 'val': '60'}, {'id': '538776086784380928', 'val': '350'}, {'id': '538776086817935360', 'val': '400'}, {'id': '538778845835300864', 'val': '100'}, {'id': '538778845868855296', 'val': '105'}, {'id': '538778845906604032', 'val': '115'}, {'id': '538778845940158464', 'val': '120'}, {'id': '538778845973712896', 'val': '128'}, {'id': '538778846011461632', 'val': '150'}, {'id': '538778846045016064', 'val': '157'}, {'id': '538779972022702080', 'val': '90'}, {'id': '538779972056256512', 'val': '110'}, {'id': '538779972119171072', 'val': '130'}, {'id': '538782186074148864', 'val': '140'}, {'id': '538785717996883968', 'val': '70'}, {'id': '538785718160461824', 'val': '180'}, {'id': '538788511214604288', 'val': '58'}, {'id': '538788511252353024', 'val': '65'}, {'id': '538788511340433408', 'val': '68'}, {'id': '538788511382376448', 'val': '75'}, {'id': '538788511415930880', 'val': '78'}, {'id': '538788511449485312', 'val': '95'}, {'id': '538788511483039744', 'val': '98'}, {'id': '538788511545954304', 'val': '118'}, {'id': '538809934024937472', 'val': '62'}, {'id': '538809934058491904', 'val': '71'}, {'id': '541011288902471680', 'val': '210'}, {'id': '541011288952803328', 'val': '400'}, {'id': '541015765759954944', 'val': '230'}, {'id': '541018415922548736', 'val': '102'}, {'id': '541018415968686080', 'val': '128'}, {'id': '541018415993851904', 'val': '180'}, {'id': '541019992976658432', 'val': '220'}, {'id': '541020785435873280', 'val': '400'}, {'id': '543151777298649088', 'val': '220'}, {'id': '543152860087586816', 'val': '102'}, {'id': '544665952399265792', 'val': '280'}, {'id': '544667785389805568', 'val': '999'}, {'id': '550311978757918720', 'val': '1'}, {'id': '552587825216884736', 'val': '7'}, {'id': '552587825535651840', 'val': '9'}, {'id': '553662082453737472', 'val': '2'}, {'id': '554139389811363840', 'val': '323'}, {'id': '554139490940227584', 'val': '32'}, {'id': '554296904591216640', 'val': '3'}, {'id': '564088425444151296', 'val': '686'}, {'id': '564088901820616704', 'val': '123'}, {'id': '564126949245587456', 'val': '410'}, {'id': '564126949711155200', 'val': '450'}, {'id': '565606046874341376', 'val': '111'}, {'id': '580083174936285184', 'val': '500'}, {'id': '580096957972877312', 'val': '55'}, {'id': '584191393442959360', 'val': '190'}, {'id': '588513741365186560', 'val': '222'}, {'id': '589241094877876224', 'val': '170'}, {'id': '590177065869905920', 'val': '320'}, {'id': '592126865800564736', 'val': '160'}, {'id': '592325410239418368', 'val': '5698'}, {'id': '592326611043487744', 'val': '588'}, {'id': '595350706626629632', 'val': '151'}, {'id': '595702140685651968', 'val': '520'}, {'id': '597865047296970752', 'val': '1400'}, {'id': '598556468513476608', 'val': '1231'}, {'id': '599296942652133376', 'val': '2313'}, {'id': '599370213384916992', 'val': '4564'}, {'id': '599371557239918592', 'val': '321'}, {'id': '600022598272815104', 'val': '13'}, {'id': '603266955499147264', 'val': '31'}, {'id': '603683459742961664', 'val': '213'}, {'id': '603689722082103296', 'val': '1321'}, {'id': '604308035543896064', 'val': '1213'}, {'id': '604309673205698560', 'val': '123123'}, {'id': '604358737972563968', 'val': '3445'}, {'id': '604359821583585280', 'val': '112312'}, {'id': '604742080429953024', 'val': '67'}, {'id': '604742159459028992', 'val': '6765'}, {'id': '604756182527250432', 'val': '112'}, {'id': '604798376105611264', 'val': '134'}, {'id': '604850207171153920', 'val': '211'}, {'id': '604871990934900736', 'val': '312'}, {'id': '605378428308426752', 'val': '34534'}, {'id': '605869497802428416', 'val': '456456'}, {'id': '605871081575813120', 'val': '1276'}, {'id': '606926942897311744', 'val': '132'}, {'id': '606930610174431232', 'val': '453'}, {'id': '606930839871295488', 'val': '6456'}, {'id': '607291776000200704', 'val': '963'}, {'id': '608294705981165568', 'val': '888'}, {'id': '608388734093758464', 'val': '1000'}, {'id': '608390183850741760', 'val': '9991'}, {'id': '608390193430532096', 'val': '1001'}, {'id': '608391434348924928', 'val': '399'}, {'id': '608399296643076096', 'val': '1200'}, {'id': '608742882039435264', 'val': '666'}, {'id': '608746305870761984', 'val': '333'}, {'id': '608752324160131072', 'val': '663'}, {'id': '609370051778318336', 'val': '1121312'}, {'id': '609392585408122880', 'val': '544'}, {'id': '609425115062603776', 'val': '876'}, {'id': '610149185353814016', 'val': '152'}, {'id': '610161647641825280', 'val': '305'}, {'id': '618221052174143488', 'val': '2341'}, {'id': '619695748057010176', 'val': '34'}, {'id': '619695772442693632', 'val': '3323'}, {'id': '619697681912172544', 'val': '3234'}, {'id': '619699469985910784', 'val': '2222'}, {'id': '619699479800582144', 'val': '11111'}, {'id': '620024322391674880', 'val': '243'}, {'id': '620300258550878208', 'val': '345'}, {'id': '620300683169632256', 'val': '4543'}, {'id': '620306664461045760', 'val': '1344'}, {'id': '620348596071567360', 'val': '1233'}, {'id': '620773162442952704', 'val': '432'}, {'id': '620773166226214912', 'val': '234'}, {'id': '622134478336299008', 'val': '8989'}, {'id': '622153514864480256', 'val': '900'}, {'id': '622193869236342784', 'val': '133'}, {'id': '622492750033588224', 'val': '88'}, {'id': '622551793901113344', 'val': '343'}, {'id': '622551802566545408', 'val': '314'}, {'id': '622868979475681280', 'val': '240'}, {'id': '623521594450513920', 'val': '600'}, {'id': '624594849974325248', 'val': '2000'}, {'id': '624759606408777728', 'val': '233'}, {'id': '624759609084743680', 'val': '344'}, {'id': '624947664802418688', 'val': '5645'}, {'id': '625017294946439168', 'val': '3421'}, {'id': '627192842661531648', 'val': '654'}, {'id': '627192846151192576', 'val': '456'}, {'id': '627238592305041408', 'val': '12323'}, {'id': '627238594658045952', 'val': '213123'}, {'id': '627282620425834496', 'val': '54234'}, {'id': '627592755710922752', 'val': '3231'}, {'id': '627613549325324288', 'val': '2132'}, {'id': '632305653066633216', 'val': '3311'}, {'id': '632677342476636160', 'val': '4234'}, {'id': '632930468538486784', 'val': '1234'}, {'id': '633730564851109888', 'val': '12'}, {'id': '634820075391684608', 'val': '54345'}, {'id': '635097158462345216', 'val': '89'}, {'id': '635097158940495872', 'val': '255'}, {'id': '635485597905063936', 'val': '2133'}, {'id': '636176997281828864', 'val': '290'}, {'id': '636210907168509952', 'val': '245'}, {'id': '636262734345932800', 'val': '1900'}, {'id': '638014204846149632', 'val': '9000'}, {'id': '638106570395357184', 'val': '21'}, {'id': '639081978032951296', 'val': '3000'}, {'id': '639232160141807616', 'val': '122'}, {'id': '639241932580720640', 'val': '23'}, {'id': '639241932689772544', 'val': '322'}, {'id': '639241932807213056', 'val': '23232'}, {'id': '639241932924653568', 'val': '1212'}, {'id': '639241933042094080', 'val': '32334'}, {'id': '639241933155340288', 'val': '2123'}, {'id': '639241933272780800', 'val': '21324'}, {'id': '639241933386027008', 'val': '4321'}, {'id': '639241933495078912', 'val': '2335'}, {'id': '639241933604130816', 'val': '212111'}, {'id': '639241933717377024', 'val': '38924'}, {'id': '639241933830623232', 'val': '834'}, {'id': '639241933943869440', 'val': '434'}, {'id': '639241934052921344', 'val': '5'}, {'id': '639241934161973248', 'val': '4'}, {'id': '639241934447185920', 'val': '3489'}, {'id': '639252076794351616', 'val': '12222'}, {'id': '639470161807675392', 'val': '2300'}, {'id': '639471515007586304', 'val': '235'}, {'id': '645255965804990464', 'val': '800'}, {'id': '645259961290592256', 'val': '890'}, {'id': '645594792394362880', 'val': '678'}, {'id': '645717517314166784', 'val': '677'}, {'id': '645717520627666944', 'val': '3666'}, {'id': '645717522481549312', 'val': '3777'}, {'id': '646035902572924928', 'val': '10000'}, {'id': '646062083779203072', 'val': '1332'}, {'id': '646063159530098688', 'val': '13333'}, {'id': '646421251270774784', 'val': '675'}, {'id': '646421886397452288', 'val': '45656'}, {'id': '646424680475004928', 'val': '555'}, {'id': '646426055447547904', 'val': '168'}, {'id': '646442507332358144', 'val': '435'}, {'id': '647478960468398080', 'val': '5434'}, {'id': '647478962733322240', 'val': '3454'}, {'id': '647501709622513664', 'val': '45345'}, {'id': '647514067677876224', 'val': '23423'}, {'id': '647514068206358528', 'val': '34234'}, {'id': '647769796099837952', 'val': '3123'}, {'id': '647770024681017344', 'val': '2134'}, {'id': '647845729284526080', 'val': '23123'}, {'id': '647854994514644992', 'val': '390'}, {'id': '647875834853593088', 'val': '231'}, {'id': '647891572750422016', 'val': '55555'}, {'id': '650429249760661504', 'val': '1020'}, {'id': '650437580495654912', 'val': '4334'}, {'id': '650464515766489088', 'val': '606'}, {'id': '651395289508352000', 'val': '324'}, {'id': '652547456227217408', 'val': '99'}, {'id': '652559535701102592', 'val': '7688'}, {'id': '652935168918687744', 'val': '41536'}, {'id': '652935171024228352', 'val': '4556'}, {'id': '652935172076998656', 'val': '6345'}, {'id': '653927284167806976', 'val': '43223'}]}, {'id': '3', 'name': '规格', 'vals': [{'id': '1', 'val': '正度'}, {'id': '2', 'val': '大度'}, {'id': '3', 'val': '卷筒'}, {'id': '594943106122649600', 'val': '特规分切'}]}], 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1441, 'purchasePrice': 5678.0, 'stock': 0.0, 'listPrice': 5678.0}], 'categoryName': 'autotest_category', 'paperMill': 'apm', 'categoryBrandId': '661555878020911104'}}</msg>
<status status="PASS" starttime="20211126 10:28:04.377" endtime="20211126 10:28:04.378"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.378" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:04.378" endtime="20211126 10:28:04.378"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:04.378" endtime="20211126 10:28:04.379"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${product_id}</var>
</assign>
<msg timestamp="20211126 10:28:04.380" level="INFO">${product_id} = 661555903803297792</msg>
<status status="PASS" starttime="20211126 10:28:04.379" endtime="20211126 10:28:04.380"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${product_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:04.380" level="INFO">${product_id} = 661555903803297792</msg>
<status status="PASS" starttime="20211126 10:28:04.380" endtime="20211126 10:28:04.380"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:05.381" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:04.380" endtime="20211126 10:28:05.381"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:04.161" endtime="20211126 10:28:05.381" critical="yes"></status>
</test>
<test id="s1-s10-s1-t3" name="supplierfocus_get_product_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.383" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.382" endtime="20211126 10:28:05.383"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/seller/query-product-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:05.628" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list
path_url=/trading-center/get/seller/query-product-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:05.628" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":{"records":[{"id":"661555903803297792","brandName":"aotutest_paper_brand_name","categoryBrandId":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","litPicUrl":null,"name":"aotutest_paper_name","paperMill":"apm","salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","introduction":"678","status":30112,"createTime":"2021-11-26 10:28:04","skuList":[{"2":"678","3":"特规分切","remark":null,"id":1441,"purchasePrice":5678.0000,"stock":0.00,"listPrice":5678.0000}]},{"id":"658301546412511232","brandName":"沙雕风格","categoryBrandId":"652853213489401856","categoryId":"1","categoryName":"白板纸","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711572607626.png","name":"111111111111111111111111","paperMill":"供货","salesEnterpriseId":"652564100836102144","salesEnterpriseName":"2为人妻我让请问请问","introduction":"678","status":30112,"createTime":"2021-11-17 10:56:25","skuList":[{"2":"678","3":"特规分切","remark":null,"id":1364,"purchasePrice":2513.0000,"stock":0.00,"listPrice":2513.0000}]},{"id":"653677869767200768","brandName":"测试纸品","categoryBrandId":"623143393647792128","categoryId":"9","categoryName":"金银卡","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711585742630.png","name":"test测试纸品","paperMill":"test","salesEnterpriseId":"652564100836102144","salesEnterpriseName":"2为人妻我让请问请问","introduction":"123/1231/34234/43223","status":30112,"createTime":"2021-11-04 16:43:35","skuList":[{"2":"123","3":"特规分切","remark":null,"id":1334,"purchasePrice":5000.0000,"stock":0.00,"listPrice":5000.0000},{"2":"1231","3":"特规分切","remark":null,"id":1335,"purchasePrice":5000.0000,"stock":0.00,"listPrice":5000.0000},{"2":"43223","3":"特规分切","remark":null,"id":1337,"purchasePrice":2344.0000,"stock":0.00,"listPrice":2344.0000},{"2":"34234","3":"特规分切","remark":null,"id":1338,"purchasePrice":2344.0000,"stock":0.00,"listPrice":2344.0000}]},{"id":"652935171879866368","brandName":"橙光","categoryBrandId":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"岳阳特级牛卡","paperMill":"岳阳","salesEnterpriseId":"651506009763876864","salesEnterpriseName":"1234123123","introduction":"6345","status":30112,"createTime":"2021-11-02 15:32:22","skuList":[{"2":"6345","3":"特规分切","remark":null,"id":1332,"purchasePrice":12.0000,"stock":0.00,"listPrice":12.0000}]},{"id":"652935172945219584","brandName":"122","categoryBrandId":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"一休","paperMill":"a","salesEnterpriseId":"651054924326637568","salesEnterpriseName":"5645646457","introduction":"3123","status":30112,"createTime":"2021-11-02 15:32:22","skuList":[{"2":"3123","3":"特规分切","remark":null,"id":1333,"purchasePrice":333.0000,"stock":0.00,"listPrice":333.0000}]},{"id":"652935170873233408","brandName":"为人父","categoryBrandId":"646077175493169152","categoryId":"8","categoryName":"白卡纸","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png","name":"口语课回家","paperMill":"测试纸厂","salesEnterpriseId":"652561865410482176","salesEnterpriseName":"axxxx","introduction":"4556","status":30112,"createTime":"2021-11-02 15:32:21","skuList":[{"2":"4556","3":"特规分切","remark":null,"id":1331,"purchasePrice":456.0000,"stock":0.00,"listPrice":456.0000}]},{"id":"652935169854017536","brandName":"123","categoryBrandId":"634846041195286528","categoryId":"633768048419016704","categoryName":"而","litPicUrl":null,"name":"213","paperMill":"岳阳","salesEnterpriseId":"652562031479754752","salesEnterpriseName":"wwww","introduction":"1233","status":30112,"createTime":"2021-11-02 15:32:21","skuList":[{"2":"1233","3":"特规分切","remark":null,"id":1330,"purchasePrice":55.0000,"stock":0.00,"listPrice":55.0000}]},{"id":"652932945153232896","brandName":"122","categoryBrandId":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"一休","paperMill":"a","salesEnterpriseId":"652561865410482176","salesEnterpriseName":"axxxx","introduction":"123","status":30112,"createTime":"2021-11-02 15:23:31","skuList":[{"2":"123","3":"特规分切","remark":null,"id":1327,"purchasePrice":1235.0000,"stock":0.00,"listPrice":1235.0000}]},{"id":"652932943462928384","brandName":"橙光","categoryBrandId":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","litPicUrl":null,"name":"岳阳特级牛卡","paperMill":"岳阳","salesEnterpriseId":"652564100836102144","salesEnterpriseName":"2为人妻我让请问请问","introduction":"213/41536","status":30112,"createTime":"2021-11-02 15:23:30","skuList":[{"2":"213","3":"特规分切","remark":null,"id":1325,"purchasePrice":1233.0000,"stock":0.00,"listPrice":1233.0000},{"2":"41536","3":"特规分切","remark":null,"id":1329,"purchasePrice":6.0000,"stock":0.00,"listPrice":6.0000}]},{"id":"652932944310177792","brandName":"为人父","categoryBrandId":"646077175493169152","categoryId":"8","categoryName":"白卡纸","litPicUrl":"http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png","name":"口语课回家","paperMill":"测试纸厂","salesEnterpriseId":"652562031479754752","salesEnterpriseName":"wwww","introduction":"123","status":30112,"createTime":"2021-11-02 15:23:30","skuList":[{"2":"123","3":"特规分切","remark":null,"id":1326,"purchasePrice":3234.0000,"stock":0.00,"listPrice":3234.0000}]}],"total":283,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:05.628" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.383" endtime="20211126 10:28:05.628"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.629" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:05.629" endtime="20211126 10:28:05.629"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.630" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555903803297792', 'brandName': 'aotutest_paper_brand_name', 'categoryBrandId': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'litPicUrl': None, 'name': 'aotutest_paper_name', 'paperMill': 'apm', 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'introduction': '678', 'status': 30112, 'createTime': '2021-11-26 10:28:04', 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1441, 'purchasePrice': 5678.0, 'stock': 0.0, 'listPrice': 5678.0}]}, {'id': '658301546412511232', 'brandName': '沙雕风格', 'categoryBrandId': '652853213489401856', 'categoryId': '1', 'categoryName': '白板纸', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711572607626.png', 'name': '111111111111111111111111', 'paperMill': '供货', 'salesEnterpriseId': '652564100836102144', 'salesEnterpriseName': '2为人妻我让请问请问', 'introduction': '678', 'status': 30112, 'createTime': '2021-11-17 10:56:25', 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1364, 'purchasePrice': 2513.0, 'stock': 0.0, 'listPrice': 2513.0}]}, {'id': '653677869767200768', 'brandName': '测试纸品', 'categoryBrandId': '623143393647792128', 'categoryId': '9', 'categoryName': '金银卡', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711585742630.png', 'name': 'test测试纸品', 'paperMill': 'test', 'salesEnterpriseId': '652564100836102144', 'salesEnterpriseName': '2为人妻我让请问请问', 'introduction': '123/1231/34234/43223', 'status': 30112, 'createTime': '2021-11-04 16:43:35', 'skuList': [{'2': '123', '3': '特规分切', 'remark': None, 'id': 1334, 'purchasePrice': 5000.0, 'stock': 0.0, 'listPrice': 5000.0}, {'2': '1231', '3': '特规分切', 'remark': None, 'id': 1335, 'purchasePrice': 5000.0, 'stock': 0.0, 'listPrice': 5000.0}, {'2': '43223', '3': '特规分切', 'remark': None, 'id': 1337, 'purchasePrice': 2344.0, 'stock': 0.0, 'listPrice': 2344.0}, {'2': '34234', '3': '特规分切', 'remark': None, 'id': 1338, 'purchasePrice': 2344.0, 'stock': 0.0, 'listPrice': 2344.0}]}, {'id': '652935171879866368', 'brandName': '橙光', 'categoryBrandId': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '岳阳特级牛卡', 'paperMill': '岳阳', 'salesEnterpriseId': '651506009763876864', 'salesEnterpriseName': '1234123123', 'introduction': '6345', 'status': 30112, 'createTime': '2021-11-02 15:32:22', 'skuList': [{'2': '6345', '3': '特规分切', 'remark': None, 'id': 1332, 'purchasePrice': 12.0, 'stock': 0.0, 'listPrice': 12.0}]}, {'id': '652935172945219584', 'brandName': '122', 'categoryBrandId': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '一休', 'paperMill': 'a', 'salesEnterpriseId': '651054924326637568', 'salesEnterpriseName': '5645646457', 'introduction': '3123', 'status': 30112, 'createTime': '2021-11-02 15:32:22', 'skuList': [{'2': '3123', '3': '特规分切', 'remark': None, 'id': 1333, 'purchasePrice': 333.0, 'stock': 0.0, 'listPrice': 333.0}]}, {'id': '652935170873233408', 'brandName': '为人父', 'categoryBrandId': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png', 'name': '口语课回家', 'paperMill': '测试纸厂', 'salesEnterpriseId': '652561865410482176', 'salesEnterpriseName': 'axxxx', 'introduction': '4556', 'status': 30112, 'createTime': '2021-11-02 15:32:21', 'skuList': [{'2': '4556', '3': '特规分切', 'remark': None, 'id': 1331, 'purchasePrice': 456.0, 'stock': 0.0, 'listPrice': 456.0}]}, {'id': '652935169854017536', 'brandName': '123', 'categoryBrandId': '634846041195286528', 'categoryId': '633768048419016704', 'categoryName': '而', 'litPicUrl': None, 'name': '213', 'paperMill': '岳阳', 'salesEnterpriseId': '652562031479754752', 'salesEnterpriseName': 'wwww', 'introduction': '1233', 'status': 30112, 'createTime': '2021-11-02 15:32:21', 'skuList': [{'2': '1233', '3': '特规分切', 'remark': None, 'id': 1330, 'purchasePrice': 55.0, 'stock': 0.0, 'listPrice': 55.0}]}, {'id': '652932945153232896', 'brandName': '122', 'categoryBrandId': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '一休', 'paperMill': 'a', 'salesEnterpriseId': '652561865410482176', 'salesEnterpriseName': 'axxxx', 'introduction': '123', 'status': 30112, 'createTime': '2021-11-02 15:23:31', 'skuList': [{'2': '123', '3': '特规分切', 'remark': None, 'id': 1327, 'purchasePrice': 1235.0, 'stock': 0.0, 'listPrice': 1235.0}]}, {'id': '652932943462928384', 'brandName': '橙光', 'categoryBrandId': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'litPicUrl': None, 'name': '岳阳特级牛卡', 'paperMill': '岳阳', 'salesEnterpriseId': '652564100836102144', 'salesEnterpriseName': '2为人妻我让请问请问', 'introduction': '213/41536', 'status': 30112, 'createTime': '2021-11-02 15:23:30', 'skuList': [{'2': '213', '3': '特规分切', 'remark': None, 'id': 1325, 'purchasePrice': 1233.0, 'stock': 0.0, 'listPrice': 1233.0}, {'2': '41536', '3': '特规分切', 'remark': None, 'id': 1329, 'purchasePrice': 6.0, 'stock': 0.0, 'listPrice': 6.0}]}, {'id': '652932944310177792', 'brandName': '为人父', 'categoryBrandId': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'litPicUrl': 'http://medou.oss-cn-shenzhen.aliyuncs.com/bird_user/21010711581563528.png', 'name': '口语课回家', 'paperMill': '测试纸厂', 'salesEnterpriseId': '652562031479754752', 'salesEnterpriseName': 'wwww', 'introduction': '123', 'status': 30112, 'createTime': '2021-11-02 15:23:30', 'skuList': [{'2': '123', '3': '特规分切', 'remark': None, 'id': 1326, 'purchasePrice': 3234.0, 'stock': 0.0, 'listPrice': 3234.0}]}], 'total': 283, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:05.629" endtime="20211126 10:28:05.630"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.631" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.630" endtime="20211126 10:28:05.631"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.631" endtime="20211126 10:28:05.632"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][1]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${product_id1}</var>
</assign>
<msg timestamp="20211126 10:28:05.632" level="INFO">${product_id1} = 658301546412511232</msg>
<status status="PASS" starttime="20211126 10:28:05.632" endtime="20211126 10:28:05.632"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${product_id1}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.633" level="INFO">${product_id1} = 658301546412511232</msg>
<status status="PASS" starttime="20211126 10:28:05.632" endtime="20211126 10:28:05.633"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.382" endtime="20211126 10:28:05.633" critical="yes"></status>
</test>
<test id="s1-s10-s1-t4" name="supplierfocus_get_product_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.634" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.634" endtime="20211126 10:28:05.634"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>30112</arg>
</arguments>
<assign>
<var>${product_status}</var>
</assign>
<msg timestamp="20211126 10:28:05.635" level="INFO">${product_status} = 30112</msg>
<status status="PASS" starttime="20211126 10:28:05.635" endtime="20211126 10:28:05.635"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>salesEnterpriseId=${supplier_paper_id}&amp;name=${paper_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:05.635" level="INFO">${param} = salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name</msg>
<status status="PASS" starttime="20211126 10:28:05.635" endtime="20211126 10:28:05.635"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/seller/query-product-list</arg>
<arg>params-${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:05.698" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list?params-salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name
path_url=/trading-center/get/seller/query-product-list?params-salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:05.699" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/query-product-list?params-salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":{"records":[{"id":"661555903803297792","brandName":"aotutest_paper_brand_name","categoryBrandId":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","litPicUrl":null,"name":"aotutest_paper_name","paperMill":"apm","salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","introduction":"678","status":30112,"createTime":"2021-11-26 10:28:04","skuList":[{"2":"678","3":"特规分切","remark":null,"id":1441,"purchasePrice":5678.0000,"stock":0.00,"listPrice":5678.0000}]}],"total":1,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:05.699" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.635" endtime="20211126 10:28:05.699"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.700" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:05.699" endtime="20211126 10:28:05.700"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.700" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555903803297792', 'brandName': 'aotutest_paper_brand_name', 'categoryBrandId': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'litPicUrl': None, 'name': 'aotutest_paper_name', 'paperMill': 'apm', 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'introduction': '678', 'status': 30112, 'createTime': '2021-11-26 10:28:04', 'skuList': [{'2': '678', '3': '特规分切', 'remark': None, 'id': 1441, 'purchasePrice': 5678.0, 'stock': 0.0, 'listPrice': 5678.0}]}], 'total': 1, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:05.700" endtime="20211126 10:28:05.700"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.701" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.700" endtime="20211126 10:28:05.701"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.701" endtime="20211126 10:28:05.701"></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>${paper_name}</arg>
<arg>${response.json()["data"]["records"][0]["name"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.701" endtime="20211126 10:28:05.702"></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>${product_id}</arg>
<arg>${response.json()["data"]["records"][0]["id"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.702" endtime="20211126 10:28:05.702"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.633" endtime="20211126 10:28:05.703" critical="yes"></status>
</test>
<test id="s1-s10-s1-t5" name="supplierfocus_edit_product_status_up">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.704" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.703" endtime="20211126 10:28:05.704"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${product_status}</var>
</assign>
<msg timestamp="20211126 10:28:05.704" level="INFO">${product_status} = 1</msg>
<status status="PASS" starttime="20211126 10:28:05.704" endtime="20211126 10:28:05.704"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"status":${product_status},"id":"${product_id}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:05.705" level="INFO">${body} = {"status":1,"id":"661555903803297792"}</msg>
<status status="PASS" starttime="20211126 10:28:05.705" endtime="20211126 10:28:05.705"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/edit/product/status/${product_id}</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:05.772" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/661555903803297792
path_url=/trading-center/edit/product/status/661555903803297792
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '38'}
body=b'{"status":1,"id":"661555903803297792"}'
</msg>
<msg timestamp="20211126 10:28:05.772" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/661555903803297792
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":null}
</msg>
<msg timestamp="20211126 10:28:05.772" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.705" endtime="20211126 10:28:05.772"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.773" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:05.772" endtime="20211126 10:28:05.773"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.774" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:05.773" endtime="20211126 10:28:05.774"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.774" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.774" endtime="20211126 10:28:05.774"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.774" endtime="20211126 10:28:05.775"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.703" endtime="20211126 10:28:05.775" critical="yes"></status>
</test>
<test id="s1-s10-s1-t6" name="supplierfocus_edit_product_status_down">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.776" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.776" endtime="20211126 10:28:05.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>2</arg>
</arguments>
<assign>
<var>${product_status}</var>
</assign>
<msg timestamp="20211126 10:28:05.777" level="INFO">${product_status} = 2</msg>
<status status="PASS" starttime="20211126 10:28:05.777" endtime="20211126 10:28:05.777"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"status":${product_status},"id":"${product_id}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:05.777" level="INFO">${body} = {"status":2,"id":"661555903803297792"}</msg>
<status status="PASS" starttime="20211126 10:28:05.777" endtime="20211126 10:28:05.777"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/edit/product/status/${product_id}</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:05.839" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/661555903803297792
path_url=/trading-center/edit/product/status/661555903803297792
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '38'}
body=b'{"status":2,"id":"661555903803297792"}'
</msg>
<msg timestamp="20211126 10:28:05.839" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/edit/product/status/661555903803297792
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":null}
</msg>
<msg timestamp="20211126 10:28:05.840" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.777" endtime="20211126 10:28:05.840"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.840" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:05.840" endtime="20211126 10:28:05.841"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.841" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:05.841" endtime="20211126 10:28:05.841"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.842" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.841" endtime="20211126 10:28:05.842"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.842" endtime="20211126 10:28:05.842"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.775" endtime="20211126 10:28:05.843" critical="yes"></status>
</test>
<test id="s1-s10-s1-t7" name="supplierfocus_batch_product_status_up">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.844" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.843" endtime="20211126 10:28:05.844"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>30111</arg>
</arguments>
<assign>
<var>${product_status}</var>
</assign>
<msg timestamp="20211126 10:28:05.844" level="INFO">${product_status} = 30111</msg>
<status status="PASS" starttime="20211126 10:28:05.844" endtime="20211126 10:28:05.844"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"status":${product_status},"idList":["${product_id}","${product_id1}"]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:05.845" level="INFO">${body} = {"status":30111,"idList":["661555903803297792","658301546412511232"]}</msg>
<status status="PASS" starttime="20211126 10:28:05.845" endtime="20211126 10:28:05.845"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/update/product-status/batch</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:05.917" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
path_url=/trading-center/update/product-status/batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847953922', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '69'}
body=b'{"status":30111,"idList":["661555903803297792","658301546412511232"]}'
</msg>
<msg timestamp="20211126 10:28:05.917" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":null}
</msg>
<msg timestamp="20211126 10:28:05.917" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.845" endtime="20211126 10:28:05.917"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.918" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:05.917" endtime="20211126 10:28:05.918"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.918" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:05.918" endtime="20211126 10:28:05.919"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.919" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.919" endtime="20211126 10:28:05.919"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.919" endtime="20211126 10:28:05.920"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.843" endtime="20211126 10:28:05.920" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:03.110" endtime="20211126 10:28:05.920"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:03.108" endtime="20211126 10:28:05.922"></status>
</suite>
<suite id="s1-s11" name="010 Limited Specialoffer" source="/root/yyt-trading-rf-api/010_limited_specialoffer">
<suite id="s1-s11-s1" name="Limited Specialoffer Product" source="/root/yyt-trading-rf-api/010_limited_specialoffer/limited_specialoffer_product.robot">
<test id="s1-s11-s1-t1" name="operate_get_noton_sale_product_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.930" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.930" endtime="20211126 10:28:05.931"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>isOnSale=0</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:05.931" level="INFO">${param} = isOnSale=0</msg>
<status status="PASS" starttime="20211126 10:28:05.931" endtime="20211126 10:28:05.931"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/on-sale-category-brand-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:05.984" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0
path_url=/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:28:05.984" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:05 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","createTime":null,"onSaleSort":0},{"id":"652853213489401856","categoryId":"1","categoryName":"白板纸","name":"沙雕风格","paperManufacturerId":"622401477847158784","paperManufacturerName":"广州一会发给黄","paperName":"111111111111111111111111","createTime":null,"onSaleSort":0},{"id":"651122232923394048","categoryId":"16","categoryName":"其他","name":"统计","paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"统计纸品","createTime":null,"onSaleSort":0},{"id":"650463564347346944","categoryId":"1","categoryName":"白板纸","name":"12312","paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"34252345","createTime":null,"onSaleSort":0},{"id":"647475598360449024","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"光明","paperManufacturerId":"624705315354578944","paperManufacturerName":"山东华泰纸业股份有限公司","paperName":"铁甲","createTime":null,"onSaleSort":0},{"id":"646442007052554240","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"橙光","paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"岳阳特级牛卡","createTime":null,"onSaleSort":0},{"id":"646077175493169152","categoryId":"8","categoryName":"白卡纸","name":"为人父","paperManufacturerId":"617760337176956928","paperManufacturerName":"广州测试纸厂","paperName":"口语课回家","createTime":null,"onSaleSort":0},{"id":"639233011782651904","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"122","paperManufacturerId":"617785159873335296","paperManufacturerName":"aaa","paperName":"一休","createTime":null,"onSaleSort":0},{"id":"634846041195286528","categoryId":"633768048419016704","categoryName":"而","name":"123","paperManufacturerId":"624705488851963904","paperManufacturerName":"岳阳纸业股份有限公司","paperName":"213","createTime":null,"onSaleSort":0},{"id":"633768148222480384","categoryId":"622858543002947584","categoryName":"特级牛卡","name":"掏粪工","paperManufacturerId":"620256187698515968","paperManufacturerName":"APP金光集团","paperName":"电饭锅","createTime":null,"onSaleSort":0}],"total":28,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:05.984" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.931" endtime="20211126 10:28:05.984"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.985" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:05.985" endtime="20211126 10:28:05.985"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.986" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'createTime': None, 'onSaleSort': 0}, {'id': '652853213489401856', 'categoryId': '1', 'categoryName': '白板纸', 'name': '沙雕风格', 'paperManufacturerId': '622401477847158784', 'paperManufacturerName': '广州一会发给黄', 'paperName': '111111111111111111111111', 'createTime': None, 'onSaleSort': 0}, {'id': '651122232923394048', 'categoryId': '16', 'categoryName': '其他', 'name': '统计', 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': '统计纸品', 'createTime': None, 'onSaleSort': 0}, {'id': '650463564347346944', 'categoryId': '1', 'categoryName': '白板纸', 'name': '12312', 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '34252345', 'createTime': None, 'onSaleSort': 0}, {'id': '647475598360449024', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '光明', 'paperManufacturerId': '624705315354578944', 'paperManufacturerName': '山东华泰纸业股份有限公司', 'paperName': '铁甲', 'createTime': None, 'onSaleSort': 0}, {'id': '646442007052554240', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '橙光', 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '岳阳特级牛卡', 'createTime': None, 'onSaleSort': 0}, {'id': '646077175493169152', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '为人父', 'paperManufacturerId': '617760337176956928', 'paperManufacturerName': '广州测试纸厂', 'paperName': '口语课回家', 'createTime': None, 'onSaleSort': 0}, {'id': '639233011782651904', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '122', 'paperManufacturerId': '617785159873335296', 'paperManufacturerName': 'aaa', 'paperName': '一休', 'createTime': None, 'onSaleSort': 0}, {'id': '634846041195286528', 'categoryId': '633768048419016704', 'categoryName': '而', 'name': '123', 'paperManufacturerId': '624705488851963904', 'paperManufacturerName': '岳阳纸业股份有限公司', 'paperName': '213', 'createTime': None, 'onSaleSort': 0}, {'id': '633768148222480384', 'categoryId': '622858543002947584', 'categoryName': '特级牛卡', 'name': '掏粪工', 'paperManufacturerId': '620256187698515968', 'paperManufacturerName': 'APP金光集团', 'paperName': '电饭锅', 'createTime': None, 'onSaleSort': 0}], 'total': 28, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:05.985" endtime="20211126 10:28:05.986"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.986" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.986" endtime="20211126 10:28:05.987"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:05.987" endtime="20211126 10:28:05.987"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.930" endtime="20211126 10:28:05.987" critical="yes"></status>
</test>
<test id="s1-s11-s1-t2" name="operate_on_sale_product_list_earch">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:05.988" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:05.988" endtime="20211126 10:28:05.989"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>isOnSale=0&amp;name=${paper_brand_name}&amp;paperName=${paper_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:05.989" level="INFO">${param} = isOnSale=0&amp;name=aotutest_paper_brand_name&amp;paperName=aotutest_paper_name</msg>
<status status="PASS" starttime="20211126 10:28:05.989" endtime="20211126 10:28:05.989"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/on-sale-category-brand-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.042" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0&amp;name=aotutest_paper_brand_name&amp;paperName=aotutest_paper_name
path_url=/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0&amp;name=aotutest_paper_brand_name&amp;paperName=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:28:06.043" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=0&amp;name=aotutest_paper_brand_name&amp;paperName=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","createTime":null,"onSaleSort":0}],"total":1,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:06.043" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:05.989" endtime="20211126 10:28:06.043"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.044" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.043" endtime="20211126 10:28:06.044"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.044" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'createTime': None, 'onSaleSort': 0}], 'total': 1, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:06.044" endtime="20211126 10:28:06.045"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.045" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.045" endtime="20211126 10:28:06.045"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.045" endtime="20211126 10:28:06.046"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${on_sale_product_paper_id}</var>
</assign>
<msg timestamp="20211126 10:28:06.046" level="INFO">${on_sale_product_paper_id} = 661555878020911104</msg>
<status status="PASS" starttime="20211126 10:28:06.046" endtime="20211126 10:28:06.046"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${on_sale_product_paper_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.047" level="INFO">${on_sale_product_paper_id} = 661555878020911104</msg>
<status status="PASS" starttime="20211126 10:28:06.046" endtime="20211126 10:28:06.047"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:05.988" endtime="20211126 10:28:06.047" critical="yes"></status>
</test>
<test id="s1-s11-s1-t3" name="operate_add_on_sale_product">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.048" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.048" endtime="20211126 10:28:06.048"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${product_isOnSale}</var>
</assign>
<msg timestamp="20211126 10:28:06.049" level="INFO">${product_isOnSale} = 1</msg>
<status status="PASS" starttime="20211126 10:28:06.049" endtime="20211126 10:28:06.049"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"categoryBrandIds":["${on_sale_product_paper_id}"],"isOnSale":${product_isOnSale}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:06.049" level="INFO">${body} = {"categoryBrandIds":["661555878020911104"],"isOnSale":1}</msg>
<status status="PASS" starttime="20211126 10:28:06.049" endtime="20211126 10:28:06.049"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>trading-center/admin/add-or-remove/on-sale-category-brands</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.110" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
path_url=/trading-center/admin/add-or-remove/on-sale-category-brands
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '56'}
body=b'{"categoryBrandIds":["661555878020911104"],"isOnSale":1}'
</msg>
<msg timestamp="20211126 10:28:06.110" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:28:06.110" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.049" endtime="20211126 10:28:06.110"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.111" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.111" endtime="20211126 10:28:06.111"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.112" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:06.111" endtime="20211126 10:28:06.112"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.112" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.112" endtime="20211126 10:28:06.112"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.113" endtime="20211126 10:28:06.113"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.047" endtime="20211126 10:28:06.113" critical="yes"></status>
</test>
<test id="s1-s11-s1-t4" name="operate_get_on_sale_product_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.114" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.114" endtime="20211126 10:28:06.115"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>isOnSale=1</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:06.115" level="INFO">${param} = isOnSale=1</msg>
<status status="PASS" starttime="20211126 10:28:06.115" endtime="20211126 10:28:06.115"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/on-sale-category-brand-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.171" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=1
path_url=/trading-center/admin/get/on-sale-category-brand-list?isOnSale=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}
body=None
</msg>
<msg timestamp="20211126 10:28:06.171" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/on-sale-category-brand-list?isOnSale=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555878020911104","categoryId":"638458876659896320","categoryName":"autotest_category","name":"aotutest_paper_brand_name","paperManufacturerId":"638458967357526016","paperManufacturerName":"autotest_paper_manufacturer","paperName":"aotutest_paper_name","createTime":"2021-11-26 10:28:06","onSaleSort":5},{"id":"623143393647792128","categoryId":"9","categoryName":"金银卡","name":"测试纸品","paperManufacturerId":"623143179666984960","paperManufacturerName":"测试纸厂","paperName":"test测试纸品","createTime":"2021-10-13 14:26:50","onSaleSort":4},{"id":"599233095564136448","categoryId":"8","categoryName":"白卡纸","name":"丽品","paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"丽品白卡纸","createTime":"2021-08-16 16:01:10","onSaleSort":3},{"id":"617825820777517056","categoryId":"15","categoryName":"特种纸","name":"ff","paperManufacturerId":"617789474298007552","paperManufacturerName":"gewgw","paperName":"fff11","createTime":"2021-08-13 11:17:54","onSaleSort":2}],"total":4,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:06.171" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.115" endtime="20211126 10:28:06.171"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.172" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.171" endtime="20211126 10:28:06.172"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.173" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'name': 'aotutest_paper_brand_name', 'paperManufacturerId': '638458967357526016', 'paperManufacturerName': 'autotest_paper_manufacturer', 'paperName': 'aotutest_paper_name', 'createTime': '2021-11-26 10:28:06', 'onSaleSort': 5}, {'id': '623143393647792128', 'categoryId': '9', 'categoryName': '金银卡', 'name': '测试纸品', 'paperManufacturerId': '623143179666984960', 'paperManufacturerName': '测试纸厂', 'paperName': 'test测试纸品', 'createTime': '2021-10-13 14:26:50', 'onSaleSort': 4}, {'id': '599233095564136448', 'categoryId': '8', 'categoryName': '白卡纸', 'name': '丽品', 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': '丽品白卡纸', 'createTime': '2021-08-16 16:01:10', 'onSaleSort': 3}, {'id': '617825820777517056', 'categoryId': '15', 'categoryName': '特种纸', 'name': 'ff', 'paperManufacturerId': '617789474298007552', 'paperManufacturerName': 'gewgw', 'paperName': 'fff11', 'createTime': '2021-08-13 11:17:54', 'onSaleSort': 2}], 'total': 4, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:06.172" endtime="20211126 10:28:06.173"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.173" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.173" endtime="20211126 10:28:06.173"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.173" endtime="20211126 10:28:06.174"></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>${on_sale_product_paper_id}</arg>
<arg>${response.json()["data"]["records"][0]["id"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.174" endtime="20211126 10:28:06.174"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.113" endtime="20211126 10:28:06.175" critical="yes"></status>
</test>
<test id="s1-s11-s1-t5" name="customer_get_on_sale_product_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.176" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.175" endtime="20211126 10:28:06.176"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>isOnSale=1</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:06.176" level="INFO">${param} = isOnSale=1</msg>
<status status="PASS" starttime="20211126 10:28:06.176" endtime="20211126 10:28:06.176"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/paper-brand/brand-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.324" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?isOnSale=1
path_url=/trading-center/wechatapplet/get/paper-brand/brand-list?isOnSale=1
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:06.324" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?isOnSale=1
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 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":{"records":[{"id":"661555878020911104","name":"aotutest_paper_name","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","gramWeight":["678"],"salesRank":28,"saleWeight":0.00,"minPrice":5848,"weights":"678","categoryId":"638458876659896320","salesEnterpriseId":"661555817715208192","premiumRate":0.03,"priceUpdateTime":"2021-11-26 10:28:04","createTime":null},{"id":"623143393647792128","name":"test测试纸品","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"gramWeight":[],"salesRank":1,"saleWeight":3989.59,"minPrice":0,"weights":null,"categoryId":"9","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 10:30:28","createTime":null},{"id":"599233095564136448","name":"丽品白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["230","300","400"],"salesRank":8,"saleWeight":32.41,"minPrice":8086,"weights":"230,230,400,300","categoryId":"8","salesEnterpriseId":"553703427180466176","premiumRate":0.03,"priceUpdateTime":"2021-05-27 10:32:17","createTime":null},{"id":"617825820777517056","name":"fff11","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":null,"gramWeight":["100","123","200","343","4543"],"salesRank":11,"saleWeight":18.21,"minPrice":219,"weights":"343,123,100,200,4543","categoryId":"15","salesEnterpriseId":"592358467470233600","premiumRate":0.03,"priceUpdateTime":"2021-08-11 15:00:45","createTime":null}],"total":4,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:06.325" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.176" endtime="20211126 10:28:06.325"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.325" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.325" endtime="20211126 10:28:06.325"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.326" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'name': 'aotutest_paper_name', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'gramWeight': ['678'], 'salesRank': 28, 'saleWeight': 0.0, 'minPrice': 5848, 'weights': '678', 'categoryId': '638458876659896320', 'salesEnterpriseId': '661555817715208192', 'premiumRate': 0.03, 'priceUpdateTime': '2021-11-26 10:28:04', 'createTime': None}, {'id': '623143393647792128', 'name': 'test测试纸品', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 1, 'saleWeight': 3989.59, 'minPrice': 0, 'weights': None, 'categoryId': '9', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 10:30:28', 'createTime': None}, {'id': '599233095564136448', 'name': '丽品白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['230', '300', '400'], 'salesRank': 8, 'saleWeight': 32.41, 'minPrice': 8086, 'weights': '230,230,400,300', 'categoryId': '8', 'salesEnterpriseId': '553703427180466176', 'premiumRate': 0.03, 'priceUpdateTime': '2021-05-27 10:32:17', 'createTime': None}, {'id': '617825820777517056', 'name': 'fff11', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': None, 'gramWeight': ['100', '123', '200', '343', '4543'], 'salesRank': 11, 'saleWeight': 18.21, 'minPrice': 219, 'weights': '343,123,100,200,4543', 'categoryId': '15', 'salesEnterpriseId': '592358467470233600', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-11 15:00:45', 'createTime': None}], 'total': 4, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:06.326" endtime="20211126 10:28:06.326"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.327" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.326" endtime="20211126 10:28:06.327"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.327" endtime="20211126 10:28:06.327"></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>${on_sale_product_paper_id}</arg>
<arg>${response.json()["data"]["records"][0]["id"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.327" endtime="20211126 10:28:06.328"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.175" endtime="20211126 10:28:06.328" critical="yes"></status>
</test>
<test id="s1-s11-s1-t6" name="operate_remove_on_sale_product">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.329" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.329" endtime="20211126 10:28:06.329"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${product_isOnSale}</var>
</assign>
<msg timestamp="20211126 10:28:06.330" level="INFO">${product_isOnSale} = 0</msg>
<status status="PASS" starttime="20211126 10:28:06.330" endtime="20211126 10:28:06.330"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"categoryBrandIds":["${on_sale_product_paper_id}"],"isOnSale":${product_isOnSale}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:06.330" level="INFO">${body} = {"categoryBrandIds":["661555878020911104"],"isOnSale":0}</msg>
<status status="PASS" starttime="20211126 10:28:06.330" endtime="20211126 10:28:06.330"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>trading-center/admin/add-or-remove/on-sale-category-brands</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.390" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
path_url=/trading-center/admin/add-or-remove/on-sale-category-brands
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847952999', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'Content-Length': '56'}
body=b'{"categoryBrandIds":["661555878020911104"],"isOnSale":0}'
</msg>
<msg timestamp="20211126 10:28:06.390" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/add-or-remove/on-sale-category-brands
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:28:06.390" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.330" endtime="20211126 10:28:06.390"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.391" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.391" endtime="20211126 10:28:06.391"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.392" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:06.391" endtime="20211126 10:28:06.392"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.392" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.392" endtime="20211126 10:28:06.393"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.393" endtime="20211126 10:28:06.393"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.328" endtime="20211126 10:28:06.393" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:05.926" endtime="20211126 10:28:06.394"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:05.924" endtime="20211126 10:28:06.396"></status>
</suite>
<suite id="s1-s12" name="011 Product Price Config" source="/root/yyt-trading-rf-api/011_product_price_config">
<suite id="s1-s12-s1" name="Product Price Config Qniao And Feisuan" source="/root/yyt-trading-rf-api/011_product_price_config/product_price_config_qniao_and_feisuan.robot">
<test id="s1-s12-s1-t1" name="product_price_config_qniao_and_feisuan_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.405" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.404" endtime="20211126 10:28:06.405"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/get/settlement-interval/two-dimension/list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.465" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/two-dimension/list
path_url=/cloud-print-user-center/get/settlement-interval/two-dimension/list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:06.465" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/two-dimension/list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"rowList":[{"rowId":"11","rowName":"月结30天","columnList":[{"colId":"1","rowId":"11","id":"622136611982938112","columnName":"现结","columnVal":1.00,"valid":0,"type":0},{"colId":"2","rowId":"11","id":"622142109939535872","columnName":"月结30天","columnVal":2.00,"valid":0,"type":0},{"colId":"3","rowId":"11","id":"622142204592394240","columnName":"月结45天","columnVal":3.00,"valid":0,"type":0},{"colId":"4","rowId":"11","id":"622142211924037632","columnName":"月结60天","columnVal":4.00,"valid":0,"type":0},{"colId":"5","rowId":"11","id":"622142217556987904","columnName":"月结75天","columnVal":5.00,"valid":0,"type":0},{"colId":"6","rowId":"11","id":"622142226239197184","columnName":"月结90天","columnVal":6.00,"valid":0,"type":0}]},{"rowId":"12","rowName":"月结45天","columnList":[{"colId":"1","rowId":"12","id":"622142016821792768","columnName":"现结","columnVal":11.00,"valid":0,"type":0},{"colId":"2","rowId":"12","id":"622142241846202368","columnName":"月结30天","columnVal":12.00,"valid":0,"type":0},{"colId":"3","rowId":"12","id":"622142311454871552","columnName":"月结45天","columnVal":13.00,"valid":0,"type":0},{"colId":"4","rowId":"12","id":"622142357202145280","columnName":"月结60天","columnVal":14.00,"valid":0,"type":0},{"colId":"5","rowId":"12","id":"622142395202539520","columnName":"月结75天","columnVal":15.00,"valid":0,"type":0},{"colId":"6","rowId":"12","id":"622142452140216320","columnName":"月结90天","columnVal":16.00,"valid":0,"type":0}]},{"rowId":"13","rowName":"月结60天","columnList":[{"colId":"1","rowId":"13","id":"622142033770975232","columnName":"现结","columnVal":21.00,"valid":0,"type":0},{"colId":"2","rowId":"13","id":"622142257004417024","columnName":"月结30天","columnVal":22.00,"valid":0,"type":0},{"colId":"3","rowId":"13","id":"622142316504813568","columnName":"月结45天","columnVal":23.00,"valid":0,"type":0},{"colId":"4","rowId":"13","id":"622142363371966464","columnName":"月结60天","columnVal":24.00,"valid":0,"type":0},{"colId":"5","rowId":"13","id":"622142403041693696","columnName":"月结75天","columnVal":25.00,"valid":0,"type":0},{"colId":"6","rowId":"13","id":"622142468766437376","columnName":"月结90天","columnVal":26.00,"valid":0,"type":0}]},{"rowId":"14","rowName":"月结75天","columnList":[{"colId":"1","rowId":"14","id":"622142051399634944","columnName":"现结","columnVal":31.00,"valid":0,"type":0},{"colId":"2","rowId":"14","id":"622142272795971584","columnName":"月结30天","columnVal":32.00,"valid":0,"type":0},{"colId":"3","rowId":"14","id":"622142320963358720","columnName":"月结45天","columnVal":33.00,"valid":0,"type":0},{"colId":"4","rowId":"14","id":"622142368690343936","columnName":"月结60天","columnVal":34.00,"valid":0,"type":0},{"colId":"5","rowId":"14","id":"622142412545986560","columnName":"月结75天","columnVal":35.00,"valid":0,"type":0},{"colId":"6","rowId":"14","id":"622142484599934976","columnName":"月结90天","columnVal":36.00,"valid":0,"type":0}]},{"rowId":"15","rowName":"月结90天","columnList":[{"colId":"6","rowId":"15","id":"622141632002789376","columnName":"月结90天","columnVal":-10.00,"valid":0,"type":0},{"colId":"1","rowId":"15","id":"622142097511813120","columnName":"现结","columnVal":-50.00,"valid":0,"type":0},{"colId":"2","rowId":"15","id":"622142301367570432","columnName":"月结30天","columnVal":-90.00,"valid":0,"type":0},{"colId":"3","rowId":"15","id":"622142333290418176","columnName":"月结45天","columnVal":10.00,"valid":0,"type":0},{"colId":"4","rowId":"15","id":"622142375078268928","columnName":"月结60天","columnVal":50.00,"valid":0,"type":0},{"colId":"5","rowId":"15","id":"622142441704787968","columnName":"月结75天","columnVal":90.00,"valid":0,"type":0}]}],"flyloanList":[{"rowId":"22","rowName":"先息后本·1期","columnList":[{"colId":"5","rowId":"22","id":"631497391060684800","columnName":"月结75天","columnVal":6.00,"valid":0,"type":1},{"colId":"1","rowId":"22","id":"632216107373170688","columnName":"现结","columnVal":2.00,"valid":0,"type":1},{"colId":"2","rowId":"22","id":"632218246287855616","columnName":"月结30天","columnVal":2.00,"valid":0,"type":1},{"colId":"3","rowId":"22","id":"632218281255768064","columnName":"月结45天","columnVal":50.00,"valid":0,"type":1},{"colId":"4","rowId":"22","id":"632218295726116864","columnName":"月结60天","columnVal":-50.00,"valid":0,"type":1},{"colId":"6","rowId":"22","id":"632218384125267968","columnName":"月结90天","columnVal":8.00,"valid":0,"type":1}]},{"rowId":"23","rowName":"先息后本·3期","columnList":[{"colId":"1","rowId":"23","id":"632218406766120960","columnName":"现结","columnVal":12.00,"valid":0,"type":1},{"colId":"2","rowId":"23","id":"632218417658728448","columnName":"月结30天","columnVal":2.00,"valid":0,"type":1},{"colId":"3","rowId":"23","id":"632218424357031936","columnName":"月结45天","columnVal":50.00,"valid":0,"type":1},{"colId":"4","rowId":"23","id":"632218431525097472","columnName":"月结60天","columnVal":100.00,"valid":0,"type":1},{"colId":"5","rowId":"23","id":"632218437007052800","columnName":"月结75天","columnVal":7.00,"valid":0,"type":1},{"colId":"6","rowId":"23","id":"632218454384054272","columnName":"月结90天","columnVal":2.00,"valid":0,"type":1}]}]}}
</msg>
<msg timestamp="20211126 10:28:06.465" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.405" endtime="20211126 10:28:06.465"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.466" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.466" endtime="20211126 10:28:06.466"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.467" level="INFO">{'code': 0, 'message': 'successful', 'data': {'rowList': [{'rowId': '11', 'rowName': '月结30天', 'columnList': [{'colId': '1', 'rowId': '11', 'id': '622136611982938112', 'columnName': '现结', 'columnVal': 1.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '11', 'id': '622142109939535872', 'columnName': '月结30天', 'columnVal': 2.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '11', 'id': '622142204592394240', 'columnName': '月结45天', 'columnVal': 3.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '11', 'id': '622142211924037632', 'columnName': '月结60天', 'columnVal': 4.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '11', 'id': '622142217556987904', 'columnName': '月结75天', 'columnVal': 5.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '11', 'id': '622142226239197184', 'columnName': '月结90天', 'columnVal': 6.0, 'valid': 0, 'type': 0}]}, {'rowId': '12', 'rowName': '月结45天', 'columnList': [{'colId': '1', 'rowId': '12', 'id': '622142016821792768', 'columnName': '现结', 'columnVal': 11.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '12', 'id': '622142241846202368', 'columnName': '月结30天', 'columnVal': 12.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '12', 'id': '622142311454871552', 'columnName': '月结45天', 'columnVal': 13.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '12', 'id': '622142357202145280', 'columnName': '月结60天', 'columnVal': 14.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '12', 'id': '622142395202539520', 'columnName': '月结75天', 'columnVal': 15.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '12', 'id': '622142452140216320', 'columnName': '月结90天', 'columnVal': 16.0, 'valid': 0, 'type': 0}]}, {'rowId': '13', 'rowName': '月结60天', 'columnList': [{'colId': '1', 'rowId': '13', 'id': '622142033770975232', 'columnName': '现结', 'columnVal': 21.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '13', 'id': '622142257004417024', 'columnName': '月结30天', 'columnVal': 22.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '13', 'id': '622142316504813568', 'columnName': '月结45天', 'columnVal': 23.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '13', 'id': '622142363371966464', 'columnName': '月结60天', 'columnVal': 24.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '13', 'id': '622142403041693696', 'columnName': '月结75天', 'columnVal': 25.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '13', 'id': '622142468766437376', 'columnName': '月结90天', 'columnVal': 26.0, 'valid': 0, 'type': 0}]}, {'rowId': '14', 'rowName': '月结75天', 'columnList': [{'colId': '1', 'rowId': '14', 'id': '622142051399634944', 'columnName': '现结', 'columnVal': 31.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '14', 'id': '622142272795971584', 'columnName': '月结30天', 'columnVal': 32.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '14', 'id': '622142320963358720', 'columnName': '月结45天', 'columnVal': 33.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '14', 'id': '622142368690343936', 'columnName': '月结60天', 'columnVal': 34.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '14', 'id': '622142412545986560', 'columnName': '月结75天', 'columnVal': 35.0, 'valid': 0, 'type': 0}, {'colId': '6', 'rowId': '14', 'id': '622142484599934976', 'columnName': '月结90天', 'columnVal': 36.0, 'valid': 0, 'type': 0}]}, {'rowId': '15', 'rowName': '月结90天', 'columnList': [{'colId': '6', 'rowId': '15', 'id': '622141632002789376', 'columnName': '月结90天', 'columnVal': -10.0, 'valid': 0, 'type': 0}, {'colId': '1', 'rowId': '15', 'id': '622142097511813120', 'columnName': '现结', 'columnVal': -50.0, 'valid': 0, 'type': 0}, {'colId': '2', 'rowId': '15', 'id': '622142301367570432', 'columnName': '月结30天', 'columnVal': -90.0, 'valid': 0, 'type': 0}, {'colId': '3', 'rowId': '15', 'id': '622142333290418176', 'columnName': '月结45天', 'columnVal': 10.0, 'valid': 0, 'type': 0}, {'colId': '4', 'rowId': '15', 'id': '622142375078268928', 'columnName': '月结60天', 'columnVal': 50.0, 'valid': 0, 'type': 0}, {'colId': '5', 'rowId': '15', 'id': '622142441704787968', 'columnName': '月结75天', 'columnVal': 90.0, 'valid': 0, 'type': 0}]}], 'flyloanList': [{'rowId': '22', 'rowName': '先息后本·1期', 'columnList': [{'colId': '5', 'rowId': '22', 'id': '631497391060684800', 'columnName': '月结75天', 'columnVal': 6.0, 'valid': 0, 'type': 1}, {'colId': '1', 'rowId': '22', 'id': '632216107373170688', 'columnName': '现结', 'columnVal': 2.0, 'valid': 0, 'type': 1}, {'colId': '2', 'rowId': '22', 'id': '632218246287855616', 'columnName': '月结30天', 'columnVal': 2.0, 'valid': 0, 'type': 1}, {'colId': '3', 'rowId': '22', 'id': '632218281255768064', 'columnName': '月结45天', 'columnVal': 50.0, 'valid': 0, 'type': 1}, {'colId': '4', 'rowId': '22', 'id': '632218295726116864', 'columnName': '月结60天', 'columnVal': -50.0, 'valid': 0, 'type': 1}, {'colId': '6', 'rowId': '22', 'id': '632218384125267968', 'columnName': '月结90天', 'columnVal': 8.0, 'valid': 0, 'type': 1}]}, {'rowId': '23', 'rowName': '先息后本·3期', 'columnList': [{'colId': '1', 'rowId': '23', 'id': '632218406766120960', 'columnName': '现结', 'columnVal': 12.0, 'valid': 0, 'type': 1}, {'colId': '2', 'rowId': '23', 'id': '632218417658728448', 'columnName': '月结30天', 'columnVal': 2.0, 'valid': 0, 'type': 1}, {'colId': '3', 'rowId': '23', 'id': '632218424357031936', 'columnName': '月结45天', 'columnVal': 50.0, 'valid': 0, 'type': 1}, {'colId': '4', 'rowId': '23', 'id': '632218431525097472', 'columnName': '月结60天', 'columnVal': 100.0, 'valid': 0, 'type': 1}, {'colId': '5', 'rowId': '23', 'id': '632218437007052800', 'columnName': '月结75天', 'columnVal': 7.0, 'valid': 0, 'type': 1}, {'colId': '6', 'rowId': '23', 'id': '632218454384054272', 'columnName': '月结90天', 'columnVal': 2.0, 'valid': 0, 'type': 1}]}]}}</msg>
<status status="PASS" starttime="20211126 10:28:06.466" endtime="20211126 10:28:06.467"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.468" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.467" endtime="20211126 10:28:06.468"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.468" endtime="20211126 10:28:06.468"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.404" endtime="20211126 10:28:06.469" critical="yes"></status>
</test>
<test id="s1-s12-s1-t2" name="product_price_config_qniao_and_feisuan_update_log_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.470" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.469" endtime="20211126 10:28:06.470"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/get/paper/premium-rate/history/page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.519" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/paper/premium-rate/history/page
path_url=/cloud-print-user-center/get/paper/premium-rate/history/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:06.520" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/paper/premium-rate/history/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":{"records":[{"id":"648642015323623424","createTime":"2021-10-21 19:12:53","editorId":"579717994788294656","editorName":"梓健","oldPremiumRate":1.00,"newPremiumRate":1.00,"dataId":"622136611982938112","clientSettlementIntervalType":"11","clientSettlementIntervalName":"月结30天","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"645619701015252992","createTime":"2021-10-13 11:03:17","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":2.00,"dataId":"632218417658728448","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"2","supplierSettlementIntervalName":"月结30天"},{"id":"644887453668347904","createTime":"2021-10-11 10:33:36","editorId":"572831485514616832","editorName":"梁金满","oldPremiumRate":8.00,"newPremiumRate":2.00,"dataId":"632218454384054272","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"6","supplierSettlementIntervalName":"月结90天"},{"id":"644886440962035712","createTime":"2021-10-11 10:29:34","editorId":"572831485514616832","editorName":"梁金满","oldPremiumRate":7.00,"newPremiumRate":8.00,"dataId":"632218384125267968","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"6","supplierSettlementIntervalName":"月结90天"},{"id":"635931286199996416","createTime":"2021-09-16 17:24:59","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":12.00,"newPremiumRate":12.00,"dataId":"632218406766120960","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635931277048025088","createTime":"2021-09-16 17:24:57","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":12.00,"dataId":"632218406766120960","clientSettlementIntervalType":"23","clientSettlementIntervalName":"先息后本·3期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635931254583332864","createTime":"2021-09-16 17:24:51","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":2.00,"dataId":"632216107373170688","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635928020548456448","createTime":"2021-09-16 17:12:00","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":3.00,"newPremiumRate":2.00,"dataId":"632216107373170688","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"},{"id":"635928016740028416","createTime":"2021-09-16 17:11:59","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":2.00,"newPremiumRate":2.00,"dataId":"632218246287855616","clientSettlementIntervalType":"22","clientSettlementIntervalName":"先息后本·1期","supplierSettlementIntervalType":"2","supplierSettlementIntervalName":"月结30天"},{"id":"635928007596445696","createTime":"2021-09-16 17:11:57","editorId":"635092395083567104","editorName":"一休","oldPremiumRate":31.00,"newPremiumRate":31.00,"dataId":"622142051399634944","clientSettlementIntervalType":"14","clientSettlementIntervalName":"月结75天","supplierSettlementIntervalType":"1","supplierSettlementIntervalName":"现结"}],"total":414,"size":10,"current":1,"orders":null,"searchCount":true,"pages":42}}
</msg>
<msg timestamp="20211126 10:28:06.520" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.470" endtime="20211126 10:28:06.520"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.521" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.520" endtime="20211126 10:28:06.521"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.521" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '648642015323623424', 'createTime': '2021-10-21 19:12:53', 'editorId': '579717994788294656', 'editorName': '梓健', 'oldPremiumRate': 1.0, 'newPremiumRate': 1.0, 'dataId': '622136611982938112', 'clientSettlementIntervalType': '11', 'clientSettlementIntervalName': '月结30天', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '645619701015252992', 'createTime': '2021-10-13 11:03:17', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 2.0, 'dataId': '632218417658728448', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '2', 'supplierSettlementIntervalName': '月结30天'}, {'id': '644887453668347904', 'createTime': '2021-10-11 10:33:36', 'editorId': '572831485514616832', 'editorName': '梁金满', 'oldPremiumRate': 8.0, 'newPremiumRate': 2.0, 'dataId': '632218454384054272', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '6', 'supplierSettlementIntervalName': '月结90天'}, {'id': '644886440962035712', 'createTime': '2021-10-11 10:29:34', 'editorId': '572831485514616832', 'editorName': '梁金满', 'oldPremiumRate': 7.0, 'newPremiumRate': 8.0, 'dataId': '632218384125267968', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '6', 'supplierSettlementIntervalName': '月结90天'}, {'id': '635931286199996416', 'createTime': '2021-09-16 17:24:59', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 12.0, 'newPremiumRate': 12.0, 'dataId': '632218406766120960', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635931277048025088', 'createTime': '2021-09-16 17:24:57', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 12.0, 'dataId': '632218406766120960', 'clientSettlementIntervalType': '23', 'clientSettlementIntervalName': '先息后本·3期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635931254583332864', 'createTime': '2021-09-16 17:24:51', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 2.0, 'dataId': '632216107373170688', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635928020548456448', 'createTime': '2021-09-16 17:12:00', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 3.0, 'newPremiumRate': 2.0, 'dataId': '632216107373170688', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}, {'id': '635928016740028416', 'createTime': '2021-09-16 17:11:59', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 2.0, 'newPremiumRate': 2.0, 'dataId': '632218246287855616', 'clientSettlementIntervalType': '22', 'clientSettlementIntervalName': '先息后本·1期', 'supplierSettlementIntervalType': '2', 'supplierSettlementIntervalName': '月结30天'}, {'id': '635928007596445696', 'createTime': '2021-09-16 17:11:57', 'editorId': '635092395083567104', 'editorName': '一休', 'oldPremiumRate': 31.0, 'newPremiumRate': 31.0, 'dataId': '622142051399634944', 'clientSettlementIntervalType': '14', 'clientSettlementIntervalName': '月结75天', 'supplierSettlementIntervalType': '1', 'supplierSettlementIntervalName': '现结'}], 'total': 414, 'size': 10, 'current': 1, 'orders': None, 'searchCount': True, 'pages': 42}}</msg>
<status status="PASS" starttime="20211126 10:28:06.521" endtime="20211126 10:28:06.522"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.522" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.522" endtime="20211126 10:28:06.522"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.522" endtime="20211126 10:28:06.523"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.469" endtime="20211126 10:28:06.523" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:06.400" endtime="20211126 10:28:06.523"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:06.397" endtime="20211126 10:28:06.524"></status>
</suite>
<suite id="s1-s13" name="012 Product Price Update" source="/root/yyt-trading-rf-api/012_product_price_update">
<suite id="s1-s13-s1" name="Product Price Batch Update Purchaseprice" source="/root/yyt-trading-rf-api/012_product_price_update/product_price_batch_update_purchaseprice.robot">
<test id="s1-s13-s1-t1" name="product_price_sku_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.532" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.531" endtime="20211126 10:28:06.532"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/seller/product-sku-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.609" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list
path_url=/trading-center/get/seller/product-sku-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:06.610" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 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":{"records":[{"id":"661555903803297792","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","supplierName":"autotest_supplier_paper_name","weightId":"645594792394362880","weightValue":"678","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5678.0000,"purchasePrice":5678.0000,"stock":0.00,"stockUnit":"吨","status":"30111","createTime":"2021-11-26T10:28:04"},{"id":"658301546412511232","skuId":"1364","categoryName":"白板纸","brandName":"沙雕风格","name":"111111111111111111111111","supplierName":"2为人妻我让请问请问","weightId":"645594792394362880","weightValue":"678","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":2513.0000,"purchasePrice":2513.0000,"stock":0.00,"stockUnit":"吨","status":"30111","createTime":"2021-11-17T10:56:25"},{"id":"653677869767200768","skuId":"1338","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"647514068206358528","weightValue":"34234","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":2344.0000,"purchasePrice":2344.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"653677869767200768","skuId":"1337","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"653927284167806976","weightValue":"43223","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":2344.0000,"purchasePrice":2344.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"653677869767200768","skuId":"1335","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"598556468513476608","weightValue":"1231","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5000.0000,"purchasePrice":5000.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"653677869767200768","skuId":"1334","categoryName":"金银卡","brandName":"测试纸品","name":"test测试纸品","supplierName":"2为人妻我让请问请问","weightId":"564088901820616704","weightValue":"123","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5000.0000,"purchasePrice":5000.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-04T16:43:35"},{"id":"652935172945219584","skuId":"1333","categoryName":"特级牛卡","brandName":"122","name":"一休","supplierName":"5645646457","weightId":"647769796099837952","weightValue":"3123","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":333.0000,"purchasePrice":333.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:22"},{"id":"652935171879866368","skuId":"1332","categoryName":"特级牛卡","brandName":"橙光","name":"岳阳特级牛卡","supplierName":"1234123123","weightId":"652935172076998656","weightValue":"6345","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":12.0000,"purchasePrice":12.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:22"},{"id":"652935170873233408","skuId":"1331","categoryName":"白卡纸","brandName":"为人父","name":"口语课回家","supplierName":"axxxx","weightId":"652935171024228352","weightValue":"4556","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":456.0000,"purchasePrice":456.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:21"},{"id":"652935169854017536","skuId":"1330","categoryName":"而","brandName":"123","name":"213","supplierName":"wwww","weightId":"620348596071567360","weightValue":"1233","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":55.0000,"purchasePrice":55.0000,"stock":0.00,"stockUnit":"吨","status":"30112","createTime":"2021-11-02T15:32:21"}],"total":632,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:06.610" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.532" endtime="20211126 10:28:06.610"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.611" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.610" endtime="20211126 10:28:06.611"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.612" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555903803297792', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'name': 'aotutest_paper_name', 'supplierName': 'autotest_supplier_paper_name', 'weightId': '645594792394362880', 'weightValue': '678', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5678.0, 'purchasePrice': 5678.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30111', 'createTime': '2021-11-26T10:28:04'}, {'id': '658301546412511232', 'skuId': '1364', 'categoryName': '白板纸', 'brandName': '沙雕风格', 'name': '111111111111111111111111', 'supplierName': '2为人妻我让请问请问', 'weightId': '645594792394362880', 'weightValue': '678', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 2513.0, 'purchasePrice': 2513.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30111', 'createTime': '2021-11-17T10:56:25'}, {'id': '653677869767200768', 'skuId': '1338', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '647514068206358528', 'weightValue': '34234', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 2344.0, 'purchasePrice': 2344.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '653677869767200768', 'skuId': '1337', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '653927284167806976', 'weightValue': '43223', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 2344.0, 'purchasePrice': 2344.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '653677869767200768', 'skuId': '1335', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '598556468513476608', 'weightValue': '1231', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5000.0, 'purchasePrice': 5000.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '653677869767200768', 'skuId': '1334', 'categoryName': '金银卡', 'brandName': '测试纸品', 'name': 'test测试纸品', 'supplierName': '2为人妻我让请问请问', 'weightId': '564088901820616704', 'weightValue': '123', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5000.0, 'purchasePrice': 5000.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-04T16:43:35'}, {'id': '652935172945219584', 'skuId': '1333', 'categoryName': '特级牛卡', 'brandName': '122', 'name': '一休', 'supplierName': '5645646457', 'weightId': '647769796099837952', 'weightValue': '3123', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 333.0, 'purchasePrice': 333.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:22'}, {'id': '652935171879866368', 'skuId': '1332', 'categoryName': '特级牛卡', 'brandName': '橙光', 'name': '岳阳特级牛卡', 'supplierName': '1234123123', 'weightId': '652935172076998656', 'weightValue': '6345', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 12.0, 'purchasePrice': 12.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:22'}, {'id': '652935170873233408', 'skuId': '1331', 'categoryName': '白卡纸', 'brandName': '为人父', 'name': '口语课回家', 'supplierName': 'axxxx', 'weightId': '652935171024228352', 'weightValue': '4556', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 456.0, 'purchasePrice': 456.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:21'}, {'id': '652935169854017536', 'skuId': '1330', 'categoryName': '而', 'brandName': '123', 'name': '213', 'supplierName': 'wwww', 'weightId': '620348596071567360', 'weightValue': '1233', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 55.0, 'purchasePrice': 55.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30112', 'createTime': '2021-11-02T15:32:21'}], 'total': 632, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:06.611" endtime="20211126 10:28:06.612"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.612" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.612" endtime="20211126 10:28:06.612"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.612" endtime="20211126 10:28:06.613"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.531" endtime="20211126 10:28:06.613" critical="yes"></status>
</test>
<test id="s1-s13-s1-t2" name="product_price_sku_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.614" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.614" endtime="20211126 10:28:06.615"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>salesEnterpriseId=${supplier_paper_id}&amp;name=${paper_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:06.615" level="INFO">${param} = salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name</msg>
<status status="PASS" starttime="20211126 10:28:06.615" endtime="20211126 10:28:06.615"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/seller/product-sku-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.672" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list?salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name
path_url=/trading-center/get/seller/product-sku-list?salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:06.673" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/seller/product-sku-list?salesEnterpriseId=661555817715208192&amp;name=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 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":{"records":[{"id":"661555903803297792","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","name":"aotutest_paper_name","supplierName":"autotest_supplier_paper_name","weightId":"645594792394362880","weightValue":"678","specificationId":null,"specificationValue":null,"sizeId":null,"sizeValue":null,"listPrice":5678.0000,"purchasePrice":5678.0000,"stock":0.00,"stockUnit":"吨","status":"30111","createTime":"2021-11-26T10:28:04"}],"total":1,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:06.673" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.615" endtime="20211126 10:28:06.673"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.674" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.673" endtime="20211126 10:28:06.674"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.674" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555903803297792', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'name': 'aotutest_paper_name', 'supplierName': 'autotest_supplier_paper_name', 'weightId': '645594792394362880', 'weightValue': '678', 'specificationId': None, 'specificationValue': None, 'sizeId': None, 'sizeValue': None, 'listPrice': 5678.0, 'purchasePrice': 5678.0, 'stock': 0.0, 'stockUnit': '吨', 'status': '30111', 'createTime': '2021-11-26T10:28:04'}], 'total': 1, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:06.674" endtime="20211126 10:28:06.675"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.675" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.675" endtime="20211126 10:28:06.675"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.675" endtime="20211126 10:28:06.676"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>skuId</arg>
</arguments>
<assign>
<var>${product_price_sku_id}</var>
</assign>
<msg timestamp="20211126 10:28:06.678" level="INFO">${product_price_sku_id} = 1441</msg>
<status status="PASS" starttime="20211126 10:28:06.676" endtime="20211126 10:28:06.678"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${product_price_sku_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.678" level="INFO">${product_price_sku_id} = 1441</msg>
<status status="PASS" starttime="20211126 10:28:06.678" endtime="20211126 10:28:06.678"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.613" endtime="20211126 10:28:06.679" critical="yes"></status>
</test>
<test id="s1-s13-s1-t3" name="product_price_sku_batch_update_purchaseprice">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.680" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.680" endtime="20211126 10:28:06.680"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${product_price_sku_alterType}</var>
</assign>
<msg timestamp="20211126 10:28:06.681" level="INFO">${product_price_sku_alterType} = 1</msg>
<status status="PASS" starttime="20211126 10:28:06.680" endtime="20211126 10:28:06.681"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>6789</arg>
</arguments>
<assign>
<var>${product_price_sku_new}</var>
</assign>
<msg timestamp="20211126 10:28:06.681" level="INFO">${product_price_sku_new} = 6789</msg>
<status status="PASS" starttime="20211126 10:28:06.681" endtime="20211126 10:28:06.681"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"skuids":["${product_price_sku_id}"],"alterType":${product_price_sku_alterType},"price":${product_price_sku_new}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:06.681" level="INFO">${body} = {"skuids":["1441"],"alterType":1,"price":6789}</msg>
<status status="PASS" starttime="20211126 10:28:06.681" endtime="20211126 10:28:06.681"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/product/unify/alter/purchasing-cost</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.769" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/product/unify/alter/purchasing-cost
path_url=/trading-center/product/unify/alter/purchasing-cost
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '46'}
body=b'{"skuids":["1441"],"alterType":1,"price":6789}'
</msg>
<msg timestamp="20211126 10:28:06.769" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/product/unify/alter/purchasing-cost
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 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":null}
</msg>
<msg timestamp="20211126 10:28:06.769" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.682" endtime="20211126 10:28:06.769"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${product_price_sku_new}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.770" level="INFO">${product_price_sku_new} = 6789</msg>
<status status="PASS" starttime="20211126 10:28:06.769" endtime="20211126 10:28:06.770"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.770" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:06.770" endtime="20211126 10:28:06.770"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.771" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:06.771" endtime="20211126 10:28:06.771"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.771" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.771" endtime="20211126 10:28:06.771"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.772" endtime="20211126 10:28:06.772"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.679" endtime="20211126 10:28:06.772" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:06.527" endtime="20211126 10:28:06.773"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:06.525" endtime="20211126 10:28:06.773"></status>
</suite>
<suite id="s1-s14" name="013 Paper List And Details" source="/root/yyt-trading-rf-api/013_paper_list_and_details">
<suite id="s1-s14-s1" name="Customer Get Paper List And Detail" source="/root/yyt-trading-rf-api/013_paper_list_and_details/customer_get_paper_list_and_detail.robot">
<test id="s1-s14-s1-t1" name="customer_get_paper_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.781" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.780" endtime="20211126 10:28:06.781"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/paper-brand/brand-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:06.932" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list
path_url=/trading-center/wechatapplet/get/paper-brand/brand-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:06.933" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:06 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":{"records":[{"id":"623143393647792128","name":"test测试纸品","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"gramWeight":[],"salesRank":1,"saleWeight":3989.59,"minPrice":0,"weights":null,"categoryId":"9","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 10:30:28","createTime":null},{"id":"623228646341087232","name":"地龙灰底白","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":[],"salesRank":2,"saleWeight":579.49,"minPrice":0,"weights":null,"categoryId":"1","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 16:09:14","createTime":null},{"id":"603317946856640512","name":"提交提交白板纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["213","314"],"salesRank":3,"saleWeight":397.95,"minPrice":219,"weights":"314,213","categoryId":"1","salesEnterpriseId":"639897124376547328","premiumRate":0.03,"priceUpdateTime":"2021-10-14 17:20:24","createTime":null},{"id":"603317864300154880","name":"给多发点白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":4,"saleWeight":179.93,"minPrice":0,"weights":null,"categoryId":"8","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:54","createTime":null},{"id":"603317899079323648","name":"少的发给对方双胶纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":5,"saleWeight":87.00,"minPrice":0,"weights":null,"categoryId":"3","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:31:02","createTime":null},{"id":"603317809983918080","name":"的改地方是个哑粉纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":6,"saleWeight":43.24,"minPrice":0,"weights":null,"categoryId":"11","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:41","createTime":null},{"id":"633768148222480384","name":"电饭锅","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg","characteristic":null,"gramWeight":[],"salesRank":7,"saleWeight":35.91,"minPrice":0,"weights":null,"categoryId":"622858543002947584","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-09-10 18:09:27","createTime":null},{"id":"599233095564136448","name":"丽品白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["230","300","400"],"salesRank":8,"saleWeight":32.41,"minPrice":8086,"weights":"230,230,400,300","categoryId":"8","salesEnterpriseId":"553703427180466176","premiumRate":0.03,"priceUpdateTime":"2021-05-27 10:32:17","createTime":null},{"id":"623228969491238912","name":"海龙白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":["300"],"salesRank":9,"saleWeight":26.10,"minPrice":6281,"weights":"300","categoryId":"1","salesEnterpriseId":"588472929885491200","premiumRate":0.03,"priceUpdateTime":"2021-08-13 10:35:33","createTime":null},{"id":"622154891854483456","name":"213白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"11","gramWeight":["1000"],"salesRank":10,"saleWeight":23.02,"minPrice":9155,"weights":"1000","categoryId":"622154152801341440","salesEnterpriseId":"624974007590064128","premiumRate":0.03,"priceUpdateTime":"2021-08-30 11:26:01","createTime":null}],"total":28,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:06.933" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.781" endtime="20211126 10:28:06.933"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.934" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '623143393647792128', 'name': 'test测试纸品', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 1, 'saleWeight': 3989.59, 'minPrice': 0, 'weights': None, 'categoryId': '9', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 10:30:28', 'createTime': None}, {'id': '623228646341087232', 'name': '地龙灰底白', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': [], 'salesRank': 2, 'saleWeight': 579.49, 'minPrice': 0, 'weights': None, 'categoryId': '1', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 16:09:14', 'createTime': None}, {'id': '603317946856640512', 'name': '提交提交白板纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['213', '314'], 'salesRank': 3, 'saleWeight': 397.95, 'minPrice': 219, 'weights': '314,213', 'categoryId': '1', 'salesEnterpriseId': '639897124376547328', 'premiumRate': 0.03, 'priceUpdateTime': '2021-10-14 17:20:24', 'createTime': None}, {'id': '603317864300154880', 'name': '给多发点白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 4, 'saleWeight': 179.93, 'minPrice': 0, 'weights': None, 'categoryId': '8', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:54', 'createTime': None}, {'id': '603317899079323648', 'name': '少的发给对方双胶纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 5, 'saleWeight': 87.0, 'minPrice': 0, 'weights': None, 'categoryId': '3', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:31:02', 'createTime': None}, {'id': '603317809983918080', 'name': '的改地方是个哑粉纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 6, 'saleWeight': 43.24, 'minPrice': 0, 'weights': None, 'categoryId': '11', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:41', 'createTime': None}, {'id': '633768148222480384', 'name': '电饭锅', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 7, 'saleWeight': 35.91, 'minPrice': 0, 'weights': None, 'categoryId': '622858543002947584', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-09-10 18:09:27', 'createTime': None}, {'id': '599233095564136448', 'name': '丽品白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['230', '300', '400'], 'salesRank': 8, 'saleWeight': 32.41, 'minPrice': 8086, 'weights': '230,230,400,300', 'categoryId': '8', 'salesEnterpriseId': '553703427180466176', 'premiumRate': 0.03, 'priceUpdateTime': '2021-05-27 10:32:17', 'createTime': None}, {'id': '623228969491238912', 'name': '海龙白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': ['300'], 'salesRank': 9, 'saleWeight': 26.1, 'minPrice': 6281, 'weights': '300', 'categoryId': '1', 'salesEnterpriseId': '588472929885491200', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-13 10:35:33', 'createTime': None}, {'id': '622154891854483456', 'name': '213白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '11', 'gramWeight': ['1000'], 'salesRank': 10, 'saleWeight': 23.02, 'minPrice': 9155, 'weights': '1000', 'categoryId': '622154152801341440', 'salesEnterpriseId': '624974007590064128', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-30 11:26:01', 'createTime': None}], 'total': 28, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:06.933" endtime="20211126 10:28:06.934"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.934" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.934" endtime="20211126 10:28:06.935"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:06.935" endtime="20211126 10:28:06.935"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.780" endtime="20211126 10:28:06.935" critical="yes"></status>
</test>
<test id="s1-s14-s1-t2" name="customer_get_paper_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:06.936" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:06.936" endtime="20211126 10:28:06.937"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>searchValue=${paper_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:06.937" level="INFO">${param} = searchValue=aotutest_paper_name</msg>
<status status="PASS" starttime="20211126 10:28:06.937" endtime="20211126 10:28:06.937"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/home/search-paper-product</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.060" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/home/search-paper-product?searchValue=aotutest_paper_name
path_url=/trading-center/wechatapplet/get/home/search-paper-product?searchValue=aotutest_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:07.060" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/home/search-paper-product?searchValue=aotutest_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 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":{"records":[{"id":"661555878020911104","name":"aotutest_paper_name","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","gramWeight":["678"],"salesRank":28,"saleWeight":0.00,"minPrice":6993,"weights":"678","categoryId":"638458876659896320","salesEnterpriseId":null,"premiumRate":null,"priceUpdateTime":"2021-11-26 10:28:06","createTime":"2021-11-26 10:28:04"}],"pageIdentifier":[1.0379163,246],"pageSize":20,"order":{},"next":true}}
</msg>
<msg timestamp="20211126 10:28:07.060" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:06.937" endtime="20211126 10:28:07.060"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.061" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555878020911104', 'name': 'aotutest_paper_name', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'gramWeight': ['678'], 'salesRank': 28, 'saleWeight': 0.0, 'minPrice': 6993, 'weights': '678', 'categoryId': '638458876659896320', 'salesEnterpriseId': None, 'premiumRate': None, 'priceUpdateTime': '2021-11-26 10:28:06', 'createTime': '2021-11-26 10:28:04'}], 'pageIdentifier': [1.0379163, 246], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:07.061" endtime="20211126 10:28:07.061"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.062" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.061" endtime="20211126 10:28:07.062"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.062" endtime="20211126 10:28:07.062"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_id}</var>
</assign>
<msg timestamp="20211126 10:28:07.063" level="INFO">${paper_id} = 661555878020911104</msg>
<status status="PASS" starttime="20211126 10:28:07.063" endtime="20211126 10:28:07.063"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.063" level="INFO">${paper_id} = 661555878020911104</msg>
<status status="PASS" starttime="20211126 10:28:07.063" endtime="20211126 10:28:07.063"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:06.936" endtime="20211126 10:28:07.064" critical="yes"></status>
</test>
<test id="s1-s14-s1-t3" name="customer_get_paper_detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.065" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.064" endtime="20211126 10:28:07.065"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/category-brand/detail/${paper_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.126" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/category-brand/detail/661555878020911104
path_url=/trading-center/wechatapplet/get/category-brand/detail/661555878020911104
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:07.126" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/category-brand/detail/661555878020911104
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 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":{"id":"661555878020911104","paperName":"aotutest_paper_name","img":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg","characteristic":"This autotest_paper_characteristic","description":"This apaper_description","salesRank":1,"soldWeight":0,"isFocused":0,"weightList":[{"id":"645594792394362880","weight":"678"}]}}
</msg>
<msg timestamp="20211126 10:28:07.127" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.066" endtime="20211126 10:28:07.127"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.127" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555878020911104', 'paperName': 'aotutest_paper_name', 'img': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1632378545847.jpg', 'characteristic': 'This autotest_paper_characteristic', 'description': 'This apaper_description', 'salesRank': 1, 'soldWeight': 0, 'isFocused': 0, 'weightList': [{'id': '645594792394362880', 'weight': '678'}]}}</msg>
<status status="PASS" starttime="20211126 10:28:07.127" endtime="20211126 10:28:07.128"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.128" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.128" endtime="20211126 10:28:07.128"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.128" endtime="20211126 10:28:07.129"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["weightList"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_weight_id}</var>
</assign>
<msg timestamp="20211126 10:28:07.130" level="INFO">${paper_weight_id} = 645594792394362880</msg>
<status status="PASS" starttime="20211126 10:28:07.129" endtime="20211126 10:28:07.130"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_weight_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.130" level="INFO">${paper_weight_id} = 645594792394362880</msg>
<status status="PASS" starttime="20211126 10:28:07.130" endtime="20211126 10:28:07.130"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.064" endtime="20211126 10:28:07.131" critical="yes"></status>
</test>
<test id="s1-s14-s1-t4" name="customer_add_paper_list_focus">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.132" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.131" endtime="20211126 10:28:07.132"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${paper_focus_type}</var>
</assign>
<msg timestamp="20211126 10:28:07.132" level="INFO">${paper_focus_type} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.132" endtime="20211126 10:28:07.133"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"categoryId":"${paper_id}","status":${paper_focus_type}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:07.133" level="INFO">${body} = {"categoryId":"661555878020911104","status":0}</msg>
<status status="PASS" starttime="20211126 10:28:07.133" endtime="20211126 10:28:07.133"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>trading-center/wechatapplet/add/paper-brand/focus</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.185" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/paper-brand/focus
path_url=/trading-center/wechatapplet/add/paper-brand/focus
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '46'}
body=b'{"categoryId":"661555878020911104","status":0}'
</msg>
<msg timestamp="20211126 10:28:07.185" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/paper-brand/focus
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 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":null}
</msg>
<msg timestamp="20211126 10:28:07.185" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.133" endtime="20211126 10:28:07.185"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.186" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:07.185" endtime="20211126 10:28:07.186"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.186" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.186" endtime="20211126 10:28:07.187"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.187" endtime="20211126 10:28:07.187"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.131" endtime="20211126 10:28:07.187" critical="yes"></status>
</test>
<test id="s1-s14-s1-t5" name="customer_get_paper_list_focus">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.188" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.188" endtime="20211126 10:28:07.189"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>categoryI=0</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:07.189" level="INFO">${param} = categoryI=0</msg>
<status status="PASS" starttime="20211126 10:28:07.189" endtime="20211126 10:28:07.189"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/paper-brand/brand-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.345" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?categoryI=0
path_url=/trading-center/wechatapplet/get/paper-brand/brand-list?categoryI=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:07.345" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/paper-brand/brand-list?categoryI=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 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":{"records":[{"id":"623143393647792128","name":"test测试纸品","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg","characteristic":null,"gramWeight":[],"salesRank":1,"saleWeight":3989.59,"minPrice":0,"weights":null,"categoryId":"9","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 10:30:28","createTime":null},{"id":"623228646341087232","name":"地龙灰底白","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":[],"salesRank":2,"saleWeight":579.49,"minPrice":0,"weights":null,"categoryId":"1","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-08-12 16:09:14","createTime":null},{"id":"603317946856640512","name":"提交提交白板纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["213","314"],"salesRank":3,"saleWeight":397.95,"minPrice":219,"weights":"314,213","categoryId":"1","salesEnterpriseId":"639897124376547328","premiumRate":0.03,"priceUpdateTime":"2021-10-14 17:20:24","createTime":null},{"id":"603317864300154880","name":"给多发点白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":4,"saleWeight":179.93,"minPrice":0,"weights":null,"categoryId":"8","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:54","createTime":null},{"id":"603317899079323648","name":"少的发给对方双胶纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":5,"saleWeight":87.00,"minPrice":0,"weights":null,"categoryId":"3","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:31:02","createTime":null},{"id":"603317809983918080","name":"的改地方是个哑粉纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":[],"salesRank":6,"saleWeight":43.24,"minPrice":0,"weights":null,"categoryId":"11","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-06-18 17:30:41","createTime":null},{"id":"633768148222480384","name":"电饭锅","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg","characteristic":null,"gramWeight":[],"salesRank":7,"saleWeight":35.91,"minPrice":0,"weights":null,"categoryId":"622858543002947584","salesEnterpriseId":null,"premiumRate":0.03,"priceUpdateTime":"2021-09-10 18:09:27","createTime":null},{"id":"599233095564136448","name":"丽品白卡纸","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"账期价格,品质保证,准时送达","gramWeight":["230","300","400"],"salesRank":8,"saleWeight":32.41,"minPrice":8086,"weights":"230,230,400,300","categoryId":"8","salesEnterpriseId":"553703427180466176","premiumRate":0.03,"priceUpdateTime":"2021-05-27 10:32:17","createTime":null},{"id":"623228969491238912","name":"海龙白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg","characteristic":"一般用作需要高质印刷适性的小型彩盒包装物料","gramWeight":["300"],"salesRank":9,"saleWeight":26.10,"minPrice":6281,"weights":"300","categoryId":"1","salesEnterpriseId":"588472929885491200","premiumRate":0.03,"priceUpdateTime":"2021-08-13 10:35:33","createTime":null},{"id":"622154891854483456","name":"213白板","picUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png","characteristic":"11","gramWeight":["1000"],"salesRank":10,"saleWeight":23.02,"minPrice":9155,"weights":"1000","categoryId":"622154152801341440","salesEnterpriseId":"624974007590064128","premiumRate":0.03,"priceUpdateTime":"2021-08-30 11:26:01","createTime":null}],"total":28,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:07.346" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.189" endtime="20211126 10:28:07.346"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.347" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '623143393647792128', 'name': 'test测试纸品', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628735426499.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 1, 'saleWeight': 3989.59, 'minPrice': 0, 'weights': None, 'categoryId': '9', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 10:30:28', 'createTime': None}, {'id': '623228646341087232', 'name': '地龙灰底白', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755706985.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': [], 'salesRank': 2, 'saleWeight': 579.49, 'minPrice': 0, 'weights': None, 'categoryId': '1', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-12 16:09:14', 'createTime': None}, {'id': '603317946856640512', 'name': '提交提交白板纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['213', '314'], 'salesRank': 3, 'saleWeight': 397.95, 'minPrice': 219, 'weights': '314,213', 'categoryId': '1', 'salesEnterpriseId': '639897124376547328', 'premiumRate': 0.03, 'priceUpdateTime': '2021-10-14 17:20:24', 'createTime': None}, {'id': '603317864300154880', 'name': '给多发点白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 4, 'saleWeight': 179.93, 'minPrice': 0, 'weights': None, 'categoryId': '8', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:54', 'createTime': None}, {'id': '603317899079323648', 'name': '少的发给对方双胶纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 5, 'saleWeight': 87.0, 'minPrice': 0, 'weights': None, 'categoryId': '3', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:31:02', 'createTime': None}, {'id': '603317809983918080', 'name': '的改地方是个哑粉纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': [], 'salesRank': 6, 'saleWeight': 43.24, 'minPrice': 0, 'weights': None, 'categoryId': '11', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-06-18 17:30:41', 'createTime': None}, {'id': '633768148222480384', 'name': '电饭锅', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1631268565520.jpg', 'characteristic': None, 'gramWeight': [], 'salesRank': 7, 'saleWeight': 35.91, 'minPrice': 0, 'weights': None, 'categoryId': '622858543002947584', 'salesEnterpriseId': None, 'premiumRate': 0.03, 'priceUpdateTime': '2021-09-10 18:09:27', 'createTime': None}, {'id': '599233095564136448', 'name': '丽品白卡纸', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '账期价格,品质保证,准时送达', 'gramWeight': ['230', '300', '400'], 'salesRank': 8, 'saleWeight': 32.41, 'minPrice': 8086, 'weights': '230,230,400,300', 'categoryId': '8', 'salesEnterpriseId': '553703427180466176', 'premiumRate': 0.03, 'priceUpdateTime': '2021-05-27 10:32:17', 'createTime': None}, {'id': '623228969491238912', 'name': '海龙白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628755821357.jpeg', 'characteristic': '一般用作需要高质印刷适性的小型彩盒包装物料', 'gramWeight': ['300'], 'salesRank': 9, 'saleWeight': 26.1, 'minPrice': 6281, 'weights': '300', 'categoryId': '1', 'salesEnterpriseId': '588472929885491200', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-13 10:35:33', 'createTime': None}, {'id': '622154891854483456', 'name': '213白板', 'picUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1628649786949.png', 'characteristic': '11', 'gramWeight': ['1000'], 'salesRank': 10, 'saleWeight': 23.02, 'minPrice': 9155, 'weights': '1000', 'categoryId': '622154152801341440', 'salesEnterpriseId': '624974007590064128', 'premiumRate': 0.03, 'priceUpdateTime': '2021-08-30 11:26:01', 'createTime': None}], 'total': 28, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:07.346" endtime="20211126 10:28:07.347"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.348" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.348" endtime="20211126 10:28:07.348"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.348" endtime="20211126 10:28:07.349"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.188" endtime="20211126 10:28:07.349" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:06.776" endtime="20211126 10:28:07.350"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:06.774" endtime="20211126 10:28:07.351"></status>
</suite>
<suite id="s1-s15" name="014 Shinpping Address" source="/root/yyt-trading-rf-api/014_shinpping_address">
<suite id="s1-s15-s1" name="Customer Enterprise Shipping Address" source="/root/yyt-trading-rf-api/014_shinpping_address/customer_enterprise_shipping_address.robot">
<test id="s1-s15-s1-t1" name="customer_enterprise_shipping_address_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.359" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.359" endtime="20211126 10:28:07.360"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/get/enterprise-shipping-address-list/by-userId</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.416" level="INFO">GET Request : url=https://api-client-uec-test.qniao.cn/uec/get/enterprise-shipping-address-list/by-userId
path_url=/uec/get/enterprise-shipping-address-list/by-userId
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:07.417" level="INFO">GET Response : url=https://api-client-uec-test.qniao.cn/uec/get/enterprise-shipping-address-list/by-userId
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 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":[{"id":"661555788665458688","creatorId":null,"editorId":null,"enterpriseId":"661555773826011136","provinceId":440000,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":440106003,"streetName":"车陂街道","detail":"autotest_printing_packaging_factory_locdetail","receiver":null,"receiverMobile":null,"isDefault":0}]}
</msg>
<msg timestamp="20211126 10:28:07.417" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.360" endtime="20211126 10:28:07.417"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.418" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'id': '661555788665458688', 'creatorId': None, 'editorId': None, 'enterpriseId': '661555773826011136', 'provinceId': 440000, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': 440106003, 'streetName': '车陂街道', 'detail': 'autotest_printing_packaging_factory_locdetail', 'receiver': None, 'receiverMobile': None, 'isDefault': 0}]}</msg>
<status status="PASS" starttime="20211126 10:28:07.417" endtime="20211126 10:28:07.418"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.418" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.418" endtime="20211126 10:28:07.418"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.419" endtime="20211126 10:28:07.419"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.358" endtime="20211126 10:28:07.419" critical="yes"></status>
</test>
<test id="s1-s15-s1-t2" name="customer_enterprise_save_shipping_address">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.420" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.420" endtime="20211126 10:28:07.421"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_isDefault}</var>
</assign>
<msg timestamp="20211126 10:28:07.421" level="INFO">${customer_enterprise_shipping_address_isDefault} = 1</msg>
<status status="PASS" starttime="20211126 10:28:07.421" endtime="20211126 10:28:07.421"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_receiver</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiver}</var>
</assign>
<msg timestamp="20211126 10:28:07.421" level="INFO">${customer_enterprise_shipping_address_receiver} = autotest_receiver</msg>
<status status="PASS" starttime="20211126 10:28:07.421" endtime="20211126 10:28:07.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>13800138000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiverMobile}</var>
</assign>
<msg timestamp="20211126 10:28:07.422" level="INFO">${customer_enterprise_shipping_address_receiverMobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:28:07.422" endtime="20211126 10:28:07.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>autotest_customer_enterprise_shipping_address_detail</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_detail}</var>
</assign>
<msg timestamp="20211126 10:28:07.422" level="INFO">${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail</msg>
<status status="PASS" starttime="20211126 10:28:07.422" endtime="20211126 10:28:07.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>440000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provinceid}</var>
</assign>
<msg timestamp="20211126 10:28:07.423" level="INFO">${customer_enterprise_shipping_address_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:28:07.422" endtime="20211126 10:28:07.423"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityid}</var>
</assign>
<msg timestamp="20211126 10:28:07.423" level="INFO">${customer_enterprise_shipping_address_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:28:07.423" endtime="20211126 10:28:07.423"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtid}</var>
</assign>
<msg timestamp="20211126 10:28:07.423" level="INFO">${customer_enterprise_shipping_address_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:28:07.423" endtime="20211126 10:28:07.423"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetid}</var>
</assign>
<msg timestamp="20211126 10:28:07.423" level="INFO">${customer_enterprise_shipping_address_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:28:07.423" endtime="20211126 10:28:07.424"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provincename}</var>
</assign>
<msg timestamp="20211126 10:28:07.424" level="INFO">${customer_enterprise_shipping_address_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:28:07.424" endtime="20211126 10:28:07.424"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityname}</var>
</assign>
<msg timestamp="20211126 10:28:07.424" level="INFO">${customer_enterprise_shipping_address_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:28:07.424" endtime="20211126 10:28:07.424"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtname}</var>
</assign>
<msg timestamp="20211126 10:28:07.425" level="INFO">${customer_enterprise_shipping_address_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:28:07.424" endtime="20211126 10:28:07.425"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetname}</var>
</assign>
<msg timestamp="20211126 10:28:07.425" level="INFO">${customer_enterprise_shipping_address_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:28:07.425" endtime="20211126 10:28:07.425"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"isDefault":${customer_enterprise_shipping_address_isDefault},"receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":${customer_enterprise_shipping_address_receiverMobile},"detail":"${customer_enterprise_shipping_address_detail}","provinceId":${customer_enterprise_shipping_address_provinceid},"cityId":${customer_enterprise_shipping_address_cityid},"districtId":${customer_enterprise_shipping_address_districtid},"streetId":${customer_enterprise_shipping_address_streetid},"provinceName":"${customer_enterprise_shipping_address_provincename}","cityName":"${customer_enterprise_shipping_address_cityname}","districtName":"${customer_enterprise_shipping_address_districtname}","streetName":"${customer_enterprise_shipping_address_streetname}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:07.426" level="INFO">${body} = {"isDefault":1,"receiver":"autotest_receiver","receiverMobile":13800138000,"detail":"autotest_customer_enterprise_shipping_address_detail","provinceId":440000,"cityId":440100,"districtId":440106,"stre...</msg>
<status status="PASS" starttime="20211126 10:28:07.425" endtime="20211126 10:28:07.426"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/save/enterprise-shipping-address</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.498" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/save/enterprise-shipping-address
path_url=/uec/save/enterprise-shipping-address
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '321'}
body=b'{"isDefault":1,"receiver":"autotest_receiver","receiverMobile":13800138000,"detail":"autotest_customer_enterprise_shipping_address_detail","provinceId":440000,"cityId":440100,"districtId":440106,"streetId":440106003,"provinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","cityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","districtName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","streetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93"}'
</msg>
<msg timestamp="20211126 10:28:07.499" level="INFO">POST Response : url=https://api-client-uec-test.qniao.cn/uec/save/enterprise-shipping-address
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 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":"661555917527060480"}
</msg>
<msg timestamp="20211126 10:28:07.499" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.426" endtime="20211126 10:28:07.499"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_receiver}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.500" level="INFO">${customer_enterprise_shipping_address_receiver} = autotest_receiver</msg>
<status status="PASS" starttime="20211126 10:28:07.499" endtime="20211126 10:28:07.500"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_receiverMobile}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.500" level="INFO">${customer_enterprise_shipping_address_receiverMobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:28:07.500" endtime="20211126 10:28:07.500"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_detail}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.501" level="INFO">${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail</msg>
<status status="PASS" starttime="20211126 10:28:07.500" endtime="20211126 10:28:07.501"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_provinceid}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.501" level="INFO">${customer_enterprise_shipping_address_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:28:07.501" endtime="20211126 10:28:07.501"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_cityid}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.502" level="INFO">${customer_enterprise_shipping_address_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:28:07.501" endtime="20211126 10:28:07.502"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_streetid}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.502" level="INFO">${customer_enterprise_shipping_address_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:28:07.502" endtime="20211126 10:28:07.502"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_districtid}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.503" level="INFO">${customer_enterprise_shipping_address_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:28:07.503" endtime="20211126 10:28:07.503"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_provincename}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.503" level="INFO">${customer_enterprise_shipping_address_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:28:07.503" endtime="20211126 10:28:07.503"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_cityname}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.504" level="INFO">${customer_enterprise_shipping_address_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:28:07.504" endtime="20211126 10:28:07.504"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_districtname}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.505" level="INFO">${customer_enterprise_shipping_address_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:28:07.504" endtime="20211126 10:28:07.505"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_streetname}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.505" level="INFO">${customer_enterprise_shipping_address_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:28:07.505" endtime="20211126 10:28:07.505"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.506" level="INFO">{'code': 0, 'message': 'successful', 'data': '661555917527060480'}</msg>
<status status="PASS" starttime="20211126 10:28:07.505" endtime="20211126 10:28:07.506"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.506" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.506" endtime="20211126 10:28:07.507"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.507" endtime="20211126 10:28:07.507"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_id}</var>
</assign>
<msg timestamp="20211126 10:28:07.508" level="INFO">${customer_enterprise_shipping_address_id} = 661555917527060480</msg>
<status status="PASS" starttime="20211126 10:28:07.508" endtime="20211126 10:28:07.508"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enterprise_shipping_address_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.508" level="INFO">${customer_enterprise_shipping_address_id} = 661555917527060480</msg>
<status status="PASS" starttime="20211126 10:28:07.508" endtime="20211126 10:28:07.509"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.420" endtime="20211126 10:28:07.509" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:07.355" endtime="20211126 10:28:07.509"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:07.352" endtime="20211126 10:28:07.511"></status>
</suite>
<suite id="s1-s16" name="015 Customer Create Order" source="/root/yyt-trading-rf-api/015_customer_create_order">
<suite id="s1-s16-s1" name="Customer Create Order Credit Payment" source="/root/yyt-trading-rf-api/015_customer_create_order/customer_create_order_credit_payment.robot">
<test id="s1-s16-s1-t1" name="get_settlement_interval_premium_rate_qniao">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.524" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.523" endtime="20211126 10:28:07.525"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${settlement_interval_premium_rate_type}</var>
</assign>
<msg timestamp="20211126 10:28:07.525" level="INFO">${settlement_interval_premium_rate_type} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.525" endtime="20211126 10:28:07.525"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>clientEnterpriseId=${printing_packaging_factory_id}&amp;supplierId=${supplier_paper_id}&amp;type=${settlement_interval_premium_rate_type}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:07.526" level="INFO">${param} = clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0</msg>
<status status="PASS" starttime="20211126 10:28:07.526" endtime="20211126 10:28:07.526"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/get/settlement-interval/premium-rate</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.654" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0
path_url=/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:07.654" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":0.03}
</msg>
<msg timestamp="20211126 10:28:07.655" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.526" endtime="20211126 10:28:07.655"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.656" level="INFO">{'code': 0, 'message': 'successful', 'data': 0.03}</msg>
<status status="PASS" starttime="20211126 10:28:07.655" endtime="20211126 10:28:07.656"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.656" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.656" endtime="20211126 10:28:07.656"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.656" endtime="20211126 10:28:07.657"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${settlement_interval_premium_rate_qniao}</var>
</assign>
<msg timestamp="20211126 10:28:07.658" level="INFO">${settlement_interval_premium_rate_qniao} = 0.03</msg>
<status status="PASS" starttime="20211126 10:28:07.657" endtime="20211126 10:28:07.658"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlement_interval_premium_rate_qniao}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.658" level="INFO">${settlement_interval_premium_rate_qniao} = 0.03</msg>
<status status="PASS" starttime="20211126 10:28:07.658" endtime="20211126 10:28:07.658"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.522" endtime="20211126 10:28:07.658" critical="yes"></status>
</test>
<test id="s1-s16-s1-t2" name="get_settlement_interval_premium_rate_feisuan">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.660" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.659" endtime="20211126 10:28:07.660"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${settlement_interval_premium_rate_type}</var>
</assign>
<msg timestamp="20211126 10:28:07.660" level="INFO">${settlement_interval_premium_rate_type} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.660" endtime="20211126 10:28:07.660"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>clientEnterpriseId=${printing_packaging_factory_id}&amp;supplierId=${supplier_paper_id}&amp;type=${settlement_interval_premium_rate_type}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:07.661" level="INFO">${param} = clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0</msg>
<status status="PASS" starttime="20211126 10:28:07.661" endtime="20211126 10:28:07.661"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/cloud-print-user-center/get/settlement-interval/premium-rate</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:07.713" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0
path_url=/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:07.713" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/cloud-print-user-center/get/settlement-interval/premium-rate?clientEnterpriseId=661555773826011136&amp;supplierId=661555817715208192&amp;type=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:07 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
body={"code":0,"message":"successful","data":0.03}
</msg>
<msg timestamp="20211126 10:28:07.713" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.661" endtime="20211126 10:28:07.713"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.714" level="INFO">{'code': 0, 'message': 'successful', 'data': 0.03}</msg>
<status status="PASS" starttime="20211126 10:28:07.714" endtime="20211126 10:28:07.714"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.715" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.714" endtime="20211126 10:28:07.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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:07.715" endtime="20211126 10:28:07.715"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${settlement_interval_premium_rate_feisuan}</var>
</assign>
<msg timestamp="20211126 10:28:07.716" level="INFO">${settlement_interval_premium_rate_feisuan} = 0.03</msg>
<status status="PASS" starttime="20211126 10:28:07.715" endtime="20211126 10:28:07.716"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${settlement_interval_premium_rate_feisuan}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.716" level="INFO">${settlement_interval_premium_rate_feisuan} = 0.03</msg>
<status status="PASS" starttime="20211126 10:28:07.716" endtime="20211126 10:28:07.716"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.659" endtime="20211126 10:28:07.717" critical="yes"></status>
</test>
<test id="s1-s16-s1-t3" name="customer_create_order_credit_payment">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:07.718" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:07.718" endtime="20211126 10:28:07.718"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_receiver</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiver}</var>
</assign>
<msg timestamp="20211126 10:28:07.719" level="INFO">${customer_enterprise_shipping_address_receiver} = autotest_receiver</msg>
<status status="PASS" starttime="20211126 10:28:07.718" endtime="20211126 10:28:07.719"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiverMobile}</var>
</assign>
<msg timestamp="20211126 10:28:07.719" level="INFO">${customer_enterprise_shipping_address_receiverMobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:28:07.719" endtime="20211126 10:28:07.719"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_customer_enterprise_shipping_address_detail</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_detail}</var>
</assign>
<msg timestamp="20211126 10:28:07.720" level="INFO">${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail</msg>
<status status="PASS" starttime="20211126 10:28:07.719" endtime="20211126 10:28:07.720"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provinceid}</var>
</assign>
<msg timestamp="20211126 10:28:07.720" level="INFO">${customer_enterprise_shipping_address_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:28:07.720" endtime="20211126 10:28:07.720"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityid}</var>
</assign>
<msg timestamp="20211126 10:28:07.720" level="INFO">${customer_enterprise_shipping_address_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:28:07.720" endtime="20211126 10:28:07.720"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtid}</var>
</assign>
<msg timestamp="20211126 10:28:07.721" level="INFO">${customer_enterprise_shipping_address_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:28:07.720" endtime="20211126 10:28:07.721"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetid}</var>
</assign>
<msg timestamp="20211126 10:28:07.721" level="INFO">${customer_enterprise_shipping_address_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:28:07.721" endtime="20211126 10:28:07.721"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provincename}</var>
</assign>
<msg timestamp="20211126 10:28:07.721" level="INFO">${customer_enterprise_shipping_address_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:28:07.721" endtime="20211126 10:28:07.721"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityname}</var>
</assign>
<msg timestamp="20211126 10:28:07.721" level="INFO">${customer_enterprise_shipping_address_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:28:07.721" endtime="20211126 10:28:07.721"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtname}</var>
</assign>
<msg timestamp="20211126 10:28:07.722" level="INFO">${customer_enterprise_shipping_address_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:28:07.722" endtime="20211126 10:28:07.722"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetname}</var>
</assign>
<msg timestamp="20211126 10:28:07.722" level="INFO">${customer_enterprise_shipping_address_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:28:07.722" endtime="20211126 10:28:07.722"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_paymentMethod}</var>
</assign>
<msg timestamp="20211126 10:28:07.722" level="INFO">${customer_create_order_paymentMethod} = 2</msg>
<status status="PASS" starttime="20211126 10:28:07.722" endtime="20211126 10:28:07.722"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>787</arg>
</arguments>
<assign>
<var>${customer_create_order_width}</var>
</assign>
<msg timestamp="20211126 10:28:07.723" level="INFO">${customer_create_order_width} = 787</msg>
<status status="PASS" starttime="20211126 10:28:07.723" endtime="20211126 10:28:07.723"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1092</arg>
</arguments>
<assign>
<var>${customer_create_order_length}</var>
</assign>
<msg timestamp="20211126 10:28:07.723" level="INFO">${customer_create_order_length} = 1092</msg>
<status status="PASS" starttime="20211126 10:28:07.723" endtime="20211126 10:28:07.723"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5000</arg>
</arguments>
<assign>
<var>${customer_create_order_quantity}</var>
</assign>
<msg timestamp="20211126 10:28:07.723" level="INFO">${customer_create_order_quantity} = 5000</msg>
<status status="PASS" starttime="20211126 10:28:07.723" endtime="20211126 10:28:07.723"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${gramweight}*${customer_create_order_width}*${customer_create_order_length}*${customer_create_order_quantity}/1000000000000</arg>
</arguments>
<assign>
<var>${customer_create_order_buyton}</var>
</assign>
<msg timestamp="20211126 10:28:07.724" level="INFO">${customer_create_order_buyton} = 2.91337956</msg>
<status status="PASS" starttime="20211126 10:28:07.723" endtime="20211126 10:28:07.724"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${customer_create_order_buyton}</arg>
<arg>4</arg>
</arguments>
<assign>
<var>${customer_create_order_buyTon}</var>
</assign>
<msg timestamp="20211126 10:28:07.724" level="INFO">${customer_create_order_buyTon} = 2.9134</msg>
<status status="PASS" starttime="20211126 10:28:07.724" endtime="20211126 10:28:07.724"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${product_price_sku_new}*(1+${settlement_interval_premium_rate_qniao})</arg>
</arguments>
<assign>
<var>${customer_create_order_price}</var>
</assign>
<msg timestamp="20211126 10:28:07.725" level="INFO">${customer_create_order_price} = 6992.67</msg>
<status status="PASS" starttime="20211126 10:28:07.725" endtime="20211126 10:28:07.725"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${customer_create_order_price}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_Price}</var>
</assign>
<msg timestamp="20211126 10:28:07.725" level="INFO">${customer_create_order_Price} = 6992.67</msg>
<status status="PASS" starttime="20211126 10:28:07.725" endtime="20211126 10:28:07.725"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_bootFee}</var>
</assign>
<msg timestamp="20211126 10:28:07.726" level="INFO">${customer_create_order_bootFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.726" endtime="20211126 10:28:07.726"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_cuttingFee}</var>
</assign>
<msg timestamp="20211126 10:28:07.726" level="INFO">${customer_create_order_cuttingFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.726" endtime="20211126 10:28:07.726"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_freightFee}</var>
</assign>
<msg timestamp="20211126 10:28:07.726" level="INFO">${customer_create_order_freightFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.726" endtime="20211126 10:28:07.726"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_serviceFee}</var>
</assign>
<msg timestamp="20211126 10:28:07.727" level="INFO">${customer_create_order_serviceFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.727" endtime="20211126 10:28:07.727"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_otherFee}</var>
</assign>
<msg timestamp="20211126 10:28:07.727" level="INFO">${customer_create_order_otherFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:07.727" endtime="20211126 10:28:07.727"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${customer_create_order_Price}*${customer_create_order_buyTon}+${customer_create_order_cuttingFee}+${customer_create_order_bootFee}+${customer_create_order_otherFee}+${customer_create_order_freightFee}+${customer_create_order_serviceFee}</arg>
</arguments>
<assign>
<var>${customer_create_order_totalOfferPrice}</var>
</assign>
<msg timestamp="20211126 10:28:07.728" level="INFO">${customer_create_order_totalOfferPrice} = 20372.444778</msg>
<status status="PASS" starttime="20211126 10:28:07.727" endtime="20211126 10:28:07.728"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${customer_create_order_totalOfferPrice}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_totalOfferPrice_item}</var>
</assign>
<msg timestamp="20211126 10:28:07.728" level="INFO">${customer_create_order_totalOfferPrice_item} = 20372.44</msg>
<status status="PASS" starttime="20211126 10:28:07.728" endtime="20211126 10:28:07.728"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>${customer_create_order_totalOfferPrice_item}</arg>
</arguments>
<assign>
<var>${customer_create_order_realPayPrice}</var>
</assign>
<msg timestamp="20211126 10:28:07.729" level="INFO">${customer_create_order_realPayPrice} = 20372.44</msg>
<status status="PASS" starttime="20211126 10:28:07.728" endtime="20211126 10:28:07.729"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>[{"gramWeight":"${gramweight}","width":"${customer_create_order_width}","length":"${customer_create_order_length}","quantity":${customer_create_order_quantity},"buyTon":${customer_create_order_buyTon},"productName":"${paper_name}","unitPrice":${customer_create_order_Price},"bootFee":${customer_create_order_bootFee},"cuttingFee":${customer_create_order_cuttingFee},"freightFee":${customer_create_order_freightFee},"serviceFee":${customer_create_order_serviceFee},"otherFee":${customer_create_order_otherFee},"totalOfferPrice":${customer_create_order_totalOfferPrice_item},"remark":"autotest_customer_create_order_remark","productSkuId":"${product_price_sku_id}"}]</arg>
</arguments>
<assign>
<var>${customer_create_order_productSkuList}</var>
</assign>
<msg timestamp="20211126 10:28:07.729" level="INFO">${customer_create_order_productSkuList} = [{"gramWeight":"678","width":"787","length":"1092","quantity":5000,"buyTon":2.9134,"productName":"aotutest_paper_name","unitPrice":6992.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"oth...</msg>
<status status="PASS" starttime="20211126 10:28:07.729" endtime="20211126 10:28:07.729"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","receiver":"${customer_enterprise_shipping_address_receiver}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryId":"${customer_enterprise_shipping_address_id}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","paymentMethod":${customer_create_order_paymentMethod},"realPayPrice":${customer_create_order_realPayPrice},"totalOfferPrice":${customer_create_order_realPayPrice},"password":"${customer_credit_password_new}","productSkuList":${customer_create_order_productSkuList.encode("utf-8")}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:07.730" level="INFO">${body} = {"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"de...</msg>
<status status="PASS" starttime="20211126 10:28:07.730" endtime="20211126 10:28:07.731"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/buyer/create/order</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:08.150" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
path_url=/trading-center/buyer/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '831'}
body=b'{"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryId":"661555917527060480","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","paymentMethod":2,"realPayPrice":20372.44,"totalOfferPrice":20372.44,"password":"123456","productSkuList":[{"gramWeight":"678","width":"787","length":"1092","quantity":5000,"buyTon":2.9134,"productName":"aotutest_paper_name","unitPrice":6992.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"otherFee":0,"totalOfferPrice":20372.44,"remark":"autotest_customer_create_order_remark","productSkuId":"1441"}]}'
</msg>
<msg timestamp="20211126 10:28:08.150" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:08 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":{"orderId":"661555919179616256","realPayPrice":20372.44,"channelId":null,"contractNo":"QNS202111260003","signUrl":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name"}}
</msg>
<msg timestamp="20211126 10:28:08.151" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:07.731" endtime="20211126 10:28:08.151"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.152" level="INFO">{'code': 0, 'message': 'successful', 'data': {'orderId': '661555919179616256', 'realPayPrice': 20372.44, 'channelId': None, 'contractNo': 'QNS202111260003', 'signUrl': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name'}}</msg>
<status status="PASS" starttime="20211126 10:28:08.151" endtime="20211126 10:28:08.152"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.152" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:08.152" endtime="20211126 10:28:08.152"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:08.152" endtime="20211126 10:28:08.153"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${customer_create_order_id}</var>
</assign>
<msg timestamp="20211126 10:28:08.153" level="INFO">${customer_create_order_id} = 661555919179616256</msg>
<status status="PASS" starttime="20211126 10:28:08.153" endtime="20211126 10:28:08.153"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_create_order_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.154" level="INFO">${customer_create_order_id} = 661555919179616256</msg>
<status status="PASS" starttime="20211126 10:28:08.154" endtime="20211126 10:28:08.154"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:07.717" endtime="20211126 10:28:08.154" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:07.516" endtime="20211126 10:28:08.155"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:07.512" endtime="20211126 10:28:08.156"></status>
</suite>
<suite id="s1-s17" name="016 Enquiry Create Order" source="/root/yyt-trading-rf-api/016_enquiry_create_order">
<suite id="s1-s17-s1" name="Customer Enquiry Operate And Supplier Quoted Price Create Order" source="/root/yyt-trading-rf-api/016_enquiry_create_order/customer_enquiry_operate_and_supplier_quoted_price_create_order.robot">
<test id="s1-s17-s1-t1" name="customer_add_enquiry">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.165" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:08.165" endtime="20211126 10:28:08.166"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_enquiryContent</arg>
</arguments>
<assign>
<var>${customer_enquiryContent}</var>
</assign>
<msg timestamp="20211126 10:28:08.166" level="INFO">${customer_enquiryContent} = autotest_enquiryContent</msg>
<status status="PASS" starttime="20211126 10:28:08.166" endtime="20211126 10:28:08.166"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>48</arg>
</arguments>
<assign>
<var>${customer_deliveryDay}</var>
</assign>
<msg timestamp="20211126 10:28:08.166" level="INFO">${customer_deliveryDay} = 48</msg>
<status status="PASS" starttime="20211126 10:28:08.166" endtime="20211126 10:28:08.166"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省 广州市 天河区</arg>
</arguments>
<assign>
<var>${customer_deliveryArea}</var>
</assign>
<msg timestamp="20211126 10:28:08.167" level="INFO">${customer_deliveryArea} = 广东省 广州市 天河区</msg>
<status status="PASS" starttime="20211126 10:28:08.167" endtime="20211126 10:28:08.167"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enquiryContent":"${customer_enquiryContent}","picUrl":"","deliveryDay":${customer_deliveryDay},"deliveryArea":"${customer_deliveryArea}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:08.167" level="INFO">${body} = {"enquiryContent":"autotest_enquiryContent","picUrl":"","deliveryDay":48,"deliveryArea":"广东省 广州市 天河区"}</msg>
<status status="PASS" starttime="20211126 10:28:08.167" endtime="20211126 10:28:08.167"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/add/enquiry-order</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:08.342" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/add/enquiry-order
path_url=/trading-center/add/enquiry-order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '120'}
body=b'{"enquiryContent":"autotest_enquiryContent","picUrl":"","deliveryDay":48,"deliveryArea":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81 \xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82 \xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba"}'
</msg>
<msg timestamp="20211126 10:28:08.342" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/add/enquiry-order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:08 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":"661555920987361280"}
</msg>
<msg timestamp="20211126 10:28:08.342" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:08.167" endtime="20211126 10:28:08.342"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enquiryContent}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.343" level="INFO">${customer_enquiryContent} = autotest_enquiryContent</msg>
<status status="PASS" starttime="20211126 10:28:08.342" endtime="20211126 10:28:08.343"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${customer_deliveryDay}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.343" level="INFO">${customer_deliveryDay} = 48</msg>
<status status="PASS" starttime="20211126 10:28:08.343" endtime="20211126 10:28:08.343"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${customer_deliveryArea}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.344" level="INFO">${customer_deliveryArea} = 广东省 广州市 天河区</msg>
<status status="PASS" starttime="20211126 10:28:08.343" endtime="20211126 10:28:08.344"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.344" level="INFO">{'code': 0, 'message': 'successful', 'data': '661555920987361280'}</msg>
<status status="PASS" starttime="20211126 10:28:08.344" endtime="20211126 10:28:08.344"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.345" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:08.344" endtime="20211126 10:28:08.345"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:08.345" endtime="20211126 10:28:08.345"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()}</arg>
<arg>data</arg>
</arguments>
<assign>
<var>${customer_enquiry_id}</var>
</assign>
<msg timestamp="20211126 10:28:08.346" level="INFO">${customer_enquiry_id} = 661555920987361280</msg>
<status status="PASS" starttime="20211126 10:28:08.346" endtime="20211126 10:28:08.346"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enquiry_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:08.346" level="INFO">${customer_enquiry_id} = 661555920987361280</msg>
<status status="PASS" starttime="20211126 10:28:08.346" endtime="20211126 10:28:08.346"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:09.347" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:08.347" endtime="20211126 10:28:09.347"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:08.164" endtime="20211126 10:28:09.348" critical="yes"></status>
</test>
<test id="s1-s17-s1-t2" name="supplierfocus_get_enquiry_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.349" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:09.349" endtime="20211126 10:28:09.350"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/enquiry-order/order-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:09.604" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list
path_url=/trading-center/get/enquiry-order/order-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:09.604" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":{"records":[{"id":"661555920987361280","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-26 10:28:08","status":"30114","userId":"661555746592395264","userName":"autotest_name_customer","valid":"0","picUrl":null,"enterpriseId":"661555773826011136","isDistribute":0,"receiverMobile":"13012345678","replyTtime":null},{"id":"661543208324567040","clientContractNoId":["661543236489318400"],"clientOrderId":["661543236220882944"],"clientContractNo":["QNS202111260002"],"supplierContractNoId":["661543259797065728"],"supplierOrderId":["661543259717373952"],"supplierContractNo":["QNP202111260001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-26 09:37:37","status":"30131","userId":"661543027646533632","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661543057577086976","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-26 09:36:54"},{"id":"661308789290569728","clientContractNoId":["661308819611193344"],"clientOrderId":["661308819351146496"],"clientContractNo":["QNS202111250018"],"supplierContractNoId":["661308844277895168"],"supplierOrderId":["661308844194009088"],"supplierContractNo":["QNP202111250009"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 18:06:07","status":"30131","userId":"661308584231047168","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661308619190571008","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 18:05:18"},{"id":"661307297196281856","clientContractNoId":["661307327730814976"],"clientOrderId":["661307327449796608"],"clientContractNo":["QNS202111250016"],"supplierContractNoId":["661307351994863616"],"supplierOrderId":["661307351906783232"],"supplierContractNo":["QNP202111250008"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 18:00:12","status":"30131","userId":"661307093495713792","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661307128274882560","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 17:59:23"},{"id":"661306938474237952","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 17:58:46","status":"30116","userId":"661304840122667008","userName":"autotest_name_customer","valid":"0","picUrl":null,"enterpriseId":"661304876181098496","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 17:58:04"},{"id":"661303305598799872","clientContractNoId":["661303335135088640"],"clientOrderId":["661303334858264576"],"clientContractNo":["QNS202111250014"],"supplierContractNoId":["661303360309301248"],"supplierOrderId":["661303360221220864"],"supplierContractNo":["QNP202111250007"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 17:44:20","status":"30131","userId":"661273839736590336","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661303136371216384","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 17:43:31"},{"id":"661189678166315008","clientContractNoId":["661189705978744832"],"clientOrderId":["661189705609646080"],"clientContractNo":["QNS202111250012"],"supplierContractNoId":["661189729173245952"],"supplierOrderId":["661189729064194048"],"supplierContractNo":["QNP202111250006"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 10:12:49","status":"30131","userId":"661189501632253952","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661189531265011712","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 10:12:07"},{"id":"661183674993217536","clientContractNoId":["661183702470103040"],"clientOrderId":["661183702142947328"],"clientContractNo":["QNS202111250010"],"supplierContractNoId":["661183725391974400"],"supplierOrderId":["661183725291311104"],"supplierContractNo":["QNP202111250005"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 09:48:58","status":"30131","userId":"661183499281240064","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661183527559237632","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 09:48:15"},{"id":"661182831267024896","clientContractNoId":["661182861424070656"],"clientOrderId":["661182861075943424"],"clientContractNo":["QNS202111250008"],"supplierContractNoId":["661182886665392128"],"supplierOrderId":["661182886547951616"],"supplierContractNo":["QNP202111250004"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 09:45:37","status":"30131","userId":"661182622973693952","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661182659728379904","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 09:44:47"},{"id":"661182268659863552","clientContractNoId":["661182298695274496"],"clientOrderId":["661182298401673216"],"clientContractNo":["QNS202111250006"],"supplierContractNoId":["661182324037259264"],"supplierOrderId":["661182323953373184"],"supplierContractNo":["QNP202111250003"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 09:43:23","status":"30131","userId":"661182057828978688","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661182096668233728","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 09:42:32"},{"id":"661181355320807424","clientContractNoId":["661181385788231680"],"clientOrderId":["661181385511407616"],"clientContractNo":["QNS202111250004"],"supplierContractNoId":["661181410786283520"],"supplierOrderId":["661181410698203136"],"supplierContractNo":["QNP202111250002"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 09:39:45","status":"30131","userId":"661181150324199424","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661181188811132928","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 09:38:56"},{"id":"661179784151306240","clientContractNoId":["661179814459346944"],"clientOrderId":["661179814178328576"],"clientContractNo":["QNS202111250002"],"supplierContractNoId":["661179839121854464"],"supplierOrderId":["661179839033774080"],"supplierContractNo":["QNP202111250001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 09:33:30","status":"30131","userId":"661179586339540992","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661179622918066176","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-25 09:32:43"},{"id":"661179077054566400","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-25 09:30:42","status":"30116","userId":"660928545702416384","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"661177165097865216","isDistribute":0,"receiverMobile":"13012345678","replyTtime":"2021-11-25 09:30:02"},{"id":"660485484421713920","clientContractNoId":["660485513488240640"],"clientOrderId":["660485513228193792"],"clientContractNo":["QNS202111230004"],"supplierContractNoId":["660485536988925952"],"supplierOrderId":["660485536905039872"],"supplierContractNo":["QNP202111230002"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-23 11:34:36","status":"30131","userId":"660481565872230400","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"660485317677158400","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-23 11:33:48"},{"id":"660452063527964672","clientContractNoId":["660452093362049024"],"clientOrderId":["660452093089419264"],"clientContractNo":["QNS202111230002"],"supplierContractNoId":["660452118188134400"],"supplierOrderId":["660452118091665408"],"supplierContractNo":["QNP202111230001"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-23 09:21:48","status":"30131","userId":"660451850692202496","userName":"autotest_name_customer","valid":"1","picUrl":null,"enterpriseId":"660451891074961408","isDistribute":1,"receiverMobile":"13012345678","replyTtime":"2021-11-23 09:20:57"},{"id":"660099312226799616","clientContractNoId":["660099341469487104"],"clientOrderId":["660099341171691520"],"clientContractNo":["QNS202111220006"],"supplierContractNoId":["660099366534647808"],"supplierOrderId":["660099366450761728"],"supplierContractNo":["QNP202111220003"],"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-22 10:00:06","status":"30131","userId":"660099093976190976","userName":"autotest_name_customer","... (set the log level to DEBUG or TRACE to see the full content)
</msg>
<msg timestamp="20211126 10:28:09.604" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:09.350" endtime="20211126 10:28:09.604"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.606" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555920987361280', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-26 10:28:08', 'status': '30114', 'userId': '661555746592395264', 'userName': 'autotest_name_customer', 'valid': '0', 'picUrl': None, 'enterpriseId': '661555773826011136', 'isDistribute': 0, 'receiverMobile': '13012345678', 'replyTtime': None}, {'id': '661543208324567040', 'clientContractNoId': ['661543236489318400'], 'clientOrderId': ['661543236220882944'], 'clientContractNo': ['QNS202111260002'], 'supplierContractNoId': ['661543259797065728'], 'supplierOrderId': ['661543259717373952'], 'supplierContractNo': ['QNP202111260001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-26 09:37:37', 'status': '30131', 'userId': '661543027646533632', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661543057577086976', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-26 09:36:54'}, {'id': '661308789290569728', 'clientContractNoId': ['661308819611193344'], 'clientOrderId': ['661308819351146496'], 'clientContractNo': ['QNS202111250018'], 'supplierContractNoId': ['661308844277895168'], 'supplierOrderId': ['661308844194009088'], 'supplierContractNo': ['QNP202111250009'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 18:06:07', 'status': '30131', 'userId': '661308584231047168', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661308619190571008', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 18:05:18'}, {'id': '661307297196281856', 'clientContractNoId': ['661307327730814976'], 'clientOrderId': ['661307327449796608'], 'clientContractNo': ['QNS202111250016'], 'supplierContractNoId': ['661307351994863616'], 'supplierOrderId': ['661307351906783232'], 'supplierContractNo': ['QNP202111250008'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 18:00:12', 'status': '30131', 'userId': '661307093495713792', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661307128274882560', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 17:59:23'}, {'id': '661306938474237952', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 17:58:46', 'status': '30116', 'userId': '661304840122667008', 'userName': 'autotest_name_customer', 'valid': '0', 'picUrl': None, 'enterpriseId': '661304876181098496', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 17:58:04'}, {'id': '661303305598799872', 'clientContractNoId': ['661303335135088640'], 'clientOrderId': ['661303334858264576'], 'clientContractNo': ['QNS202111250014'], 'supplierContractNoId': ['661303360309301248'], 'supplierOrderId': ['661303360221220864'], 'supplierContractNo': ['QNP202111250007'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 17:44:20', 'status': '30131', 'userId': '661273839736590336', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661303136371216384', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 17:43:31'}, {'id': '661189678166315008', 'clientContractNoId': ['661189705978744832'], 'clientOrderId': ['661189705609646080'], 'clientContractNo': ['QNS202111250012'], 'supplierContractNoId': ['661189729173245952'], 'supplierOrderId': ['661189729064194048'], 'supplierContractNo': ['QNP202111250006'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 10:12:49', 'status': '30131', 'userId': '661189501632253952', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661189531265011712', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 10:12:07'}, {'id': '661183674993217536', 'clientContractNoId': ['661183702470103040'], 'clientOrderId': ['661183702142947328'], 'clientContractNo': ['QNS202111250010'], 'supplierContractNoId': ['661183725391974400'], 'supplierOrderId': ['661183725291311104'], 'supplierContractNo': ['QNP202111250005'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 09:48:58', 'status': '30131', 'userId': '661183499281240064', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661183527559237632', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 09:48:15'}, {'id': '661182831267024896', 'clientContractNoId': ['661182861424070656'], 'clientOrderId': ['661182861075943424'], 'clientContractNo': ['QNS202111250008'], 'supplierContractNoId': ['661182886665392128'], 'supplierOrderId': ['661182886547951616'], 'supplierContractNo': ['QNP202111250004'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 09:45:37', 'status': '30131', 'userId': '661182622973693952', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661182659728379904', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 09:44:47'}, {'id': '661182268659863552', 'clientContractNoId': ['661182298695274496'], 'clientOrderId': ['661182298401673216'], 'clientContractNo': ['QNS202111250006'], 'supplierContractNoId': ['661182324037259264'], 'supplierOrderId': ['661182323953373184'], 'supplierContractNo': ['QNP202111250003'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 09:43:23', 'status': '30131', 'userId': '661182057828978688', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661182096668233728', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 09:42:32'}, {'id': '661181355320807424', 'clientContractNoId': ['661181385788231680'], 'clientOrderId': ['661181385511407616'], 'clientContractNo': ['QNS202111250004'], 'supplierContractNoId': ['661181410786283520'], 'supplierOrderId': ['661181410698203136'], 'supplierContractNo': ['QNP202111250002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 09:39:45', 'status': '30131', 'userId': '661181150324199424', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661181188811132928', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 09:38:56'}, {'id': '661179784151306240', 'clientContractNoId': ['661179814459346944'], 'clientOrderId': ['661179814178328576'], 'clientContractNo': ['QNS202111250002'], 'supplierContractNoId': ['661179839121854464'], 'supplierOrderId': ['661179839033774080'], 'supplierContractNo': ['QNP202111250001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 09:33:30', 'status': '30131', 'userId': '661179586339540992', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661179622918066176', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 09:32:43'}, {'id': '661179077054566400', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-25 09:30:42', 'status': '30116', 'userId': '660928545702416384', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '661177165097865216', 'isDistribute': 0, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-25 09:30:02'}, {'id': '660485484421713920', 'clientContractNoId': ['660485513488240640'], 'clientOrderId': ['660485513228193792'], 'clientContractNo': ['QNS202111230004'], 'supplierContractNoId': ['660485536988925952'], 'supplierOrderId': ['660485536905039872'], 'supplierContractNo': ['QNP202111230002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-23 11:34:36', 'status': '30131', 'userId': '660481565872230400', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '660485317677158400', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-23 11:33:48'}, {'id': '660452063527964672', 'clientContractNoId': ['660452093362049024'], 'clientOrderId': ['660452093089419264'], 'clientContractNo': ['QNS202111230002'], 'supplierContractNoId': ['660452118188134400'], 'supplierOrderId': ['660452118091665408'], 'supplierContractNo': ['QNP202111230001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-23 09:21:48', 'status': '30131', 'userId': '660451850692202496', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '660451891074961408', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-23 09:20:57'}, {'id': '660099312226799616', 'clientContractNoId': ['660099341469487104'], 'clientOrderId': ['660099341171691520'], 'clientContractNo': ['QNS202111220006'], 'supplierContractNoId': ['660099366534647808'], 'supplierOrderId': ['660099366450761728'], 'supplierContractNo': ['QNP202111220003'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-22 10:00:06', 'status': '30131', 'userId': '660099093976190976', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '660099138792329216', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-22 09:59:14'}, {'id': '660091120793030656', 'clientContractNoId': ['660091150933299200'], 'clientOrderId': ['660091150702612480'], 'clientContractNo': ['QNS202111220004'], 'supplierContractNoId': ['660091174991826944'], 'supplierOrderId': ['660091174920523776'], 'supplierContractNo': ['QNP202111220002'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-22 09:27:33', 'status': '30131', 'userId': '660090918606606336', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '660090954178498560', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-22 09:26:45'}, {'id': '660090378665463808', 'clientContractNoId': ['660090413104893952'], 'clientOrderId': ['660090412861624320'], 'clientContractNo': ['QNS202111220002'], 'supplierContractNoId': ['660090436999843840'], 'supplierOrderId': ['660090436928540672'], 'supplierContractNo': ['QNP202111220001'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-22 09:24:36', 'status': '30131', 'userId': '659122723414478848', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '660090195516985344', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-22 09:23:43'}, {'id': '659119607294070784', 'clientContractNoId': ['659119636364791808'], 'clientOrderId': ['659119636113133568'], 'clientContractNo': ['QNS202111190023'], 'supplierContractNoId': ['659119659597041664'], 'supplierOrderId': ['659119659534127104'], 'supplierContractNo': ['QNP202111190012'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-19 17:07:06', 'status': '30131', 'userId': '659119410564435968', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '659119445943390208', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-19 17:06:19'}, {'id': '659119022029279232', 'clientContractNoId': ['659119048554057728'], 'clientOrderId': ['659119048335953920'], 'clientContractNo': ['QNS202111190021'], 'supplierContractNoId': ['659119069697544192'], 'supplierOrderId': ['659119069622046720'], 'supplierContractNo': ['QNP202111190011'], 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-19 17:04:46', 'status': '30131', 'userId': '659118853195960320', 'userName': 'autotest_name_customer', 'valid': '1', 'picUrl': None, 'enterpriseId': '659118881541066752', 'isDistribute': 1, 'receiverMobile': '13012345678', 'replyTtime': '2021-11-19 17:04:06'}], 'pageIdentifier': [1637341486000, 384], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:09.605" endtime="20211126 10:28:09.606"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.606" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:09.606" endtime="20211126 10:28:09.607"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:09.607" endtime="20211126 10:28:09.607"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:09.348" endtime="20211126 10:28:09.607" critical="yes"></status>
</test>
<test id="s1-s17-s1-t3" name="supplierfocus_get_enquiry_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.609" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:09.608" endtime="20211126 10:28:09.609"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${enquiry_status}</var>
</assign>
<msg timestamp="20211126 10:28:09.609" level="INFO">${enquiry_status} = 0</msg>
<status status="PASS" starttime="20211126 10:28:09.609" endtime="20211126 10:28:09.609"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${enquiry_valid_status}</var>
</assign>
<msg timestamp="20211126 10:28:09.610" level="INFO">${enquiry_valid_status} = 0</msg>
<status status="PASS" starttime="20211126 10:28:09.609" endtime="20211126 10:28:09.610"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>searchValue=${customer_enquiryContent}&amp;status=${enquiry_status}&amp;valid=${enquiry_valid_status}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:09.610" level="INFO">${param} = searchValue=autotest_enquiryContent&amp;status=0&amp;valid=0</msg>
<status status="PASS" starttime="20211126 10:28:09.610" endtime="20211126 10:28:09.610"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/enquiry-order/order-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:09.662" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list?searchValue=autotest_enquiryContent&amp;status=0&amp;valid=0
path_url=/trading-center/get/enquiry-order/order-list?searchValue=autotest_enquiryContent&amp;status=0&amp;valid=0
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:09.662" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/order-list?searchValue=autotest_enquiryContent&amp;status=0&amp;valid=0
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":{"records":[{"id":"661555920987361280","clientContractNoId":null,"clientOrderId":null,"clientContractNo":null,"supplierContractNoId":null,"supplierOrderId":null,"supplierContractNo":null,"enquiryContent":"autotest_enquiryContent","belongEnterprisEname":"autotest_printing_packaging_factory_name","createTtime":"2021-11-26 10:28:08","status":"30114","userId":"661555746592395264","userName":"autotest_name_customer","valid":"0","picUrl":null,"enterpriseId":"661555773826011136","isDistribute":0,"receiverMobile":"13012345678","replyTtime":null}],"pageIdentifier":[1637922488000,1.96118,434],"pageSize":20,"order":{},"next":true}}
</msg>
<msg timestamp="20211126 10:28:09.662" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:09.611" endtime="20211126 10:28:09.662"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.663" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555920987361280', 'clientContractNoId': None, 'clientOrderId': None, 'clientContractNo': None, 'supplierContractNoId': None, 'supplierOrderId': None, 'supplierContractNo': None, 'enquiryContent': 'autotest_enquiryContent', 'belongEnterprisEname': 'autotest_printing_packaging_factory_name', 'createTtime': '2021-11-26 10:28:08', 'status': '30114', 'userId': '661555746592395264', 'userName': 'autotest_name_customer', 'valid': '0', 'picUrl': None, 'enterpriseId': '661555773826011136', 'isDistribute': 0, 'receiverMobile': '13012345678', 'replyTtime': None}], 'pageIdentifier': [1637922488000, 1.96118, 434], 'pageSize': 20, 'order': {}, 'next': True}}</msg>
<status status="PASS" starttime="20211126 10:28:09.663" endtime="20211126 10:28:09.663"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.664" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:09.664" endtime="20211126 10:28:09.664"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:09.664" endtime="20211126 10:28:09.665"></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>${customer_enquiry_id}</arg>
<arg>${response.json()["data"]["records"][0]["id"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:09.665" endtime="20211126 10:28:09.665"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:09.608" endtime="20211126 10:28:09.665" critical="yes"></status>
</test>
<test id="s1-s17-s1-t4" name="supplierfocus_edit_enquiry_details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.667" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:09.666" endtime="20211126 10:28:09.667"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>678</arg>
</arguments>
<assign>
<var>${enquiry_gramWeight1}</var>
</assign>
<msg timestamp="20211126 10:28:09.667" level="INFO">${enquiry_gramWeight1} = 678</msg>
<status status="PASS" starttime="20211126 10:28:09.667" endtime="20211126 10:28:09.667"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>787</arg>
</arguments>
<assign>
<var>${enquiry_width1}</var>
</assign>
<msg timestamp="20211126 10:28:09.668" level="INFO">${enquiry_width1} = 787</msg>
<status status="PASS" starttime="20211126 10:28:09.668" endtime="20211126 10:28:09.668"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1000</arg>
</arguments>
<assign>
<var>${enquiry_length1}</var>
</assign>
<msg timestamp="20211126 10:28:09.668" level="INFO">${enquiry_length1} = 1000</msg>
<status status="PASS" starttime="20211126 10:28:09.668" endtime="20211126 10:28:09.668"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5500</arg>
</arguments>
<assign>
<var>${enquiry_quantity1}</var>
</assign>
<msg timestamp="20211126 10:28:09.669" level="INFO">${enquiry_quantity1} = 5500</msg>
<status status="PASS" starttime="20211126 10:28:09.668" endtime="20211126 10:28:09.669"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>678</arg>
</arguments>
<assign>
<var>${enquiry_gramWeight2}</var>
</assign>
<msg timestamp="20211126 10:28:09.669" level="INFO">${enquiry_gramWeight2} = 678</msg>
<status status="PASS" starttime="20211126 10:28:09.669" endtime="20211126 10:28:09.669"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>787</arg>
</arguments>
<assign>
<var>${enquiry_width2}</var>
</assign>
<msg timestamp="20211126 10:28:09.669" level="INFO">${enquiry_width2} = 787</msg>
<status status="PASS" starttime="20211126 10:28:09.669" endtime="20211126 10:28:09.669"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1092</arg>
</arguments>
<assign>
<var>${enquiry_length2}</var>
</assign>
<msg timestamp="20211126 10:28:09.670" level="INFO">${enquiry_length2} = 1092</msg>
<status status="PASS" starttime="20211126 10:28:09.669" endtime="20211126 10:28:09.670"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5000</arg>
</arguments>
<assign>
<var>${enquiry_quantity2}</var>
</assign>
<msg timestamp="20211126 10:28:09.670" level="INFO">${enquiry_quantity2} = 5000</msg>
<status status="PASS" starttime="20211126 10:28:09.670" endtime="20211126 10:28:09.670"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_remark</arg>
</arguments>
<assign>
<var>${customer_enquiry_remark}</var>
</assign>
<msg timestamp="20211126 10:28:09.670" level="INFO">${customer_enquiry_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:28:09.670" endtime="20211126 10:28:09.670"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight1},"width":${enquiry_width1},"length":${enquiry_length1},"quantity":${enquiry_quantity1},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"},{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"${paper_brand_id}","gramWeight":${enquiry_gramWeight2},"width":${enquiry_width2},"length":${enquiry_length2},"quantity":${enquiry_quantity2},"brandName":"${paper_name}","enquiryId":"${customer_enquiry_id}","remark":"${customer_enquiry_remark}"}],"delList":[],"updateList":[],"id":"${customer_enquiry_id}","askEnterprise":"${printing_packaging_factory_id}","belongEnterpriseName":"${printing_packaging_factory_name}","deliveryDay":${customer_deliveryDay},"deliveryArea":"${customer_deliveryArea}","enquiryContent":"${customer_enquiryContent}","picUrl":null,"receiver":null,"receiverMobile":null,"deliveryProvinceId":null,"deliveryCityId":null,"deliveryDistrictId":null,"deliveryStreetId":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetail":null,"deliveryId":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:09.671" level="INFO">${body} = {"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreet...</msg>
<status status="PASS" starttime="20211126 10:28:09.670" endtime="20211126 10:28:09.671"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/update/enquiry-order</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:09.750" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/enquiry-order
path_url=/trading-center/update/enquiry-order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '1621'}
body=b'{"addList":[{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"661555878020911104","gramWeight":678,"width":787,"length":1000,"quantity":5500,"brandName":"aotutest_paper_name","enquiryId":"661555920987361280","remark":"autotest_remark"},{"deliveryId":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"brandId":"661555878020911104","gramWeight":678,"width":787,"length":1092,"quantity":5000,"brandName":"aotutest_paper_name","enquiryId":"661555920987361280","remark":"autotest_remark"}],"delList":[],"updateList":[],"id":"661555920987361280","askEnterprise":"661555773826011136","belongEnterpriseName":"autotest_printing_packaging_factory_name","deliveryDay":48,"deliveryArea":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81 \xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82 \xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","enquiryContent":"autotest_enquiryContent","picUrl":null,"receiver":null,"receiverMobile":null,"deliveryProvinceId":null,"deliveryCityId":null,"deliveryDistrictId":null,"deliveryStreetId":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetail":null,"deliveryId":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null}'
</msg>
<msg timestamp="20211126 10:28:09.750" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/enquiry-order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":null}
</msg>
<msg timestamp="20211126 10:28:09.751" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:09.672" endtime="20211126 10:28:09.751"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enquiry_remark}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.751" level="INFO">${customer_enquiry_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:28:09.751" endtime="20211126 10:28:09.752"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.752" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:09.752" endtime="20211126 10:28:09.752"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:09.753" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:09.752" endtime="20211126 10:28:09.753"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:09.753" endtime="20211126 10:28:09.754"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:10.754" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:09.754" endtime="20211126 10:28:10.755"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:09.666" endtime="20211126 10:28:10.755" critical="yes"></status>
</test>
<test id="s1-s17-s1-t5" name="supplierfocus_distribute_enquiry_details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:10.757" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:10.756" endtime="20211126 10:28:10.757"></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":"${customer_enquiry_id}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:10.758" level="INFO">${body} = {"id":"661555920987361280"}</msg>
<status status="PASS" starttime="20211126 10:28:10.757" endtime="20211126 10:28:10.758"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/distribute/enquiry-reply</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:10.923" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/distribute/enquiry-reply
path_url=/trading-center/distribute/enquiry-reply
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '27'}
body=b'{"id":"661555920987361280"}'
</msg>
<msg timestamp="20211126 10:28:10.923" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/distribute/enquiry-reply
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:10 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":null}
</msg>
<msg timestamp="20211126 10:28:10.923" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:10.758" endtime="20211126 10:28:10.923"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:10.925" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:10.924" endtime="20211126 10:28:10.925"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:10.925" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:10.925" endtime="20211126 10:28:10.926"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:10.926" endtime="20211126 10:28:10.926"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:11.927" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:10.927" endtime="20211126 10:28:11.927"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:10.755" endtime="20211126 10:28:11.928" critical="yes"></status>
</test>
<test id="s1-s17-s1-t6" name="supplierfocus_get_enquiry_details">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:11.929" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:11.929" endtime="20211126 10:28:11.930"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/enquiry-order/${customer_enquiry_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:11.988" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/661555920987361280
path_url=/trading-center/get/enquiry-order/661555920987361280
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:11.988" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-order/661555920987361280
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:11 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":{"id":"661555920987361280","enquiryDetailList":[{"isDelete":false,"createTime":"2021-11-26T10:28:10","updateTime":"2021-11-26T10:28:10","id":"661555926918107136","paperName":null,"gramWeight":678,"length":1000,"width":787,"quantity":5500,"enquiryId":"661555920987361280","brandName":"aotutest_paper_name","remark":"autotest_remark","paperId":null,"brandId":"661555878020911104","deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"deliveryId":null},{"isDelete":false,"createTime":"2021-11-26T10:28:10","updateTime":"2021-11-26T10:28:10","id":"661555926922301440","paperName":null,"gramWeight":678,"length":1092,"width":787,"quantity":5000,"enquiryId":"661555920987361280","brandName":"aotutest_paper_name","remark":"autotest_remark","paperId":null,"brandId":"661555878020911104","deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"deliveryId":null}],"receiver":"autotest_name_customer","receiverMobile":"13012345678","deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"picUrl":"","belongEnterpriseName":"autotest_printing_packaging_factory_name","createTime":"2021-11-26 10:28:08","remark":null,"enquiryContent":"autotest_enquiryContent","askEnterprise":"661555773826011136","deliveryId":null,"deliveryReceiver":null,"deliveryReceiverMobile":null,"isDistribute":1,"status":30114,"isValid":0,"deliveryDay":48.00,"deliveryArea":"广东省 广州市 天河区","userName":"autotest_name_customer"}}
</msg>
<msg timestamp="20211126 10:28:11.989" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:11.930" endtime="20211126 10:28:11.989"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:11.990" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555920987361280', 'enquiryDetailList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:10', 'updateTime': '2021-11-26T10:28:10', 'id': '661555926918107136', 'paperName': None, 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 5500, 'enquiryId': '661555920987361280', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '661555878020911104', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}, {'isDelete': False, 'createTime': '2021-11-26T10:28:10', 'updateTime': '2021-11-26T10:28:10', 'id': '661555926922301440', 'paperName': None, 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 5000, 'enquiryId': '661555920987361280', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '661555878020911104', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}], 'receiver': 'autotest_name_customer', 'receiverMobile': '13012345678', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'picUrl': '', 'belongEnterpriseName': 'autotest_printing_packaging_factory_name', 'createTime': '2021-11-26 10:28:08', 'remark': None, 'enquiryContent': 'autotest_enquiryContent', 'askEnterprise': '661555773826011136', 'deliveryId': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'isDistribute': 1, 'status': 30114, 'isValid': 0, 'deliveryDay': 48.0, 'deliveryArea': '广东省 广州市 天河区', 'userName': 'autotest_name_customer'}}</msg>
<status status="PASS" starttime="20211126 10:28:11.989" endtime="20211126 10:28:11.990"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:11.990" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:11.990" endtime="20211126 10:28:11.991"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:11.991" endtime="20211126 10:28:11.991"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>1</arg>
<arg>${response.json()["data"]["isDistribute"]}</arg>
</arguments>
<msg timestamp="20211126 10:28:11.992" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:11.991" endtime="20211126 10:28:11.992"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:11.928" endtime="20211126 10:28:11.992" critical="yes"></status>
</test>
<test id="s1-s17-s1-t7" name="supplierfocus_get_obtain_paper_quotes_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:11.993" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:11.993" endtime="20211126 10:28:11.995"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enquiryId=${customer_enquiry_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:11.996" level="INFO">${param} = enquiryId=661555920987361280</msg>
<status status="PASS" starttime="20211126 10:28:11.995" endtime="20211126 10:28:11.996"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/obtain-paper-quotes/list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:12.070" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/obtain-paper-quotes/list?enquiryId=661555920987361280
path_url=/trading-center/get/obtain-paper-quotes/list?enquiryId=661555920987361280
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:12.071" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/obtain-paper-quotes/list?enquiryId=661555920987361280
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":[{"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","remark":null,"replyList":[{"enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","id":"661555931598950400","productSkuId":null,"paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5500,"length":1000,"width":787,"weight":2.9347,"unitFee":null,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":null,"createTime":"2021-11-26 10:28:11","updateTime":"2021-11-26 10:28:11","effectiveTime":"2021-11-27 10:28:11","salesEnterpriseId":null,"name":null,"status":30118,"remark":"autotest_remark","isValid":0,"premiumRate":null,"purchasePrice":null,"otherFee":null,"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":null},{"enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","id":"661555931645087744","productSkuId":null,"paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":null,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":null,"createTime":"2021-11-26 10:28:11","updateTime":"2021-11-26 10:28:11","effectiveTime":"2021-11-27 10:28:11","salesEnterpriseId":null,"name":null,"status":30118,"remark":"autotest_remark","isValid":0,"premiumRate":null,"purchasePrice":null,"otherFee":null,"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":null}]}]}
</msg>
<msg timestamp="20211126 10:28:12.071" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:11.996" endtime="20211126 10:28:12.071"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.072" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'repEnterprise': '553652487819759617', 'repEnterpriseName': '千鸟官方直营', 'remark': None, 'replyList': [{'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'id': '661555931598950400', 'productSkuId': None, 'paperId': None, 'brandId': '661555878020911104', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5500, 'length': 1000, 'width': 787, 'weight': 2.9347, 'unitFee': None, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': None, 'createTime': '2021-11-26 10:28:11', 'updateTime': '2021-11-26 10:28:11', 'effectiveTime': '2021-11-27 10:28:11', 'salesEnterpriseId': None, 'name': None, 'status': 30118, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': None, 'purchasePrice': None, 'otherFee': None, 'repEnterprise': '553652487819759617', 'repEnterpriseName': '千鸟官方直营', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': None}, {'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'id': '661555931645087744', 'productSkuId': None, 'paperId': None, 'brandId': '661555878020911104', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1092, 'width': 787, 'weight': 2.9134, 'unitFee': None, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': None, 'createTime': '2021-11-26 10:28:11', 'updateTime': '2021-11-26 10:28:11', 'effectiveTime': '2021-11-27 10:28:11', 'salesEnterpriseId': None, 'name': None, 'status': 30118, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': None, 'purchasePrice': None, 'otherFee': None, 'repEnterprise': '553652487819759617', 'repEnterpriseName': '千鸟官方直营', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': None}]}]}</msg>
<status status="PASS" starttime="20211126 10:28:12.071" endtime="20211126 10:28:12.072"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.073" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:12.072" endtime="20211126 10:28:12.073"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:12.073" endtime="20211126 10:28:12.073"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"][0]["replyList"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_quotes_item_id1}</var>
</assign>
<msg timestamp="20211126 10:28:12.074" level="INFO">${paper_quotes_item_id1} = 661555931598950400</msg>
<status status="PASS" starttime="20211126 10:28:12.074" endtime="20211126 10:28:12.074"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_quotes_item_id1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.075" level="INFO">${paper_quotes_item_id1} = 661555931598950400</msg>
<status status="PASS" starttime="20211126 10:28:12.074" endtime="20211126 10:28:12.075"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"][0]["replyList"][1]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${paper_quotes_item_id2}</var>
</assign>
<msg timestamp="20211126 10:28:12.075" level="INFO">${paper_quotes_item_id2} = 661555931645087744</msg>
<status status="PASS" starttime="20211126 10:28:12.075" endtime="20211126 10:28:12.075"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paper_quotes_item_id2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.076" level="INFO">${paper_quotes_item_id2} = 661555931645087744</msg>
<status status="PASS" starttime="20211126 10:28:12.076" endtime="20211126 10:28:12.076"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"][0]["replyList"][0]}</arg>
<arg>paperQuotedPriceId</arg>
</arguments>
<assign>
<var>${paperQuotedPriceId}</var>
</assign>
<msg timestamp="20211126 10:28:12.077" level="INFO">${paperQuotedPriceId} = 661555921033498624</msg>
<status status="PASS" starttime="20211126 10:28:12.076" endtime="20211126 10:28:12.077"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${paperQuotedPriceId}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.077" level="INFO">${paperQuotedPriceId} = 661555921033498624</msg>
<status status="PASS" starttime="20211126 10:28:12.077" endtime="20211126 10:28:12.077"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:11.992" endtime="20211126 10:28:12.077" critical="yes"></status>
</test>
<test id="s1-s17-s1-t8" name="supplierfocus_submit_paper_quotation">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.078" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:12.078" endtime="20211126 10:28:12.079"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>678</arg>
</arguments>
<assign>
<var>${paper_quotation_gramWeight1}</var>
</assign>
<msg timestamp="20211126 10:28:12.079" level="INFO">${paper_quotation_gramWeight1} = 678</msg>
<status status="PASS" starttime="20211126 10:28:12.079" endtime="20211126 10:28:12.079"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>787</arg>
</arguments>
<assign>
<var>${paper_quotation_width1}</var>
</assign>
<msg timestamp="20211126 10:28:12.080" level="INFO">${paper_quotation_width1} = 787</msg>
<status status="PASS" starttime="20211126 10:28:12.079" endtime="20211126 10:28:12.080"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1000</arg>
</arguments>
<assign>
<var>${paper_quotation_length1}</var>
</assign>
<msg timestamp="20211126 10:28:12.080" level="INFO">${paper_quotation_length1} = 1000</msg>
<status status="PASS" starttime="20211126 10:28:12.080" endtime="20211126 10:28:12.080"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5500</arg>
</arguments>
<assign>
<var>${paper_quotation_quantity1}</var>
</assign>
<msg timestamp="20211126 10:28:12.080" level="INFO">${paper_quotation_quantity1} = 5500</msg>
<status status="PASS" starttime="20211126 10:28:12.080" endtime="20211126 10:28:12.080"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${paper_quotation_gramWeight1}*${paper_quotation_width1}*${paper_quotation_length1}*${paper_quotation_quantity1}/1000000000000</arg>
</arguments>
<assign>
<var>${paper_quotation_buyton1}</var>
</assign>
<msg timestamp="20211126 10:28:12.081" level="INFO">${paper_quotation_buyton1} = 2.934723</msg>
<status status="PASS" starttime="20211126 10:28:12.080" endtime="20211126 10:28:12.081"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_buyton1}</arg>
<arg>4</arg>
</arguments>
<assign>
<var>${paper_quotation_buyTon1}</var>
</assign>
<msg timestamp="20211126 10:28:12.082" level="INFO">${paper_quotation_buyTon1} = 2.9347</msg>
<status status="PASS" starttime="20211126 10:28:12.081" endtime="20211126 10:28:12.082"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${product_price_sku_new}*${settlement_interval_premium_rate_qniao}</arg>
</arguments>
<assign>
<var>${paper_quotation_unitfee1}</var>
</assign>
<msg timestamp="20211126 10:28:12.082" level="INFO">${paper_quotation_unitfee1} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.082" endtime="20211126 10:28:12.082"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${product_price_sku_new}*${settlement_interval_premium_rate_feisuan}</arg>
</arguments>
<assign>
<var>${paper_quotation_flyCalcSalesprice1}</var>
</assign>
<msg timestamp="20211126 10:28:12.083" level="INFO">${paper_quotation_flyCalcSalesprice1} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.082" endtime="20211126 10:28:12.083"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${paper_quotation_otherFee}</var>
</assign>
<msg timestamp="20211126 10:28:12.083" level="INFO">${paper_quotation_otherFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:12.083" endtime="20211126 10:28:12.083"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_unitfee1}</arg>
</arguments>
<assign>
<var>${paper_quotation_unitFee1}</var>
</assign>
<msg timestamp="20211126 10:28:12.083" level="INFO">${paper_quotation_unitFee1} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.083" endtime="20211126 10:28:12.083"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_flyCalcSalesprice1}</arg>
</arguments>
<assign>
<var>${paper_quotation_flyCalcSalesPrice1}</var>
</assign>
<msg timestamp="20211126 10:28:12.084" level="INFO">${paper_quotation_flyCalcSalesPrice1} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.084" endtime="20211126 10:28:12.084"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${paper_quotation_unitFee1}*${paper_quotation_buyTon1}+${paper_quotation_otherFee}</arg>
</arguments>
<assign>
<var>${paper_quotation_totalOfferPrice1}</var>
</assign>
<msg timestamp="20211126 10:28:12.084" level="INFO">${paper_quotation_totalOfferPrice1} = 597.710349</msg>
<status status="PASS" starttime="20211126 10:28:12.084" endtime="20211126 10:28:12.084"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_totalOfferPrice1}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${paper_quotation_totalOfferPrice_item1}</var>
</assign>
<msg timestamp="20211126 10:28:12.085" level="INFO">${paper_quotation_totalOfferPrice_item1} = 597.71</msg>
<status status="PASS" starttime="20211126 10:28:12.085" endtime="20211126 10:28:12.085"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>678</arg>
</arguments>
<assign>
<var>${paper_quotation_gramWeight2}</var>
</assign>
<msg timestamp="20211126 10:28:12.085" level="INFO">${paper_quotation_gramWeight2} = 678</msg>
<status status="PASS" starttime="20211126 10:28:12.085" endtime="20211126 10:28:12.085"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>787</arg>
</arguments>
<assign>
<var>${paper_quotation_width2}</var>
</assign>
<msg timestamp="20211126 10:28:12.086" level="INFO">${paper_quotation_width2} = 787</msg>
<status status="PASS" starttime="20211126 10:28:12.085" endtime="20211126 10:28:12.086"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1092</arg>
</arguments>
<assign>
<var>${paper_quotation_length2}</var>
</assign>
<msg timestamp="20211126 10:28:12.086" level="INFO">${paper_quotation_length2} = 1092</msg>
<status status="PASS" starttime="20211126 10:28:12.086" endtime="20211126 10:28:12.086"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>5000</arg>
</arguments>
<assign>
<var>${paper_quotation_quantity2}</var>
</assign>
<msg timestamp="20211126 10:28:12.087" level="INFO">${paper_quotation_quantity2} = 5000</msg>
<status status="PASS" starttime="20211126 10:28:12.086" endtime="20211126 10:28:12.087"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${paper_quotation_gramWeight2}*${paper_quotation_width2}*${paper_quotation_length2}*${paper_quotation_quantity2}/1000000000000</arg>
</arguments>
<assign>
<var>${paper_quotation_buyton2}</var>
</assign>
<msg timestamp="20211126 10:28:12.087" level="INFO">${paper_quotation_buyton2} = 2.91337956</msg>
<status status="PASS" starttime="20211126 10:28:12.087" endtime="20211126 10:28:12.087"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_buyton2}</arg>
<arg>4</arg>
</arguments>
<assign>
<var>${paper_quotation_buyTon2}</var>
</assign>
<msg timestamp="20211126 10:28:12.088" level="INFO">${paper_quotation_buyTon2} = 2.9134</msg>
<status status="PASS" starttime="20211126 10:28:12.087" endtime="20211126 10:28:12.088"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${product_price_sku_new}*${settlement_interval_premium_rate_qniao}</arg>
</arguments>
<assign>
<var>${paper_quotation_unitfee2}</var>
</assign>
<msg timestamp="20211126 10:28:12.088" level="INFO">${paper_quotation_unitfee2} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.088" endtime="20211126 10:28:12.088"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${product_price_sku_new}*${settlement_interval_premium_rate_feisuan}</arg>
</arguments>
<assign>
<var>${paper_quotation_flyCalcSalesprice2}</var>
</assign>
<msg timestamp="20211126 10:28:12.089" level="INFO">${paper_quotation_flyCalcSalesprice2} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.089" endtime="20211126 10:28:12.089"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_unitfee2}</arg>
</arguments>
<assign>
<var>${paper_quotation_unitFee2}</var>
</assign>
<msg timestamp="20211126 10:28:12.089" level="INFO">${paper_quotation_unitFee2} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.089" endtime="20211126 10:28:12.089"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_flyCalcSalesprice2}</arg>
</arguments>
<assign>
<var>${paper_quotation_flyCalcSalesPrice2}</var>
</assign>
<msg timestamp="20211126 10:28:12.090" level="INFO">${paper_quotation_flyCalcSalesPrice2} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.090" endtime="20211126 10:28:12.090"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${paper_quotation_unitFee2}*${paper_quotation_buyTon2}+${paper_quotation_otherFee}</arg>
</arguments>
<assign>
<var>${paper_quotation_totalOfferPrice2}</var>
</assign>
<msg timestamp="20211126 10:28:12.090" level="INFO">${paper_quotation_totalOfferPrice2} = 593.372178</msg>
<status status="PASS" starttime="20211126 10:28:12.090" endtime="20211126 10:28:12.091"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${paper_quotation_totalOfferPrice2}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${paper_quotation_totalOfferPrice_item2}</var>
</assign>
<msg timestamp="20211126 10:28:12.091" level="INFO">${paper_quotation_totalOfferPrice_item2} = 593.37</msg>
<status status="PASS" starttime="20211126 10:28:12.091" endtime="20211126 10:28:12.091"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplierfocus_paper_quotation_remark</arg>
</arguments>
<assign>
<var>${supplierfocus_paper_quotation_remark}</var>
</assign>
<msg timestamp="20211126 10:28:12.091" level="INFO">${supplierfocus_paper_quotation_remark} = autotest_supplierfocus_paper_quotation_remark</msg>
<status status="PASS" starttime="20211126 10:28:12.091" endtime="20211126 10:28:12.091"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"addList":[],"delList":[],"enquiryId":"${customer_enquiry_id}","updateList":[{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id1}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight1},"quantity":${paper_quotation_quantity1},"length":${paper_quotation_length1},"width":${paper_quotation_width1},"weight":${paper_quotation_buyTon1},"unitFee":${paper_quotation_unitFee1},"totalPrice":"${paper_quotation_totalOfferPrice_item1}","createTime":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"553652487819759617","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice1}},{"enquiryId":"${customer_enquiry_id}","paperQuotedPriceId":"${paperQuotedPriceId}","id":"${paper_quotes_item_id2}","productSkuId":"${product_price_sku_id}","paperId":null,"brandId":"${paper_brand_id}","paperName":null,"brandName":"${paper_name}","productName":null,"gramWeight":${paper_quotation_gramWeight2},"quantity":${paper_quotation_quantity2},"length":${paper_quotation_length2},"width":${paper_quotation_width2},"weight":${paper_quotation_buyTon2},"unitFee":${paper_quotation_unitFee2},"totalPrice":"${paper_quotation_totalOfferPrice_item2}","createTime ":"${current_date_second.encode('utf-8')}","updateTime":"${current_date_second.encode('utf-8')}","effectiveTime":"${current_date_second.encode('utf-8')}","salesEnterpriseId":"${supplier_paper_id}","remark":"${customer_enquiry_remark}","purchasePrice":${product_price_sku_new},"otherFee":${paper_quotation_otherFee},"repEnterprise":"${supplier_paper_id}","repEnterpriseName":"千鸟官方直营","salesEnterpriseName":"${printing_packaging_factory_name}","flyCalcSalesPrice":${paper_quotation_flyCalcSalesPrice2}}],"remark":"${supplierfocus_paper_quotation_remark}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:12.094" level="INFO">${body} = {"addList":[],"delList":[],"enquiryId":"661555920987361280","updateList":[{"enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","id":"661555931598950400","productSkuId":"1441","p...</msg>
<status status="PASS" starttime="20211126 10:28:12.092" endtime="20211126 10:28:12.094"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/submit/paper-quotation</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:12.211" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/submit/paper-quotation
path_url=/trading-center/submit/paper-quotation
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '1603'}
body=b'{"addList":[],"delList":[],"enquiryId":"661555920987361280","updateList":[{"enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","id":"661555931598950400","productSkuId":"1441","paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5500,"length":1000,"width":787,"weight":2.9347,"unitFee":203.67,"totalPrice":"597.71","createTime":"2021-11-26 10:27:26","updateTime":"2021-11-26 10:27:26","effectiveTime":"2021-11-26 10:27:26","salesEnterpriseId":"661555817715208192","remark":"autotest_remark","purchasePrice":6789,"otherFee":0,"repEnterprise":"553652487819759617","repEnterpriseName":"\xe5\x8d\x83\xe9\xb8\x9f\xe5\xae\x98\xe6\x96\xb9\xe7\x9b\xb4\xe8\x90\xa5","salesEnterpriseName":"autotest_printing_packaging_factory_name","flyCalcSalesPrice":203.67},{"enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","id":"661555931645087744","productSkuId":"1441","paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":203.67,"totalPrice":"593.37","createTime ":"2021-11-26 10:27:26","updateTime":"2021-11-26 10:27:26","effectiveTime":"2021-11-26 10:27:26","salesEnterpriseId":"661555817715208192","remark":"autotest_remark","purchasePrice":6789,"otherFee":0,"repEnterprise":"661555817715208192","repEnterpriseName":"\xe5\x8d\x83\xe9\xb8\x9f\xe5\xae\x98\xe6\x96\xb9\xe7\x9b\xb4\xe8\x90\xa5","salesEnterpriseName":"autotest_printing_packaging_factory_name","flyCalcSalesPrice":203.67}],"remark":"autotest_supplierfocus_paper_quotation_remark"}'
</msg>
<msg timestamp="20211126 10:28:12.212" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/submit/paper-quotation
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28: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":null}
</msg>
<msg timestamp="20211126 10:28:12.212" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:12.094" endtime="20211126 10:28:12.212"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_gramWeight1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.213" level="INFO">${paper_quotation_gramWeight1} = 678</msg>
<status status="PASS" starttime="20211126 10:28:12.212" endtime="20211126 10:28:12.213"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_width1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.213" level="INFO">${paper_quotation_width1} = 787</msg>
<status status="PASS" starttime="20211126 10:28:12.213" endtime="20211126 10:28:12.213"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_length1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.213" level="INFO">${paper_quotation_length1} = 1000</msg>
<status status="PASS" starttime="20211126 10:28:12.213" endtime="20211126 10:28:12.214"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_quantity1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.214" level="INFO">${paper_quotation_quantity1} = 5500</msg>
<status status="PASS" starttime="20211126 10:28:12.214" endtime="20211126 10:28:12.214"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_buyTon1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.214" level="INFO">${paper_quotation_buyTon1} = 2.9347</msg>
<status status="PASS" starttime="20211126 10:28:12.214" endtime="20211126 10:28:12.214"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_unitFee1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.215" level="INFO">${paper_quotation_unitFee1} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.215" endtime="20211126 10:28:12.215"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_flyCalcSalesPrice1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.215" level="INFO">${paper_quotation_flyCalcSalesPrice1} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.215" endtime="20211126 10:28:12.215"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_totalOfferPrice_item1}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.216" level="INFO">${paper_quotation_totalOfferPrice_item1} = 597.71</msg>
<status status="PASS" starttime="20211126 10:28:12.215" endtime="20211126 10:28:12.216"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_otherFee}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.216" level="INFO">${paper_quotation_otherFee} = 0</msg>
<status status="PASS" starttime="20211126 10:28:12.216" endtime="20211126 10:28:12.216"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_gramWeight2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.216" level="INFO">${paper_quotation_gramWeight2} = 678</msg>
<status status="PASS" starttime="20211126 10:28:12.216" endtime="20211126 10:28:12.217"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_width2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.217" level="INFO">${paper_quotation_width2} = 787</msg>
<status status="PASS" starttime="20211126 10:28:12.217" endtime="20211126 10:28:12.217"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_length2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.217" level="INFO">${paper_quotation_length2} = 1092</msg>
<status status="PASS" starttime="20211126 10:28:12.217" endtime="20211126 10:28:12.218"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_quantity2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.218" level="INFO">${paper_quotation_quantity2} = 5000</msg>
<status status="PASS" starttime="20211126 10:28:12.218" endtime="20211126 10:28:12.218"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_buyTon2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.218" level="INFO">${paper_quotation_buyTon2} = 2.9134</msg>
<status status="PASS" starttime="20211126 10:28:12.218" endtime="20211126 10:28:12.218"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_unitFee2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.219" level="INFO">${paper_quotation_unitFee2} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.218" endtime="20211126 10:28:12.219"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_flyCalcSalesPrice2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.219" level="INFO">${paper_quotation_flyCalcSalesPrice2} = 203.67</msg>
<status status="PASS" starttime="20211126 10:28:12.219" endtime="20211126 10:28:12.219"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${paper_quotation_totalOfferPrice_item2}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.220" level="INFO">${paper_quotation_totalOfferPrice_item2} = 593.37</msg>
<status status="PASS" starttime="20211126 10:28:12.219" endtime="20211126 10:28:12.220"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.221" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:12.220" endtime="20211126 10:28:12.221"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:12.221" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:12.221" endtime="20211126 10:28:12.221"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:12.221" endtime="20211126 10:28:12.222"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:13.222" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:12.222" endtime="20211126 10:28:13.223"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:12.077" endtime="20211126 10:28:13.223" critical="yes"></status>
</test>
<test id="s1-s17-s1-t9" name="supplier_enquiry_reply_batch">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloud_factory_supplier_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:13.224" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:13.224" endtime="20211126 10:28:13.225"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_paper_quotation_remark</arg>
</arguments>
<assign>
<var>${supplier_paper_quotation_remark}</var>
</assign>
<msg timestamp="20211126 10:28:13.225" level="INFO">${supplier_paper_quotation_remark} = autotest_supplier_paper_quotation_remark</msg>
<status status="PASS" starttime="20211126 10:28:13.225" endtime="20211126 10:28:13.225"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"enquiryId":"${customer_enquiry_id}","replyList":[{"brandName":"${paper_name}","brandId":"${paper_brand_id}","width":787,"length":1000,"gramWeight":678,"quantity":5000,"weight":2.6679,"unitFee":5000,"otherFee":0,"totalPrice":13339.5,"remark":"${customer_enquiry_remark}"},{"brandName":"${paper_name}","brandId":"${paper_brand_id}","width":787,"length":1092,"gramWeight":678,"quantity":5000,"weight":2.9134,"unitFee":5000,"otherFee":0,"totalPrice":14567,"remark":"${customer_enquiry_remark}"}],"remark":"${supplier_paper_quotation_remark}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:13.226" level="INFO">${body} = {"enquiryId":"661555920987361280","replyList":[{"brandName":"aotutest_paper_name","brandId":"661555878020911104","width":787,"length":1000,"gramWeight":678,"quantity":5000,"weight":2.6679,"unitFee":50...</msg>
<status status="PASS" starttime="20211126 10:28:13.225" endtime="20211126 10:28:13.226"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/add/enquiry-reply-batch</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:13.537" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/enquiry-reply-batch
path_url=/trading-center/wechatapplet/add/enquiry-reply-batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==', 'Content-Length': '534'}
body=b'{"enquiryId":"661555920987361280","replyList":[{"brandName":"aotutest_paper_name","brandId":"661555878020911104","width":787,"length":1000,"gramWeight":678,"quantity":5000,"weight":2.6679,"unitFee":5000,"otherFee":0,"totalPrice":13339.5,"remark":"autotest_remark"},{"brandName":"aotutest_paper_name","brandId":"661555878020911104","width":787,"length":1092,"gramWeight":678,"quantity":5000,"weight":2.9134,"unitFee":5000,"otherFee":0,"totalPrice":14567,"remark":"autotest_remark"}],"remark":"autotest_supplier_paper_quotation_remark"}'
</msg>
<msg timestamp="20211126 10:28:13.537" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/add/enquiry-reply-batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:13 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":null}
</msg>
<msg timestamp="20211126 10:28:13.537" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:13.226" endtime="20211126 10:28:13.537"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:13.538" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:13.538" endtime="20211126 10:28:13.538"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:13.539" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:13.538" endtime="20211126 10:28:13.539"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:13.539" endtime="20211126 10:28:13.539"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:14.540" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:13.540" endtime="20211126 10:28:14.540"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:13.223" endtime="20211126 10:28:14.541" critical="yes"></status>
</test>
<test id="s1-s17-s1-t10" name="supplierfocus_get_supplier_quotation_record_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.542" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:14.542" endtime="20211126 10:28:14.543"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enquiryId=${customer_enquiry_id}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:14.544" level="INFO">${param} = enquiryId=661555920987361280</msg>
<status status="PASS" starttime="20211126 10:28:14.543" endtime="20211126 10:28:14.544"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/supplier-quotation-record/list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:14.622" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier-quotation-record/list?enquiryId=661555920987361280
path_url=/trading-center/get/supplier-quotation-record/list?enquiryId=661555920987361280
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:14.622" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier-quotation-record/list?enquiryId=661555920987361280
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:14 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":[{"repEnterprise":"661555817715208192","repEnterpriseName":"千鸟官方直营","remark":"autotest_supplier_paper_quotation_remark","replyList":[{"enquiryId":null,"paperQuotedPriceId":"661555921033498624","id":"661555931645087744","productSkuId":"1441","paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":204,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":593.37,"createTime":"2021-11-26 10:28:11","updateTime":"2021-11-26 10:28:12","effectiveTime":"2021-11-26 10:27:26","salesEnterpriseId":"661555817715208192","name":null,"status":30122,"remark":"autotest_remark","isValid":0,"premiumRate":null,"purchasePrice":6789.0000,"otherFee":0.00,"repEnterprise":"661555817715208192","repEnterpriseName":"千鸟官方直营","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":203.67},{"enquiryId":null,"paperQuotedPriceId":"661555921033498624","id":"661555942353145856","productSkuId":"1441","paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1000,"width":787,"weight":2.6679,"unitFee":5150,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":13739.69,"createTime":"2021-11-26 10:28:13","updateTime":"2021-11-26 10:28:13","effectiveTime":"2021-11-27 10:28:13","salesEnterpriseId":"661555817715208192","name":null,"status":30122,"remark":"autotest_remark","isValid":0,"premiumRate":0.030000,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"661555817715208192","repEnterpriseName":"autotest_supplier_paper_name","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":5100.00},{"enquiryId":null,"paperQuotedPriceId":"661555921033498624","id":"661555942722244608","productSkuId":"1441","paperId":null,"brandId":"661555878020911104","paperName":null,"brandName":"aotutest_paper_name","productName":null,"gramWeight":678,"quantity":5000,"length":1092,"width":787,"weight":2.9134,"unitFee":5150,"cuttingFee":null,"bootFee":null,"freightFee":null,"totalPrice":15004.01,"createTime":"2021-11-26 10:28:13","updateTime":"2021-11-26 10:28:13","effectiveTime":"2021-11-27 10:28:13","salesEnterpriseId":"661555817715208192","name":null,"status":30122,"remark":"autotest_remark","isValid":0,"premiumRate":0.030000,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"661555817715208192","repEnterpriseName":"autotest_supplier_paper_name","haveEnterprise":1,"salesEnterpriseName":null,"flyCalcPremiumRate":0.020000,"flyCalcSalesPrice":5100.00}]}]}
</msg>
<msg timestamp="20211126 10:28:14.623" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:14.544" endtime="20211126 10:28:14.623"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.624" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'repEnterprise': '661555817715208192', 'repEnterpriseName': '千鸟官方直营', 'remark': 'autotest_supplier_paper_quotation_remark', 'replyList': [{'enquiryId': None, 'paperQuotedPriceId': '661555921033498624', 'id': '661555931645087744', 'productSkuId': '1441', 'paperId': None, 'brandId': '661555878020911104', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1092, 'width': 787, 'weight': 2.9134, 'unitFee': 204, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': 593.37, 'createTime': '2021-11-26 10:28:11', 'updateTime': '2021-11-26 10:28:12', 'effectiveTime': '2021-11-26 10:27:26', 'salesEnterpriseId': '661555817715208192', 'name': None, 'status': 30122, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'repEnterpriseName': '千鸟官方直营', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': 203.67}, {'enquiryId': None, 'paperQuotedPriceId': '661555921033498624', 'id': '661555942353145856', 'productSkuId': '1441', 'paperId': None, 'brandId': '661555878020911104', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1000, 'width': 787, 'weight': 2.6679, 'unitFee': 5150, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': 13739.69, 'createTime': '2021-11-26 10:28:13', 'updateTime': '2021-11-26 10:28:13', 'effectiveTime': '2021-11-27 10:28:13', 'salesEnterpriseId': '661555817715208192', 'name': None, 'status': 30122, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': 0.03, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'repEnterpriseName': 'autotest_supplier_paper_name', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': 5100.0}, {'enquiryId': None, 'paperQuotedPriceId': '661555921033498624', 'id': '661555942722244608', 'productSkuId': '1441', 'paperId': None, 'brandId': '661555878020911104', 'paperName': None, 'brandName': 'aotutest_paper_name', 'productName': None, 'gramWeight': 678, 'quantity': 5000, 'length': 1092, 'width': 787, 'weight': 2.9134, 'unitFee': 5150, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'totalPrice': 15004.01, 'createTime': '2021-11-26 10:28:13', 'updateTime': '2021-11-26 10:28:13', 'effectiveTime': '2021-11-27 10:28:13', 'salesEnterpriseId': '661555817715208192', 'name': None, 'status': 30122, 'remark': 'autotest_remark', 'isValid': 0, 'premiumRate': 0.03, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'repEnterpriseName': 'autotest_supplier_paper_name', 'haveEnterprise': 1, 'salesEnterpriseName': None, 'flyCalcPremiumRate': 0.02, 'flyCalcSalesPrice': 5100.0}]}]}</msg>
<status status="PASS" starttime="20211126 10:28:14.623" endtime="20211126 10:28:14.624"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.624" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:14.624" endtime="20211126 10:28:14.625"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:14.625" endtime="20211126 10:28:14.626"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:14.541" endtime="20211126 10:28:14.626" critical="yes"></status>
</test>
<test id="s1-s17-s1-t11" name="customer_get_enquiry_result">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.627" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:14.627" endtime="20211126 10:28:14.627"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/enquiry-result/${customer_enquiry_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:14.743" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-result/661555920987361280
path_url=/trading-center/get/enquiry-result/661555920987361280
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:14.744" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/enquiry-result/661555920987361280
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:14 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":{"id":"661555920987361280","status":30116,"createTime":"2021-11-26 10:28:08","remark":null,"deliveryProvinceId":null,"deliveryProvinceName":null,"deliveryCityId":null,"deliveryCityName":null,"deliveryDistrictId":null,"deliveryDistrictName":null,"deliveryStreetId":null,"deliveryStreetName":null,"deliveryDetails":null,"picUrl":"","replyList":[{"id":"661555931598950400","enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","unitFee":203.67,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":597.71,"weight":2.9347,"status":30122,"repEnterpriseName":"千鸟官方直营","repUserName":null,"updateTime":"2021-11-26 10:28:12","createTime":"2021-11-26 10:27:26","productSkuId":"1441","orderId":null,"product":{"id":"661555903803297792","name":"aotutest_paper_name","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"661555817715208192","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5500,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1000,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-11-26 10:27:26","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"661555817715208192","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"661555878020911104","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":6789.0000,"otherFee":0.00,"repEnterprise":"553652487819759617","flyCalcSalesPrice":203.67},{"id":"661555931645087744","enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","unitFee":203.67,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":593.37,"weight":2.9134,"status":30122,"repEnterpriseName":"autotest_supplier_paper_name","repUserName":null,"updateTime":"2021-11-26 10:28:12","createTime":"2021-11-26 10:28:11","productSkuId":"1441","orderId":null,"product":{"id":"661555903803297792","name":"aotutest_paper_name","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"661555817715208192","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1092,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-11-26 10:27:26","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"661555817715208192","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"661555878020911104","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":6789.0000,"otherFee":0.00,"repEnterprise":"661555817715208192","flyCalcSalesPrice":203.67},{"id":"661555942353145856","enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","unitFee":5150.00,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":13739.69,"weight":2.6679,"status":30122,"repEnterpriseName":"autotest_supplier_paper_name","repUserName":null,"updateTime":"2021-11-26 10:28:13","createTime":"2021-11-26 10:28:13","productSkuId":"1441","orderId":null,"product":{"id":"661555903803297792","name":"aotutest_paper_name","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"661555817715208192","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1000,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-11-27 10:28:13","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"661555817715208192","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"661555878020911104","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"661555817715208192","flyCalcSalesPrice":5100.00},{"id":"661555942722244608","enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","unitFee":5150.00,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":15004.01,"weight":2.9134,"status":30122,"repEnterpriseName":"autotest_supplier_paper_name","repUserName":null,"updateTime":"2021-11-26 10:28:13","createTime":"2021-11-26 10:28:13","productSkuId":"1441","orderId":null,"product":{"id":"661555903803297792","name":"aotutest_paper_name","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"661555817715208192","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5000,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1092,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-11-27 10:28:13","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"661555817715208192","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"661555878020911104","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":5000.0000,"otherFee":0.00,"repEnterprise":"661555817715208192","flyCalcSalesPrice":5100.00}],"supplierPriceList":[{"enquiryId":"661555920987361280","supplierId":"553652487819759617","supplierName":"千鸟官方直营","otherExpenses":0.00,"totalPrice":597.71,"score":5,"createTime":"2021-11-26 10:27:26","supplierPricePaperProducts":[{"id":"661555931598950400","enquiryId":"661555920987361280","paperQuotedPriceId":"661555921033498624","unitFee":203.67,"cuttingFee":null,"bootFee":null,"freightFee":null,"remark":"autotest_remark","enquiryRemark":null,"totalPrice":597.71,"weight":2.9347,"status":30122,"repEnterpriseName":"千鸟官方直营","repUserName":null,"updateTime":"2021-11-26 10:28:12","createTime":"2021-11-26 10:27:26","productSkuId":"1441","orderId":null,"product":{"id":"661555903803297792","name":"aotutest_paper_name","skuId":"1441","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","weightId":"645594792394362880","weightVal":"678","specificationId":"594943106122649600","specificationVal":"特规分切","sizeId":null,"sizeVal":null,"price":5000.0000,"setNum":0E-7,"setUnit":null,"stock":0.00,"stockUnit":"吨","shippingNote":"分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。","litPicUrl":null,"description":"报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。","otherNote":null,"salesEnterpriseName":"autotest_supplier_paper_name","salesEnterpriseId":"661555817715208192","categoryId":"638458876659896320","paperMill":"apm","purchasePrice":5000.0000},"quantity":5500,"askQuantity":null,"deliveryProvinceName":null,"deliveryCityName":null,"deliveryDistrictName":null,"deliveryStreetName":null,"deliveryDetails":null,"examineStatus":null,"gramWeight":678,"length":1000,"askLength":null,"width":787,"askWidth":null,"type":null,"effectiveTime":"2021-11-26 10:27:26","paperName":null,"askPaperName":null,"brandName":"aotutest_paper_name","askBrandName":null,"replyGramWeight":null,"productName":null,"salesEnterpriseId":"661555817715208192","name":"autotest_supplier_paper_name","categoryId":null,"picUrl":null,"paperId":null,"brandId":"661555878020911104","isValid":0,"serviceFee":0,"orderStatus":null,"purchasePrice":6789.0000,"otherFee":0.00,"re... (set the log level to DEBUG or TRACE to see the full content)
</msg>
<msg timestamp="20211126 10:28:14.744" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:14.627" endtime="20211126 10:28:14.744"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.746" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555920987361280', 'status': 30116, 'createTime': '2021-11-26 10:28:08', 'remark': None, 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'picUrl': '', 'replyList': [{'id': '661555931598950400', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 203.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 597.71, 'weight': 2.9347, 'status': 30122, 'repEnterpriseName': '千鸟官方直营', 'repUserName': None, 'updateTime': '2021-11-26 10:28:12', 'createTime': '2021-11-26 10:27:26', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5500, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-26 10:27:26', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '553652487819759617', 'flyCalcSalesPrice': 203.67}, {'id': '661555931645087744', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 203.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 593.37, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-11-26 10:28:12', 'createTime': '2021-11-26 10:28:11', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-26 10:27:26', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'flyCalcSalesPrice': 203.67}, {'id': '661555942353145856', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 13739.69, 'weight': 2.6679, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-11-26 10:28:13', 'createTime': '2021-11-26 10:28:13', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-27 10:28:13', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'flyCalcSalesPrice': 5100.0}, {'id': '661555942722244608', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 15004.01, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-11-26 10:28:13', 'createTime': '2021-11-26 10:28:13', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-27 10:28:13', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'flyCalcSalesPrice': 5100.0}], 'supplierPriceList': [{'enquiryId': '661555920987361280', 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'otherExpenses': 0.0, 'totalPrice': 597.71, 'score': 5, 'createTime': '2021-11-26 10:27:26', 'supplierPricePaperProducts': [{'id': '661555931598950400', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 203.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 597.71, 'weight': 2.9347, 'status': 30122, 'repEnterpriseName': '千鸟官方直营', 'repUserName': None, 'updateTime': '2021-11-26 10:28:12', 'createTime': '2021-11-26 10:27:26', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5500, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-26 10:27:26', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '553652487819759617', 'flyCalcSalesPrice': 203.67}], 'status': 30122, 'orderId': None, 'remark': 'autotest_supplierfocus_paper_quotation_remark'}, {'enquiryId': '661555920987361280', 'supplierId': '661555817715208192', 'supplierName': 'autotest_supplier_paper_name', 'otherExpenses': 0.0, 'totalPrice': 29337.07, 'score': 5, 'createTime': '2021-11-26 10:28:11', 'supplierPricePaperProducts': [{'id': '661555931645087744', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 203.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 593.37, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-11-26 10:28:12', 'createTime': '2021-11-26 10:28:11', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-26 10:27:26', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 6789.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'flyCalcSalesPrice': 203.67}, {'id': '661555942353145856', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 13739.69, 'weight': 2.6679, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-11-26 10:28:13', 'createTime': '2021-11-26 10:28:13', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1000, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-27 10:28:13', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'flyCalcSalesPrice': 5100.0}, {'id': '661555942722244608', 'enquiryId': '661555920987361280', 'paperQuotedPriceId': '661555921033498624', 'unitFee': 5150.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'remark': 'autotest_remark', 'enquiryRemark': None, 'totalPrice': 15004.01, 'weight': 2.9134, 'status': 30122, 'repEnterpriseName': 'autotest_supplier_paper_name', 'repUserName': None, 'updateTime': '2021-11-26 10:28:13', 'createTime': '2021-11-26 10:28:13', 'productSkuId': '1441', 'orderId': None, 'product': {'id': '661555903803297792', 'name': 'aotutest_paper_name', 'skuId': '1441', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'weightId': '645594792394362880', 'weightVal': '678', 'specificationId': '594943106122649600', 'specificationVal': '特规分切', 'sizeId': None, 'sizeVal': None, 'price': 5000.0, 'setNum': 0.0, 'setUnit': None, 'stock': 0.0, 'stockUnit': '吨', 'shippingNote': '分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。', 'litPicUrl': None, 'description': '报价全部为现金含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', 'otherNote': None, 'salesEnterpriseName': 'autotest_supplier_paper_name', 'salesEnterpriseId': '661555817715208192', 'categoryId': '638458876659896320', 'paperMill': 'apm', 'purchasePrice': 5000.0}, 'quantity': 5000, 'askQuantity': None, 'deliveryProvinceName': None, 'deliveryCityName': None, 'deliveryDistrictName': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'examineStatus': None, 'gramWeight': 678, 'length': 1092, 'askLength': None, 'width': 787, 'askWidth': None, 'type': None, 'effectiveTime': '2021-11-27 10:28:13', 'paperName': None, 'askPaperName': None, 'brandName': 'aotutest_paper_name', 'askBrandName': None, 'replyGramWeight': None, 'productName': None, 'salesEnterpriseId': '661555817715208192', 'name': 'autotest_supplier_paper_name', 'categoryId': None, 'picUrl': None, 'paperId': None, 'brandId': '661555878020911104', 'isValid': 0, 'serviceFee': 0, 'orderStatus': None, 'purchasePrice': 5000.0, 'otherFee': 0.0, 'repEnterprise': '661555817715208192', 'flyCalcSalesPrice': 5100.0}], 'status': 30122, 'orderId': None, 'remark': 'autotest_supplier_paper_quotation_remark'}], 'enquiryContent': 'autotest_enquiryContent', 'receiver': 'autotest_name_customer', 'receiverMobile': '13012345678', 'askEnterprise': '661555773826011136', 'deliveryId': None, 'detailList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:10', 'updateTime': '2021-11-26T10:28:10', 'id': '661555926918107136', 'paperName': None, 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 5500, 'enquiryId': '661555920987361280', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '661555878020911104', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}, {'isDelete': False, 'createTime': '2021-11-26T10:28:10', 'updateTime': '2021-11-26T10:28:10', 'id': '661555926922301440', 'paperName': None, 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 5000, 'enquiryId': '661555920987361280', 'brandName': 'aotutest_paper_name', 'remark': 'autotest_remark', 'paperId': None, 'brandId': '661555878020911104', 'deliveryProvinceId': None, 'deliveryProvinceName': None, 'deliveryCityId': None, 'deliveryCityName': None, 'deliveryDistrictId': None, 'deliveryDistrictName': None, 'deliveryStreetId': None, 'deliveryStreetName': None, 'deliveryDetails': None, 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'deliveryId': None}], 'deliveryReceiver': None, 'deliveryReceiverMobile': None, 'enquiryStatus': None, 'replyStatus': None, 'enquiryIsValid': 0, 'replyIsValid': None, 'deliveryDay': 48.0, 'deliveryArea': '广东省 广州市 天河区'}}</msg>
<status status="PASS" starttime="20211126 10:28:14.744" endtime="20211126 10:28:14.746"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.747" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:14.746" endtime="20211126 10:28:14.747"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:14.747" endtime="20211126 10:28:14.747"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:14.626" endtime="20211126 10:28:14.748" critical="yes"></status>
</test>
<test id="s1-s17-s1-t12" name="customer_enquiry_create_order_credit_payment">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:14.749" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:14.749" endtime="20211126 10:28:14.749"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_receiver</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiver}</var>
</assign>
<msg timestamp="20211126 10:28:14.750" level="INFO">${customer_enterprise_shipping_address_receiver} = autotest_receiver</msg>
<status status="PASS" starttime="20211126 10:28:14.749" endtime="20211126 10:28:14.750"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiverMobile}</var>
</assign>
<msg timestamp="20211126 10:28:14.750" level="INFO">${customer_enterprise_shipping_address_receiverMobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:28:14.750" endtime="20211126 10:28:14.750"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_customer_enterprise_shipping_address_detail</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_detail}</var>
</assign>
<msg timestamp="20211126 10:28:14.750" level="INFO">${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail</msg>
<status status="PASS" starttime="20211126 10:28:14.750" endtime="20211126 10:28:14.750"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provinceid}</var>
</assign>
<msg timestamp="20211126 10:28:14.751" level="INFO">${customer_enterprise_shipping_address_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:28:14.750" endtime="20211126 10:28:14.751"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityid}</var>
</assign>
<msg timestamp="20211126 10:28:14.751" level="INFO">${customer_enterprise_shipping_address_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:28:14.751" endtime="20211126 10:28:14.751"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtid}</var>
</assign>
<msg timestamp="20211126 10:28:14.751" level="INFO">${customer_enterprise_shipping_address_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:28:14.751" endtime="20211126 10:28:14.751"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetid}</var>
</assign>
<msg timestamp="20211126 10:28:14.752" level="INFO">${customer_enterprise_shipping_address_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:28:14.751" endtime="20211126 10:28:14.752"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provincename}</var>
</assign>
<msg timestamp="20211126 10:28:14.752" level="INFO">${customer_enterprise_shipping_address_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:28:14.752" endtime="20211126 10:28:14.752"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityname}</var>
</assign>
<msg timestamp="20211126 10:28:14.752" level="INFO">${customer_enterprise_shipping_address_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:28:14.752" endtime="20211126 10:28:14.752"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtname}</var>
</assign>
<msg timestamp="20211126 10:28:14.753" level="INFO">${customer_enterprise_shipping_address_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:28:14.752" endtime="20211126 10:28:14.753"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetname}</var>
</assign>
<msg timestamp="20211126 10:28:14.753" level="INFO">${customer_enterprise_shipping_address_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:28:14.753" endtime="20211126 10:28:14.753"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_paymentMethod}</var>
</assign>
<msg timestamp="20211126 10:28:14.753" level="INFO">${customer_create_order_paymentMethod} = 2</msg>
<status status="PASS" starttime="20211126 10:28:14.753" endtime="20211126 10:28:14.753"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_bootFee1}</var>
</assign>
<msg timestamp="20211126 10:28:14.753" level="INFO">${customer_create_order_bootFee1} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.753" endtime="20211126 10:28:14.753"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_cuttingFee1}</var>
</assign>
<msg timestamp="20211126 10:28:14.754" level="INFO">${customer_create_order_cuttingFee1} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.754" endtime="20211126 10:28:14.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>0</arg>
</arguments>
<assign>
<var>${customer_create_order_freightFee1}</var>
</assign>
<msg timestamp="20211126 10:28:14.754" level="INFO">${customer_create_order_freightFee1} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.754" endtime="20211126 10:28:14.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>0</arg>
</arguments>
<assign>
<var>${customer_create_order_serviceFee1}</var>
</assign>
<msg timestamp="20211126 10:28:14.754" level="INFO">${customer_create_order_serviceFee1} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.754" endtime="20211126 10:28:14.755"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${paper_quotation_totalOfferPrice_item1}+${customer_create_order_bootFee1}+${customer_create_order_cuttingFee1}+${customer_create_order_freightFee1}+${customer_create_order_serviceFee1}</arg>
</arguments>
<assign>
<var>${customer_create_order_enquiry_totalOfferPrice_item1}</var>
</assign>
<msg timestamp="20211126 10:28:14.755" level="INFO">${customer_create_order_enquiry_totalOfferPrice_item1} = 597.71</msg>
<status status="PASS" starttime="20211126 10:28:14.755" endtime="20211126 10:28:14.755"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${customer_create_order_enquiry_totalOfferPrice_item1}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_enquiry_totalOfferPrice_Item1}</var>
</assign>
<msg timestamp="20211126 10:28:14.756" level="INFO">${customer_create_order_enquiry_totalOfferPrice_Item1} = 597.71</msg>
<status status="PASS" starttime="20211126 10:28:14.755" endtime="20211126 10:28:14.756"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_bootFee2}</var>
</assign>
<msg timestamp="20211126 10:28:14.756" level="INFO">${customer_create_order_bootFee2} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.756" endtime="20211126 10:28:14.756"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_cuttingFee2}</var>
</assign>
<msg timestamp="20211126 10:28:14.757" level="INFO">${customer_create_order_cuttingFee2} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.756" endtime="20211126 10:28:14.757"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_freightFee2}</var>
</assign>
<msg timestamp="20211126 10:28:14.757" level="INFO">${customer_create_order_freightFee2} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.757" endtime="20211126 10:28:14.757"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>0</arg>
</arguments>
<assign>
<var>${customer_create_order_serviceFee2}</var>
</assign>
<msg timestamp="20211126 10:28:14.757" level="INFO">${customer_create_order_serviceFee2} = 0</msg>
<status status="PASS" starttime="20211126 10:28:14.757" endtime="20211126 10:28:14.757"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${paper_quotation_totalOfferPrice_item2}+${customer_create_order_bootFee2}+${customer_create_order_cuttingFee2}+${customer_create_order_freightFee2}+${customer_create_order_serviceFee2}</arg>
</arguments>
<assign>
<var>${customer_create_order_enquiry_totalOfferPrice_item2}</var>
</assign>
<msg timestamp="20211126 10:28:14.758" level="INFO">${customer_create_order_enquiry_totalOfferPrice_item2} = 593.37</msg>
<status status="PASS" starttime="20211126 10:28:14.757" endtime="20211126 10:28:14.758"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${customer_create_order_enquiry_totalOfferPrice_item2}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_enquiry_totalOfferPrice_Item2}</var>
</assign>
<msg timestamp="20211126 10:28:14.758" level="INFO">${customer_create_order_enquiry_totalOfferPrice_Item2} = 593.37</msg>
<status status="PASS" starttime="20211126 10:28:14.758" endtime="20211126 10:28:14.758"></status>
</kw>
<kw name="Evaluate" library="BuiltIn">
<doc>Evaluates the given expression in Python and returns the results.</doc>
<arguments>
<arg>${customer_create_order_enquiry_totalOfferPrice_Item1}+${customer_create_order_enquiry_totalOfferPrice_Item2}</arg>
</arguments>
<assign>
<var>${customer_create_order_enquiry_realPayprice}</var>
</assign>
<msg timestamp="20211126 10:28:14.759" level="INFO">${customer_create_order_enquiry_realPayprice} = 1191.08</msg>
<status status="PASS" starttime="20211126 10:28:14.759" endtime="20211126 10:28:14.759"></status>
</kw>
<kw name="Convert To Number" library="BuiltIn">
<doc>Converts the given item to a floating point number.</doc>
<arguments>
<arg>${customer_create_order_enquiry_realPayprice}</arg>
<arg>2</arg>
</arguments>
<assign>
<var>${customer_create_order_enquiry_realPayPrice}</var>
</assign>
<msg timestamp="20211126 10:28:14.759" level="INFO">${customer_create_order_enquiry_realPayPrice} = 1191.08</msg>
<status status="PASS" starttime="20211126 10:28:14.759" endtime="20211126 10:28:14.759"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>[{"enquiryReplyId":"${paper_quotes_item_id1}","enquiryId":"${customer_enquiry_id}","gramWeight":${paper_quotation_gramWeight1},"width":${paper_quotation_width1},"length":${paper_quotation_length1},"quantity":${paper_quotation_quantity1},"buyTon":${paper_quotation_buyTon1},"productName":null,"purchasePrice":${product_price_sku_new},"unitPrice":${paper_quotation_unitFee1},"bootFee":${customer_create_order_bootFee1},"cuttingFee":${customer_create_order_cuttingFee1},"freightFee":${customer_create_order_freightFee1},"serviceFee":${customer_create_order_serviceFee1},"otherFee":${paper_quotation_otherFee},"totalOfferPrice":${customer_create_order_enquiry_totalOfferPrice_Item1},"remark":"autotest_remark1","productSkuId":"${product_price_sku_id}"},{"enquiryReplyId":"${paper_quotes_item_id2}","enquiryId":"${customer_enquiry_id}","gramWeight":${paper_quotation_gramWeight2},"width":${paper_quotation_width2},"length":${paper_quotation_length2},"quantity":${paper_quotation_quantity2},"buyTon":${paper_quotation_buyTon2},"productName":null,"purchasePrice":${product_price_sku_new},"unitPrice":${paper_quotation_unitFee2},"bootFee":${customer_create_order_bootFee2},"cuttingFee":${customer_create_order_cuttingFee2},"freightFee":${customer_create_order_freightFee2},"serviceFee":${customer_create_order_serviceFee2},"otherFee":${paper_quotation_otherFee},"totalOfferPrice":${customer_create_order_enquiry_totalOfferPrice_Item2},"remark":"autotest_remark2","productSkuId":"${product_price_sku_id}"}]</arg>
</arguments>
<assign>
<var>${customer_enquiry_create_order_productSkuList}</var>
</assign>
<msg timestamp="20211126 10:28:14.761" level="INFO">${customer_enquiry_create_order_productSkuList} = [{"enquiryReplyId":"661555931598950400","enquiryId":"661555920987361280","gramWeight":678,"width":787,"length":1000,"quantity":5500,"buyTon":2.9347,"productName":null,"purchasePrice":6789,"unitPrice":...</msg>
<status status="PASS" starttime="20211126 10:28:14.760" endtime="20211126 10:28:14.761"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","receiver":"${customer_enterprise_shipping_address_receiver}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryId":"${customer_enterprise_shipping_address_id}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","paymentMethod":${customer_create_order_paymentMethod},"realPayPrice":${customer_create_order_enquiry_realPayPrice},"totalOfferPrice":${customer_create_order_enquiry_realPayPrice},"password":"${customer_credit_password_new}","productSkuList":${customer_enquiry_create_order_productSkuList.encode("utf-8")}}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:14.762" level="INFO">${body} = {"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"de...</msg>
<status status="PASS" starttime="20211126 10:28:14.761" endtime="20211126 10:28:14.762"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/buyer/create/order</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:15.178" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
path_url=/trading-center/buyer/create/order
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '1226'}
body=b'{"receiverMobile":"13800138000","receiver":"autotest_receiver","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryId":"661555917527060480","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","paymentMethod":2,"realPayPrice":1191.08,"totalOfferPrice":1191.08,"password":"123456","productSkuList":[{"enquiryReplyId":"661555931598950400","enquiryId":"661555920987361280","gramWeight":678,"width":787,"length":1000,"quantity":5500,"buyTon":2.9347,"productName":null,"purchasePrice":6789,"unitPrice":203.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"otherFee":0,"totalOfferPrice":597.71,"remark":"autotest_remark1","productSkuId":"1441"},{"enquiryReplyId":"661555931645087744","enquiryId":"661555920987361280","gramWeight":678,"width":787,"length":1092,"quantity":5000,"buyTon":2.9134,"productName":null,"purchasePrice":6789,"unitPrice":203.67,"bootFee":0,"cuttingFee":0,"freightFee":0,"serviceFee":0,"otherFee":0,"totalOfferPrice":593.37,"remark":"autotest_remark2","productSkuId":"1441"}]}'
</msg>
<msg timestamp="20211126 10:28:15.179" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/create/order
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:15 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":{"orderId":"661555948627824640","realPayPrice":1191.08,"channelId":null,"contractNo":"QNS202111260004","signUrl":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name"}}
</msg>
<msg timestamp="20211126 10:28:15.179" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:14.762" endtime="20211126 10:28:15.179"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.180" level="INFO">{'code': 0, 'message': 'successful', 'data': {'orderId': '661555948627824640', 'realPayPrice': 1191.08, 'channelId': None, 'contractNo': 'QNS202111260004', 'signUrl': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name'}}</msg>
<status status="PASS" starttime="20211126 10:28:15.179" endtime="20211126 10:28:15.180"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.180" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.180" endtime="20211126 10:28:15.180"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:15.181" endtime="20211126 10:28:15.181"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${customer_enquiry_create_order_id}</var>
</assign>
<msg timestamp="20211126 10:28:15.181" level="INFO">${customer_enquiry_create_order_id} = 661555948627824640</msg>
<status status="PASS" starttime="20211126 10:28:15.181" endtime="20211126 10:28:15.181"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enquiry_create_order_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.182" level="INFO">${customer_enquiry_create_order_id} = 661555948627824640</msg>
<status status="PASS" starttime="20211126 10:28:15.182" endtime="20211126 10:28:15.182"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]}</arg>
<arg>contractNo</arg>
</arguments>
<assign>
<var>${customer_enquiry_create_order_contractNo}</var>
</assign>
<msg timestamp="20211126 10:28:15.183" level="INFO">${customer_enquiry_create_order_contractNo} = QNS202111260004</msg>
<status status="PASS" starttime="20211126 10:28:15.182" endtime="20211126 10:28:15.183"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_enquiry_create_order_contractNo}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.183" level="INFO">${customer_enquiry_create_order_contractNo} = QNS202111260004</msg>
<status status="PASS" starttime="20211126 10:28:15.183" endtime="20211126 10:28:15.183"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:14.748" endtime="20211126 10:28:15.183" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:08.160" endtime="20211126 10:28:15.185"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:08.157" endtime="20211126 10:28:15.188"></status>
</suite>
<suite id="s1-s18" name="017 Order And Receipt And Delivery" source="/root/yyt-trading-rf-api/017_order_and_receipt_and_delivery">
<suite id="s1-s18-s1" name="Get Oeder And Receipt And Delivery" source="/root/yyt-trading-rf-api/017_order_and_receipt_and_delivery/get_oeder_and_receipt_and_delivery.robot">
<test id="s1-s18-s1-t1" name="customer_get_order_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.199" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:15.198" endtime="20211126 10:28:15.199"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/buyer/get/self-enterprise-order-page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:15.282" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page
path_url=/trading-center/buyer/get/self-enterprise-order-page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:15.282" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:15 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":{"records":[{"orderId":"661555948627824640","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":1191.08,"realPayPrice":1191.08,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-11-26 10:28:15","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"661555948694933504","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1441","unitPrice":203.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":597.71,"remark":"autotest_remark1"},{"id":"661555948757848064","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitPrice":203.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":593.37,"remark":"autotest_remark2"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null},{"orderId":"661555919179616256","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":20372.44,"realPayPrice":20372.44,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-11-26 10:28:08","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"661555919234142208","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_customer_create_order_remark"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null}],"total":2,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:15.282" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.199" endtime="20211126 10:28:15.282"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.283" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '661555948627824640', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 1191.08, 'realPayPrice': 1191.08, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-11-26 10:28:15', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '661555948694933504', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1441', 'unitPrice': 203.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 597.71, 'remark': 'autotest_remark1'}, {'id': '661555948757848064', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitPrice': 203.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 593.37, 'remark': 'autotest_remark2'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}, {'orderId': '661555919179616256', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 20372.44, 'realPayPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-11-26 10:28:08', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '661555919234142208', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_customer_create_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}], 'total': 2, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:15.283" endtime="20211126 10:28:15.284"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.284" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.284" endtime="20211126 10:28:15.284"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:15.285" endtime="20211126 10:28:15.285"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:15.198" endtime="20211126 10:28:15.285" critical="yes"></status>
</test>
<test id="s1-s18-s1-t2" name="customer_get_order_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.287" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:15.286" endtime="20211126 10:28:15.287"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>status=2</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:15.287" level="INFO">${param} = status=2</msg>
<status status="PASS" starttime="20211126 10:28:15.287" endtime="20211126 10:28:15.288"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/buyer/get/self-enterprise-order-page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:15.368" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page?status=2
path_url=/trading-center/buyer/get/self-enterprise-order-page?status=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:15.369" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/self-enterprise-order-page?status=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:15 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":{"records":[{"orderId":"661555948627824640","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":1191.08,"realPayPrice":1191.08,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-11-26 10:28:15","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"661555948694933504","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1441","unitPrice":203.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":597.71,"remark":"autotest_remark1"},{"id":"661555948757848064","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitPrice":203.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":593.37,"remark":"autotest_remark2"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null},{"orderId":"661555919179616256","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":20372.44,"realPayPrice":20372.44,"status":30101,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":0.00,"otherFee":null,"createTime":"2021-11-26 10:28:08","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"661555919234142208","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitPrice":6992.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":20372.44,"remark":"autotest_customer_create_order_remark"}],"deliveryOrderImg":null,"payableStatus":null,"receivableStatus":30150,"showStatus":2,"supplierId":"553652487819759617","supplierName":"千鸟官方直营","reviewStatus":null,"customerEnterpriseName":null,"shouldRepayDate":null}],"total":2,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:15.369" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.288" endtime="20211126 10:28:15.369"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.370" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '661555948627824640', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 1191.08, 'realPayPrice': 1191.08, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-11-26 10:28:15', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '661555948694933504', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1441', 'unitPrice': 203.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 597.71, 'remark': 'autotest_remark1'}, {'id': '661555948757848064', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitPrice': 203.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 593.37, 'remark': 'autotest_remark2'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}, {'orderId': '661555919179616256', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 20372.44, 'realPayPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': 0.0, 'otherFee': None, 'createTime': '2021-11-26 10:28:08', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '661555919234142208', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitPrice': 6992.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 20372.44, 'remark': 'autotest_customer_create_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': None, 'receivableStatus': 30150, 'showStatus': 2, 'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'reviewStatus': None, 'customerEnterpriseName': None, 'shouldRepayDate': None}], 'total': 2, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:15.369" endtime="20211126 10:28:15.371"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.371" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.371" endtime="20211126 10:28:15.371"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:15.371" endtime="20211126 10:28:15.372"></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>${customer_enquiry_create_order_id}</arg>
<arg>${response.json()["data"]["records"][0]["orderId"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:15.372" endtime="20211126 10:28:15.373"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:15.286" endtime="20211126 10:28:15.373" critical="yes"></status>
</test>
<test id="s1-s18-s1-t3" name="customer_get_order_detail2">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.374" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:15.374" endtime="20211126 10:28:15.375"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/buyer/get/order-detail/${customer_enquiry_create_order_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:15.443" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/order-detail/661555948627824640
path_url=/trading-center/buyer/get/order-detail/661555948627824640
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:15.443" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/buyer/get/order-detail/661555948627824640
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:15 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":{"id":"661555948627824640","showStatus":2,"status":2,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","paymentMethod":2,"supplierPrice":{"supplierId":"553652487819759617","supplierName":"千鸟官方直营","otherExpenses":0.000000,"totalPrice":1191.08,"supplierPricePaperProducts":[{"id":"661555948694933504","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1441","unitFee":203.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":597.71,"remark":"autotest_remark1","weight":2.9347,"deliveryStatus":30106},{"id":"661555948757848064","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitFee":203.6700,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":593.37,"remark":"autotest_remark2","weight":2.9134,"deliveryStatus":30106}],"score":null},"receivableStatus":30150,"deliveryStatus":30106,"reviewStatus":null,"orderStatus":30101,"createTime":"2021-11-26 10:28:15","orderSalesContractImgUrl":null}}
</msg>
<msg timestamp="20211126 10:28:15.443" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.375" endtime="20211126 10:28:15.444"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.445" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555948627824640', 'showStatus': 2, 'status': 2, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'paymentMethod': 2, 'supplierPrice': {'supplierId': '553652487819759617', 'supplierName': '千鸟官方直营', 'otherExpenses': 0.0, 'totalPrice': 1191.08, 'supplierPricePaperProducts': [{'id': '661555948694933504', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1441', 'unitFee': 203.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 597.71, 'remark': 'autotest_remark1', 'weight': 2.9347, 'deliveryStatus': 30106}, {'id': '661555948757848064', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitFee': 203.67, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 593.37, 'remark': 'autotest_remark2', 'weight': 2.9134, 'deliveryStatus': 30106}], 'score': None}, 'receivableStatus': 30150, 'deliveryStatus': 30106, 'reviewStatus': None, 'orderStatus': 30101, 'createTime': '2021-11-26 10:28:15', 'orderSalesContractImgUrl': None}}</msg>
<status status="PASS" starttime="20211126 10:28:15.444" endtime="20211126 10:28:15.445"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.445" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.445" endtime="20211126 10:28:15.445"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:15.446" endtime="20211126 10:28:15.446"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>2</arg>
<arg>${response.json()["data"]["showStatus"]}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.447" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.446" endtime="20211126 10:28:15.447"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["supplierPrice"]}</arg>
<arg>totalPrice</arg>
</arguments>
<assign>
<var>${customer_order_totalPrice}</var>
</assign>
<msg timestamp="20211126 10:28:15.448" level="INFO">${customer_order_totalPrice} = 1191.08</msg>
<status status="PASS" starttime="20211126 10:28:15.447" endtime="20211126 10:28:15.448"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${customer_order_totalPrice}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.448" level="INFO">${customer_order_totalPrice} = 1191.08</msg>
<status status="PASS" starttime="20211126 10:28:15.448" endtime="20211126 10:28:15.448"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:15.373" endtime="20211126 10:28:15.448" critical="yes"></status>
</test>
<test id="s1-s18-s1-t4" name="supplierfocus_get_order_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:15.449" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:15.449" endtime="20211126 10:28:15.450"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/supplier/order-management/page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:17.879" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page
path_url=/trading-center/get/supplier/order-management/page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:17.879" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:17 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":{"records":[{"id":"661555948627824640","clientContractNo":"QNS202111260004","clientContractNoId":"661555948971757568","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661555773826011136","realPayPrice":1191.08,"totalOfferPrice":1191.08,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-11-26 10:28:15","updateTime":"2021-11-26 10:28:15","inquiryOrder":1,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661555917527060480","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661555919179616256","clientContractNo":"QNS202111260003","clientContractNoId":"661555919448051712","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661555773826011136","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-11-26 10:28:08","updateTime":"2021-11-26 10:28:08","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661555917527060480","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661543236220882944","clientContractNo":"QNS202111260002","clientContractNoId":"661543236489318400","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661543057577086976","realPayPrice":1191.08,"totalOfferPrice":1191.08,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202111260001","supplyContractNoId":"661543259797065728","supplyOredrId":"661543259717373952","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":29240.5,"supplierTotalOfferPrice":29240.5,"reviewStatus":30160,"createTime":"2021-11-26 09:37:44","updateTime":"2021-11-26 09:37:54","inquiryOrder":1,"supplyContractNoList":"QNP202111260001","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661543204801351680","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661543206147723264","clientContractNo":"QNS202111260001","clientContractNoId":"661543206479073280","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661543057577086976","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-11-26 09:37:37","updateTime":"2021-11-26 09:37:37","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661543204801351680","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661308819351146496","clientContractNo":"QNS202111250018","clientContractNoId":"661308819611193344","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661308619190571008","realPayPrice":1191.08,"totalOfferPrice":1191.08,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202111250009","supplyContractNoId":"661308844277895168","supplyOredrId":"661308844194009088","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":29240.5,"supplierTotalOfferPrice":29240.5,"reviewStatus":30160,"createTime":"2021-11-25 18:06:15","updateTime":"2021-11-25 18:06:25","inquiryOrder":1,"supplyContractNoList":"QNP202111250009","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661308785272426496","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661308787466047488","clientContractNo":"QNS202111250017","clientContractNoId":"661308787671568384","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661308619190571008","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-11-25 18:06:07","updateTime":"2021-11-25 18:06:07","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661308785272426496","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661307327449796608","clientContractNo":"QNS202111250016","clientContractNoId":"661307327730814976","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661307128274882560","realPayPrice":1191.08,"totalOfferPrice":1191.08,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202111250008","supplyContractNoId":"661307351994863616","supplyOredrId":"661307351906783232","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":29240.5,"supplierTotalOfferPrice":29240.5,"reviewStatus":null,"createTime":"2021-11-25 18:00:19","updateTime":"2021-11-25 18:00:19","inquiryOrder":1,"supplyContractNoList":"QNP202111250008","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661307293408825344","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661307295325622272","clientContractNo":"QNS202111250015","clientContractNoId":"661307295539531776","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661307128274882560","realPayPrice":20372.44,"totalOfferPrice":20372.44,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-11-25 18:00:11","updateTime":"2021-11-25 18:00:11","inquiryOrder":null,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661307293408825344","receiver":"autotest_receiver","receiverMobile":"13800138000"},{"id":"661303334858264576","clientContractNo":"QNS202111250014","clientContractNoId":"661303335135088640","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661303136371216384","realPayPrice":1191.08,"totalOfferPrice":1191.08,"status":30104,"deliveryStatus":30108,"receivableId":null,"receivableStatus":30151,"paymentMethod":2,"supplyContractNo":"QNP202111250007","supplyContractNoId":"661303360309301248","supplyOredrId":"661303360221220864","supplierName":"autotest_supplier_paper_name","supplierRealPayPrice":29240.5,"supplierTotalOfferPrice":29240.5,"reviewStatus":30160,"createTime":"2021-11-25 17:44:27","updateTime":"2021-11-25 17:44:38","inquiryOrder":1,"supplyContractNoList":"QNP202111250007","supplierNameList":"autotest_supplier_paper_name","deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProv... (set the log level to DEBUG or TRACE to see the full content)
</msg>
<msg timestamp="20211126 10:28:17.879" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:15.450" endtime="20211126 10:28:17.879"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:17.881" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555948627824640', 'clientContractNo': 'QNS202111260004', 'clientContractNoId': '661555948971757568', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661555773826011136', 'realPayPrice': 1191.08, 'totalOfferPrice': 1191.08, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-26 10:28:15', 'updateTime': '2021-11-26 10:28:15', 'inquiryOrder': 1, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661555917527060480', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661555919179616256', 'clientContractNo': 'QNS202111260003', 'clientContractNoId': '661555919448051712', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661555773826011136', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-26 10:28:08', 'updateTime': '2021-11-26 10:28:08', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661555917527060480', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661543236220882944', 'clientContractNo': 'QNS202111260002', 'clientContractNoId': '661543236489318400', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661543057577086976', 'realPayPrice': 1191.08, 'totalOfferPrice': 1191.08, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202111260001', 'supplyContractNoId': '661543259797065728', 'supplyOredrId': '661543259717373952', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 29240.5, 'supplierTotalOfferPrice': 29240.5, 'reviewStatus': 30160, 'createTime': '2021-11-26 09:37:44', 'updateTime': '2021-11-26 09:37:54', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202111260001', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661543204801351680', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661543206147723264', 'clientContractNo': 'QNS202111260001', 'clientContractNoId': '661543206479073280', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661543057577086976', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-26 09:37:37', 'updateTime': '2021-11-26 09:37:37', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661543204801351680', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661308819351146496', 'clientContractNo': 'QNS202111250018', 'clientContractNoId': '661308819611193344', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661308619190571008', 'realPayPrice': 1191.08, 'totalOfferPrice': 1191.08, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202111250009', 'supplyContractNoId': '661308844277895168', 'supplyOredrId': '661308844194009088', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 29240.5, 'supplierTotalOfferPrice': 29240.5, 'reviewStatus': 30160, 'createTime': '2021-11-25 18:06:15', 'updateTime': '2021-11-25 18:06:25', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202111250009', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661308785272426496', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661308787466047488', 'clientContractNo': 'QNS202111250017', 'clientContractNoId': '661308787671568384', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661308619190571008', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-25 18:06:07', 'updateTime': '2021-11-25 18:06:07', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661308785272426496', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661307327449796608', 'clientContractNo': 'QNS202111250016', 'clientContractNoId': '661307327730814976', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661307128274882560', 'realPayPrice': 1191.08, 'totalOfferPrice': 1191.08, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202111250008', 'supplyContractNoId': '661307351994863616', 'supplyOredrId': '661307351906783232', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 29240.5, 'supplierTotalOfferPrice': 29240.5, 'reviewStatus': None, 'createTime': '2021-11-25 18:00:19', 'updateTime': '2021-11-25 18:00:19', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202111250008', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661307293408825344', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661307295325622272', 'clientContractNo': 'QNS202111250015', 'clientContractNoId': '661307295539531776', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661307128274882560', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-25 18:00:11', 'updateTime': '2021-11-25 18:00:11', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661307293408825344', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661303334858264576', 'clientContractNo': 'QNS202111250014', 'clientContractNoId': '661303335135088640', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661303136371216384', 'realPayPrice': 1191.08, 'totalOfferPrice': 1191.08, 'status': 30104, 'deliveryStatus': 30108, 'receivableId': None, 'receivableStatus': 30151, 'paymentMethod': 2, 'supplyContractNo': 'QNP202111250007', 'supplyContractNoId': '661303360309301248', 'supplyOredrId': '661303360221220864', 'supplierName': 'autotest_supplier_paper_name', 'supplierRealPayPrice': 29240.5, 'supplierTotalOfferPrice': 29240.5, 'reviewStatus': 30160, 'createTime': '2021-11-25 17:44:27', 'updateTime': '2021-11-25 17:44:38', 'inquiryOrder': 1, 'supplyContractNoList': 'QNP202111250007', 'supplierNameList': 'autotest_supplier_paper_name', 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661303301744234496', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}, {'id': '661303303719751680', 'clientContractNo': 'QNS202111250013', 'clientContractNoId': '661303303971409920', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661303136371216384', 'realPayPrice': 20372.44, 'totalOfferPrice': 20372.44, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-25 17:44:20', 'updateTime': '2021-11-25 17:44:20', 'inquiryOrder': None, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661303301744234496', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}], 'total': 1016, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:17.880" endtime="20211126 10:28:17.881"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:17.881" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:17.881" endtime="20211126 10:28:17.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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:17.882" endtime="20211126 10:28:17.882"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:15.449" endtime="20211126 10:28:17.882" critical="yes"></status>
</test>
<test id="s1-s18-s1-t5" name="supplierfocus_get_order_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:17.883" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:17.883" endtime="20211126 10:28:17.884"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>clientContractNo=${customer_enquiry_create_order_contractNo}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:17.884" level="INFO">${param} = clientContractNo=QNS202111260004</msg>
<status status="PASS" starttime="20211126 10:28:17.884" endtime="20211126 10:28:17.884"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/supplier/order-management/page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:20.292" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page?clientContractNo=QNS202111260004
path_url=/trading-center/get/supplier/order-management/page?clientContractNo=QNS202111260004
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:20.292" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/supplier/order-management/page?clientContractNo=QNS202111260004
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:20 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":{"records":[{"id":"661555948627824640","clientContractNo":"QNS202111260004","clientContractNoId":"661555948971757568","customerEnterpriseName":"autotest_printing_packaging_factory_name","customerEnterpriseId":"661555773826011136","realPayPrice":1191.08,"totalOfferPrice":1191.08,"status":30101,"deliveryStatus":30106,"receivableId":null,"receivableStatus":30150,"paymentMethod":2,"supplyContractNo":null,"supplyContractNoId":null,"supplyOredrId":null,"supplierName":null,"supplierRealPayPrice":null,"supplierTotalOfferPrice":null,"reviewStatus":null,"createTime":"2021-11-26 10:28:15","updateTime":"2021-11-26 10:28:15","inquiryOrder":1,"supplyContractNoList":null,"supplierNameList":null,"deliveryAddress":null,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661555917527060480","receiver":"autotest_receiver","receiverMobile":"13800138000"}],"total":1,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:20.292" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:17.884" endtime="20211126 10:28:20.292"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.293" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555948627824640', 'clientContractNo': 'QNS202111260004', 'clientContractNoId': '661555948971757568', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'customerEnterpriseId': '661555773826011136', 'realPayPrice': 1191.08, 'totalOfferPrice': 1191.08, 'status': 30101, 'deliveryStatus': 30106, 'receivableId': None, 'receivableStatus': 30150, 'paymentMethod': 2, 'supplyContractNo': None, 'supplyContractNoId': None, 'supplyOredrId': None, 'supplierName': None, 'supplierRealPayPrice': None, 'supplierTotalOfferPrice': None, 'reviewStatus': None, 'createTime': '2021-11-26 10:28:15', 'updateTime': '2021-11-26 10:28:15', 'inquiryOrder': 1, 'supplyContractNoList': None, 'supplierNameList': None, 'deliveryAddress': None, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661555917527060480', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000'}], 'total': 1, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:20.292" endtime="20211126 10:28:20.293"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.294" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:20.293" endtime="20211126 10:28:20.294"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:20.294" endtime="20211126 10:28:20.295"></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>${customer_enquiry_create_order_id}</arg>
<arg>${response.json()["data"]["records"][0]["id"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:20.295" endtime="20211126 10:28:20.295"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:17.883" endtime="20211126 10:28:20.295" critical="yes"></status>
</test>
<test id="s1-s18-s1-t6" name="supplierfocus_get_order_order-item-list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.297" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:20.296" endtime="20211126 10:28:20.297"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/get/order-item-list/by/${customer_enquiry_create_order_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:20.367" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/get/order-item-list/by/661555948627824640
path_url=/trading-center/get/order-item-list/by/661555948627824640
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:20.367" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/get/order-item-list/by/661555948627824640
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:20 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":[{"id":"661555948694933504","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"661555903803297792","productName":"aotutest_paper_name","gramWeight":678,"length":1000,"width":787,"quantity":2.9347000,"pieceQuantity":5500.00,"salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":5000.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":597.71,"remark":"autotest_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1000\"}]","isCreated":0,"productSkuId":"1441","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106},{"id":"661555948757848064","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"661555903803297792","productName":"aotutest_paper_name","gramWeight":678,"length":1092,"width":787,"quantity":2.9134000,"pieceQuantity":5000.00,"salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":5000.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":593.37,"remark":"autotest_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1092\"}]","isCreated":0,"productSkuId":"1441","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106}]}
</msg>
<msg timestamp="20211126 10:28:20.368" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:20.297" endtime="20211126 10:28:20.368"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.369" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'id': '661555948694933504', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 5000.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 597.71, 'remark': 'autotest_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1000"}]', 'isCreated': 0, 'productSkuId': '1441', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}, {'id': '661555948757848064', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 5000.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 593.37, 'remark': 'autotest_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1092"}]', 'isCreated': 0, 'productSkuId': '1441', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}]}</msg>
<status status="PASS" starttime="20211126 10:28:20.368" endtime="20211126 10:28:20.369"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.370" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:20.369" endtime="20211126 10:28:20.370"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:20.370" endtime="20211126 10:28:20.371"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${supply_order_item_id1}</var>
</assign>
<msg timestamp="20211126 10:28:20.372" level="INFO">${supply_order_item_id1} = 661555948694933504</msg>
<status status="PASS" starttime="20211126 10:28:20.371" endtime="20211126 10:28:20.372"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supply_order_item_id1}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.373" level="INFO">${supply_order_item_id1} = 661555948694933504</msg>
<status status="PASS" starttime="20211126 10:28:20.372" endtime="20211126 10:28:20.373"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"][1]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${supply_order_item_id2}</var>
</assign>
<msg timestamp="20211126 10:28:20.374" level="INFO">${supply_order_item_id2} = 661555948757848064</msg>
<status status="PASS" starttime="20211126 10:28:20.373" endtime="20211126 10:28:20.374"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supply_order_item_id2}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.374" level="INFO">${supply_order_item_id2} = 661555948757848064</msg>
<status status="PASS" starttime="20211126 10:28:20.374" endtime="20211126 10:28:20.375"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:20.296" endtime="20211126 10:28:20.375" critical="yes"></status>
</test>
<test id="s1-s18-s1-t7" name="supplierfocus_create_supplier_order_batch">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.376" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:20.376" endtime="20211126 10:28:20.377"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_supplier_order_remark</arg>
</arguments>
<assign>
<var>${supplier_order_remark}</var>
</assign>
<msg timestamp="20211126 10:28:20.377" level="INFO">${supplier_order_remark} = autotest_supplier_order_remark</msg>
<status status="PASS" starttime="20211126 10:28:20.377" endtime="20211126 10:28:20.377"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_receiver</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiver}</var>
</assign>
<msg timestamp="20211126 10:28:20.378" level="INFO">${customer_enterprise_shipping_address_receiver} = autotest_receiver</msg>
<status status="PASS" starttime="20211126 10:28:20.378" endtime="20211126 10:28:20.378"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>13800138000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_receiverMobile}</var>
</assign>
<msg timestamp="20211126 10:28:20.379" level="INFO">${customer_enterprise_shipping_address_receiverMobile} = 13800138000</msg>
<status status="PASS" starttime="20211126 10:28:20.378" endtime="20211126 10:28:20.379"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_customer_enterprise_shipping_address_detail</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_detail}</var>
</assign>
<msg timestamp="20211126 10:28:20.379" level="INFO">${customer_enterprise_shipping_address_detail} = autotest_customer_enterprise_shipping_address_detail</msg>
<status status="PASS" starttime="20211126 10:28:20.379" endtime="20211126 10:28:20.379"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440000</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provinceid}</var>
</assign>
<msg timestamp="20211126 10:28:20.380" level="INFO">${customer_enterprise_shipping_address_provinceid} = 440000</msg>
<status status="PASS" starttime="20211126 10:28:20.379" endtime="20211126 10:28:20.380"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440100</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityid}</var>
</assign>
<msg timestamp="20211126 10:28:20.380" level="INFO">${customer_enterprise_shipping_address_cityid} = 440100</msg>
<status status="PASS" starttime="20211126 10:28:20.380" endtime="20211126 10:28:20.380"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtid}</var>
</assign>
<msg timestamp="20211126 10:28:20.380" level="INFO">${customer_enterprise_shipping_address_districtid} = 440106</msg>
<status status="PASS" starttime="20211126 10:28:20.380" endtime="20211126 10:28:20.381"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>440106003</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetid}</var>
</assign>
<msg timestamp="20211126 10:28:20.381" level="INFO">${customer_enterprise_shipping_address_streetid} = 440106003</msg>
<status status="PASS" starttime="20211126 10:28:20.381" endtime="20211126 10:28:20.381"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广东省</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_provincename}</var>
</assign>
<msg timestamp="20211126 10:28:20.381" level="INFO">${customer_enterprise_shipping_address_provincename} = 广东省</msg>
<status status="PASS" starttime="20211126 10:28:20.381" endtime="20211126 10:28:20.382"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>广州市</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_cityname}</var>
</assign>
<msg timestamp="20211126 10:28:20.382" level="INFO">${customer_enterprise_shipping_address_cityname} = 广州市</msg>
<status status="PASS" starttime="20211126 10:28:20.382" endtime="20211126 10:28:20.382"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>天河区</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_districtname}</var>
</assign>
<msg timestamp="20211126 10:28:20.382" level="INFO">${customer_enterprise_shipping_address_districtname} = 天河区</msg>
<status status="PASS" starttime="20211126 10:28:20.382" endtime="20211126 10:28:20.382"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>车陂街道</arg>
</arguments>
<assign>
<var>${customer_enterprise_shipping_address_streetname}</var>
</assign>
<msg timestamp="20211126 10:28:20.383" level="INFO">${customer_enterprise_shipping_address_streetname} = 车陂街道</msg>
<status status="PASS" starttime="20211126 10:28:20.383" endtime="20211126 10:28:20.383"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"orderItemList":[{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"${supply_order_item_id1}"},{"deliveryId":"${customer_enterprise_shipping_address_id}","deliveryProvinceId":${customer_enterprise_shipping_address_provinceid},"deliveryProvinceName":"${customer_enterprise_shipping_address_provincename}","deliveryCityId":${customer_enterprise_shipping_address_cityid},"deliveryCityName":"${customer_enterprise_shipping_address_cityname}","deliveryDistrictId":${customer_enterprise_shipping_address_districtid},"deliveryDistrictName":"${customer_enterprise_shipping_address_districtname}","deliveryStreetId":${customer_enterprise_shipping_address_streetid},"deliveryStreetName":"${customer_enterprise_shipping_address_streetname}","deliveryDetails":"${customer_enterprise_shipping_address_detail}","receiver":"${customer_enterprise_shipping_address_receiver}","receiverMobile":"${customer_enterprise_shipping_address_receiverMobile}","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"${supply_order_item_id2}"}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:20.385" level="INFO">${body} = {"orderItemList":[{"deliveryId":"661555917527060480","deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDist...</msg>
<status status="PASS" starttime="20211126 10:28:20.383" endtime="20211126 10:28:20.385"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/seller/create/supplier-order-batch</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:20.636" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/create/supplier-order-batch
path_url=/trading-center/seller/create/supplier-order-batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '1079'}
body=b'{"orderItemList":[{"deliveryId":"661555917527060480","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"661555948694933504"},{"deliveryId":"661555917527060480","deliveryProvinceId":440000,"deliveryProvinceName":"\xe5\xb9\xbf\xe4\xb8\x9c\xe7\x9c\x81","deliveryCityId":440100,"deliveryCityName":"\xe5\xb9\xbf\xe5\xb7\x9e\xe5\xb8\x82","deliveryDistrictId":440106,"deliveryDistrictName":"\xe5\xa4\xa9\xe6\xb2\xb3\xe5\x8c\xba","deliveryStreetId":440106003,"deliveryStreetName":"\xe8\xbd\xa6\xe9\x99\x82\xe8\xa1\x97\xe9\x81\x93","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","otherFee":0,"remark":"autotest_supplier_order_remark","unitPrice":5000,"supplyOrderItemId":"661555948757848064"}]}'
</msg>
<msg timestamp="20211126 10:28:20.636" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/create/supplier-order-batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:20 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":null}
</msg>
<msg timestamp="20211126 10:28:20.636" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:20.386" endtime="20211126 10:28:20.636"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.637" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:20.637" endtime="20211126 10:28:20.637"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:20.638" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:20.637" endtime="20211126 10:28:20.638"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:20.638" endtime="20211126 10:28:20.638"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:21.639" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:20.638" endtime="20211126 10:28:21.639"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:20.375" endtime="20211126 10:28:21.639" critical="yes"></status>
</test>
<test id="s1-s18-s1-t8" name="supplier_get_order_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.641" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:21.640" endtime="20211126 10:28:21.642"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/supplier-order-page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:21.712" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page
path_url=/trading-center/wechatapplet/get/supplier-order-page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}
body=None
</msg>
<msg timestamp="20211126 10:28:21.713" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:21 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":{"records":[{"orderId":"661555971998486528","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":29240.50,"realPayPrice":29240.50,"status":30100,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"otherFee":null,"createTime":"2021-11-26 10:28:20","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"661555972132704256","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1441","unitPrice":5000.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":14673.5000,"remark":"autotest_supplier_order_remark"},{"id":"661555972191424512","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitPrice":5000.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":14567.0000,"remark":"autotest_supplier_order_remark"}],"deliveryOrderImg":null,"payableStatus":30140,"receivableStatus":null,"showStatus":1,"supplierId":null,"supplierName":null,"reviewStatus":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name","shouldRepayDate":null}],"total":1,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:21.713" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.642" endtime="20211126 10:28:21.713"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.714" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '661555971998486528', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 29240.5, 'realPayPrice': 29240.5, 'status': 30100, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'otherFee': None, 'createTime': '2021-11-26 10:28:20', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '661555972132704256', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1441', 'unitPrice': 5000.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 14673.5, 'remark': 'autotest_supplier_order_remark'}, {'id': '661555972191424512', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitPrice': 5000.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 14567.0, 'remark': 'autotest_supplier_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': 30140, 'receivableStatus': None, 'showStatus': 1, 'supplierId': None, 'supplierName': None, 'reviewStatus': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'shouldRepayDate': None}], 'total': 1, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:21.713" endtime="20211126 10:28:21.714"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.715" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.715" endtime="20211126 10:28:21.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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:21.715" endtime="20211126 10:28:21.716"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:21.640" endtime="20211126 10:28:21.716" critical="yes"></status>
</test>
<test id="s1-s18-s1-t9" name="supplier_get_order_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.717" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:21.717" endtime="20211126 10:28:21.717"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>status=2</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:21.718" level="INFO">${param} = status=2</msg>
<status status="PASS" starttime="20211126 10:28:21.718" endtime="20211126 10:28:21.718"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/supplier-order-page</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:21.785" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page?status=2
path_url=/trading-center/wechatapplet/get/supplier-order-page?status=2
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}
body=None
</msg>
<msg timestamp="20211126 10:28:21.785" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-page?status=2
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:21 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":{"records":[{"orderId":"661555971998486528","deliveryProvinceName":"广东省","deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","productSkuDesc":null,"totalOfferPrice":29240.50,"realPayPrice":29240.50,"status":30100,"deliveryStatus":30106,"remark":null,"receiver":"autotest_receiver","receiverMobile":"13800138000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"otherFee":null,"createTime":"2021-11-26 10:28:20","paymentMethod":2,"orderSalesContractImgUrl":null,"orderSalesContractIsFinished":null,"orderItemList":[{"id":"661555972132704256","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1441","unitPrice":5000.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":14673.5000,"remark":"autotest_supplier_order_remark"},{"id":"661555972191424512","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitPrice":5000.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":14567.0000,"remark":"autotest_supplier_order_remark"}],"deliveryOrderImg":null,"payableStatus":30140,"receivableStatus":null,"showStatus":1,"supplierId":null,"supplierName":null,"reviewStatus":null,"customerEnterpriseName":"autotest_printing_packaging_factory_name","shouldRepayDate":null}],"total":1,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:21.785" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.718" endtime="20211126 10:28:21.785"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.786" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'orderId': '661555971998486528', 'deliveryProvinceName': '广东省', 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'productSkuDesc': None, 'totalOfferPrice': 29240.5, 'realPayPrice': 29240.5, 'status': 30100, 'deliveryStatus': 30106, 'remark': None, 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'otherFee': None, 'createTime': '2021-11-26 10:28:20', 'paymentMethod': 2, 'orderSalesContractImgUrl': None, 'orderSalesContractIsFinished': None, 'orderItemList': [{'id': '661555972132704256', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1441', 'unitPrice': 5000.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 14673.5, 'remark': 'autotest_supplier_order_remark'}, {'id': '661555972191424512', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitPrice': 5000.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 14567.0, 'remark': 'autotest_supplier_order_remark'}], 'deliveryOrderImg': None, 'payableStatus': 30140, 'receivableStatus': None, 'showStatus': 1, 'supplierId': None, 'supplierName': None, 'reviewStatus': None, 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'shouldRepayDate': None}], 'total': 1, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:21.785" endtime="20211126 10:28:21.786"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.787" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.786" endtime="20211126 10:28:21.787"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:21.787" endtime="20211126 10:28:21.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>${response.json()["data"]["records"][0]}</arg>
<arg>orderId</arg>
</arguments>
<assign>
<var>${supplier_order_id}</var>
</assign>
<msg timestamp="20211126 10:28:21.788" level="INFO">${supplier_order_id} = 661555971998486528</msg>
<status status="PASS" starttime="20211126 10:28:21.788" endtime="20211126 10:28:21.788"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_order_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.789" level="INFO">${supplier_order_id} = 661555971998486528</msg>
<status status="PASS" starttime="20211126 10:28:21.788" endtime="20211126 10:28:21.789"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:21.716" endtime="20211126 10:28:21.789" critical="yes"></status>
</test>
<test id="s1-s18-s1-t10" name="supplier_get_order_detail2">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.790" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:21.790" endtime="20211126 10:28:21.790"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/wechatapplet/get/supplier-order-detail/${supplier_order_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:21.868" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-detail/661555971998486528
path_url=/trading-center/wechatapplet/get/supplier-order-detail/661555971998486528
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}
body=None
</msg>
<msg timestamp="20211126 10:28:21.869" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/wechatapplet/get/supplier-order-detail/661555971998486528
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:21 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":{"id":"661555971998486528","showStatus":1,"status":1,"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","receiver":"autotest_receiver","receiverMobile":"13800138000","paymentMethod":2,"supplierPrice":{"supplierId":"661555773826011136","supplierName":"autotest_printing_packaging_factory_name","otherExpenses":0.000000,"totalPrice":29240.50,"supplierPricePaperProducts":[{"id":"661555972132704256","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9347,"pieceQuantity":5500.00,"productSkuId":"1441","unitFee":5000.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1000","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1000","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1000","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":14673.50,"remark":"autotest_supplier_order_remark","weight":2.9347,"deliveryStatus":30106},{"id":"661555972191424512","productId":"661555903803297792","productName":"aotutest_paper_name","quantity":2.9134,"pieceQuantity":5000.00,"productSkuId":"1441","unitFee":5000.0000,"attributesJSONArray":[{"arriVal":"678","arriName":"克重"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"特规分切","arriName":"规格"},{"arriVal":"787*1092","arriName":"尺寸"},{"arriVal":"787","arriName":"宽"},{"arriVal":"1092","arriName":"长"}],"productImg":null,"gramWeight":"678","width":"787","length":"1092","cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"productImgList":[{"isDelete":false,"createTime":"2021-11-26T10:28:04","updateTime":"2021-11-26T10:28:04","id":1932,"productId":661555903803297792,"type":{"value":1,"desc":"图片"},"purpose":{"value":2,"desc":"配图"},"url":null,"creatorId":592453852213678080,"editorId":592453852213678080}],"totalPrice":14567.00,"remark":"autotest_supplier_order_remark","weight":2.9134,"deliveryStatus":30106}],"score":null,"createTime":"2021-11-26 10:28:20"},"receivableStatus":null,"deliveryStatus":30106,"reviewStatus":null,"orderStatus":30100,"payableStatus":30140,"deliveryImgList":null,"isFinishedDeliveryImg":null,"createTime":"2021-11-26 10:28:20","orderSalesContractNo":"QNP202111260002","orderSalesContractImgUrl":null}}
</msg>
<msg timestamp="20211126 10:28:21.869" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.790" endtime="20211126 10:28:21.869"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.870" level="INFO">{'code': 0, 'message': 'successful', 'data': {'id': '661555971998486528', 'showStatus': 1, 'status': 1, 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'paymentMethod': 2, 'supplierPrice': {'supplierId': '661555773826011136', 'supplierName': 'autotest_printing_packaging_factory_name', 'otherExpenses': 0.0, 'totalPrice': 29240.5, 'supplierPricePaperProducts': [{'id': '661555972132704256', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'productSkuId': '1441', 'unitFee': 5000.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1000', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1000', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1000', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 14673.5, 'remark': 'autotest_supplier_order_remark', 'weight': 2.9347, 'deliveryStatus': 30106}, {'id': '661555972191424512', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'productSkuId': '1441', 'unitFee': 5000.0, 'attributesJSONArray': [{'arriVal': '678', 'arriName': '克重'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '特规分切', 'arriName': '规格'}, {'arriVal': '787*1092', 'arriName': '尺寸'}, {'arriVal': '787', 'arriName': '宽'}, {'arriVal': '1092', 'arriName': '长'}], 'productImg': None, 'gramWeight': '678', 'width': '787', 'length': '1092', 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'productImgList': [{'isDelete': False, 'createTime': '2021-11-26T10:28:04', 'updateTime': '2021-11-26T10:28:04', 'id': 1932, 'productId': 661555903803297792, 'type': {'value': 1, 'desc': '图片'}, 'purpose': {'value': 2, 'desc': '配图'}, 'url': None, 'creatorId': 592453852213678080, 'editorId': 592453852213678080}], 'totalPrice': 14567.0, 'remark': 'autotest_supplier_order_remark', 'weight': 2.9134, 'deliveryStatus': 30106}], 'score': None, 'createTime': '2021-11-26 10:28:20'}, 'receivableStatus': None, 'deliveryStatus': 30106, 'reviewStatus': None, 'orderStatus': 30100, 'payableStatus': 30140, 'deliveryImgList': None, 'isFinishedDeliveryImg': None, 'createTime': '2021-11-26 10:28:20', 'orderSalesContractNo': 'QNP202111260002', 'orderSalesContractImgUrl': None}}</msg>
<status status="PASS" starttime="20211126 10:28:21.869" endtime="20211126 10:28:21.870"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.871" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.870" endtime="20211126 10:28:21.871"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:21.871" endtime="20211126 10:28:21.871"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>1</arg>
<arg>${response.json()["data"]["showStatus"]}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.872" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.871" endtime="20211126 10:28:21.872"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["supplierPrice"]}</arg>
<arg>totalPrice</arg>
</arguments>
<assign>
<var>${supplier_order_totalPrice}</var>
</assign>
<msg timestamp="20211126 10:28:21.873" level="INFO">${supplier_order_totalPrice} = 29240.5</msg>
<status status="PASS" starttime="20211126 10:28:21.872" endtime="20211126 10:28:21.873"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${supplier_order_totalPrice}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.873" level="INFO">${supplier_order_totalPrice} = 29240.5</msg>
<status status="PASS" starttime="20211126 10:28:21.873" endtime="20211126 10:28:21.873"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:21.789" endtime="20211126 10:28:21.873" critical="yes"></status>
</test>
<test id="s1-s18-s1-t11" name="supplier_confirm_order">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierheader}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.874" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:21.874" endtime="20211126 10:28:21.875"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"orderId":"${supplier_order_id}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:21.875" level="INFO">${body} = {"orderId":"661555971998486528"}</msg>
<status status="PASS" starttime="20211126 10:28:21.875" endtime="20211126 10:28:21.875"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/seller/confirm/supplier-order-and-sign</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:21.952" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-and-sign
path_url=/trading-center/seller/confirm/supplier-order-and-sign
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tu9vYIiwR4ADQpEOghJu6SCAKu2M/9yjTb/zny5k3D+dWoTzXkDkMPLugDHkLa8tkg==', 'Content-Length': '32'}
body=b'{"orderId":"661555971998486528"}'
</msg>
<msg timestamp="20211126 10:28:21.952" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-and-sign
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:21 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":null}
</msg>
<msg timestamp="20211126 10:28:21.953" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.875" endtime="20211126 10:28:21.953"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.953" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:21.953" endtime="20211126 10:28:21.953"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:21.954" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:21.954" endtime="20211126 10:28:21.954"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:21.954" endtime="20211126 10:28:21.955"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:22.955" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:21.955" endtime="20211126 10:28:22.956"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:21.874" endtime="20211126 10:28:22.956" critical="yes"></status>
</test>
<test id="s1-s18-s1-t12" name="supplierfocus_get_order_detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:22.957" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:22.957" endtime="20211126 10:28:22.958"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/seller/get/customer-order-detail/${customer_enquiry_create_order_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:23.068" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/get/customer-order-detail/661555948627824640
path_url=/trading-center/seller/get/customer-order-detail/661555948627824640
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}
body=None
</msg>
<msg timestamp="20211126 10:28:23.068" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/get/customer-order-detail/661555948627824640
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"customerOrder":{"id":"661555948627824640","contractNo":"QNS202111260004","creatorName":"autotest_name_customer","creatorMobile":"13012345678","createTime":"2021-11-26 10:28:15","orderSalesContractImgUrl":null,"totalOfferPrice":1191.08,"realPayPrice":1191.08,"status":{"value":30101,"desc":"已下单"},"remark":null,"contractType":1,"customerEnterpriseId":"661555773826011136","customerEnterpriseName":"autotest_printing_packaging_factory_name","receiver":"autotest_receiver","receiverMobile":"13800138000","deliveryAddress":"广东省广州市天河区车陂街道autotest_customer_enterprise_shipping_address_detail","paymentMethod":2,"receivableStatus":30150,"orderItemList":[{"id":"661555948694933504","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"661555903803297792","productName":"aotutest_paper_name","gramWeight":678,"length":1000,"width":787,"quantity":2.9347000,"pieceQuantity":5500.00,"salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":203.6700,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":597.71,"remark":"autotest_remark1","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1000\"}]","isCreated":1,"productSkuId":"1441","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106},{"id":"661555948757848064","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"661555903803297792","productName":"aotutest_paper_name","gramWeight":678,"length":1092,"width":787,"quantity":2.9134000,"pieceQuantity":5000.00,"salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":203.6700,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":593.37,"remark":"autotest_remark2","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1092\"}]","isCreated":1,"productSkuId":"1441","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106}],"deliveryProvinceId":440000,"deliveryProvinceName":"广东省","deliveryCityId":440100,"deliveryCityName":"广州市","deliveryDistrictId":440106,"deliveryDistrictName":"天河区","deliveryStreetId":440106003,"deliveryStreetName":"车陂街道","deliveryDetails":"autotest_customer_enterprise_shipping_address_detail","deliveryId":"661555917527060480","feisuanLoanStatus":null},"supplierOrderList":[{"id":"661555971998486528","contractNo":"QNP202111260002","creatorName":"测试","creatorMobile":"13500003333","createTime":"2021-11-26 10:28:20","orderSalesContractImgUrl":null,"totalOfferPrice":29240.50,"realPayPrice":29240.50,"status":{"value":30101,"desc":"已下单"},"remark":null,"contractType":1,"supplierEnterpriseId":"661555817715208192","supplierEnterpriseName":"autotest_supplier_paper_name","deliveryTarget":null,"deliveryImgUrl":[],"deliveryStatus":30106,"payableStatus":{"value":30140,"desc":"待付款"},"orderItemList":[{"id":"661555972132704256","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"661555903803297792","productName":"aotutest_paper_name","gramWeight":678,"length":1000,"width":787,"quantity":2.9347000,"pieceQuantity":5500.00,"salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":5000.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":14673.50,"remark":"autotest_supplier_order_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1000\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1000\"}]","isCreated":0,"productSkuId":"1441","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106},{"id":"661555972191424512","categoryId":"638458876659896320","categoryName":"autotest_category","brandName":"aotutest_paper_brand_name","productId":"661555903803297792","productName":"aotutest_paper_name","gramWeight":678,"length":1092,"width":787,"quantity":2.9134000,"pieceQuantity":5000.00,"salesEnterpriseId":"661555817715208192","salesEnterpriseName":"autotest_supplier_paper_name","unitPrice":5000.0000,"cuttingFee":null,"bootFee":null,"freightFee":null,"serviceFee":null,"offerPrice":14567.00,"remark":"autotest_supplier_order_remark","attributesArr":"[{\"arriName\":\"克重\",\"arriVal\":\"678\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"规格\",\"arriVal\":\"特规分切\"},{\"arriName\":\"尺寸\",\"arriVal\":\"787*1092\"},{\"arriName\":\"宽\",\"arriVal\":\"787\"},{\"arriName\":\"长\",\"arriVal\":\"1092\"}]","isCreated":0,"productSkuId":"1441","purchasePrice":6789.0000,"otherFee":0.000000,"rating":null,"review":null,"reviewerUserId":null,"reviewerRealName":null,"reviewerMobile":null,"orderDeliveryAddressDto":null,"deliveryStatus":30106}]}]}}
</msg>
<msg timestamp="20211126 10:28:23.069" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:22.958" endtime="20211126 10:28:23.069"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:23.070" level="INFO">{'code': 0, 'message': 'successful', 'data': {'customerOrder': {'id': '661555948627824640', 'contractNo': 'QNS202111260004', 'creatorName': 'autotest_name_customer', 'creatorMobile': '13012345678', 'createTime': '2021-11-26 10:28:15', 'orderSalesContractImgUrl': None, 'totalOfferPrice': 1191.08, 'realPayPrice': 1191.08, 'status': {'value': 30101, 'desc': '已下单'}, 'remark': None, 'contractType': 1, 'customerEnterpriseId': '661555773826011136', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'receiver': 'autotest_receiver', 'receiverMobile': '13800138000', 'deliveryAddress': '广东省广州市天河区车陂街道autotest_customer_enterprise_shipping_address_detail', 'paymentMethod': 2, 'receivableStatus': 30150, 'orderItemList': [{'id': '661555948694933504', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 203.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 597.71, 'remark': 'autotest_remark1', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1000"}]', 'isCreated': 1, 'productSkuId': '1441', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}, {'id': '661555948757848064', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 203.67, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 593.37, 'remark': 'autotest_remark2', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1092"}]', 'isCreated': 1, 'productSkuId': '1441', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}], 'deliveryProvinceId': 440000, 'deliveryProvinceName': '广东省', 'deliveryCityId': 440100, 'deliveryCityName': '广州市', 'deliveryDistrictId': 440106, 'deliveryDistrictName': '天河区', 'deliveryStreetId': 440106003, 'deliveryStreetName': '车陂街道', 'deliveryDetails': 'autotest_customer_enterprise_shipping_address_detail', 'deliveryId': '661555917527060480', 'feisuanLoanStatus': None}, 'supplierOrderList': [{'id': '661555971998486528', 'contractNo': 'QNP202111260002', 'creatorName': '测试', 'creatorMobile': '13500003333', 'createTime': '2021-11-26 10:28:20', 'orderSalesContractImgUrl': None, 'totalOfferPrice': 29240.5, 'realPayPrice': 29240.5, 'status': {'value': 30101, 'desc': '已下单'}, 'remark': None, 'contractType': 1, 'supplierEnterpriseId': '661555817715208192', 'supplierEnterpriseName': 'autotest_supplier_paper_name', 'deliveryTarget': None, 'deliveryImgUrl': [], 'deliveryStatus': 30106, 'payableStatus': {'value': 30140, 'desc': '待付款'}, 'orderItemList': [{'id': '661555972132704256', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1000, 'width': 787, 'quantity': 2.9347, 'pieceQuantity': 5500.0, 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 5000.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 14673.5, 'remark': 'autotest_supplier_order_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1000"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1000"}]', 'isCreated': 0, 'productSkuId': '1441', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}, {'id': '661555972191424512', 'categoryId': '638458876659896320', 'categoryName': 'autotest_category', 'brandName': 'aotutest_paper_brand_name', 'productId': '661555903803297792', 'productName': 'aotutest_paper_name', 'gramWeight': 678, 'length': 1092, 'width': 787, 'quantity': 2.9134, 'pieceQuantity': 5000.0, 'salesEnterpriseId': '661555817715208192', 'salesEnterpriseName': 'autotest_supplier_paper_name', 'unitPrice': 5000.0, 'cuttingFee': None, 'bootFee': None, 'freightFee': None, 'serviceFee': None, 'offerPrice': 14567.0, 'remark': 'autotest_supplier_order_remark', 'attributesArr': '[{"arriName":"克重","arriVal":"678"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"规格","arriVal":"特规分切"},{"arriName":"尺寸","arriVal":"787*1092"},{"arriName":"宽","arriVal":"787"},{"arriName":"长","arriVal":"1092"}]', 'isCreated': 0, 'productSkuId': '1441', 'purchasePrice': 6789.0, 'otherFee': 0.0, 'rating': None, 'review': None, 'reviewerUserId': None, 'reviewerRealName': None, 'reviewerMobile': None, 'orderDeliveryAddressDto': None, 'deliveryStatus': 30106}]}]}}</msg>
<status status="PASS" starttime="20211126 10:28:23.069" endtime="20211126 10:28:23.070"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:23.071" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:23.070" endtime="20211126 10:28:23.071"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:23.071" endtime="20211126 10:28:23.072"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:22.956" endtime="20211126 10:28:23.072" critical="yes"></status>
</test>
<test id="s1-s18-s1-t13" name="supplierfocus_confirm_supplier_order_shipping">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:23.073" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:23.073" endtime="20211126 10:28:23.074"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"orderId":"${supplier_order_id}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:23.074" level="INFO">${body} = {"orderId":"661555971998486528"}</msg>
<status status="PASS" starttime="20211126 10:28:23.074" endtime="20211126 10:28:23.074"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/seller/confirm/supplier-order-shipping</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:23.324" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-shipping
path_url=/trading-center/seller/confirm/supplier-order-shipping
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '32'}
body=b'{"orderId":"661555971998486528"}'
</msg>
<msg timestamp="20211126 10:28:23.324" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-shipping
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:23 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:28:23.324" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:23.074" endtime="20211126 10:28:23.324"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:23.325" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:23.324" endtime="20211126 10:28:23.325"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:23.326" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:23.325" endtime="20211126 10:28:23.326"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:23.326" endtime="20211126 10:28:23.326"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:24.327" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:23.326" endtime="20211126 10:28:24.327"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:23.072" endtime="20211126 10:28:24.327" critical="yes"></status>
</test>
<test id="s1-s18-s1-t14" name="supplierfocus_confirm_supplier_order_receipt">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:24.329" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:24.328" endtime="20211126 10:28:24.329"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"orderId":"${supplier_order_id}"}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:24.330" level="INFO">${body} = {"orderId":"661555971998486528"}</msg>
<status status="PASS" starttime="20211126 10:28:24.329" endtime="20211126 10:28:24.330"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/seller/confirm/supplier-order-receipt</arg>
<arg>${body.encode("utf-8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:24.583" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-receipt
path_url=/trading-center/seller/confirm/supplier-order-receipt
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '32'}
body=b'{"orderId":"661555971998486528"}'
</msg>
<msg timestamp="20211126 10:28:24.583" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/seller/confirm/supplier-order-receipt
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:24 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":null}
</msg>
<msg timestamp="20211126 10:28:24.583" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:24.330" endtime="20211126 10:28:24.583"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:24.584" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:24.583" endtime="20211126 10:28:24.584"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:24.585" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:24.584" endtime="20211126 10:28:24.585"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:24.585" endtime="20211126 10:28:24.585"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:25.586" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:24.585" endtime="20211126 10:28:25.586"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:24.328" endtime="20211126 10:28:25.586" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:15.194" endtime="20211126 10:28:25.588"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:15.191" endtime="20211126 10:28:25.592"></status>
</suite>
<suite id="s1-s19" name="018 Payable And Receivable" source="/root/yyt-trading-rf-api/018_payable_and_receivable">
<suite id="s1-s19-s1" name="Customer Bill" source="/root/yyt-trading-rf-api/018_payable_and_receivable/customer_bill.robot">
<test id="s1-s19-s1-t1" name="operate_get_customer_bill_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.605" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:25.604" endtime="20211126 10:28:25.605"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/bill-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:25.670" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list
path_url=/trading-center/admin/get/bill-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:25.670" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":[{"customerEnterpriseId":"661179622918066176","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:33:37","status":2},{"customerEnterpriseId":"661182096668233728","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:43:30","status":2},{"customerEnterpriseId":"661183527559237632","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:49:04","status":2},{"customerEnterpriseId":"661303136371216384","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 17:44:27","status":2},{"customerEnterpriseId":"661543057577086976","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:37:44","status":2},{"customerEnterpriseId":"511889039549403136","customerEnterpriseName":"广州千鸟电商科技有限公司","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":0.25,"receivedAmount":5.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 15:55:54","status":2},{"customerEnterpriseId":"658362652875165696","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":0,"totalRealPayPrice":28743.70,"receivedAmount":0.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 14:59:53","status":0},{"customerEnterpriseId":"658405132517642240","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":0,"totalRealPayPrice":28743.70,"receivedAmount":0.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 17:48:49","status":0},{"customerEnterpriseId":"658636498295459840","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":0,"totalRealPayPrice":28743.70,"receivedAmount":0.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:08:12","status":0},{"customerEnterpriseId":"658637535102242816","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":28743.70,"receivedAmount":28743.70,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:12:16","status":2}],"total":80,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:25.670" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.605" endtime="20211126 10:28:25.670"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.671" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'customerEnterpriseId': '661179622918066176', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:33:37', 'status': 2}, {'customerEnterpriseId': '661182096668233728', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:43:30', 'status': 2}, {'customerEnterpriseId': '661183527559237632', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:49:04', 'status': 2}, {'customerEnterpriseId': '661303136371216384', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 17:44:27', 'status': 2}, {'customerEnterpriseId': '661543057577086976', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:37:44', 'status': 2}, {'customerEnterpriseId': '511889039549403136', 'customerEnterpriseName': '广州千鸟电商科技有限公司', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 0.25, 'receivedAmount': 5.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 15:55:54', 'status': 2}, {'customerEnterpriseId': '658362652875165696', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 0, 'totalRealPayPrice': 28743.7, 'receivedAmount': 0.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 14:59:53', 'status': 0}, {'customerEnterpriseId': '658405132517642240', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 0, 'totalRealPayPrice': 28743.7, 'receivedAmount': 0.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 17:48:49', 'status': 0}, {'customerEnterpriseId': '658636498295459840', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 0, 'totalRealPayPrice': 28743.7, 'receivedAmount': 0.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:08:12', 'status': 0}, {'customerEnterpriseId': '658637535102242816', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 28743.7, 'receivedAmount': 28743.7, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:12:16', 'status': 2}], 'total': 80, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:25.670" endtime="20211126 10:28:25.671"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.672" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.671" endtime="20211126 10:28:25.672"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:25.672" endtime="20211126 10:28:25.672"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:25.604" endtime="20211126 10:28:25.673" critical="yes"></status>
</test>
<test id="s1-s19-s1-t2" name="operate_get_customer_bill_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.674" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:25.673" endtime="20211126 10:28:25.712"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>customerEnterpriseName=${printing_packaging_factory_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:25.713" level="INFO">${param} = customerEnterpriseName=autotest_printing_packaging_factory_name</msg>
<status status="PASS" starttime="20211126 10:28:25.712" endtime="20211126 10:28:25.713"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/bill-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:25.770" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list?customerEnterpriseName=autotest_printing_packaging_factory_name
path_url=/trading-center/admin/get/bill-list?customerEnterpriseName=autotest_printing_packaging_factory_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:25.770" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-list?customerEnterpriseName=autotest_printing_packaging_factory_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":[{"customerEnterpriseId":"661179622918066176","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:33:37","status":2},{"customerEnterpriseId":"661182096668233728","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:43:30","status":2},{"customerEnterpriseId":"661183527559237632","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:49:04","status":2},{"customerEnterpriseId":"661303136371216384","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 17:44:27","status":2},{"customerEnterpriseId":"661543057577086976","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":1191.08,"receivedAmount":1191.08,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:37:44","status":2},{"customerEnterpriseId":"658362652875165696","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":0,"totalRealPayPrice":28743.70,"receivedAmount":0.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 14:59:53","status":0},{"customerEnterpriseId":"658405132517642240","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":0,"totalRealPayPrice":28743.70,"receivedAmount":0.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 17:48:49","status":0},{"customerEnterpriseId":"658636498295459840","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":0,"totalRealPayPrice":28743.70,"receivedAmount":0.00,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:08:12","status":0},{"customerEnterpriseId":"658637535102242816","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":28743.70,"receivedAmount":28743.70,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 09:12:16","status":2},{"customerEnterpriseId":"658659383990947840","customerEnterpriseName":"autotest_printing_packaging_factory_name","month":"2021-11","orderNum":1,"receivedOrderNum":1,"totalRealPayPrice":28743.70,"receivedAmount":28743.70,"createTime":"2021-12-01 00:00:00","receiveDeadline":"2021-12-31 10:39:01","status":2}],"total":43,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:25.770" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.713" endtime="20211126 10:28:25.770"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.771" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'customerEnterpriseId': '661179622918066176', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:33:37', 'status': 2}, {'customerEnterpriseId': '661182096668233728', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:43:30', 'status': 2}, {'customerEnterpriseId': '661183527559237632', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:49:04', 'status': 2}, {'customerEnterpriseId': '661303136371216384', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 17:44:27', 'status': 2}, {'customerEnterpriseId': '661543057577086976', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 1191.08, 'receivedAmount': 1191.08, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:37:44', 'status': 2}, {'customerEnterpriseId': '658362652875165696', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 0, 'totalRealPayPrice': 28743.7, 'receivedAmount': 0.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 14:59:53', 'status': 0}, {'customerEnterpriseId': '658405132517642240', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 0, 'totalRealPayPrice': 28743.7, 'receivedAmount': 0.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 17:48:49', 'status': 0}, {'customerEnterpriseId': '658636498295459840', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 0, 'totalRealPayPrice': 28743.7, 'receivedAmount': 0.0, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:08:12', 'status': 0}, {'customerEnterpriseId': '658637535102242816', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 28743.7, 'receivedAmount': 28743.7, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 09:12:16', 'status': 2}, {'customerEnterpriseId': '658659383990947840', 'customerEnterpriseName': 'autotest_printing_packaging_factory_name', 'month': '2021-11', 'orderNum': 1, 'receivedOrderNum': 1, 'totalRealPayPrice': 28743.7, 'receivedAmount': 28743.7, 'createTime': '2021-12-01 00:00:00', 'receiveDeadline': '2021-12-31 10:39:01', 'status': 2}], 'total': 43, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:25.770" endtime="20211126 10:28:25.771"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.772" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.771" endtime="20211126 10:28:25.772"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:25.772" endtime="20211126 10:28:25.772"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:25.673" endtime="20211126 10:28:25.773" critical="yes"></status>
</test>
<test id="s1-s19-s1-t3" name="operate_get_customer_detail">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.774" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:25.773" endtime="20211126 10:28:25.774"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>customerEnterpriseId=${printing_packaging_factory_id}&amp;month=${current_date_month}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:25.775" level="INFO">${param} = customerEnterpriseId=661555773826011136&amp;month=2021-11</msg>
<status status="PASS" starttime="20211126 10:28:25.774" endtime="20211126 10:28:25.775"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/bill-detail</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:25.847" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-detail?customerEnterpriseId=661555773826011136&amp;month=2021-11
path_url=/trading-center/admin/get/bill-detail?customerEnterpriseId=661555773826011136&amp;month=2021-11
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:25.847" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/bill-detail?customerEnterpriseId=661555773826011136&amp;month=2021-11
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY'}
body={"code":0,"message":"successful","data":[{"order":{"id":"661555948627824640","receivedTime":"2021-11-26 10:28:25","createTime":"2021-11-26 10:28:15","contractNo":"QNS202111260004","itemNum":2,"realPayPrice":1191.08,"receiveDeadline":"2021-12-31","receivableStatus":30150,"receivableId":"661555949235998720","paymentMethod":2},"orderItemList":[{"id":"661555948694933504","productName":"aotutest_paper_name","size":"787*1000","weight":678,"pieceQuantity":5500.00,"quantity":2.9347,"offerPrice":597.7100},{"id":"661555948757848064","productName":"aotutest_paper_name","size":"787*1092","weight":678,"pieceQuantity":5000.00,"quantity":2.9134,"offerPrice":593.3700}]},{"order":{"id":"661555919179616256","receivedTime":null,"createTime":"2021-11-26 10:28:08","contractNo":"QNS202111260003","itemNum":1,"realPayPrice":20372.44,"receiveDeadline":"2021-12-31","receivableStatus":30150,"receivableId":"661555919708098560","paymentMethod":2},"orderItemList":[{"id":"661555919234142208","productName":"aotutest_paper_name","size":"787*1092","weight":678,"pieceQuantity":5000.00,"quantity":2.9134,"offerPrice":20372.4400}]}]}
</msg>
<msg timestamp="20211126 10:28:25.847" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.775" endtime="20211126 10:28:25.847"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.848" level="INFO">{'code': 0, 'message': 'successful', 'data': [{'order': {'id': '661555948627824640', 'receivedTime': '2021-11-26 10:28:25', 'createTime': '2021-11-26 10:28:15', 'contractNo': 'QNS202111260004', 'itemNum': 2, 'realPayPrice': 1191.08, 'receiveDeadline': '2021-12-31', 'receivableStatus': 30150, 'receivableId': '661555949235998720', 'paymentMethod': 2}, 'orderItemList': [{'id': '661555948694933504', 'productName': 'aotutest_paper_name', 'size': '787*1000', 'weight': 678, 'pieceQuantity': 5500.0, 'quantity': 2.9347, 'offerPrice': 597.71}, {'id': '661555948757848064', 'productName': 'aotutest_paper_name', 'size': '787*1092', 'weight': 678, 'pieceQuantity': 5000.0, 'quantity': 2.9134, 'offerPrice': 593.37}]}, {'order': {'id': '661555919179616256', 'receivedTime': None, 'createTime': '2021-11-26 10:28:08', 'contractNo': 'QNS202111260003', 'itemNum': 1, 'realPayPrice': 20372.44, 'receiveDeadline': '2021-12-31', 'receivableStatus': 30150, 'receivableId': '661555919708098560', 'paymentMethod': 2}, 'orderItemList': [{'id': '661555919234142208', 'productName': 'aotutest_paper_name', 'size': '787*1092', 'weight': 678, 'pieceQuantity': 5000.0, 'quantity': 2.9134, 'offerPrice': 20372.44}]}]}</msg>
<status status="PASS" starttime="20211126 10:28:25.847" endtime="20211126 10:28:25.848"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.849" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.848" endtime="20211126 10:28:25.849"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:25.849" endtime="20211126 10:28:25.849"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:25.773" endtime="20211126 10:28:25.850" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:25.600" endtime="20211126 10:28:25.850"></status>
</suite>
<suite id="s1-s19-s2" name="Payable" source="/root/yyt-trading-rf-api/018_payable_and_receivable/payable.robot">
<test id="s1-s19-s2-t1" name="operate_get_payable_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.856" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:25.856" endtime="20211126 10:28:25.857"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/payable-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:25.910" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list
path_url=/trading-center/admin/get/payable-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:25.910" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555972560523264","tradeOrderId":"661555971998486528","enterpriseId":"661555823029391360","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":null,"fundProvider":null,"status":30140,"tradeOrderCreateTime":"2021-11-26 10:28:20","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null},{"id":"661543260237467648","tradeOrderId":"661543259717373952","enterpriseId":"661543108525297664","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-26 09:37:50","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-26 09:37:55","remark":"autotest_remark"},{"id":"661308844655382528","tradeOrderId":"661308844194009088","enterpriseId":"661308674496663552","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 18:06:21","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 18:06:27","remark":"autotest_remark"},{"id":"661307352401711104","tradeOrderId":"661307351906783232","enterpriseId":"661307181899059200","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":null,"fundProvider":null,"status":30140,"tradeOrderCreateTime":"2021-11-25 18:00:25","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null},{"id":"661303360686788608","tradeOrderId":"661303360221220864","enterpriseId":"661303188921651200","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 17:44:33","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 17:44:40","remark":"autotest_remark"},{"id":"661189729647202304","tradeOrderId":"661189729064194048","enterpriseId":"661189579491119104","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 10:13:01","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 10:13:07","remark":"autotest_remark"},{"id":"661183725803016192","tradeOrderId":"661183725291311104","enterpriseId":"661183575961505792","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:49:10","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:49:16","remark":"autotest_remark"},{"id":"661182887118376960","tradeOrderId":"661182886547951616","enterpriseId":"661182714468241408","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:45:50","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:45:57","remark":"autotest_remark"},{"id":"661182324427329536","tradeOrderId":"661182323953373184","enterpriseId":"661182149025730560","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:43:36","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:43:43","remark":"autotest_remark"},{"id":"661181411167965184","tradeOrderId":"661181410698203136","enterpriseId":"661181241890050048","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:39:58","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:40:06","remark":"autotest_remark"}],"total":472,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:25.911" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.857" endtime="20211126 10:28:25.911"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.912" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555972560523264', 'tradeOrderId': '661555971998486528', 'enterpriseId': '661555823029391360', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': None, 'fundProvider': None, 'status': 30140, 'tradeOrderCreateTime': '2021-11-26 10:28:20', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None}, {'id': '661543260237467648', 'tradeOrderId': '661543259717373952', 'enterpriseId': '661543108525297664', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-26 09:37:50', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-26 09:37:55', 'remark': 'autotest_remark'}, {'id': '661308844655382528', 'tradeOrderId': '661308844194009088', 'enterpriseId': '661308674496663552', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 18:06:21', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 18:06:27', 'remark': 'autotest_remark'}, {'id': '661307352401711104', 'tradeOrderId': '661307351906783232', 'enterpriseId': '661307181899059200', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': None, 'fundProvider': None, 'status': 30140, 'tradeOrderCreateTime': '2021-11-25 18:00:25', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None}, {'id': '661303360686788608', 'tradeOrderId': '661303360221220864', 'enterpriseId': '661303188921651200', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 17:44:33', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 17:44:40', 'remark': 'autotest_remark'}, {'id': '661189729647202304', 'tradeOrderId': '661189729064194048', 'enterpriseId': '661189579491119104', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 10:13:01', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 10:13:07', 'remark': 'autotest_remark'}, {'id': '661183725803016192', 'tradeOrderId': '661183725291311104', 'enterpriseId': '661183575961505792', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:49:10', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:49:16', 'remark': 'autotest_remark'}, {'id': '661182887118376960', 'tradeOrderId': '661182886547951616', 'enterpriseId': '661182714468241408', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:45:50', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:45:57', 'remark': 'autotest_remark'}, {'id': '661182324427329536', 'tradeOrderId': '661182323953373184', 'enterpriseId': '661182149025730560', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:43:36', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:43:43', 'remark': 'autotest_remark'}, {'id': '661181411167965184', 'tradeOrderId': '661181410698203136', 'enterpriseId': '661181241890050048', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:39:58', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:40:06', 'remark': 'autotest_remark'}], 'total': 472, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:25.911" endtime="20211126 10:28:25.912"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.913" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.912" endtime="20211126 10:28:25.913"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:25.913" endtime="20211126 10:28:25.913"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:25.856" endtime="20211126 10:28:25.914" critical="yes"></status>
</test>
<test id="s1-s19-s2-t2" name="operate_get_payable_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.915" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:25.915" endtime="20211126 10:28:25.915"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enterpriseName=${supplier_paper_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:25.916" level="INFO">${param} = enterpriseName=autotest_supplier_paper_name</msg>
<status status="PASS" starttime="20211126 10:28:25.915" endtime="20211126 10:28:25.916"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/payable-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:25.972" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list?enterpriseName=autotest_supplier_paper_name
path_url=/trading-center/admin/get/payable-list?enterpriseName=autotest_supplier_paper_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:25.972" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/payable-list?enterpriseName=autotest_supplier_paper_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:25 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555972560523264","tradeOrderId":"661555971998486528","enterpriseId":"661555823029391360","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":null,"fundProvider":null,"status":30140,"tradeOrderCreateTime":"2021-11-26 10:28:20","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null},{"id":"661543260237467648","tradeOrderId":"661543259717373952","enterpriseId":"661543108525297664","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-26 09:37:50","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-26 09:37:55","remark":"autotest_remark"},{"id":"661308844655382528","tradeOrderId":"661308844194009088","enterpriseId":"661308674496663552","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 18:06:21","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 18:06:27","remark":"autotest_remark"},{"id":"661307352401711104","tradeOrderId":"661307351906783232","enterpriseId":"661307181899059200","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":null,"fundProvider":null,"status":30140,"tradeOrderCreateTime":"2021-11-25 18:00:25","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null},{"id":"661303360686788608","tradeOrderId":"661303360221220864","enterpriseId":"661303188921651200","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 17:44:33","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 17:44:40","remark":"autotest_remark"},{"id":"661189729647202304","tradeOrderId":"661189729064194048","enterpriseId":"661189579491119104","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 10:13:01","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 10:13:07","remark":"autotest_remark"},{"id":"661183725803016192","tradeOrderId":"661183725291311104","enterpriseId":"661183575961505792","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:49:10","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:49:16","remark":"autotest_remark"},{"id":"661182887118376960","tradeOrderId":"661182886547951616","enterpriseId":"661182714468241408","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:45:50","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:45:57","remark":"autotest_remark"},{"id":"661182324427329536","tradeOrderId":"661182323953373184","enterpriseId":"661182149025730560","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:43:36","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:43:43","remark":"autotest_remark"},{"id":"661181411167965184","tradeOrderId":"661181410698203136","enterpriseId":"661181241890050048","enterpriseName":"autotest_supplier_paper_name","enterprisePrimaryName":"autotest_name_supplier","enterpriseContactsMobile":"13123456789","orderAmount":29240.50,"amount":29240.50,"realAmount":29240.50,"fundProvider":1,"status":30141,"tradeOrderCreateTime":"2021-11-25 09:39:58","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 09:40:06","remark":"autotest_remark"}],"total":60,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:25.973" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.916" endtime="20211126 10:28:25.973"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.974" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555972560523264', 'tradeOrderId': '661555971998486528', 'enterpriseId': '661555823029391360', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': None, 'fundProvider': None, 'status': 30140, 'tradeOrderCreateTime': '2021-11-26 10:28:20', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None}, {'id': '661543260237467648', 'tradeOrderId': '661543259717373952', 'enterpriseId': '661543108525297664', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-26 09:37:50', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-26 09:37:55', 'remark': 'autotest_remark'}, {'id': '661308844655382528', 'tradeOrderId': '661308844194009088', 'enterpriseId': '661308674496663552', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 18:06:21', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 18:06:27', 'remark': 'autotest_remark'}, {'id': '661307352401711104', 'tradeOrderId': '661307351906783232', 'enterpriseId': '661307181899059200', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': None, 'fundProvider': None, 'status': 30140, 'tradeOrderCreateTime': '2021-11-25 18:00:25', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None}, {'id': '661303360686788608', 'tradeOrderId': '661303360221220864', 'enterpriseId': '661303188921651200', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 17:44:33', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 17:44:40', 'remark': 'autotest_remark'}, {'id': '661189729647202304', 'tradeOrderId': '661189729064194048', 'enterpriseId': '661189579491119104', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 10:13:01', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 10:13:07', 'remark': 'autotest_remark'}, {'id': '661183725803016192', 'tradeOrderId': '661183725291311104', 'enterpriseId': '661183575961505792', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:49:10', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:49:16', 'remark': 'autotest_remark'}, {'id': '661182887118376960', 'tradeOrderId': '661182886547951616', 'enterpriseId': '661182714468241408', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:45:50', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:45:57', 'remark': 'autotest_remark'}, {'id': '661182324427329536', 'tradeOrderId': '661182323953373184', 'enterpriseId': '661182149025730560', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:43:36', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:43:43', 'remark': 'autotest_remark'}, {'id': '661181411167965184', 'tradeOrderId': '661181410698203136', 'enterpriseId': '661181241890050048', 'enterpriseName': 'autotest_supplier_paper_name', 'enterprisePrimaryName': 'autotest_name_supplier', 'enterpriseContactsMobile': '13123456789', 'orderAmount': 29240.5, 'amount': 29240.5, 'realAmount': 29240.5, 'fundProvider': 1, 'status': 30141, 'tradeOrderCreateTime': '2021-11-25 09:39:58', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 09:40:06', 'remark': 'autotest_remark'}], 'total': 60, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:25.973" endtime="20211126 10:28:25.974"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.975" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.975" endtime="20211126 10:28:25.975"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:25.975" endtime="20211126 10:28:25.976"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${payable_id}</var>
</assign>
<msg timestamp="20211126 10:28:25.976" level="INFO">${payable_id} = 661555972560523264</msg>
<status status="PASS" starttime="20211126 10:28:25.976" endtime="20211126 10:28:25.976"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${payable_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.977" level="INFO">${payable_id} = 661555972560523264</msg>
<status status="PASS" starttime="20211126 10:28:25.976" endtime="20211126 10:28:25.977"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:25.914" endtime="20211126 10:28:25.977" critical="yes"></status>
</test>
<test id="s1-s19-s2-t3" name="operate_confirm_payable">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:25.978" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:25.978" endtime="20211126 10:28:25.978"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>1</arg>
</arguments>
<assign>
<var>${payable_fundProvider}</var>
</assign>
<msg timestamp="20211126 10:28:25.979" level="INFO">${payable_fundProvider} = 1</msg>
<status status="PASS" starttime="20211126 10:28:25.978" endtime="20211126 10:28:25.979"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_remark</arg>
</arguments>
<assign>
<var>${payable_remark}</var>
</assign>
<msg timestamp="20211126 10:28:25.979" level="INFO">${payable_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:28:25.979" endtime="20211126 10:28:25.979"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"fundProvider":${payable_fundProvider},"id":"${payable_id}","realAmount":${supplier_order_totalPrice},"remark":"${payable_remark}"}</arg>
</arguments>
<assign>
<var>${bady}</var>
</assign>
<msg timestamp="20211126 10:28:25.980" level="INFO">${bady} = {"fundProvider":1,"id":"661555972560523264","realAmount":29240.5,"remark":"autotest_remark"}</msg>
<status status="PASS" starttime="20211126 10:28:25.979" endtime="20211126 10:28:25.980"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/confirm/payable</arg>
<arg>${bady}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:26.045" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/payable
path_url=/trading-center/admin/confirm/payable
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '92'}
body={"fundProvider":1,"id":"661555972560523264","realAmount":29240.5,"remark":"autotest_remark"}
</msg>
<msg timestamp="20211126 10:28:26.046" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/payable
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:26 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:28:26.046" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:25.980" endtime="20211126 10:28:26.046"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.047" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:26.046" endtime="20211126 10:28:26.047"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.047" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.047" endtime="20211126 10:28:26.047"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:26.047" endtime="20211126 10:28:26.048"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:25.977" endtime="20211126 10:28:26.048" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:25.851" endtime="20211126 10:28:26.049"></status>
</suite>
<suite id="s1-s19-s3" name="Receivable" source="/root/yyt-trading-rf-api/018_payable_and_receivable/receivable.robot">
<test id="s1-s19-s3-t1" name="operate_get_receivable_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.055" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:26.055" endtime="20211126 10:28:26.056"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/receivable-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:26.111" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list
path_url=/trading-center/admin/get/receivable-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:26.111" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:26 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555949235998720","tradeOrderId":"661555948627824640","enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-26 10:28:15","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661555919708098560","tradeOrderId":"661555919179616256","enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-26 10:28:08","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661543236770336768","tradeOrderId":"661543236220882944","enterpriseId":"661543057577086976","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-26 09:37:44","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-26 09:37:55","remark":"autotest_remark","paymentMethod":2},{"id":"661543207095635968","tradeOrderId":"661543206147723264","enterpriseId":"661543057577086976","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-26 09:37:37","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661308819858657280","tradeOrderId":"661308819351146496","enterpriseId":"661308619190571008","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-25 18:06:15","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 18:06:27","remark":"autotest_remark","paymentMethod":2},{"id":"661308787952586752","tradeOrderId":"661308787466047488","enterpriseId":"661308619190571008","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-25 18:06:07","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661307328007639040","tradeOrderId":"661307327449796608","enterpriseId":"661307128274882560","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-25 18:00:19","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 18:00:27","remark":"autotest_remark","paymentMethod":2},{"id":"661307295820550144","tradeOrderId":"661307295325622272","enterpriseId":"661307128274882560","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-25 18:00:11","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661303335378358272","tradeOrderId":"661303334858264576","enterpriseId":"661303136371216384","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-25 17:44:27","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 17:44:40","remark":"autotest_remark","paymentMethod":2},{"id":"661303304239845376","tradeOrderId":"661303303719751680","enterpriseId":"661303136371216384","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-25 17:44:20","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2}],"total":920,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:26.112" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.056" endtime="20211126 10:28:26.112"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.112" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:26.112" endtime="20211126 10:28:26.112"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.113" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555949235998720', 'tradeOrderId': '661555948627824640', 'enterpriseId': '661555773826011136', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-26 10:28:15', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661555919708098560', 'tradeOrderId': '661555919179616256', 'enterpriseId': '661555773826011136', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-26 10:28:08', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661543236770336768', 'tradeOrderId': '661543236220882944', 'enterpriseId': '661543057577086976', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-26 09:37:44', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-26 09:37:55', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661543207095635968', 'tradeOrderId': '661543206147723264', 'enterpriseId': '661543057577086976', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-26 09:37:37', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661308819858657280', 'tradeOrderId': '661308819351146496', 'enterpriseId': '661308619190571008', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-25 18:06:15', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 18:06:27', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661308787952586752', 'tradeOrderId': '661308787466047488', 'enterpriseId': '661308619190571008', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-25 18:06:07', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661307328007639040', 'tradeOrderId': '661307327449796608', 'enterpriseId': '661307128274882560', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-25 18:00:19', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 18:00:27', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661307295820550144', 'tradeOrderId': '661307295325622272', 'enterpriseId': '661307128274882560', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-25 18:00:11', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661303335378358272', 'tradeOrderId': '661303334858264576', 'enterpriseId': '661303136371216384', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-25 17:44:27', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 17:44:40', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661303304239845376', 'tradeOrderId': '661303303719751680', 'enterpriseId': '661303136371216384', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-25 17:44:20', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}], 'total': 920, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:26.113" endtime="20211126 10:28:26.113"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.114" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.113" endtime="20211126 10:28:26.114"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:26.114" endtime="20211126 10:28:26.115"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:26.054" endtime="20211126 10:28:26.115" critical="yes"></status>
</test>
<test id="s1-s19-s3-t2" name="operate_get_receivable_list_search">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.116" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:26.116" endtime="20211126 10:28:26.116"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>enterpriseName=${printing_packaging_factory_name}</arg>
</arguments>
<assign>
<var>${param}</var>
</assign>
<msg timestamp="20211126 10:28:26.117" level="INFO">${param} = enterpriseName=autotest_printing_packaging_factory_name</msg>
<status status="PASS" starttime="20211126 10:28:26.116" endtime="20211126 10:28:26.117"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/get/receivable-list</arg>
<arg>params=${param}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:26.175" level="INFO">GET Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list?enterpriseName=autotest_printing_packaging_factory_name
path_url=/trading-center/admin/get/receivable-list?enterpriseName=autotest_printing_packaging_factory_name
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}
body=None
</msg>
<msg timestamp="20211126 10:28:26.176" level="INFO">GET Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/get/receivable-list?enterpriseName=autotest_printing_packaging_factory_name
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:26 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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":"661555949235998720","tradeOrderId":"661555948627824640","enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-26 10:28:15","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661555919708098560","tradeOrderId":"661555919179616256","enterpriseId":"661555773826011136","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-26 10:28:08","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661543236770336768","tradeOrderId":"661543236220882944","enterpriseId":"661543057577086976","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-26 09:37:44","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-26 09:37:55","remark":"autotest_remark","paymentMethod":2},{"id":"661543207095635968","tradeOrderId":"661543206147723264","enterpriseId":"661543057577086976","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-26 09:37:37","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661308819858657280","tradeOrderId":"661308819351146496","enterpriseId":"661308619190571008","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-25 18:06:15","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 18:06:27","remark":"autotest_remark","paymentMethod":2},{"id":"661308787952586752","tradeOrderId":"661308787466047488","enterpriseId":"661308619190571008","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-25 18:06:07","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661307328007639040","tradeOrderId":"661307327449796608","enterpriseId":"661307128274882560","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-25 18:00:19","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 18:00:27","remark":"autotest_remark","paymentMethod":2},{"id":"661307295820550144","tradeOrderId":"661307295325622272","enterpriseId":"661307128274882560","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-25 18:00:11","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2},{"id":"661303335378358272","tradeOrderId":"661303334858264576","enterpriseId":"661303136371216384","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":1191.08,"amount":1191.08,"realAmount":1191.08,"status":30151,"tradeOrderCreateTime":"2021-11-25 17:44:27","certifierId":"498985714734731264","certifierName":"梁金满","confirmTime":"2021-11-25 17:44:40","remark":"autotest_remark","paymentMethod":2},{"id":"661303304239845376","tradeOrderId":"661303303719751680","enterpriseId":"661303136371216384","enterpriseName":"autotest_printing_packaging_factory_name","tradeOrderOwnerId":null,"tradeOrderOwnerName":null,"tradeOrderOwnerMobile":null,"orderAmount":20372.44,"amount":20372.44,"realAmount":null,"status":30150,"tradeOrderCreateTime":"2021-11-25 17:44:20","certifierId":null,"certifierName":null,"confirmTime":null,"remark":null,"paymentMethod":2}],"total":110,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:26.176" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.117" endtime="20211126 10:28:26.176"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.177" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:26.176" endtime="20211126 10:28:26.177"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.178" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '661555949235998720', 'tradeOrderId': '661555948627824640', 'enterpriseId': '661555773826011136', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-26 10:28:15', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661555919708098560', 'tradeOrderId': '661555919179616256', 'enterpriseId': '661555773826011136', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-26 10:28:08', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661543236770336768', 'tradeOrderId': '661543236220882944', 'enterpriseId': '661543057577086976', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-26 09:37:44', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-26 09:37:55', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661543207095635968', 'tradeOrderId': '661543206147723264', 'enterpriseId': '661543057577086976', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-26 09:37:37', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661308819858657280', 'tradeOrderId': '661308819351146496', 'enterpriseId': '661308619190571008', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-25 18:06:15', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 18:06:27', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661308787952586752', 'tradeOrderId': '661308787466047488', 'enterpriseId': '661308619190571008', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-25 18:06:07', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661307328007639040', 'tradeOrderId': '661307327449796608', 'enterpriseId': '661307128274882560', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-25 18:00:19', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 18:00:27', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661307295820550144', 'tradeOrderId': '661307295325622272', 'enterpriseId': '661307128274882560', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-25 18:00:11', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}, {'id': '661303335378358272', 'tradeOrderId': '661303334858264576', 'enterpriseId': '661303136371216384', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 1191.08, 'amount': 1191.08, 'realAmount': 1191.08, 'status': 30151, 'tradeOrderCreateTime': '2021-11-25 17:44:27', 'certifierId': '498985714734731264', 'certifierName': '梁金满', 'confirmTime': '2021-11-25 17:44:40', 'remark': 'autotest_remark', 'paymentMethod': 2}, {'id': '661303304239845376', 'tradeOrderId': '661303303719751680', 'enterpriseId': '661303136371216384', 'enterpriseName': 'autotest_printing_packaging_factory_name', 'tradeOrderOwnerId': None, 'tradeOrderOwnerName': None, 'tradeOrderOwnerMobile': None, 'orderAmount': 20372.44, 'amount': 20372.44, 'realAmount': None, 'status': 30150, 'tradeOrderCreateTime': '2021-11-25 17:44:20', 'certifierId': None, 'certifierName': None, 'confirmTime': None, 'remark': None, 'paymentMethod': 2}], 'total': 110, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:26.177" endtime="20211126 10:28:26.178"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.178" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.178" endtime="20211126 10:28:26.178"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:26.179" endtime="20211126 10:28:26.179"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${response.json()["data"]["records"][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${receivable_id}</var>
</assign>
<msg timestamp="20211126 10:28:26.180" level="INFO">${receivable_id} = 661555949235998720</msg>
<status status="PASS" starttime="20211126 10:28:26.179" endtime="20211126 10:28:26.180"></status>
</kw>
<kw name="Set Suite Variable" library="BuiltIn">
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<arguments>
<arg>${receivable_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.180" level="INFO">${receivable_id} = 661555949235998720</msg>
<status status="PASS" starttime="20211126 10:28:26.180" endtime="20211126 10:28:26.180"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:26.115" endtime="20211126 10:28:26.180" critical="yes"></status>
</test>
<test id="s1-s19-s3-t3" name="operate_confirm_receivable">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytops</arg>
<arg>${yytops}</arg>
<arg>headers=${operationpsc_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.182" level="INFO">Creating Session using : alias=yytops, url=https://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:26.181" endtime="20211126 10:28:26.182"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>autotest_remark</arg>
</arguments>
<assign>
<var>${receivable_remark}</var>
</assign>
<msg timestamp="20211126 10:28:26.182" level="INFO">${receivable_remark} = autotest_remark</msg>
<status status="PASS" starttime="20211126 10:28:26.182" endtime="20211126 10:28:26.182"></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":"${receivable_id}","realAmount":${customer_order_totalPrice},"remark":"${receivable_remark}"}</arg>
</arguments>
<assign>
<var>${bady}</var>
</assign>
<msg timestamp="20211126 10:28:26.183" level="INFO">${bady} = {"id":"661555949235998720","realAmount":1191.08,"remark":"autotest_remark"}</msg>
<status status="PASS" starttime="20211126 10:28:26.183" endtime="20211126 10:28:26.183"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytops</arg>
<arg>/trading-center/admin/confirm/receivable</arg>
<arg>${bady}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:26.261" level="INFO">POST Request : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/receivable
path_url=/trading-center/admin/confirm/receivable
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965324', 'Authorization': 'Token 67e46d738b8e6a3589900dd9e68af75c', 'Content-Length': '75'}
body={"id":"661555949235998720","realAmount":1191.08,"remark":"autotest_remark"}
</msg>
<msg timestamp="20211126 10:28:26.261" level="INFO">POST Response : url=https://api-ops-yyt-test.qniao.cn/trading-center/admin/confirm/receivable
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:26 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Authorization': '67e46d738b8e6a3589900dd9e68af75c', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': '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="20211126 10:28:26.261" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.183" endtime="20211126 10:28:26.262"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.262" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:26.262" endtime="20211126 10:28:26.263"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.263" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.263" endtime="20211126 10:28:26.263"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:26.263" endtime="20211126 10:28:26.264"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:26.181" endtime="20211126 10:28:26.264" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:26.050" endtime="20211126 10:28:26.265"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:25.596" endtime="20211126 10:28:26.267"></status>
</suite>
<suite id="s1-s20" name="019 Capacity Market" source="/root/yyt-trading-rf-api/019_capacity_market">
<suite id="s1-s20-s1" name="Capacity Commodity" source="/root/yyt-trading-rf-api/019_capacity_market/capacity_commodity.robot">
<test id="s1-s20-s1-t1" name="customer_get_capacity_commodity_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.280" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:26.280" endtime="20211126 10:28:26.281"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/capacity-market/get/capacity-commodity-page</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:26.341" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/capacity-commodity-page
path_url=/capacity-market/get/capacity-commodity-page
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:26.341" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/capacity-commodity-page
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:26 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":{"records":[{"id":"651103281514418176","type":0,"machineName":"123","machineId":"651103280591671296","enterpriseId":"646080654693502976","enterpriseName":"测试统计的","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"江西省","cityId":360400,"cityName":"九江市","districtId":360421,"districtName":"九江县","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635401568770.png","monthlySales":null},{"id":"651053132046012416","type":0,"machineName":"23x","machineId":"651053131752411136","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651053070867894272","type":0,"machineName":"23x","machineId":"651053070175834112","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651052909039063040","type":0,"machineName":"23x","machineId":"651052908422500352","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651052766730522624","type":0,"machineName":"23x","machineId":"651052766109765632","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651050816056201216","type":0,"machineName":"23x","machineId":"651050815498358784","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png","monthlySales":null},{"id":"651030997437124608","type":0,"machineName":"23x","machineId":"651030994173956096","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":0.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635384346518.jpg","monthlySales":null},{"id":"650785075847368704","type":0,"machineName":"bb","machineId":"650785075142725632","enterpriseId":"650011012820504576","enterpriseName":"aaaaaaa","unitPrice":111.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"河北省","cityId":130300,"cityName":"秦皇岛市","districtId":130304,"districtName":"北戴河区","streetId":null,"streetName":null,"commodityPresentation":null,"imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635325706028.jpg","monthlySales":null},{"id":"646055053110677504","type":0,"machineName":"wf","machineId":"646055052301176832","enterpriseId":"646054247112249344","enterpriseName":"古典风格儿发个","unitPrice":1203.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440104,"districtName":"越秀区","streetId":null,"streetName":null,"commodityPresentation":"","imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634197977456.jpg","monthlySales":null},{"id":"646049165511626752","type":0,"machineName":"213","machineId":"646049165004115968","enterpriseId":"646048787038605312","enterpriseName":"123345345","unitPrice":230.000,"canOrderStartDate":"1971-01-01 00:00:00","canOrderEndDate":"2037-12-30 00:00:00","provinceId":null,"provinceName":"广东省","cityId":440100,"cityName":"广州市","districtId":440106,"districtName":"天河区","streetId":null,"streetName":null,"commodityPresentation":"c","imgUrl":"https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634196563596.jpg","monthlySales":null}],"total":34,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:26.341" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.281" endtime="20211126 10:28:26.341"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.342" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [{'id': '651103281514418176', 'type': 0, 'machineName': '123', 'machineId': '651103280591671296', 'enterpriseId': '646080654693502976', 'enterpriseName': '测试统计的', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '江西省', 'cityId': 360400, 'cityName': '九江市', 'districtId': 360421, 'districtName': '九江县', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635401568770.png', 'monthlySales': None}, {'id': '651053132046012416', 'type': 0, 'machineName': '23x', 'machineId': '651053131752411136', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651053070867894272', 'type': 0, 'machineName': '23x', 'machineId': '651053070175834112', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651052909039063040', 'type': 0, 'machineName': '23x', 'machineId': '651052908422500352', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651052766730522624', 'type': 0, 'machineName': '23x', 'machineId': '651052766109765632', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651050816056201216', 'type': 0, 'machineName': '23x', 'machineId': '651050815498358784', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635389070670.png', 'monthlySales': None}, {'id': '651030997437124608', 'type': 0, 'machineName': '23x', 'machineId': '651030994173956096', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 0.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635384346518.jpg', 'monthlySales': None}, {'id': '650785075847368704', 'type': 0, 'machineName': 'bb', 'machineId': '650785075142725632', 'enterpriseId': '650011012820504576', 'enterpriseName': 'aaaaaaa', 'unitPrice': 111.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '河北省', 'cityId': 130300, 'cityName': '秦皇岛市', 'districtId': 130304, 'districtName': '北戴河区', 'streetId': None, 'streetName': None, 'commodityPresentation': None, 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1635325706028.jpg', 'monthlySales': None}, {'id': '646055053110677504', 'type': 0, 'machineName': 'wf', 'machineId': '646055052301176832', 'enterpriseId': '646054247112249344', 'enterpriseName': '古典风格儿发个', 'unitPrice': 1203.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440104, 'districtName': '越秀区', 'streetId': None, 'streetName': None, 'commodityPresentation': '', 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634197977456.jpg', 'monthlySales': None}, {'id': '646049165511626752', 'type': 0, 'machineName': '213', 'machineId': '646049165004115968', 'enterpriseId': '646048787038605312', 'enterpriseName': '123345345', 'unitPrice': 230.0, 'canOrderStartDate': '1971-01-01 00:00:00', 'canOrderEndDate': '2037-12-30 00:00:00', 'provinceId': None, 'provinceName': '广东省', 'cityId': 440100, 'cityName': '广州市', 'districtId': 440106, 'districtName': '天河区', 'streetId': None, 'streetName': None, 'commodityPresentation': 'c', 'imgUrl': 'https://qncloudprintfiletest.oss-cn-shenzhen.aliyuncs.com/cloudprint/1634196563596.jpg', 'monthlySales': None}], 'total': 34, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:26.341" endtime="20211126 10:28:26.342"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.343" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.343" endtime="20211126 10:28:26.343"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:26.343" endtime="20211126 10:28:26.344"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:26.279" endtime="20211126 10:28:26.344" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:26.273" endtime="20211126 10:28:26.345"></status>
</suite>
<suite id="s1-s20-s2" name="Capacity Machines" source="/root/yyt-trading-rf-api/019_capacity_market/capacity_machines.robot">
<test id="s1-s20-s2-t1" name="customer_get_machines_list">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.350" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:26.350" endtime="20211126 10:28:26.351"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/capacity-market/get/my-machines-list</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:26.391" level="INFO">GET Request : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/my-machines-list
path_url=/capacity-market/get/my-machines-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}
body=None
</msg>
<msg timestamp="20211126 10:28:26.391" level="INFO">GET Response : url=https://api-client-yyt-test.qniao.cn/capacity-market/get/my-machines-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:26 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":{"records":[],"total":0,"size":10,"current":1}}
</msg>
<msg timestamp="20211126 10:28:26.391" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.351" endtime="20211126 10:28:26.391"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.392" level="INFO">{'code': 0, 'message': 'successful', 'data': {'records': [], 'total': 0, 'size': 10, 'current': 1}}</msg>
<status status="PASS" starttime="20211126 10:28:26.391" endtime="20211126 10:28:26.392"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.392" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:26.392" endtime="20211126 10:28:26.393"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:26.393" endtime="20211126 10:28:26.393"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:26.349" endtime="20211126 10:28:26.393" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:26.345" endtime="20211126 10:28:26.394"></status>
</suite>
<status status="PASS" starttime="20211126 10:28:26.269" endtime="20211126 10:28:26.394"></status>
</suite>
<suite id="s1-s21" name="100 Test Data Clear" source="/root/yyt-trading-rf-api/100_test_data_clear.robot">
<test id="s1-s21-t1" name="database_delete_user_customerclue_customer">
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:26.453" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:26.400" endtime="20211126 10:28:26.465"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_account set is_delete = 1 where tid = "${customer_account}"</arg>
</arguments>
<msg timestamp="20211126 10:28:26.466" level="INFO">Executing : Execute SQL String | update qn_account set is_delete = 1 where tid = "13012345678" </msg>
<status status="PASS" starttime="20211126 10:28:26.466" endtime="20211126 10:28:26.483"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_member set is_delete = 1 where user_id = ${customer_account}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.484" level="INFO">Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where user_id = 13012345678 </msg>
<status status="PASS" starttime="20211126 10:28:26.483" endtime="20211126 10:28:26.495"></status>
</kw>
<kw name="Query" library="DatabaseLibrary">
<doc>Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.</doc>
<arguments>
<arg>select user_id from qn_account where tid = "${customer_account}"</arg>
</arguments>
<assign>
<var>${query}</var>
</assign>
<msg timestamp="20211126 10:28:26.496" level="INFO">Executing : Query | select user_id from qn_account where tid = "13012345678" </msg>
<msg timestamp="20211126 10:28:26.505" level="INFO">${query} = ((638791785509949440,), (643897036307042304,), (658004216463364096,), (658010051834941440,), (658011520717950976,), (658032773151461376,), (658033437671821312,), (658034826523316224,), (65803669973303...</msg>
<status status="PASS" starttime="20211126 10:28:26.496" endtime="20211126 10:28:26.505"></status>
</kw>
<kw name="Get From List" library="Collections">
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<arguments>
<arg>${query}</arg>
<arg>0</arg>
</arguments>
<assign>
<var>${query_list}</var>
</assign>
<msg timestamp="20211126 10:28:26.506" level="INFO">${query_list} = (638791785509949440,)</msg>
<status status="PASS" starttime="20211126 10:28:26.506" endtime="20211126 10:28:26.506"></status>
</kw>
<kw name="Get From List" library="Collections">
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<arguments>
<arg>${query_list}</arg>
<arg>0</arg>
</arguments>
<assign>
<var>${userid}</var>
</assign>
<msg timestamp="20211126 10:28:26.507" level="INFO">${userid} = 638791785509949440</msg>
<status status="PASS" starttime="20211126 10:28:26.506" endtime="20211126 10:28:26.507"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_user set is_delete = 1 where id = ${userid}</arg>
</arguments>
<msg timestamp="20211126 10:28:26.507" level="INFO">Executing : Execute SQL String | update qn_user set is_delete = 1 where id = 638791785509949440 </msg>
<status status="PASS" starttime="20211126 10:28:26.507" endtime="20211126 10:28:26.516"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:27.517" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:26.516" endtime="20211126 10:28:27.517"></status>
</kw>
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:27.518" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:27.518" endtime="20211126 10:28:27.528"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_customer_clue set is_delete = 1 where mobile = "${customer_account}"</arg>
</arguments>
<msg timestamp="20211126 10:28:27.529" level="INFO">Executing : Execute SQL String | update qn_customer_clue set is_delete = 1 where mobile = "13012345678" </msg>
<status status="PASS" starttime="20211126 10:28:27.529" endtime="20211126 10:28:27.540"></status>
</kw>
<kw name="Disconnect From Database" library="DatabaseLibrary">
<doc>Disconnects from the database.</doc>
<msg timestamp="20211126 10:28:27.541" level="INFO">Executing : Disconnect From Database</msg>
<status status="PASS" starttime="20211126 10:28:27.540" endtime="20211126 10:28:27.541"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:26.399" endtime="20211126 10:28:27.541" critical="yes"></status>
</test>
<test id="s1-s21-t2" name="database_delete_user_customerclue_supplier">
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:27.542" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:27.542" endtime="20211126 10:28:27.552"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_account set is_delete = 1 where tid = "${supplier_account}"</arg>
</arguments>
<msg timestamp="20211126 10:28:27.552" level="INFO">Executing : Execute SQL String | update qn_account set is_delete = 1 where tid = "13123456789" </msg>
<status status="PASS" starttime="20211126 10:28:27.552" endtime="20211126 10:28:27.567"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_member set is_delete = 1 where user_id = ${supplier_account}</arg>
</arguments>
<msg timestamp="20211126 10:28:27.568" level="INFO">Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where user_id = 13123456789 </msg>
<status status="PASS" starttime="20211126 10:28:27.567" endtime="20211126 10:28:27.578"></status>
</kw>
<kw name="Query" library="DatabaseLibrary">
<doc>Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.</doc>
<arguments>
<arg>select user_id from qn_account where tid = "${supplier_account}"</arg>
</arguments>
<assign>
<var>${query}</var>
</assign>
<msg timestamp="20211126 10:28:27.579" level="INFO">Executing : Query | select user_id from qn_account where tid = "13123456789" </msg>
<msg timestamp="20211126 10:28:27.588" level="INFO">${query} = ((638817785325162496,), (644262109592555520,), (648578587942850560,), (648579404062134272,), (648582117185425408,), (648585580279631872,), (648585871884423168,), (648586171357728768,), (64858799660558...</msg>
<status status="PASS" starttime="20211126 10:28:27.579" endtime="20211126 10:28:27.588"></status>
</kw>
<kw name="Get From List" library="Collections">
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<arguments>
<arg>${query}</arg>
<arg>0</arg>
</arguments>
<assign>
<var>${query_list}</var>
</assign>
<msg timestamp="20211126 10:28:27.588" level="INFO">${query_list} = (638817785325162496,)</msg>
<status status="PASS" starttime="20211126 10:28:27.588" endtime="20211126 10:28:27.588"></status>
</kw>
<kw name="Get From List" library="Collections">
<doc>Returns the value specified with an ``index`` from ``list``.</doc>
<arguments>
<arg>${query_list}</arg>
<arg>0</arg>
</arguments>
<assign>
<var>${userid}</var>
</assign>
<msg timestamp="20211126 10:28:27.589" level="INFO">${userid} = 638817785325162496</msg>
<status status="PASS" starttime="20211126 10:28:27.589" endtime="20211126 10:28:27.589"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_user set is_delete = 1 where id = ${userid}</arg>
</arguments>
<msg timestamp="20211126 10:28:27.589" level="INFO">Executing : Execute SQL String | update qn_user set is_delete = 1 where id = 638817785325162496 </msg>
<status status="PASS" starttime="20211126 10:28:27.589" endtime="20211126 10:28:27.596"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:28.597" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:27.596" endtime="20211126 10:28:28.597"></status>
</kw>
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:28.598" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:28.598" endtime="20211126 10:28:28.608"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_customer_clue set is_delete = 1 where mobile = "${supplier_account}"</arg>
</arguments>
<msg timestamp="20211126 10:28:28.609" level="INFO">Executing : Execute SQL String | update qn_customer_clue set is_delete = 1 where mobile = "13123456789" </msg>
<status status="PASS" starttime="20211126 10:28:28.608" endtime="20211126 10:28:28.620"></status>
</kw>
<kw name="Disconnect From Database" library="DatabaseLibrary">
<doc>Disconnects from the database.</doc>
<msg timestamp="20211126 10:28:28.620" level="INFO">Executing : Disconnect From Database</msg>
<status status="PASS" starttime="20211126 10:28:28.620" endtime="20211126 10:28:28.621"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:27.541" endtime="20211126 10:28:28.621" critical="yes"></status>
</test>
<test id="s1-s21-t3" name="database_delete_printing_packaging_factory">
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:28.622" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:28.622" endtime="20211126 10:28:28.630"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise set is_delete = 1 where id = ${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:28.631" level="INFO">Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 661555773826011136 </msg>
<status status="PASS" starttime="20211126 10:28:28.631" endtime="20211126 10:28:28.641"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_member set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:28.642" level="INFO">Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where enterprise_id = 661555773826011136 </msg>
<status status="PASS" starttime="20211126 10:28:28.641" endtime="20211126 10:28:28.650"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:29.651" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:28.650" endtime="20211126 10:28:29.651"></status>
</kw>
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:29.652" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:29.651" endtime="20211126 10:28:29.664"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise set is_delete = 1 where id = ${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:29.664" level="INFO">Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 661555773826011136 </msg>
<status status="PASS" starttime="20211126 10:28:29.664" endtime="20211126 10:28:29.673"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_profile set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:29.674" level="INFO">Executing : Execute SQL String | update qn_enterprise_profile set is_delete = 1 where enterprise_id = 661555773826011136 </msg>
<status status="PASS" starttime="20211126 10:28:29.673" endtime="20211126 10:28:29.685"></status>
</kw>
<kw name="Disconnect From Database" library="DatabaseLibrary">
<doc>Disconnects from the database.</doc>
<msg timestamp="20211126 10:28:29.686" level="INFO">Executing : Disconnect From Database</msg>
<status status="PASS" starttime="20211126 10:28:29.685" endtime="20211126 10:28:29.686"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:28.621" endtime="20211126 10:28:29.686" critical="yes"></status>
</test>
<test id="s1-s21-t4" name="database_delete_supplier_paper">
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:29.687" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='uec', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:29.687" endtime="20211126 10:28:29.696"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise set is_delete = 1 where id = ${supplier_enterprise_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:29.696" level="INFO">Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 661555823029391360 </msg>
<status status="PASS" starttime="20211126 10:28:29.696" endtime="20211126 10:28:29.706"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_member set is_delete = 1 where enterprise_id = ${supplier_enterprise_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:29.706" level="INFO">Executing : Execute SQL String | update qn_enterprise_member set is_delete = 1 where enterprise_id = 661555823029391360 </msg>
<status status="PASS" starttime="20211126 10:28:29.706" endtime="20211126 10:28:29.718"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>1</arg>
</arguments>
<msg timestamp="20211126 10:28:30.719" level="INFO">Slept 1 second</msg>
<status status="PASS" starttime="20211126 10:28:29.718" endtime="20211126 10:28:30.719"></status>
</kw>
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:30.720" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:30.719" endtime="20211126 10:28:30.731"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise set is_delete = 1 where id = ${supplier_enterprise_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.731" level="INFO">Executing : Execute SQL String | update qn_enterprise set is_delete = 1 where id = 661555823029391360 </msg>
<status status="PASS" starttime="20211126 10:28:30.731" endtime="20211126 10:28:30.740"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_profile set is_delete = 1 where enterprise_id = ${supplier_enterprise_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.741" level="INFO">Executing : Execute SQL String | update qn_enterprise_profile set is_delete = 1 where enterprise_id = 661555823029391360 </msg>
<status status="PASS" starttime="20211126 10:28:30.740" endtime="20211126 10:28:30.752"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_mall_supplier set is_delete = 1 where enterprise_id = ${supplier_enterprise_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.753" level="INFO">Executing : Execute SQL String | update qn_mall_supplier set is_delete = 1 where enterprise_id = 661555823029391360 </msg>
<status status="PASS" starttime="20211126 10:28:30.752" endtime="20211126 10:28:30.765"></status>
</kw>
<kw name="Disconnect From Database" library="DatabaseLibrary">
<doc>Disconnects from the database.</doc>
<msg timestamp="20211126 10:28:30.766" level="INFO">Executing : Disconnect From Database</msg>
<status status="PASS" starttime="20211126 10:28:30.766" endtime="20211126 10:28:30.766"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:29.686" endtime="20211126 10:28:30.766" critical="yes"></status>
</test>
<test id="s1-s21-t5" name="database_delete_printing_packaging_factory_credit">
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:30.767" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='yyt_user_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:30.767" endtime="20211126 10:28:30.776"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_credit_application set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.777" level="INFO">Executing : Execute SQL String | update qn_enterprise_credit_application set is_delete = 1 where enterprise_id = 661555773826011136 </msg>
<status status="PASS" starttime="20211126 10:28:30.776" endtime="20211126 10:28:30.787"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_enterprise_credit_order set is_delete = 1 where enterprise_id = ${printing_packaging_factory_id}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.788" level="INFO">Executing : Execute SQL String | update qn_enterprise_credit_order set is_delete = 1 where enterprise_id = 661555773826011136 </msg>
<status status="PASS" starttime="20211126 10:28:30.787" endtime="20211126 10:28:30.798"></status>
</kw>
<kw name="Disconnect From Database" library="DatabaseLibrary">
<doc>Disconnects from the database.</doc>
<msg timestamp="20211126 10:28:30.799" level="INFO">Executing : Disconnect From Database</msg>
<status status="PASS" starttime="20211126 10:28:30.799" endtime="20211126 10:28:30.799"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:30.767" endtime="20211126 10:28:30.799" critical="yes"></status>
</test>
<test id="s1-s21-t6" name="supplierfocus_batch_product_status_down">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.801" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:30.800" endtime="20211126 10:28:30.801"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>30112</arg>
</arguments>
<assign>
<var>${product_status}</var>
</assign>
<msg timestamp="20211126 10:28:30.801" level="INFO">${product_status} = 30112</msg>
<status status="PASS" starttime="20211126 10:28:30.801" endtime="20211126 10:28:30.801"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"status":${product_status},"idList":[${product_id},${product_id1}]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:30.802" level="INFO">${body} = {"status":30112,"idList":[661555903803297792,658301546412511232]}</msg>
<status status="PASS" starttime="20211126 10:28:30.802" endtime="20211126 10:28:30.802"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/update/product-status/batch</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:30.873" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
path_url=/trading-center/update/product-status/batch
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '65'}
body=b'{"status":30112,"idList":[661555903803297792,658301546412511232]}'
</msg>
<msg timestamp="20211126 10:28:30.873" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/update/product-status/batch
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:30 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":null}
</msg>
<msg timestamp="20211126 10:28:30.873" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:30.802" endtime="20211126 10:28:30.873"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.874" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:30.874" endtime="20211126 10:28:30.874"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.875" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:30.874" endtime="20211126 10:28:30.875"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.875" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:30.875" endtime="20211126 10:28:30.875"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:30.876" endtime="20211126 10:28:30.876"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:30.800" endtime="20211126 10:28:30.876" critical="yes"></status>
</test>
<test id="s1-s21-t7" name="supplierfocus_batch_product_delete">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.877" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:30.877" endtime="20211126 10:28:30.878"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"ids":["${product_id}"]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:30.878" level="INFO">${body} = {"ids":["661555903803297792"]}</msg>
<status status="PASS" starttime="20211126 10:28:30.878" endtime="20211126 10:28:30.878"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/delete/product-list</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:30.953" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/product-list
path_url=/trading-center/delete/product-list
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '30'}
body=b'{"ids":["661555903803297792"]}'
</msg>
<msg timestamp="20211126 10:28:30.953" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/product-list
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:30 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":null}
</msg>
<msg timestamp="20211126 10:28:30.954" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:30.878" endtime="20211126 10:28:30.954"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.954" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:30.954" endtime="20211126 10:28:30.955"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.955" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:30.955" endtime="20211126 10:28:30.955"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.956" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:30.955" endtime="20211126 10:28:30.956"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:30.956" endtime="20211126 10:28:30.956"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:30.877" endtime="20211126 10:28:30.956" critical="yes"></status>
</test>
<test id="s1-s21-t8" name="database_delete_paper_category">
<kw name="Connect To Database Using Custom Params" library="DatabaseLibrary">
<doc>Loads the DB API 2.0 module given `dbapiModuleName` then uses it to
connect to the database using the map string `db_custom_param_string`.</doc>
<arguments>
<arg>pymysql</arg>
<arg>database='trading_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8'</arg>
</arguments>
<msg timestamp="20211126 10:28:30.958" level="INFO">Executing : Connect To Database Using Custom Params : pymysql.connect(db_api_2.connect(database='trading_center', user='root', password='password', host='8.135.8.221', port=3306, charset='utf8')) </msg>
<status status="PASS" starttime="20211126 10:28:30.957" endtime="20211126 10:28:30.971"></status>
</kw>
<kw name="Execute Sql String" library="DatabaseLibrary">
<doc>Executes the sqlString as SQL commands. Useful to pass arguments to your sql. Set optional input `sansTran` to
True to run command without an explicit transaction commit or rollback.</doc>
<arguments>
<arg>update qn_category set is_delete = 1 where id = ${paper_category_id} and name = "${paper_category_name}"</arg>
</arguments>
<msg timestamp="20211126 10:28:30.971" level="INFO">Executing : Execute SQL String | update qn_category set is_delete = 1 where id = 661555887764279296 and name = "autotest_paper_category_name" </msg>
<status status="PASS" starttime="20211126 10:28:30.971" endtime="20211126 10:28:30.989"></status>
</kw>
<kw name="Query" library="DatabaseLibrary">
<doc>Uses the input `selectStatement` to query for the values that will be returned as a list of tuples. Set optional
input `sansTran` to True to run command without an explicit transaction commit or rollback.
Set optional input `returnAsDict` to True to return values as a list of dictionaries.</doc>
<arguments>
<arg>select is_delete from qn_category where id = ${paper_category_id} and name = "${paper_category_name}"</arg>
</arguments>
<msg timestamp="20211126 10:28:30.989" level="INFO">Executing : Query | select is_delete from qn_category where id = 661555887764279296 and name = "autotest_paper_category_name" </msg>
<status status="PASS" starttime="20211126 10:28:30.989" endtime="20211126 10:28:30.996"></status>
</kw>
<kw name="Disconnect From Database" library="DatabaseLibrary">
<doc>Disconnects from the database.</doc>
<msg timestamp="20211126 10:28:30.997" level="INFO">Executing : Disconnect From Database</msg>
<status status="PASS" starttime="20211126 10:28:30.997" endtime="20211126 10:28:30.997"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:30.957" endtime="20211126 10:28:30.997" critical="yes"></status>
</test>
<test id="s1-s21-t9" name="supplierfocus_delete_paper_manufacturer">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:30.998" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:30.998" endtime="20211126 10:28:30.999"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"idList":["${paper_manufacturer_id}"]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:30.999" level="INFO">${body} = {"idList":["661555888879964160"]}</msg>
<status status="PASS" starttime="20211126 10:28:30.999" endtime="20211126 10:28:30.999"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/delete/paper-manfucturers/by/ids</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:31.062" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/paper-manfucturers/by/ids
path_url=/trading-center/delete/paper-manfucturers/by/ids
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '33'}
body=b'{"idList":["661555888879964160"]}'
</msg>
<msg timestamp="20211126 10:28:31.062" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/paper-manfucturers/by/ids
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:28:31.062" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:30.999" endtime="20211126 10:28:31.062"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.063" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:31.063" endtime="20211126 10:28:31.063"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.064" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:31.063" endtime="20211126 10:28:31.064"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.064" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:31.064" endtime="20211126 10:28:31.065"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:31.065" endtime="20211126 10:28:31.065"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:30.997" endtime="20211126 10:28:31.065" critical="yes"></status>
</test>
<test id="s1-s21-t10" name="supplierfocus_delete_paper_brand">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>yytclient</arg>
<arg>${yytclient}</arg>
<arg>headers=${cloudfactory_supplierfocus_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.067" level="INFO">Creating Session using : alias=yytclient, url=https://api-client-yyt-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:31.066" endtime="20211126 10:28:31.067"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{"idList":["${paper_brand_id}"]}</arg>
</arguments>
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20211126 10:28:31.067" level="INFO">${body} = {"idList":["661555878020911104"]}</msg>
<status status="PASS" starttime="20211126 10:28:31.067" endtime="20211126 10:28:31.067"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>yytclient</arg>
<arg>/trading-center/delete/category-brands/by/ids</arg>
<arg>${body.encode("utf8")}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:31.120" level="INFO">POST Request : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/category-brands/by/ids
path_url=/trading-center/delete/category-brands/by/ids
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847956666', 'Authorization': 'iHP4V/g6O5DXHixyNrf7toiY6YmvclCfaszv+7+thlz8IgovvqmIp+o/p5alNMa6LiQANLzu/bJA9pLpSNgjrA==', 'Content-Length': '33'}
body=b'{"idList":["661555878020911104"]}'
</msg>
<msg timestamp="20211126 10:28:31.121" level="INFO">POST Response : url=https://api-client-yyt-test.qniao.cn/trading-center/delete/category-brands/by/ids
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:28:31.121" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:31.068" endtime="20211126 10:28:31.121"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.122" level="INFO">200</msg>
<status status="PASS" starttime="20211126 10:28:31.121" endtime="20211126 10:28:31.122"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.122" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:31.122" endtime="20211126 10:28:31.122"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.123" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:31.122" endtime="20211126 10:28:31.123"></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>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20211126 10:28:31.123" endtime="20211126 10:28:31.123"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:31.066" endtime="20211126 10:28:31.124" critical="yes"></status>
</test>
<test id="s1-s21-t11" name="customer_enterprise_delete_shipping_address">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>uecclient</arg>
<arg>${uecclient}</arg>
<arg>headers=${cloudfactory_customer_header}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.125" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w=='}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20211126 10:28:31.124" endtime="20211126 10:28:31.125"></status>
</kw>
<kw name="Delete On Session" library="RequestsLibrary">
<doc>Sends a DELETE request on a previously created HTTP Session.</doc>
<arguments>
<arg>uecclient</arg>
<arg>/uec/delete/enterprise-shipping-address/${customer_enterprise_shipping_address_id}</arg>
</arguments>
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20211126 10:28:31.182" level="INFO">DELETE Request : url=https://api-client-uec-test.qniao.cn/uec/delete/enterprise-shipping-address/661555917527060480
path_url=/uec/delete/enterprise-shipping-address/661555917527060480
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Authorization': 'iHP4V/g6O5DXHixyNrf7tldM9LanM/kGBKtrdgb7uVKLgNC3OuOZt9nTLrw23E4M8zOgtyE5EGmrFAtKTljF4w==', 'Content-Length': '0'}
body=None
</msg>
<msg timestamp="20211126 10:28:31.182" level="INFO">DELETE Response : url=https://api-client-uec-test.qniao.cn/uec/delete/enterprise-shipping-address/661555917527060480
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 26 Nov 2021 02:28:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":null}
</msg>
<msg timestamp="20211126 10:28:31.182" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20211126 10:28:31.125" endtime="20211126 10:28:31.182"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.183" level="INFO">{'code': 0, 'message': 'successful', 'data': None}</msg>
<status status="PASS" starttime="20211126 10:28:31.183" endtime="20211126 10:28:31.183"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
<arguments>
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20211126 10:28:31.184" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20211126 10:28:31.183" endtime="20211126 10:28:31.184"></status>
</kw>
<status status="PASS" starttime="20211126 10:28:31.124" endtime="20211126 10:28:31.184" critical="yes"></status>
</test>
<status status="PASS" starttime="20211126 10:28:26.395" endtime="20211126 10:28:31.185"></status>
</suite>
<status status="PASS" starttime="20211126 10:27:26.221" endtime="20211126 10:28:31.196"></status>
</suite>
<statistics>
<total>
<stat pass="185" fail="0">Critical Tests</stat>
<stat pass="185" fail="0">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="185" fail="0" id="s1" name="Yyt-Trading-Rf-Api">Yyt-Trading-Rf-Api</stat>
<stat pass="3" fail="0" id="s1-s1" name="000 Get Current Datetime">Yyt-Trading-Rf-Api.000 Get Current Datetime</stat>
<stat pass="18" fail="0" id="s1-s2" name="001 Login Get Info">Yyt-Trading-Rf-Api.001 Login Get Info</stat>
<stat pass="5" fail="0" id="s1-s2-s1" name="Login Customer">Yyt-Trading-Rf-Api.001 Login Get Info.Login Customer</stat>
<stat pass="2" fail="0" id="s1-s2-s2" name="Login Operate">Yyt-Trading-Rf-Api.001 Login Get Info.Login Operate</stat>
<stat pass="2" fail="0" id="s1-s2-s3" name="Login Operate Psc">Yyt-Trading-Rf-Api.001 Login Get Info.Login Operate Psc</stat>
<stat pass="5" fail="0" id="s1-s2-s4" name="Login Supplier">Yyt-Trading-Rf-Api.001 Login Get Info.Login Supplier</stat>
<stat pass="4" fail="0" id="s1-s2-s5" name="Login Supplier Focus">Yyt-Trading-Rf-Api.001 Login Get Info.Login Supplier Focus</stat>
<stat pass="22" fail="0" id="s1-s3" name="002 User Register">Yyt-Trading-Rf-Api.002 User Register</stat>
<stat pass="11" fail="0" id="s1-s3-s1" name="Customer User Register">Yyt-Trading-Rf-Api.002 User Register.Customer User Register</stat>
<stat pass="11" fail="0" id="s1-s3-s2" name="Supplier User Register">Yyt-Trading-Rf-Api.002 User Register.Supplier User Register</stat>
<stat pass="17" fail="0" id="s1-s4" name="003 Enterprise Open Account Customer">Yyt-Trading-Rf-Api.003 Enterprise Open Account Customer</stat>
<stat pass="17" fail="0" id="s1-s4-s1" name="Printing Packaging Factory Open Account">Yyt-Trading-Rf-Api.003 Enterprise Open Account Customer.Printing Packaging Factory Open Account</stat>
<stat pass="18" fail="0" id="s1-s5" name="004 Enterprise Open Account Supplier">Yyt-Trading-Rf-Api.004 Enterprise Open Account Supplier</stat>
<stat pass="18" fail="0" id="s1-s5-s1" name="Supplier Paper Open Account">Yyt-Trading-Rf-Api.004 Enterprise Open Account Supplier.Supplier Paper Open Account</stat>
<stat pass="9" fail="0" id="s1-s6" name="005 Enterprise Apply Credit">Yyt-Trading-Rf-Api.005 Enterprise Apply Credit</stat>
<stat pass="9" fail="0" id="s1-s6-s1" name="Apply Credit Qniao Customer">Yyt-Trading-Rf-Api.005 Enterprise Apply Credit.Apply Credit Qniao Customer</stat>
<stat pass="5" fail="0" id="s1-s7" name="006 Get Credit">Yyt-Trading-Rf-Api.006 Get Credit</stat>
<stat pass="3" fail="0" id="s1-s7-s1" name="Customer Credit Password">Yyt-Trading-Rf-Api.006 Get Credit.Customer Credit Password</stat>
<stat pass="2" fail="0" id="s1-s7-s2" name="Customer Get Credit">Yyt-Trading-Rf-Api.006 Get Credit.Customer Get Credit</stat>
<stat pass="13" fail="0" id="s1-s8" name="007 Paper Variety Management">Yyt-Trading-Rf-Api.007 Paper Variety Management</stat>
<stat pass="5" fail="0" id="s1-s8-s1" name="Paper Brand">Yyt-Trading-Rf-Api.007 Paper Variety Management.Paper Brand</stat>
<stat pass="4" fail="0" id="s1-s8-s2" name="Paper Category">Yyt-Trading-Rf-Api.007 Paper Variety Management.Paper Category</stat>
<stat pass="4" fail="0" id="s1-s8-s3" name="Paper Manufacturer">Yyt-Trading-Rf-Api.007 Paper Variety Management.Paper Manufacturer</stat>
<stat pass="4" fail="0" id="s1-s9" name="008 Market Information">Yyt-Trading-Rf-Api.008 Market Information</stat>
<stat pass="4" fail="0" id="s1-s9-s1" name="Market Information Link">Yyt-Trading-Rf-Api.008 Market Information.Market Information Link</stat>
<stat pass="7" fail="0" id="s1-s10" name="009 Product Manage">Yyt-Trading-Rf-Api.009 Product Manage</stat>
<stat pass="7" fail="0" id="s1-s10-s1" name="Product Add And List">Yyt-Trading-Rf-Api.009 Product Manage.Product Add And List</stat>
<stat pass="6" fail="0" id="s1-s11" name="010 Limited Specialoffer">Yyt-Trading-Rf-Api.010 Limited Specialoffer</stat>
<stat pass="6" fail="0" id="s1-s11-s1" name="Limited Specialoffer Product">Yyt-Trading-Rf-Api.010 Limited Specialoffer.Limited Specialoffer Product</stat>
<stat pass="2" fail="0" id="s1-s12" name="011 Product Price Config">Yyt-Trading-Rf-Api.011 Product Price Config</stat>
<stat pass="2" fail="0" id="s1-s12-s1" name="Product Price Config Qniao And Feisuan">Yyt-Trading-Rf-Api.011 Product Price Config.Product Price Config Qniao And Feisuan</stat>
<stat pass="3" fail="0" id="s1-s13" name="012 Product Price Update">Yyt-Trading-Rf-Api.012 Product Price Update</stat>
<stat pass="3" fail="0" id="s1-s13-s1" name="Product Price Batch Update Purchaseprice">Yyt-Trading-Rf-Api.012 Product Price Update.Product Price Batch Update Purchaseprice</stat>
<stat pass="5" fail="0" id="s1-s14" name="013 Paper List And Details">Yyt-Trading-Rf-Api.013 Paper List And Details</stat>
<stat pass="5" fail="0" id="s1-s14-s1" name="Customer Get Paper List And Detail">Yyt-Trading-Rf-Api.013 Paper List And Details.Customer Get Paper List And Detail</stat>
<stat pass="2" fail="0" id="s1-s15" name="014 Shinpping Address">Yyt-Trading-Rf-Api.014 Shinpping Address</stat>
<stat pass="2" fail="0" id="s1-s15-s1" name="Customer Enterprise Shipping Address">Yyt-Trading-Rf-Api.014 Shinpping Address.Customer Enterprise Shipping Address</stat>
<stat pass="3" fail="0" id="s1-s16" name="015 Customer Create Order">Yyt-Trading-Rf-Api.015 Customer Create Order</stat>
<stat pass="3" fail="0" id="s1-s16-s1" name="Customer Create Order Credit Payment">Yyt-Trading-Rf-Api.015 Customer Create Order.Customer Create Order Credit Payment</stat>
<stat pass="12" fail="0" id="s1-s17" name="016 Enquiry Create Order">Yyt-Trading-Rf-Api.016 Enquiry Create Order</stat>
<stat pass="12" fail="0" id="s1-s17-s1" name="Customer Enquiry Operate And Supplier Quoted Price Create Order">Yyt-Trading-Rf-Api.016 Enquiry Create Order.Customer Enquiry Operate And Supplier Quoted Price Create Order</stat>
<stat pass="14" fail="0" id="s1-s18" name="017 Order And Receipt And Delivery">Yyt-Trading-Rf-Api.017 Order And Receipt And Delivery</stat>
<stat pass="14" fail="0" id="s1-s18-s1" name="Get Oeder And Receipt And Delivery">Yyt-Trading-Rf-Api.017 Order And Receipt And Delivery.Get Oeder And Receipt And Delivery</stat>
<stat pass="9" fail="0" id="s1-s19" name="018 Payable And Receivable">Yyt-Trading-Rf-Api.018 Payable And Receivable</stat>
<stat pass="3" fail="0" id="s1-s19-s1" name="Customer Bill">Yyt-Trading-Rf-Api.018 Payable And Receivable.Customer Bill</stat>
<stat pass="3" fail="0" id="s1-s19-s2" name="Payable">Yyt-Trading-Rf-Api.018 Payable And Receivable.Payable</stat>
<stat pass="3" fail="0" id="s1-s19-s3" name="Receivable">Yyt-Trading-Rf-Api.018 Payable And Receivable.Receivable</stat>
<stat pass="2" fail="0" id="s1-s20" name="019 Capacity Market">Yyt-Trading-Rf-Api.019 Capacity Market</stat>
<stat pass="1" fail="0" id="s1-s20-s1" name="Capacity Commodity">Yyt-Trading-Rf-Api.019 Capacity Market.Capacity Commodity</stat>
<stat pass="1" fail="0" id="s1-s20-s2" name="Capacity Machines">Yyt-Trading-Rf-Api.019 Capacity Market.Capacity Machines</stat>
<stat pass="11" fail="0" id="s1-s21" name="100 Test Data Clear">Yyt-Trading-Rf-Api.100 Test Data Clear</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>