纸通宝新交易版
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.
 
 

2724 lines
162 KiB

<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20220808 11:24:29.001" rpa="false">
<suite id="s1" name="000-LoginToken" source="/root/ztb-ops-rf-api/000-LoginToken">
<suite id="s1-s1" name="1-dataDriven" source="/root/ztb-ops-rf-api/000-LoginToken/1-dataDriven.robot">
<test id="s1-s1-t1" name="LoginBase">
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>https://api-ops-uec-test.qniao.cn</arg>
</arguments>
<assign>
<var>${uecops}</var>
</assign>
<msg timestamp="20220808 11:24:29.364" level="INFO">${uecops} = https://api-ops-uec-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.364" endtime="20220808 11:24:29.364"></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://api-ops-psc-test.qniao.cn</arg>
</arguments>
<assign>
<var>${pscops}</var>
</assign>
<msg timestamp="20220808 11:24:29.365" level="INFO">${pscops} = https://api-ops-psc-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.365" endtime="20220808 11:24:29.365"></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://api-ops-ztb-test.qniao.cn</arg>
</arguments>
<assign>
<var>${ztbops}</var>
</assign>
<msg timestamp="20220808 11:24:29.365" level="INFO">${ztbops} = https://api-ops-ztb-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.365" endtime="20220808 11:24:29.365"></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://api-ops-ztbsc-test.qniao.cn</arg>
</arguments>
<assign>
<var>${ztbscops}</var>
</assign>
<msg timestamp="20220808 11:24:29.366" level="INFO">${ztbscops} = https://api-ops-ztbsc-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.365" endtime="20220808 11:24:29.366"></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://api-client-uec-test.qniao.cn</arg>
</arguments>
<assign>
<var>${uecclient}</var>
</assign>
<msg timestamp="20220808 11:24:29.366" level="INFO">${uecclient} = https://api-client-uec-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.366" endtime="20220808 11:24:29.366"></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://api-client-ztb-test.qniao.cn</arg>
</arguments>
<assign>
<var>${ztbclient}</var>
</assign>
<msg timestamp="20220808 11:24:29.367" level="INFO">${ztbclient} = https://api-client-ztb-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.366" endtime="20220808 11:24:29.367"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${uecops}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.367" level="INFO">${uecops} = https://api-ops-uec-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.367" endtime="20220808 11:24:29.367"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${pscops}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.368" level="INFO">${pscops} = https://api-ops-psc-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.368" endtime="20220808 11:24:29.368"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbops}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.369" level="INFO">${ztbops} = https://api-ops-ztb-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.369" endtime="20220808 11:24:29.369"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbscops}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.370" level="INFO">${ztbscops} = https://api-ops-ztbsc-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.370" endtime="20220808 11:24:29.370"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${uecclient}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.370" level="INFO">${uecclient} = https://api-client-uec-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.370" endtime="20220808 11:24:29.370"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbclient}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.371" level="INFO">${ztbclient} = https://api-client-ztb-test.qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.371" endtime="20220808 11:24:29.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>{'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'}</arg>
</arguments>
<assign>
<var>${ztbsc_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.372" level="INFO">${ztbsc_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20220808 11:24:29.371" endtime="20220808 11:24:29.372"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'content-type':'application/json','X-APP-ID':'470236309865238528'}</arg>
</arguments>
<assign>
<var>${client_login_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.372" level="INFO">${client_login_header} = {'content-type':'application/json','X-APP-ID':'470236309865238528'}</msg>
<status status="PASS" starttime="20220808 11:24:29.372" endtime="20220808 11:24:29.372"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cv/lnjIGaghUHn7dGvathVr0JtFAle6xxEDqmwYB+xHfw==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'710132392618233856'}</arg>
</arguments>
<assign>
<var>${ztbsc_factoring_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.372" level="INFO">${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cv/lnjIGaghUHn7dGvathVr0JtFAle6xxEDqmwYB+xHfw==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:29.372" endtime="20220808 11:24:29.373"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'}</arg>
</arguments>
<assign>
<var>${ztbsc_ops_login_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.373" level="INFO">${ztbsc_ops_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20220808 11:24:29.373" endtime="20220808 11:24:29.373"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','X-ORGANIZATION-ID':'711270061419139072','X-APP-ID':'503258978847966406'}</arg>
</arguments>
<assign>
<var>${ztbsc_traders_login_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.374" level="INFO">${ztbsc_traders_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'711270061419139072','X-APP-ID':'503258978847966406'}</msg>
<status status="PASS" starttime="20220808 11:24:29.373" endtime="20220808 11:24:29.374"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','X-APP-ID':'503258978847966406'}</arg>
</arguments>
<assign>
<var>${ztbsc_papermill_login_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.374" level="INFO">${ztbsc_papermill_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847966406'}</msg>
<status status="PASS" starttime="20220808 11:24:29.374" endtime="20220808 11:24:29.374"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','X-ORGANIZATION-ID':'710132392618233856','X-APP-ID':'503258978847966410'}</arg>
</arguments>
<assign>
<var>${ztbsc_factoring_login_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.374" level="INFO">${ztbsc_factoring_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'710132392618233856','X-APP-ID':'503258978847966410'}</msg>
<status status="PASS" starttime="20220808 11:24:29.374" endtime="20220808 11:24:29.374"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.375" level="INFO">${ztbsc_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20220808 11:24:29.375" endtime="20220808 11:24:29.375"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${client_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.375" level="INFO">${client_login_header} = {'content-type':'application/json','X-APP-ID':'470236309865238528'}</msg>
<status status="PASS" starttime="20220808 11:24:29.375" endtime="20220808 11:24:29.376"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_factoring_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.376" level="INFO">${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cv/lnjIGaghUHn7dGvathVr0JtFAle6xxEDqmwYB+xHfw==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:29.376" endtime="20220808 11:24:29.376"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_ops_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.377" level="INFO">${ztbsc_ops_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847965401','Authorization':'Token 6b08add42d6bcf73abb935b2adf83525'}</msg>
<status status="PASS" starttime="20220808 11:24:29.376" endtime="20220808 11:24:29.377"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_traders_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.377" level="INFO">${ztbsc_traders_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'711270061419139072','X-APP-ID':'503258978847966406'}</msg>
<status status="PASS" starttime="20220808 11:24:29.377" endtime="20220808 11:24:29.377"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_papermill_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.378" level="INFO">${ztbsc_papermill_login_header} = {'Content-Type':'application/json','X-APP-ID':'503258978847966406'}</msg>
<status status="PASS" starttime="20220808 11:24:29.377" endtime="20220808 11:24:29.378"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_factoring_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.378" level="INFO">${ztbsc_factoring_login_header} = {'Content-Type':'application/json','X-ORGANIZATION-ID':'710132392618233856','X-APP-ID':'503258978847966410'}</msg>
<status status="PASS" starttime="20220808 11:24:29.378" endtime="20220808 11:24:29.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>laiyonglan@qniao.cn</arg>
</arguments>
<assign>
<var>${ztbsc_account}</var>
</assign>
<msg timestamp="20220808 11:24:29.379" level="INFO">${ztbsc_account} = laiyonglan@qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.379" endtime="20220808 11:24:29.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>13000000032</arg>
</arguments>
<assign>
<var>${client_account}</var>
</assign>
<msg timestamp="20220808 11:24:29.379" level="INFO">${client_account} = 13000000032</msg>
<status status="PASS" starttime="20220808 11:24:29.379" endtime="20220808 11:24:29.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>15014242835</arg>
</arguments>
<assign>
<var>${traders_account}</var>
</assign>
<msg timestamp="20220808 11:24:29.380" level="INFO">${traders_account} = 15014242835</msg>
<status status="PASS" starttime="20220808 11:24:29.379" endtime="20220808 11:24:29.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>15014242835</arg>
</arguments>
<assign>
<var>${papermill_account}</var>
</assign>
<msg timestamp="20220808 11:24:29.380" level="INFO">${papermill_account} = 15014242835</msg>
<status status="PASS" starttime="20220808 11:24:29.380" endtime="20220808 11:24:29.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>15014242835</arg>
</arguments>
<assign>
<var>${factoring_account}</var>
</assign>
<msg timestamp="20220808 11:24:29.380" level="INFO">${factoring_account} = 15014242835</msg>
<status status="PASS" starttime="20220808 11:24:29.380" endtime="20220808 11:24:29.380"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_account}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.381" level="INFO">${ztbsc_account} = laiyonglan@qniao.cn</msg>
<status status="PASS" starttime="20220808 11:24:29.381" endtime="20220808 11:24:29.381"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${client_account}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.381" level="INFO">${client_account} = 13000000032</msg>
<status status="PASS" starttime="20220808 11:24:29.381" endtime="20220808 11:24:29.382"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${traders_account}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.382" level="INFO">${traders_account} = 15014242835</msg>
<status status="PASS" starttime="20220808 11:24:29.382" endtime="20220808 11:24:29.382"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${papermill_account}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.383" level="INFO">${papermill_account} = 15014242835</msg>
<status status="PASS" starttime="20220808 11:24:29.382" endtime="20220808 11:24:29.383"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${factoring_account}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.383" level="INFO">${factoring_account} = 15014242835</msg>
<status status="PASS" starttime="20220808 11:24:29.383" endtime="20220808 11:24:29.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>qn123456</arg>
</arguments>
<assign>
<var>${ztbsc_password}</var>
</assign>
<msg timestamp="20220808 11:24:29.384" level="INFO">${ztbsc_password} = qn123456</msg>
<status status="PASS" starttime="20220808 11:24:29.383" endtime="20220808 11:24:29.384"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>888888</arg>
</arguments>
<assign>
<var>${client_password}</var>
</assign>
<msg timestamp="20220808 11:24:29.384" level="INFO">${client_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.384" endtime="20220808 11:24:29.384"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>888888</arg>
</arguments>
<assign>
<var>${traders_password}</var>
</assign>
<msg timestamp="20220808 11:24:29.384" level="INFO">${traders_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.384" endtime="20220808 11:24:29.384"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>888888</arg>
</arguments>
<assign>
<var>${papermill_password}</var>
</assign>
<msg timestamp="20220808 11:24:29.385" level="INFO">${papermill_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.385" endtime="20220808 11:24:29.385"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>888888</arg>
</arguments>
<assign>
<var>${factoring_password}</var>
</assign>
<msg timestamp="20220808 11:24:29.385" level="INFO">${factoring_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.385" endtime="20220808 11:24:29.385"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_password}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.386" level="INFO">${ztbsc_password} = qn123456</msg>
<status status="PASS" starttime="20220808 11:24:29.385" endtime="20220808 11:24:29.386"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${client_password}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.386" level="INFO">${client_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.386" endtime="20220808 11:24:29.386"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${traders_password}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.387" level="INFO">${traders_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.387" endtime="20220808 11:24:29.387"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${papermill_password}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.387" level="INFO">${papermill_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.387" endtime="20220808 11:24:29.387"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${factoring_password}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.388" level="INFO">${factoring_password} = 888888</msg>
<status status="PASS" starttime="20220808 11:24:29.388" endtime="20220808 11:24:29.388"></status>
</kw>
<kw name="Get Current Date" library="DateTime">
<doc>Returns current local or UTC time with an optional increment.</doc>
<arguments>
<arg>result_format=%Y-%m-%d</arg>
</arguments>
<assign>
<var>${start_time}</var>
</assign>
<msg timestamp="20220808 11:24:29.389" level="INFO">${start_time} = 2022-08-08</msg>
<status status="PASS" starttime="20220808 11:24:29.388" endtime="20220808 11:24:29.389"></status>
</kw>
<kw name="Add Time To Date" library="DateTime">
<doc>Adds time to date and returns the resulting date.</doc>
<arguments>
<arg>${start_time}</arg>
<arg>30 days</arg>
</arguments>
<assign>
<var>${str_end_time}</var>
</assign>
<msg timestamp="20220808 11:24:29.395" level="INFO">${str_end_time} = 2022-09-07 00:00:00.000</msg>
<status status="PASS" starttime="20220808 11:24:29.389" endtime="20220808 11:24:29.395"></status>
</kw>
<kw name="Get Substring" library="String">
<doc>Returns a substring from ``start`` index to ``end`` index.</doc>
<arguments>
<arg>${str_end_time}</arg>
<arg>0</arg>
<arg>10</arg>
</arguments>
<assign>
<var>${end_time}</var>
</assign>
<msg timestamp="20220808 11:24:29.395" level="INFO">${end_time} = 2022-09-07</msg>
<status status="PASS" starttime="20220808 11:24:29.395" endtime="20220808 11:24:29.395"></status>
</kw>
<kw name="Get Time" library="BuiltIn">
<doc>Returns the given time in the requested format.</doc>
<assign>
<var>${time}</var>
</assign>
<msg timestamp="20220808 11:24:29.396" level="INFO">${time} = 2022-08-08 11:24:29</msg>
<status status="PASS" starttime="20220808 11:24:29.396" endtime="20220808 11:24:29.396"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${start_time}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.396" level="INFO">${start_time} = 2022-08-08</msg>
<status status="PASS" starttime="20220808 11:24:29.396" endtime="20220808 11:24:29.396"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${end_time}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.397" level="INFO">${end_time} = 2022-09-07</msg>
<status status="PASS" starttime="20220808 11:24:29.397" endtime="20220808 11:24:29.397"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${time}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.397" level="INFO">${time} = 2022-08-08 11:24:29</msg>
<status status="PASS" starttime="20220808 11:24:29.397" endtime="20220808 11:24:29.398"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:29.363" endtime="20220808 11:24:29.398" critical="yes"></status>
</test>
<status status="PASS" starttime="20220808 11:24:29.047" endtime="20220808 11:24:29.398"></status>
</suite>
<suite id="s1-s2" name="2.1-APPlogin" source="/root/ztb-ops-rf-api/000-LoginToken/2.1-APPlogin.robot">
<test id="s1-s2-t1" name="user_login">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20220808 11:24:29.404" endtime="20220808 11:24:29.404"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${uecclient}</arg>
<arg>${client_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.405" level="INFO">Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:29.404" endtime="20220808 11:24:29.405"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>account=${client_account}</arg>
<arg>captcha=${client_password}</arg>
<arg>accountType=2</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20220808 11:24:29.407" level="INFO">${data} = {'account': '13000000032', 'captcha': '888888', 'accountType': '2'}</msg>
<status status="PASS" starttime="20220808 11:24:29.405" endtime="20220808 11:24:29.407"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>json=${data}</arg>
</arguments>
<assign>
<var>${respones}</var>
</assign>
<msg timestamp="20220808 11:24:29.481" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
body=b'{"account": "13000000032", "captcha": "888888", "accountType": "2"}'
</msg>
<msg timestamp="20220808 11:24:29.482" 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': 'Mon, 08 Aug 2022 03:24:29 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==","userId":"704068168053821440"}}
</msg>
<msg timestamp="20220808 11:24:29.482" level="INFO">${respones} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:29.407" endtime="20220808 11:24:29.482"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${respones.json()['data']}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${token}</var>
</assign>
<msg timestamp="20220808 11:24:29.483" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==</msg>
<status status="PASS" starttime="20220808 11:24:29.482" endtime="20220808 11:24:29.483"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${token}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.484" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==</msg>
<status status="PASS" starttime="20220808 11:24:29.483" endtime="20220808 11:24:29.484"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:29.404" endtime="20220808 11:24:29.484" critical="yes"></status>
</test>
<test id="s1-s2-t2" name="login_token">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${ztbclient}</arg>
<arg>${client_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.485" level="INFO">Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:29.485" endtime="20220808 11:24:29.486"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>loginToken=${token}</arg>
</arguments>
<assign>
<var>${token1}</var>
</assign>
<msg timestamp="20220808 11:24:29.486" level="INFO">${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg=='}</msg>
<status status="PASS" starttime="20220808 11:24:29.486" endtime="20220808 11:24:29.486"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token</arg>
<arg>json=${token1}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:29.555" level="INFO">POST Request : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
path_url=/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '106'}
body=b'{"loginToken": "d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg=="}'
</msg>
<msg timestamp="20220808 11:24:29.555" level="INFO">POST Response : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24:29 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":{"errorCode":0,"token":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==","userId":"704068168053821440"}}
</msg>
<msg timestamp="20220808 11:24:29.555" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:29.487" endtime="20220808 11:24:29.555"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userId}</var>
</assign>
<msg timestamp="20220808 11:24:29.556" level="INFO">${userId} = 704068168053821440</msg>
<status status="PASS" starttime="20220808 11:24:29.555" endtime="20220808 11:24:29.556"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20220808 11:24:29.557" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==</msg>
<status status="PASS" starttime="20220808 11:24:29.556" endtime="20220808 11:24:29.557"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','Authorization':'QNT ${gettoken}','X-APP-ID':'470236309865238528'}</arg>
</arguments>
<assign>
<var>${client_firstlogin_header}</var>
</assign>
<msg timestamp="20220808 11:24:29.557" level="INFO">${client_firstlogin_header} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==','X-APP-ID':'470236309865238528'}</msg>
<status status="PASS" starttime="20220808 11:24:29.557" endtime="20220808 11:24:29.557"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${userId}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.558" level="INFO">${userId} = 704068168053821440</msg>
<status status="PASS" starttime="20220808 11:24:29.557" endtime="20220808 11:24:29.558"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.558" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==</msg>
<status status="PASS" starttime="20220808 11:24:29.558" endtime="20220808 11:24:29.558"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${client_firstlogin_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.559" level="INFO">${client_firstlogin_header} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==','X-APP-ID':'470236309865238528'}</msg>
<status status="PASS" starttime="20220808 11:24:29.558" endtime="20220808 11:24:29.559"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:29.484" endtime="20220808 11:24:29.559" critical="yes"></status>
</test>
<test id="s1-s2-t3" name="get_baseInfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>baseinfo</arg>
<arg>${ztbclient}</arg>
<arg>${client_firstlogin_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:29.560" level="INFO">Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:29.560" endtime="20220808 11:24:29.561"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>baseinfo</arg>
<arg>ztb-supply-chain-service/get/user/base-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:30.312" level="INFO">GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
path_url=/ztb-supply-chain-service/get/user/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==', 'X-APP-ID': '470236309865238528'}
body=None
</msg>
<msg timestamp="20220808 11:24:30.312" level="INFO">GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24: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":{"userId":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"752528438736326656","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}}
</msg>
<msg timestamp="20220808 11:24:30.313" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:29.561" endtime="20220808 11:24:30.313"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>realName</arg>
</arguments>
<assign>
<var>${realName}</var>
</assign>
<msg timestamp="20220808 11:24:30.314" level="INFO">${realName} = 王颖勋</msg>
<status status="PASS" starttime="20220808 11:24:30.313" endtime="20220808 11:24:30.314"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>organizationList</arg>
</arguments>
<assign>
<var>${organizationList}</var>
</assign>
<msg timestamp="20220808 11:24:30.315" level="INFO">${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization...</msg>
<status status="PASS" starttime="20220808 11:24:30.314" endtime="20220808 11:24:30.315"></status>
</kw>
<kw name="${items} IN [ @{organizationList} ]" type="for">
<kw name="${items} = {'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQ..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:30.316" level="INFO">${orgId} = 738812119994208256</msg>
<status status="PASS" starttime="20220808 11:24:30.315" endtime="20220808 11:24:30.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>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.316" level="INFO">${orgfullName} = 武汉市青山区恒志纸业环保打包厂</msg>
<status status="PASS" starttime="20220808 11:24:30.316" endtime="20220808 11:24:30.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>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.317" level="INFO">${packerBaseInfo} = {'id': '738812120073900032', 'organizationId': '738812119994208256', 'scrapPaperRecycling': 100.0, 'scrapPaperSupply': 111.0, 'scrapPaperPackingFactoryList': [{'id': '738812537759469568', 'name': '千鸟工...</msg>
<status status="PASS" starttime="20220808 11:24:30.316" endtime="20220808 11:24:30.317"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.317" endtime="20220808 11:24:30.317"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.315" endtime="20220808 11:24:30.317"></status>
</kw>
<kw name="${items} = {'id': '737040026042503168', 'fullName': '嘻嘻打包站', 'qualificationType': 1, 'qualificationNo': '441481199509213863', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificati..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:30.318" level="INFO">${orgId} = 737040026042503168</msg>
<status status="PASS" starttime="20220808 11:24:30.317" endtime="20220808 11:24:30.318"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.320" level="INFO">${orgfullName} = 嘻嘻打包站</msg>
<status status="PASS" starttime="20220808 11:24:30.318" endtime="20220808 11:24:30.320"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.320" level="INFO">${packerBaseInfo} = {'id': '737040335171096576', 'organizationId': '737040026042503168', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '737040335238205440', 'name': '嘻嘻打包站...</msg>
<status status="PASS" starttime="20220808 11:24:30.320" endtime="20220808 11:24:30.320"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.320" endtime="20220808 11:24:30.321"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.317" endtime="20220808 11:24:30.321"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:30.321" level="INFO">${orgId} = 728972353769443328</msg>
<status status="PASS" starttime="20220808 11:24:30.321" endtime="20220808 11:24:30.321"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.322" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:30.321" endtime="20220808 11:24:30.322"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.322" level="INFO">${packerBaseInfo} = {'id': '732271033305927680', 'organizationId': '728972353769443328', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '732271033427562496', 'name': '湖南新宝环...</msg>
<status status="PASS" starttime="20220808 11:24:30.322" endtime="20220808 11:24:30.322"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.322" endtime="20220808 11:24:30.323"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.321" endtime="20220808 11:24:30.323"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:30.323" level="INFO">${orgId} = 728972353769443328</msg>
<status status="PASS" starttime="20220808 11:24:30.323" endtime="20220808 11:24:30.323"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.324" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:30.323" endtime="20220808 11:24:30.324"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.324" level="INFO">${packerBaseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:30.324" endtime="20220808 11:24:30.324"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.324" endtime="20220808 11:24:30.325"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.323" endtime="20220808 11:24:30.325"></status>
</kw>
<kw name="${items} = {'id': '721761724339982336', 'fullName': '仔仔工厂', 'qualificationType': 1, 'qualificationNo': '44058319951227041X', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificatio..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:30.325" level="INFO">${orgId} = 721761724339982336</msg>
<status status="PASS" starttime="20220808 11:24:30.325" endtime="20220808 11:24:30.325"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.325" level="INFO">${orgfullName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:30.325" endtime="20220808 11:24:30.325"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.326" level="INFO">${packerBaseInfo} = {'id': '721761776701673472', 'organizationId': '721761724339982336', 'scrapPaperRecycling': 200.55, 'scrapPaperSupply': 200.66, 'scrapPaperPackingFactoryList': [{'id': '721761776722644992', 'name': '仔...</msg>
<status status="PASS" starttime="20220808 11:24:30.326" endtime="20220808 11:24:30.326"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<msg timestamp="20220808 11:24:30.326" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20220808 11:24:30.326" endtime="20220808 11:24:30.327"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.325" endtime="20220808 11:24:30.327"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.315" endtime="20220808 11:24:30.327"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${packerBaseInfo['scrapPaperPackingFactoryList'][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${packerId}</var>
</assign>
<msg timestamp="20220808 11:24:30.327" level="INFO">${packerId} = 721761776722644992</msg>
<status status="PASS" starttime="20220808 11:24:30.327" endtime="20220808 11:24:30.327"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${packerBaseInfo['scrapPaperPackingFactoryList'][0]}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${packerName}</var>
</assign>
<msg timestamp="20220808 11:24:30.328" level="INFO">${packerName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:30.327" endtime="20220808 11:24:30.328"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','Authorization':'QNT ${gettoken}','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'${orgId}','X-PACKING-FACTORY-ID':'${packerId}'}</arg>
</arguments>
<assign>
<var>${client_headerP}</var>
</assign>
<msg timestamp="20220808 11:24:30.328" level="INFO">${client_headerP} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:30.328" endtime="20220808 11:24:30.328"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orgId}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.329" level="INFO">${orgId} = 721761724339982336</msg>
<status status="PASS" starttime="20220808 11:24:30.329" endtime="20220808 11:24:30.329"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${realName}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.329" level="INFO">${realName} = 王颖勋</msg>
<status status="PASS" starttime="20220808 11:24:30.329" endtime="20220808 11:24:30.329"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${packerId}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.330" level="INFO">${packerId} = 721761776722644992</msg>
<status status="PASS" starttime="20220808 11:24:30.330" endtime="20220808 11:24:30.330"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${packerName}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.330" level="INFO">${packerName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:30.330" endtime="20220808 11:24:30.330"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orgfullName}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.331" level="INFO">${orgfullName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:30.331" endtime="20220808 11:24:30.331"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${client_headerP}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.331" level="INFO">${client_headerP} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:30.331" endtime="20220808 11:24:30.332"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:29.559" endtime="20220808 11:24:30.332" critical="yes"></status>
</test>
<test id="s1-s2-t4" name="get_Personal_baseInfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>baseinfo</arg>
<arg>${ztbclient}</arg>
<arg>${client_headerP}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.333" level="INFO">Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721761724339982336', 'X-PACKING-FACTORY-ID': '721761776722644992'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:30.333" endtime="20220808 11:24:30.333"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>baseinfo</arg>
<arg>ztb-supply-chain-service/get/user/base-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:30.747" level="INFO">GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
path_url=/ztb-supply-chain-service/get/user/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721761724339982336', 'X-PACKING-FACTORY-ID': '721761776722644992'}
body=None
</msg>
<msg timestamp="20220808 11:24:30.748" level="INFO">GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24: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":{"userId":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"721761724339982336","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":{"id":"721761724449034240","realName":"王颖勋","type":1,"number":"44058319951227041X","frontImageUrl":"http://qn-privatetest.oss-cn-shenzhen.aliyuncs.com/private/idcard/704068168053821440/1652247868006.jpg?Expires=1659932670&amp;OSSAccessKeyId=LTAINmC91NqIGN38&amp;Signature=jikPGI%2BYLyHcpmCffN6GZuPpGWM%3D","backImageUrl":"http://qn-privatetest.oss-cn-shenzhen.aliyuncs.com/private/idcard/704068168053821440/1652247868242.jpg?Expires=1659932670&amp;OSSAccessKeyId=LTAINmC91NqIGN38&amp;Signature=9LLtmSm85jF3CrsO0WgECUvyrwE%3D"},"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":true},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}}
</msg>
<msg timestamp="20220808 11:24:30.748" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:30.334" endtime="20220808 11:24:30.748"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>organizationList</arg>
</arguments>
<assign>
<var>${organizationList}</var>
</assign>
<msg timestamp="20220808 11:24:30.749" level="INFO">${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization...</msg>
<status status="PASS" starttime="20220808 11:24:30.748" endtime="20220808 11:24:30.749"></status>
</kw>
<kw name="${items} IN [ @{organizationList} ]" type="for">
<kw name="${items} = {'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQ..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.750" level="INFO">${orgfullName} = 武汉市青山区恒志纸业环保打包厂</msg>
<status status="PASS" starttime="20220808 11:24:30.750" endtime="20220808 11:24:30.750"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.750" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:30.750" endtime="20220808 11:24:30.750"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:30.751" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:30.750" endtime="20220808 11:24:30.751"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.751" endtime="20220808 11:24:30.751"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.749" endtime="20220808 11:24:30.751"></status>
</kw>
<kw name="${items} = {'id': '737040026042503168', 'fullName': '嘻嘻打包站', 'qualificationType': 1, 'qualificationNo': '441481199509213863', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificati..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.752" level="INFO">${orgfullName} = 嘻嘻打包站</msg>
<status status="PASS" starttime="20220808 11:24:30.751" endtime="20220808 11:24:30.752"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.752" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:30.752" endtime="20220808 11:24:30.752"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:30.752" level="INFO">${qualificationType} = 1</msg>
<status status="PASS" starttime="20220808 11:24:30.752" endtime="20220808 11:24:30.752"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.752" endtime="20220808 11:24:30.753"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.751" endtime="20220808 11:24:30.753"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.753" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:30.753" endtime="20220808 11:24:30.753"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.754" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:30.753" endtime="20220808 11:24:30.754"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:30.754" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:30.754" endtime="20220808 11:24:30.754"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.754" endtime="20220808 11:24:30.755"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.753" endtime="20220808 11:24:30.755"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.755" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:30.755" endtime="20220808 11:24:30.755"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.756" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:30.756" endtime="20220808 11:24:30.756"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:30.756" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:30.756" endtime="20220808 11:24:30.757"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:30.757" endtime="20220808 11:24:30.757"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.755" endtime="20220808 11:24:30.757"></status>
</kw>
<kw name="${items} = {'id': '721761724339982336', 'fullName': '仔仔工厂', 'qualificationType': 1, 'qualificationNo': '44058319951227041X', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificatio..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:30.758" level="INFO">${orgfullName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:30.757" endtime="20220808 11:24:30.758"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:30.758" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:30.758" endtime="20220808 11:24:30.758"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:30.759" level="INFO">${qualificationType} = 1</msg>
<status status="PASS" starttime="20220808 11:24:30.758" endtime="20220808 11:24:30.759"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='仔仔工厂'</arg>
</arguments>
<msg timestamp="20220808 11:24:30.759" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20220808 11:24:30.759" endtime="20220808 11:24:30.759"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.757" endtime="20220808 11:24:30.759"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.749" endtime="20220808 11:24:30.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>2051</arg>
</arguments>
<assign>
<var>${salesTaxPoint}</var>
</assign>
<msg timestamp="20220808 11:24:30.760" level="INFO">${salesTaxPoint} = 2051</msg>
<status status="PASS" starttime="20220808 11:24:30.759" endtime="20220808 11:24:30.760"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${salesTaxPoint}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.760" level="INFO">${salesTaxPoint} = 2051</msg>
<status status="PASS" starttime="20220808 11:24:30.760" endtime="20220808 11:24:30.760"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.332" endtime="20220808 11:24:30.761" critical="yes"></status>
</test>
<doc>#登录客户端</doc>
<status status="PASS" starttime="20220808 11:24:29.399" endtime="20220808 11:24:30.761"></status>
</suite>
<suite id="s1-s3" name="2.2-APPlogin" source="/root/ztb-ops-rf-api/000-LoginToken/2.2-APPlogin.robot">
<test id="s1-s3-t1" name="user_login">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20220808 11:24:30.769" endtime="20220808 11:24:30.769"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${uecclient}</arg>
<arg>${client_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.770" level="INFO">Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:30.769" endtime="20220808 11:24:30.770"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>account=${client_account}</arg>
<arg>captcha=${client_password}</arg>
<arg>accountType=2</arg>
</arguments>
<assign>
<var>${data}</var>
</assign>
<msg timestamp="20220808 11:24:30.771" level="INFO">${data} = {'account': '13000000032', 'captcha': '888888', 'accountType': '2'}</msg>
<status status="PASS" starttime="20220808 11:24:30.770" endtime="20220808 11:24:30.771"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>json=${data}</arg>
</arguments>
<assign>
<var>${respones}</var>
</assign>
<msg timestamp="20220808 11:24:30.871" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '67'}
body=b'{"account": "13000000032", "captcha": "888888", "accountType": "2"}'
</msg>
<msg timestamp="20220808 11:24:30.871" 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': 'Mon, 08 Aug 2022 03:24: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":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==","userId":"704068168053821440"}}
</msg>
<msg timestamp="20220808 11:24:30.871" level="INFO">${respones} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:30.771" endtime="20220808 11:24:30.871"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${respones.json()['data']}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${token}</var>
</assign>
<msg timestamp="20220808 11:24:30.872" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==</msg>
<status status="PASS" starttime="20220808 11:24:30.871" endtime="20220808 11:24:30.872"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${token}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.873" level="INFO">${token} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==</msg>
<status status="PASS" starttime="20220808 11:24:30.872" endtime="20220808 11:24:30.873"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.768" endtime="20220808 11:24:30.873" critical="yes"></status>
</test>
<test id="s1-s3-t2" name="login_token">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${ztbclient}</arg>
<arg>${client_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.874" level="INFO">Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'content-type': 'application/json', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:30.874" endtime="20220808 11:24:30.875"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>loginToken=${token}</arg>
</arguments>
<assign>
<var>${token1}</var>
</assign>
<msg timestamp="20220808 11:24:30.875" level="INFO">${token1} = {'loginToken': 'd6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg=='}</msg>
<status status="PASS" starttime="20220808 11:24:30.875" endtime="20220808 11:24:30.875"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token</arg>
<arg>json=${token1}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:30.959" level="INFO">POST Request : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
path_url=/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'content-type': 'application/json', 'X-APP-ID': '470236309865238528', 'Content-Length': '106'}
body=b'{"loginToken": "d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg=="}'
</msg>
<msg timestamp="20220808 11:24:30.959" level="INFO">POST Response : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24: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":{"errorCode":0,"token":"d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==","userId":"704068168053821440"}}
</msg>
<msg timestamp="20220808 11:24:30.959" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:30.875" endtime="20220808 11:24:30.959"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${userId}</var>
</assign>
<msg timestamp="20220808 11:24:30.960" level="INFO">${userId} = 704068168053821440</msg>
<status status="PASS" starttime="20220808 11:24:30.959" endtime="20220808 11:24:30.960"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${gettoken}</var>
</assign>
<msg timestamp="20220808 11:24:30.961" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==</msg>
<status status="PASS" starttime="20220808 11:24:30.960" endtime="20220808 11:24:30.961"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${userId}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.962" level="INFO">${userId} = 704068168053821440</msg>
<status status="PASS" starttime="20220808 11:24:30.961" endtime="20220808 11:24:30.962"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${gettoken}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.962" level="INFO">${gettoken} = d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==</msg>
<status status="PASS" starttime="20220808 11:24:30.962" endtime="20220808 11:24:30.962"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.873" endtime="20220808 11:24:30.962" critical="yes"></status>
</test>
<test id="s1-s3-t3" name="get_baseInfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>baseinfo</arg>
<arg>${ztbclient}</arg>
<arg>${client_firstlogin_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:30.964" level="INFO">Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==', 'X-APP-ID': '470236309865238528'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:30.963" endtime="20220808 11:24:30.964"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>baseinfo</arg>
<arg>ztb-supply-chain-service/get/user/base-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:31.340" level="INFO">GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
path_url=/ztb-supply-chain-service/get/user/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/GoQ8VMrnzVDohEvrallZmiTg==', 'X-APP-ID': '470236309865238528'}
body=None
</msg>
<msg timestamp="20220808 11:24:31.340" level="INFO">GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24: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":{"userId":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"752528438736326656","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}}
</msg>
<msg timestamp="20220808 11:24:31.341" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:30.965" endtime="20220808 11:24:31.341"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>realName</arg>
</arguments>
<assign>
<var>${realName}</var>
</assign>
<msg timestamp="20220808 11:24:31.342" level="INFO">${realName} = 王颖勋</msg>
<status status="PASS" starttime="20220808 11:24:31.341" endtime="20220808 11:24:31.342"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>organizationList</arg>
</arguments>
<assign>
<var>${organizationList}</var>
</assign>
<msg timestamp="20220808 11:24:31.343" level="INFO">${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization...</msg>
<status status="PASS" starttime="20220808 11:24:31.342" endtime="20220808 11:24:31.343"></status>
</kw>
<kw name="${items} IN [ @{organizationList} ]" type="for">
<kw name="${items} = {'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQ..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:31.344" level="INFO">${orgId} = 738812119994208256</msg>
<status status="PASS" starttime="20220808 11:24:31.343" endtime="20220808 11:24:31.344"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.344" level="INFO">${orgfullName} = 武汉市青山区恒志纸业环保打包厂</msg>
<status status="PASS" starttime="20220808 11:24:31.344" endtime="20220808 11:24:31.344"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.344" level="INFO">${packerBaseInfo} = {'id': '738812120073900032', 'organizationId': '738812119994208256', 'scrapPaperRecycling': 100.0, 'scrapPaperSupply': 111.0, 'scrapPaperPackingFactoryList': [{'id': '738812537759469568', 'name': '千鸟工...</msg>
<status status="PASS" starttime="20220808 11:24:31.344" endtime="20220808 11:24:31.344"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.345" endtime="20220808 11:24:31.345"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.343" endtime="20220808 11:24:31.345"></status>
</kw>
<kw name="${items} = {'id': '737040026042503168', 'fullName': '嘻嘻打包站', 'qualificationType': 1, 'qualificationNo': '441481199509213863', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificati..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:31.346" level="INFO">${orgId} = 737040026042503168</msg>
<status status="PASS" starttime="20220808 11:24:31.345" endtime="20220808 11:24:31.346"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.346" level="INFO">${orgfullName} = 嘻嘻打包站</msg>
<status status="PASS" starttime="20220808 11:24:31.346" endtime="20220808 11:24:31.346"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.347" level="INFO">${packerBaseInfo} = {'id': '737040335171096576', 'organizationId': '737040026042503168', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '737040335238205440', 'name': '嘻嘻打包站...</msg>
<status status="PASS" starttime="20220808 11:24:31.346" endtime="20220808 11:24:31.347"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.347" endtime="20220808 11:24:31.348"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.345" endtime="20220808 11:24:31.348"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:31.348" level="INFO">${orgId} = 728972353769443328</msg>
<status status="PASS" starttime="20220808 11:24:31.348" endtime="20220808 11:24:31.348"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.349" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.348" endtime="20220808 11:24:31.349"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.349" level="INFO">${packerBaseInfo} = {'id': '732271033305927680', 'organizationId': '728972353769443328', 'scrapPaperRecycling': None, 'scrapPaperSupply': None, 'scrapPaperPackingFactoryList': [{'id': '732271033427562496', 'name': '湖南新宝环...</msg>
<status status="PASS" starttime="20220808 11:24:31.349" endtime="20220808 11:24:31.349"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.349" endtime="20220808 11:24:31.350"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.348" endtime="20220808 11:24:31.350"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:31.350" level="INFO">${orgId} = 728972353769443328</msg>
<status status="PASS" starttime="20220808 11:24:31.350" endtime="20220808 11:24:31.351"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.351" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.351" endtime="20220808 11:24:31.351"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.352" level="INFO">${packerBaseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:31.351" endtime="20220808 11:24:31.352"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.352" endtime="20220808 11:24:31.352"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.350" endtime="20220808 11:24:31.352"></status>
</kw>
<kw name="${items} = {'id': '721761724339982336', 'fullName': '仔仔工厂', 'qualificationType': 1, 'qualificationNo': '44058319951227041X', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificatio..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:31.353" level="INFO">${orgId} = 721761724339982336</msg>
<status status="PASS" starttime="20220808 11:24:31.352" endtime="20220808 11:24:31.353"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.353" level="INFO">${orgfullName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:31.353" endtime="20220808 11:24:31.353"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.353" level="INFO">${packerBaseInfo} = {'id': '721761776701673472', 'organizationId': '721761724339982336', 'scrapPaperRecycling': 200.55, 'scrapPaperSupply': 200.66, 'scrapPaperPackingFactoryList': [{'id': '721761776722644992', 'name': '仔...</msg>
<status status="PASS" starttime="20220808 11:24:31.353" endtime="20220808 11:24:31.353"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.354" endtime="20220808 11:24:31.354"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.352" endtime="20220808 11:24:31.354"></status>
</kw>
<kw name="${items} = {'id': '721760754042277888', 'fullName': '长沙中联泵业股份有限公司', 'qualificationType': 2, 'qualificationNo': '914301027121552620', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${orgId}</var>
</assign>
<msg timestamp="20220808 11:24:31.354" level="INFO">${orgId} = 721760754042277888</msg>
<status status="PASS" starttime="20220808 11:24:31.354" endtime="20220808 11:24:31.354"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.355" level="INFO">${orgfullName} = 长沙中联泵业股份有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.355" endtime="20220808 11:24:31.355"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>packerBaseInfo</arg>
</arguments>
<assign>
<var>${packerBaseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.355" level="INFO">${packerBaseInfo} = {'id': '721760754797252608', 'organizationId': '721760754042277888', 'scrapPaperRecycling': 1000.0, 'scrapPaperSupply': 1020.0, 'scrapPaperPackingFactoryList': [{'id': '721760754818224128', 'name': '长...</msg>
<status status="PASS" starttime="20220808 11:24:31.355" endtime="20220808 11:24:31.355"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<msg timestamp="20220808 11:24:31.356" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20220808 11:24:31.356" endtime="20220808 11:24:31.356"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.354" endtime="20220808 11:24:31.356"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.343" endtime="20220808 11:24:31.356"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${packerBaseInfo['scrapPaperPackingFactoryList'][0]}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${packerId}</var>
</assign>
<msg timestamp="20220808 11:24:31.357" level="INFO">${packerId} = 721760754818224128</msg>
<status status="PASS" starttime="20220808 11:24:31.356" endtime="20220808 11:24:31.357"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${packerBaseInfo['scrapPaperPackingFactoryList'][0]}</arg>
<arg>name</arg>
</arguments>
<assign>
<var>${packerName}</var>
</assign>
<msg timestamp="20220808 11:24:31.358" level="INFO">${packerName} = 长沙中联泵业股份有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.357" endtime="20220808 11:24:31.358"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','Authorization':'QNT ${gettoken}','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'${orgId}','X-PACKING-FACTORY-ID':'${packerId}'}</arg>
</arguments>
<assign>
<var>${client_headerT}</var>
</assign>
<msg timestamp="20220808 11:24:31.358" level="INFO">${client_headerT} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:31.358" endtime="20220808 11:24:31.358"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orgId}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.359" level="INFO">${orgId} = 721760754042277888</msg>
<status status="PASS" starttime="20220808 11:24:31.358" endtime="20220808 11:24:31.359"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${realName}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.359" level="INFO">${realName} = 王颖勋</msg>
<status status="PASS" starttime="20220808 11:24:31.359" endtime="20220808 11:24:31.359"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${packerId}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.360" level="INFO">${packerId} = 721760754818224128</msg>
<status status="PASS" starttime="20220808 11:24:31.360" endtime="20220808 11:24:31.360"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${packerName}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.360" level="INFO">${packerName} = 长沙中联泵业股份有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.360" endtime="20220808 11:24:31.360"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${orgfullName}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.361" level="INFO">${orgfullName} = 长沙中联泵业股份有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.361" endtime="20220808 11:24:31.361"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${client_headerT}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.361" level="INFO">${client_headerT} = {'Content-Type':'application/json','Authorization':'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==','X-APP-ID':'470236309865238528','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:31.361" endtime="20220808 11:24:31.361"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:30.963" endtime="20220808 11:24:31.362" critical="yes"></status>
</test>
<test id="s1-s3-t4" name="get_Enterprise_baseInfo">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>baseinfo</arg>
<arg>${ztbclient}</arg>
<arg>${client_headerT}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.364" level="INFO">Creating Session using : alias=baseinfo, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721760754042277888', 'X-PACKING-FACTORY-ID': '721760754818224128'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:31.363" endtime="20220808 11:24:31.364"></status>
</kw>
<kw name="Get On Session" library="RequestsLibrary">
<doc>Sends a GET request on a previously created HTTP Session.</doc>
<arguments>
<arg>baseinfo</arg>
<arg>ztb-supply-chain-service/get/user/base-info</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:31.755" level="INFO">GET Request : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
path_url=/ztb-supply-chain-service/get/user/base-info
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'QNT d6SX3ESr8Jb2tYq/89Ft7DOFksN0ImPQrduCrdLR7W4kLGCD0kmLzlAAooCaD/Go3hXt4Jhg2LwhDyMnfWZsNg==', 'X-APP-ID': '470236309865238528', 'X-ORGANIZATION-ID': '721760754042277888', 'X-PACKING-FACTORY-ID': '721760754818224128'}
body=None
</msg>
<msg timestamp="20220808 11:24:31.756" level="INFO">GET Response : url=https://api-client-ztb-test.qniao.cn/ztb-supply-chain-service/get/user/base-info
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24: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":{"userId":"704068168053821440","realName":"王颖勋","mobile":"13000000032","avatarUrl":"https://medou.oss-cn-shenzhen.aliyuncs.com/saas/20200623160820.png","isAuth":true,"isVIP":true,"hasStore":true,"isSetPassword":false,"memberExpiredAt":"2022-08-08 20:00:08","hasGetMember":null,"organizationId":"721760754042277888","organizationList":[{"id":"738812119994208256","fullName":"武汉市青山区恒志纸业环保打包厂","qualificationType":2,"qualificationNo":"92420107MA4HWPTW91","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"738812120073900032","organizationId":"738812119994208256","scrapPaperRecycling":100.000,"scrapPaperSupply":111.000,"scrapPaperPackingFactoryList":[{"id":"738812537759469568","name":"千鸟工厂版测试打包站","isFactoryInfoRequired":true},{"id":"738816441691803648","name":"工厂版打包站","isFactoryInfoRequired":false},{"id":"743833461172867072","name":"工厂版711","isFactoryInfoRequired":false},{"id":"744623601562554368","name":"测试工厂同步","isFactoryInfoRequired":false},{"id":"744628123219398656","name":"测试工厂同步2","isFactoryInfoRequired":false},{"id":"744629025217056768","name":"测试工厂同步3","isFactoryInfoRequired":false},{"id":"744630180378710016","name":"测试工厂同步hhhhhh","isFactoryInfoRequired":false},{"id":"744631051875389440","name":"测试工厂同步4","isFactoryInfoRequired":false},{"id":"744632805736189952","name":"测试工厂同步5不想再同步了","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"737040026042503168","fullName":"嘻嘻打包站","qualificationType":1,"qualificationNo":"441481199509213863","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"737040335171096576","organizationId":"737040026042503168","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"737040335238205440","name":"嘻嘻打包站","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"732271033305927680","organizationId":"728972353769443328","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"732271033427562496","name":"湖南新宝环保科技有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false},{"id":"728972353769443328","fullName":"湖南新宝环保科技有限公司","qualificationType":2,"qualificationNo":"91430111MA4LD7UA6T","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"721761724339982336","fullName":"仔仔工厂","qualificationType":1,"qualificationNo":"44058319951227041X","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721761776701673472","organizationId":"721761724339982336","scrapPaperRecycling":200.550,"scrapPaperSupply":200.660,"scrapPaperPackingFactoryList":[{"id":"721761776722644992","name":"仔仔工厂","isFactoryInfoRequired":true}]},"hasBankCard":false},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":{"approvedDate":"2020-01-06","businessLicenseImg":"https://qncloudtest.oss-cn-shenzhen.aliyuncs.com/common/17632147146560641.jpg","businessTermFrom":"","businessTermTo":"","legalPersonName":"潘世群","locDetail":"东二环一段1061号","name":"长沙中联泵业股份有限公司","registerPhone":"18907312896","uniformSocialCreditCode":"914301027121552620","salesTaxPoint":2053,"isEnterpriseAuth":true},"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"721760754797252608","organizationId":"721760754042277888","scrapPaperRecycling":1000.000,"scrapPaperSupply":1020.000,"scrapPaperPackingFactoryList":[{"id":"721760754818224128","name":"长沙中联泵业股份有限公司","isFactoryInfoRequired":true}]},"hasBankCard":true},{"id":"721760754042277888","fullName":"长沙中联泵业股份有限公司","qualificationType":2,"qualificationNo":"914301027121552620","isQualificationAuth":true,"enterpriseInfo":{"approvedDate":"2020-01-06","businessLicenseImg":"https://qncloudtest.oss-cn-shenzhen.aliyuncs.com/common/17632147146560641.jpg","businessTermFrom":"","businessTermTo":"","legalPersonName":"潘世群","locDetail":"东二环一段1061号","name":"长沙中联泵业股份有限公司","registerPhone":"18907312896","uniformSocialCreditCode":"914301027121552620","salesTaxPoint":2053,"isEnterpriseAuth":true},"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":true},{"id":"716720382790471680","fullName":"427代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"711270061419139072","fullName":"412测试代理商","qualificationType":null,"qualificationNo":null,"isQualificationAuth":false,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":2,"packerBaseInfo":null,"hasBankCard":false},{"id":"709820255127605248","fullName":"东莞市致远纸业有限公司","qualificationType":2,"qualificationNo":"91441900671581184Y","isQualificationAuth":true,"enterpriseInfo":null,"personalOrganizationQualification":null,"orgRole":1,"packerBaseInfo":{"id":"709820256654331904","organizationId":"709820255127605248","scrapPaperRecycling":null,"scrapPaperSupply":null,"scrapPaperPackingFactoryList":[{"id":"709820256725635072","name":"东莞市致远纸业有限公司","isFactoryInfoRequired":false}]},"hasBankCard":false}],"nickname":"hinzai","isAccountancyUser":false,"hasShowedLoginTag":false,"isSetProxyTag":false,"identityTag":null,"locateCityTag":null,"locFactoryDetail":null,"experienceTag":null,"numberOfPurchaseCategoriesTag":"0个","numberOfProxyCategoriesTag":"0个","packageFactoryName":null,"packageFactoryArea":null,"numberOfEmployee":null,"numberOfPackageMachine":null,"businessLicenseUrl":null,"legalPersonName":null,"uniformSocialCreditCode":null,"enterpriseName":null,"type":null,"capital":null,"locDetail":null,"establishDate":null,"shipmentPerMonth":null,"storeOverview":{"storeId":"736317286117412864","margin":0.00,"todayMargin":0.00,"todayMarginNum":0,"hasStore":1,"status":2},"accountBalance":{"accountMoney":0.0000,"frozenMoney":0.0000},"status":false,"hasShipmentsInfo":false,"packerType":null,"autoWeighingMachine":null,"forkliftsNum":null,"logisticsVehiclesNum":null,"oftenSendPaperMill":null,"factoryLongitude":null,"factoryLatitude":null,"factoryPhotoUrlList":null,"factoryMainCategoryDtoList":null,"isFactoryInfoRequired":false,"isCommittedPackingFactoryClue":0,"enterpriseInfo":null,"inviter":{"id":"706181703529533440","code":"5535","name":"赖勇兰"}}}
</msg>
<msg timestamp="20220808 11:24:31.756" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:31.364" endtime="20220808 11:24:31.756"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>organizationList</arg>
</arguments>
<assign>
<var>${organizationList}</var>
</assign>
<msg timestamp="20220808 11:24:31.757" level="INFO">${organizationList} = [{'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganization...</msg>
<status status="PASS" starttime="20220808 11:24:31.756" endtime="20220808 11:24:31.757"></status>
</kw>
<kw name="${items} IN [ @{organizationList} ]" type="for">
<kw name="${items} = {'id': '738812119994208256', 'fullName': '武汉市青山区恒志纸业环保打包厂', 'qualificationType': 2, 'qualificationNo': '92420107MA4HWPTW91', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQ..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.758" level="INFO">${orgfullName} = 武汉市青山区恒志纸业环保打包厂</msg>
<status status="PASS" starttime="20220808 11:24:31.758" endtime="20220808 11:24:31.758"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.758" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:31.758" endtime="20220808 11:24:31.758"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:31.759" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:31.758" endtime="20220808 11:24:31.759"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.759" endtime="20220808 11:24:31.760"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.757" endtime="20220808 11:24:31.760"></status>
</kw>
<kw name="${items} = {'id': '737040026042503168', 'fullName': '嘻嘻打包站', 'qualificationType': 1, 'qualificationNo': '441481199509213863', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificati..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.760" level="INFO">${orgfullName} = 嘻嘻打包站</msg>
<status status="PASS" starttime="20220808 11:24:31.760" endtime="20220808 11:24:31.760"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.760" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:31.760" endtime="20220808 11:24:31.760"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:31.761" level="INFO">${qualificationType} = 1</msg>
<status status="PASS" starttime="20220808 11:24:31.761" endtime="20220808 11:24:31.761"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.761" endtime="20220808 11:24:31.762"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.760" endtime="20220808 11:24:31.762"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.762" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.762" endtime="20220808 11:24:31.762"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.763" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:31.763" endtime="20220808 11:24:31.763"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:31.763" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:31.763" endtime="20220808 11:24:31.763"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.763" endtime="20220808 11:24:31.764"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.762" endtime="20220808 11:24:31.764"></status>
</kw>
<kw name="${items} = {'id': '728972353769443328', 'fullName': '湖南新宝环保科技有限公司', 'qualificationType': 2, 'qualificationNo': '91430111MA4LD7UA6T', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQual..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.764" level="INFO">${orgfullName} = 湖南新宝环保科技有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.764" endtime="20220808 11:24:31.764"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.765" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:31.765" endtime="20220808 11:24:31.765"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:31.765" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:31.765" endtime="20220808 11:24:31.765"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.765" endtime="20220808 11:24:31.766"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.764" endtime="20220808 11:24:31.766"></status>
</kw>
<kw name="${items} = {'id': '721761724339982336', 'fullName': '仔仔工厂', 'qualificationType': 1, 'qualificationNo': '44058319951227041X', 'isQualificationAuth': True, 'enterpriseInfo': None, 'personalOrganizationQualificatio..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.766" level="INFO">${orgfullName} = 仔仔工厂</msg>
<status status="PASS" starttime="20220808 11:24:31.766" endtime="20220808 11:24:31.767"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.767" level="INFO">${enterpriseInfo} = None</msg>
<status status="PASS" starttime="20220808 11:24:31.767" endtime="20220808 11:24:31.767"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:31.767" level="INFO">${qualificationType} = 1</msg>
<status status="PASS" starttime="20220808 11:24:31.767" endtime="20220808 11:24:31.767"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<status status="PASS" starttime="20220808 11:24:31.767" endtime="20220808 11:24:31.768"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.766" endtime="20220808 11:24:31.768"></status>
</kw>
<kw name="${items} = {'id': '721760754042277888', 'fullName': '长沙中联泵业股份有限公司', 'qualificationType': 2, 'qualificationNo': '914301027121552620', 'isQualificationAuth': True, 'enterpriseInfo': {'approvedDate': '2020-01-06', ..." type="foritem">
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>fullName</arg>
</arguments>
<assign>
<var>${orgfullName}</var>
</assign>
<msg timestamp="20220808 11:24:31.768" level="INFO">${orgfullName} = 长沙中联泵业股份有限公司</msg>
<status status="PASS" starttime="20220808 11:24:31.768" endtime="20220808 11:24:31.768"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>enterpriseInfo</arg>
</arguments>
<assign>
<var>${enterpriseInfo}</var>
</assign>
<msg timestamp="20220808 11:24:31.769" level="INFO">${enterpriseInfo} = {'approvedDate': '2020-01-06', 'businessLicenseImg': 'https://qncloudtest.oss-cn-shenzhen.aliyuncs.com/common/17632147146560641.jpg', 'businessTermFrom': '', 'businessTermTo': '', 'legalPersonName': '...</msg>
<status status="PASS" starttime="20220808 11:24:31.768" endtime="20220808 11:24:31.769"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${items}</arg>
<arg>qualificationType</arg>
</arguments>
<assign>
<var>${qualificationType}</var>
</assign>
<msg timestamp="20220808 11:24:31.769" level="INFO">${qualificationType} = 2</msg>
<status status="PASS" starttime="20220808 11:24:31.769" endtime="20220808 11:24:31.769"></status>
</kw>
<kw name="Exit For Loop If" library="BuiltIn">
<doc>Stops executing the enclosing for loop if the ``condition`` is true.</doc>
<arguments>
<arg>'${orgfullName}'=='长沙中联泵业股份有限公司'</arg>
</arguments>
<msg timestamp="20220808 11:24:31.770" level="INFO">Exiting for loop altogether.</msg>
<status status="PASS" starttime="20220808 11:24:31.769" endtime="20220808 11:24:31.770"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.768" endtime="20220808 11:24:31.770"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.757" endtime="20220808 11:24:31.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>${enterpriseInfo}</arg>
<arg>salesTaxPoint</arg>
</arguments>
<assign>
<var>${salesTaxPoint}</var>
</assign>
<msg timestamp="20220808 11:24:31.770" level="INFO">${salesTaxPoint} = 2053</msg>
<status status="PASS" starttime="20220808 11:24:31.770" endtime="20220808 11:24:31.770"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${salesTaxPoint}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.771" level="INFO">${salesTaxPoint} = 2053</msg>
<status status="PASS" starttime="20220808 11:24:31.771" endtime="20220808 11:24:31.771"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.362" endtime="20220808 11:24:31.771" critical="yes"></status>
</test>
<doc>#登录客户端</doc>
<status status="PASS" starttime="20220808 11:24:30.763" endtime="20220808 11:24:31.772"></status>
</suite>
<suite id="s1-s4" name="3-WebLogin" source="/root/ztb-ops-rf-api/000-LoginToken/3-WebLogin.robot">
<test id="s1-s4-t1" name="Papermill_Login">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20220808 11:24:31.779" endtime="20220808 11:24:31.780"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>papermill</arg>
<arg>${uecclient}</arg>
<arg>${ztbsc_papermill_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.780" level="INFO">Creating Session using : alias=papermill, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:31.780" endtime="20220808 11:24:31.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>{ \ \ \ \ "account":"${papermill_account}", \ \ \ \ "accountType":2, \ \ \ \ "captcha":"${papermill_password}", \ \ \ \ "$loginType":"telphone", \ \ \ \ "$isNextAutoLogin":true }</arg>
</arguments>
<assign>
<var>${Data}</var>
</assign>
<msg timestamp="20220808 11:24:31.781" level="INFO">${Data} = { "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true }</msg>
<status status="PASS" starttime="20220808 11:24:31.781" endtime="20220808 11:24:31.781"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>papermill</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>${Data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:31.843" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406', 'Content-Length': '134'}
body=b'{ "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true }'
</msg>
<msg timestamp="20220808 11:24:31.844" 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': 'Mon, 08 Aug 2022 03:24:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==","userId":"701479226095833088"}}
</msg>
<msg timestamp="20220808 11:24:31.844" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:31.782" endtime="20220808 11:24:31.844"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${papermill_token}</var>
</assign>
<msg timestamp="20220808 11:24:31.845" level="INFO">${papermill_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==</msg>
<status status="PASS" starttime="20220808 11:24:31.844" endtime="20220808 11:24:31.845"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${papermill_token}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.846" level="INFO">${papermill_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==</msg>
<status status="PASS" starttime="20220808 11:24:31.845" endtime="20220808 11:24:31.846"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${ztbclient}</arg>
<arg>${ztbsc_papermill_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.846" level="INFO">Creating Session using : alias=ZTBT, url=https://api-client-ztb-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:31.846" endtime="20220808 11:24:31.847"></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":"${papermill_token}", \ \ \ \ "$configs":{ \ \ \ \ \ \ \ \ "$isBizFailedNotToast":true \ \ \ \ } }</arg>
</arguments>
<assign>
<var>${loginToken}</var>
</assign>
<msg timestamp="20220808 11:24:31.847" level="INFO">${loginToken} = { "loginToken":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==", "$configs":{ "$isBizFailedNotToast":true } }</msg>
<status status="PASS" starttime="20220808 11:24:31.847" endtime="20220808 11:24:31.847"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token</arg>
<arg>${loginToken.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:31.909" level="INFO">POST Request : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
path_url=/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-APP-ID': '503258978847966406', 'Content-Length': '171'}
body=b'{ "loginToken":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==", "$configs":{ "$isBizFailedNotToast":true } }'
</msg>
<msg timestamp="20220808 11:24:31.910" level="INFO">POST Response : url=https://api-client-ztb-test.qniao.cn/ztb-user-enterprise-service/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24: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":{"errorCode":0,"token":"iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==","userId":"701479226095833088"}}
</msg>
<msg timestamp="20220808 11:24:31.910" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:31.847" endtime="20220808 11:24:31.910"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${PM_userId}</var>
</assign>
<msg timestamp="20220808 11:24:31.911" level="INFO">${PM_userId} = 701479226095833088</msg>
<status status="PASS" starttime="20220808 11:24:31.910" endtime="20220808 11:24:31.911"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${PM_token}</var>
</assign>
<msg timestamp="20220808 11:24:31.911" level="INFO">${PM_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==</msg>
<status status="PASS" starttime="20220808 11:24:31.911" endtime="20220808 11:24:31.911"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{'Content-Type':'application/json','Authorization':'QNT ${PM_token}','X-APP-ID':'503258978847966406'}</arg>
</arguments>
<assign>
<var>${ztbsc_papermill_header}</var>
</assign>
<msg timestamp="20220808 11:24:31.912" level="INFO">${ztbsc_papermill_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==','X-APP-ID':'503258978847966406'}</msg>
<status status="PASS" starttime="20220808 11:24:31.912" endtime="20220808 11:24:31.912"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${PM_userId}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.912" level="INFO">${PM_userId} = 701479226095833088</msg>
<status status="PASS" starttime="20220808 11:24:31.912" endtime="20220808 11:24:31.913"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${PM_token}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.913" level="INFO">${PM_token} = iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==</msg>
<status status="PASS" starttime="20220808 11:24:31.913" endtime="20220808 11:24:31.913"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_papermill_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.914" level="INFO">${ztbsc_papermill_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7ttQEaLXczMQ6IIVBjjpt0BM9Wjg4hXC8zjZV7MHh4hrp+6Jg+xJsjR+RKtc0hUaVNw==','X-APP-ID':'503258978847966406'}</msg>
<status status="PASS" starttime="20220808 11:24:31.913" endtime="20220808 11:24:31.914"></status>
</kw>
<kw name="Open Excel">
<arguments>
<arg>D:\\LYL\\Study\\Robot_framework\\New_Trading\\数据驱动.xls</arg>
</arguments>
<msg timestamp="20220808 11:24:31.917" level="FAIL">No keyword with name 'Open Excel' found.</msg>
<status status="FAIL" starttime="20220808 11:24:31.917" endtime="20220808 11:24:31.918"></status>
</kw>
<status status="FAIL" starttime="20220808 11:24:31.779" endtime="20220808 11:24:31.918" critical="yes">No keyword with name 'Open Excel' found.</status>
</test>
<test id="s1-s4-t2" name="Factoring_Login">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20220808 11:24:31.919" endtime="20220808 11:24:31.919"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>factoring</arg>
<arg>${uecclient}</arg>
<arg>${ztbsc_factoring_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.920" level="INFO">Creating Session using : alias=factoring, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:31.919" endtime="20220808 11:24:31.920"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
<arguments>
<arg>{ \ \ \ \ "account":"${papermill_account}", \ \ \ \ "accountType":2, \ \ \ \ "captcha":"${papermill_password}", \ \ \ \ "$loginType":"telphone", \ \ \ \ "$isNextAutoLogin":true }</arg>
</arguments>
<assign>
<var>${Data}</var>
</assign>
<msg timestamp="20220808 11:24:31.921" level="INFO">${Data} = { "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true }</msg>
<status status="PASS" starttime="20220808 11:24:31.920" endtime="20220808 11:24:31.921"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>factoring</arg>
<arg>uec/authorize/by-captcha</arg>
<arg>${Data.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:31.985" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410', 'Content-Length': '134'}
body=b'{ "account":"15014242835", "accountType":2, "captcha":"888888", "$loginType":"telphone", "$isNextAutoLogin":true }'
</msg>
<msg timestamp="20220808 11:24:31.985" 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': 'Mon, 08 Aug 2022 03:24:31 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers'}
body={"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flr5ievoTELynHtQI4GtIJ2g==","userId":"701479226095833088"}}
</msg>
<msg timestamp="20220808 11:24:31.985" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:31.921" endtime="20220808 11:24:31.985"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()['data']}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${factoring_token}</var>
</assign>
<msg timestamp="20220808 11:24:31.986" level="INFO">${factoring_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flr5ievoTELynHtQI4GtIJ2g==</msg>
<status status="PASS" starttime="20220808 11:24:31.986" endtime="20220808 11:24:31.986"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${factoring_token}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.987" level="INFO">${factoring_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flr5ievoTELynHtQI4GtIJ2g==</msg>
<status status="PASS" starttime="20220808 11:24:31.986" endtime="20220808 11:24:31.987"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ZTBT</arg>
<arg>${uecclient}</arg>
<arg>${ztbsc_factoring_login_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:31.987" level="INFO">Creating Session using : alias=ZTBT, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20220808 11:24:31.987" endtime="20220808 11:24:31.988"></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":"${factoring_token}", \ \ \ \ "$configs":{ \ \ \ \ \ \ \ \ "$isBizFailedNotToast":true \ \ \ \ } }</arg>
</arguments>
<assign>
<var>${loginToken}</var>
</assign>
<msg timestamp="20220808 11:24:31.988" level="INFO">${loginToken} = { "loginToken":"iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flr5ievoTELynHtQI4GtIJ2g==", "$configs":{ "$isBizFailedNotToast":true } }</msg>
<status status="PASS" starttime="20220808 11:24:31.988" endtime="20220808 11:24:31.988"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
<arguments>
<arg>ZTBT</arg>
<arg>factoring/authorize/get/product-line-token/by/login-token</arg>
<arg>${loginToken.encode('utf-8')}</arg>
</arguments>
<assign>
<var>${reps}</var>
</assign>
<msg timestamp="20220808 11:24:32.072" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/factoring/authorize/get/product-line-token/by/login-token
path_url=/factoring/authorize/get/product-line-token/by/login-token
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'X-ORGANIZATION-ID': '710132392618233856', 'X-APP-ID': '503258978847966410', 'Content-Length': '171'}
body=b'{ "loginToken":"iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flr5ievoTELynHtQI4GtIJ2g==", "$configs":{ "$isBizFailedNotToast":true } }'
</msg>
<msg timestamp="20220808 11:24:32.072" level="INFO">POST Response : url=https://api-client-uec-test.qniao.cn/factoring/authorize/get/product-line-token/by/login-token
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Mon, 08 Aug 2022 03:24:32 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/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flYWk2xdKI/8CALdgIvS+I2Q==","userId":"701479226095833088"}}
</msg>
<msg timestamp="20220808 11:24:32.073" level="INFO">${reps} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20220808 11:24:31.988" endtime="20220808 11:24:32.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>${reps.json()["data"]}</arg>
<arg>userId</arg>
</arguments>
<assign>
<var>${F_userId}</var>
</assign>
<msg timestamp="20220808 11:24:32.074" level="INFO">${F_userId} = 701479226095833088</msg>
<status status="PASS" starttime="20220808 11:24:32.073" endtime="20220808 11:24:32.074"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${reps.json()["data"]}</arg>
<arg>token</arg>
</arguments>
<assign>
<var>${F_token}</var>
</assign>
<msg timestamp="20220808 11:24:32.074" level="INFO">${F_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flYWk2xdKI/8CALdgIvS+I2Q==</msg>
<status status="PASS" starttime="20220808 11:24:32.074" endtime="20220808 11:24:32.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>{'Content-Type':'application/json','Authorization':'QNT ${F_token}','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'710132392618233856'}</arg>
</arguments>
<assign>
<var>${ztbsc_factoring_header}</var>
</assign>
<msg timestamp="20220808 11:24:32.075" level="INFO">${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flYWk2xdKI/8CALdgIvS+I2Q==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:32.075" endtime="20220808 11:24:32.075"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${F_userId}</arg>
</arguments>
<msg timestamp="20220808 11:24:32.075" level="INFO">${F_userId} = 701479226095833088</msg>
<status status="PASS" starttime="20220808 11:24:32.075" endtime="20220808 11:24:32.075"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${F_token}</arg>
</arguments>
<msg timestamp="20220808 11:24:32.076" level="INFO">${F_token} = iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flYWk2xdKI/8CALdgIvS+I2Q==</msg>
<status status="PASS" starttime="20220808 11:24:32.076" endtime="20220808 11:24:32.076"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${ztbsc_factoring_header}</arg>
</arguments>
<msg timestamp="20220808 11:24:32.076" level="INFO">${ztbsc_factoring_header} = {'Content-Type':'application/json','Authorization':'QNT iHP4V/g6O5DXHixyNrf7tihI0qZFU9sOo6jfU0FD4Cs+ZL8Rjw15NslYGGIWG3flYWk2xdKI/8CALdgIvS+I2Q==','X-APP-ID':'503258978847966410','X-ORGANIZATION-ID':'7...</msg>
<status status="PASS" starttime="20220808 11:24:32.076" endtime="20220808 11:24:32.076"></status>
</kw>
<status status="PASS" starttime="20220808 11:24:31.918" endtime="20220808 11:24:32.077" critical="yes"></status>
</test>
<status status="FAIL" starttime="20220808 11:24:31.773" endtime="20220808 11:24:32.077"></status>
</suite>
<status status="FAIL" starttime="20220808 11:24:29.002" endtime="20220808 11:24:32.079"></status>
</suite>
<statistics>
<total>
<stat pass="10" fail="1">Critical Tests</stat>
<stat pass="10" fail="1">All Tests</stat>
</total>
<tag>
</tag>
<suite>
<stat pass="10" fail="1" id="s1" name="000-LoginToken">000-LoginToken</stat>
<stat pass="1" fail="0" id="s1-s1" name="1-dataDriven">000-LoginToken.1-dataDriven</stat>
<stat pass="4" fail="0" id="s1-s2" name="2.1-APPlogin">000-LoginToken.2.1-APPlogin</stat>
<stat pass="4" fail="0" id="s1-s3" name="2.2-APPlogin">000-LoginToken.2.2-APPlogin</stat>
<stat pass="1" fail="1" id="s1-s4" name="3-WebLogin">000-LoginToken.3-WebLogin</stat>
</suite>
</statistics>
<errors>
<msg timestamp="20220808 11:24:29.049" level="ERROR">Error in file '/root/ztb-ops-rf-api/000-LoginToken/1-dataDriven.robot': Importing test library 'ExcelLibrary' failed: ModuleNotFoundError: No module named 'ExcelLibrary'
Traceback (most recent call last):
None
PYTHONPATH:
/root/ztb-ops-rf-api
/usr/local/python3/lib/python36.zip
/usr/local/python3/lib/python3.6
/usr/local/python3/lib/python3.6/lib-dynload
/root/.local/lib/python3.6/site-packages
/usr/local/python3/lib/python3.6/site-packages</msg>
<msg timestamp="20220808 11:24:29.403" level="ERROR">Error in file '/root/ztb-ops-rf-api/000-LoginToken/2.1-APPlogin.robot': Importing test library 'ExcelLibrary' failed: ModuleNotFoundError: No module named 'ExcelLibrary'
Traceback (most recent call last):
None
PYTHONPATH:
/root/ztb-ops-rf-api
/usr/local/python3/lib/python36.zip
/usr/local/python3/lib/python3.6
/usr/local/python3/lib/python3.6/lib-dynload
/root/.local/lib/python3.6/site-packages
/usr/local/python3/lib/python3.6/site-packages</msg>
<msg timestamp="20220808 11:24:30.767" level="ERROR">Error in file '/root/ztb-ops-rf-api/000-LoginToken/2.2-APPlogin.robot': Importing test library 'ExcelLibrary' failed: ModuleNotFoundError: No module named 'ExcelLibrary'
Traceback (most recent call last):
None
PYTHONPATH:
/root/ztb-ops-rf-api
/usr/local/python3/lib/python36.zip
/usr/local/python3/lib/python3.6
/usr/local/python3/lib/python3.6/lib-dynload
/root/.local/lib/python3.6/site-packages
/usr/local/python3/lib/python3.6/site-packages</msg>
<msg timestamp="20220808 11:24:31.776" level="ERROR">Error in file '/root/ztb-ops-rf-api/000-LoginToken/3-WebLogin.robot': Importing test library 'ExcelLibrary' failed: ModuleNotFoundError: No module named 'ExcelLibrary'
Traceback (most recent call last):
None
PYTHONPATH:
/root/ztb-ops-rf-api
/usr/local/python3/lib/python36.zip
/usr/local/python3/lib/python3.6
/usr/local/python3/lib/python3.6/lib-dynload
/root/.local/lib/python3.6/site-packages
/usr/local/python3/lib/python3.6/site-packages</msg>
</errors>
</robot>