4 changed files with 4786 additions and 1 deletions
Split View
Diff Options
-
2125log.html
-
229output.xml
-
2431report.html
-
2ztb-ops.sh
2125
log.html
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,229 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20220804 09:23:37.674" rpa="false"> |
|||
<suite id="s1" name="0-Datadriven" source="/root/ztb-ops-rf-api/0-Datadriven"> |
|||
<suite id="s1-s1" name="1-dataDriven" source="/root/ztb-ops-rf-api/0-Datadriven/1-dataDriven.robot"> |
|||
<test id="s1-s1-t1" name="ztbsc"> |
|||
<kw name="Open Excel"> |
|||
<arguments> |
|||
<arg>D:\\LYL\\Study\\Robot_framework\\New_Trading\\数据驱动.xls</arg> |
|||
</arguments> |
|||
<msg timestamp="20220804 09:23:38.648" level="FAIL">No keyword with name 'Open Excel' found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.648" endtime="20220804 09:23:38.649"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.644" endtime="20220804 09:23:38.649" critical="yes">No keyword with name 'Open Excel' found.</status> |
|||
</test> |
|||
<status status="FAIL" starttime="20220804 09:23:37.759" endtime="20220804 09:23:38.650"></status> |
|||
</suite> |
|||
<suite id="s1-s2" name="2.1-APPlogin" source="/root/ztb-ops-rf-api/0-Datadriven/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="20220804 09:23:38.657" endtime="20220804 09:23:38.657"></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="20220804 09:23:38.658" level="FAIL">Variable '${uecclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.658" endtime="20220804 09:23:38.659"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.656" endtime="20220804 09:23:38.659" critical="yes">Variable '${uecclient}' not found.</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="20220804 09:23:38.661" level="FAIL">Variable '${ztbclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.660" endtime="20220804 09:23:38.661"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.659" endtime="20220804 09:23:38.661" critical="yes">Variable '${ztbclient}' not found.</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="20220804 09:23:38.663" level="FAIL">Variable '${ztbclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.662" endtime="20220804 09:23:38.663"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.662" endtime="20220804 09:23:38.663" critical="yes">Variable '${ztbclient}' not found.</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="20220804 09:23:38.665" level="FAIL">Variable '${ztbclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.664" endtime="20220804 09:23:38.665"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.664" endtime="20220804 09:23:38.665" critical="yes">Variable '${ztbclient}' not found.</status> |
|||
</test> |
|||
<doc>#登录客户端</doc> |
|||
<status status="FAIL" starttime="20220804 09:23:38.650" endtime="20220804 09:23:38.665"></status> |
|||
</suite> |
|||
<suite id="s1-s3" name="2.2-APPlogin" source="/root/ztb-ops-rf-api/0-Datadriven/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="20220804 09:23:38.672" endtime="20220804 09:23:38.672"></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="20220804 09:23:38.673" level="FAIL">Variable '${uecclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.672" endtime="20220804 09:23:38.673"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.671" endtime="20220804 09:23:38.673" critical="yes">Variable '${uecclient}' not found.</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="20220804 09:23:38.674" level="FAIL">Variable '${ztbclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.674" endtime="20220804 09:23:38.674"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.673" endtime="20220804 09:23:38.675" critical="yes">Variable '${ztbclient}' not found.</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="20220804 09:23:38.676" level="FAIL">Variable '${ztbclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.676" endtime="20220804 09:23:38.676"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.675" endtime="20220804 09:23:38.677" critical="yes">Variable '${ztbclient}' not found.</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="20220804 09:23:38.678" level="FAIL">Variable '${ztbclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.677" endtime="20220804 09:23:38.678"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.677" endtime="20220804 09:23:38.678" critical="yes">Variable '${ztbclient}' not found.</status> |
|||
</test> |
|||
<doc>#登录客户端</doc> |
|||
<status status="FAIL" starttime="20220804 09:23:38.666" endtime="20220804 09:23:38.679"></status> |
|||
</suite> |
|||
<suite id="s1-s4" name="3-WebLogin" source="/root/ztb-ops-rf-api/0-Datadriven/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="20220804 09:23:38.685" endtime="20220804 09:23:38.686"></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="20220804 09:23:38.687" level="FAIL">Variable '${uecclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.686" endtime="20220804 09:23:38.687"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.685" endtime="20220804 09:23:38.687" critical="yes">Variable '${uecclient}' not 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="20220804 09:23:38.688" endtime="20220804 09:23:38.688"></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="20220804 09:23:38.689" level="FAIL">Variable '${uecclient}' not found.</msg> |
|||
<status status="FAIL" starttime="20220804 09:23:38.688" endtime="20220804 09:23:38.689"></status> |
|||
</kw> |
|||
<status status="FAIL" starttime="20220804 09:23:38.687" endtime="20220804 09:23:38.690" critical="yes">Variable '${uecclient}' not found.</status> |
|||
</test> |
|||
<status status="FAIL" starttime="20220804 09:23:38.680" endtime="20220804 09:23:38.690"></status> |
|||
</suite> |
|||
<status status="FAIL" starttime="20220804 09:23:37.675" endtime="20220804 09:23:38.691"></status> |
|||
</suite> |
|||
<statistics> |
|||
<total> |
|||
<stat pass="0" fail="11">Critical Tests</stat> |
|||
<stat pass="0" fail="11">All Tests</stat> |
|||
</total> |
|||
<tag> |
|||
</tag> |
|||
<suite> |
|||
<stat pass="0" fail="11" id="s1" name="0-Datadriven">0-Datadriven</stat> |
|||
<stat pass="0" fail="1" id="s1-s1" name="1-dataDriven">0-Datadriven.1-dataDriven</stat> |
|||
<stat pass="0" fail="4" id="s1-s2" name="2.1-APPlogin">0-Datadriven.2.1-APPlogin</stat> |
|||
<stat pass="0" fail="4" id="s1-s3" name="2.2-APPlogin">0-Datadriven.2.2-APPlogin</stat> |
|||
<stat pass="0" fail="2" id="s1-s4" name="3-WebLogin">0-Datadriven.3-WebLogin</stat> |
|||
</suite> |
|||
</statistics> |
|||
<errors> |
|||
<msg timestamp="20220804 09:23:37.762" level="ERROR">Error in file '/root/ztb-ops-rf-api/0-Datadriven/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 |
|||
/usr/local/python3/lib/python3.6/site-packages</msg> |
|||
<msg timestamp="20220804 09:23:38.655" level="ERROR">Error in file '/root/ztb-ops-rf-api/0-Datadriven/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 |
|||
/usr/local/python3/lib/python3.6/site-packages</msg> |
|||
<msg timestamp="20220804 09:23:38.670" level="ERROR">Error in file '/root/ztb-ops-rf-api/0-Datadriven/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 |
|||
/usr/local/python3/lib/python3.6/site-packages</msg> |
|||
<msg timestamp="20220804 09:23:38.682" level="ERROR">Error in file '/root/ztb-ops-rf-api/0-Datadriven/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 |
|||
/usr/local/python3/lib/python3.6/site-packages</msg> |
|||
</errors> |
|||
</robot> |
|||
2431
report.html
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save