Browse Source

new report file

master
梁金满 4 years ago
parent
commit
73be248bb4
3 changed files with 53 additions and 53 deletions
  1. 8
      log.html
  2. 92
      output.xml
  3. 6
      report.html

8
log.html
File diff suppressed because it is too large
View File

92
output.xml

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20210820 11:29:18.506" rpa="false">
<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20210820 11:29:32.926" rpa="false">
<suite id="s1" name="Yyt-Trading-Rf-Api" source="/root/yyt-trading-rf-api">
<suite id="s1-s1" name="Login Get Info" source="/root/yyt-trading-rf-api/login_get_info">
<suite id="s1-s1-s1" name="Login Customer" source="/root/yyt-trading-rf-api/login_get_info/login_customer.robot">
<test id="s1-s1-s1-t1" name="uec_authorize_by_captcha">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20210820 11:29:18.645" endtime="20210820 11:29:18.646"></status>
<status status="PASS" starttime="20210820 11:29:33.117" endtime="20210820 11:29:33.118"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
@ -15,8 +15,8 @@
<arg>https://api-client-uec-test.qniao.cn</arg>
<arg>headers=${cloud_factory_header}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.647" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20210820 11:29:18.646" endtime="20210820 11:29:18.647"></status>
<msg timestamp="20210820 11:29:33.118" level="INFO">Creating Session using : alias=uecclient, url=https://api-client-uec-test.qniao.cn, headers={'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20210820 11:29:33.118" endtime="20210820 11:29:33.119"></status>
</kw>
<kw name="Set Variable" library="BuiltIn">
<doc>Returns the given values which can then be assigned to a variables.</doc>
@ -26,8 +26,8 @@
<assign>
<var>${body}</var>
</assign>
<msg timestamp="20210820 11:29:18.648" level="INFO">${body} = {"accountType":2,"account":"13000000000","captcha":"888888"}</msg>
<status status="PASS" starttime="20210820 11:29:18.647" endtime="20210820 11:29:18.648"></status>
<msg timestamp="20210820 11:29:33.119" level="INFO">${body} = {"accountType":2,"account":"13000000000","captcha":"888888"}</msg>
<status status="PASS" starttime="20210820 11:29:33.119" endtime="20210820 11:29:33.119"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
@ -39,42 +39,42 @@
<assign>
<var>${response}</var>
</assign>
<msg timestamp="20210820 11:29:18.732" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
<msg timestamp="20210820 11:29:33.205" level="INFO">POST Request : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
path_url=/uec/authorize/by-captcha
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/json;charset=UTF-8', 'X-APP-ID': '503258978847965388', 'Content-Length': '60'}
body={"accountType":2,"account":"13000000000","captcha":"888888"}
</msg>
<msg timestamp="20210820 11:29:18.732" level="INFO">POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
<msg timestamp="20210820 11:29:33.205" level="INFO">POST Response : url=https://api-client-uec-test.qniao.cn/uec/authorize/by-captcha
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 20 Aug 2021 03:29:18 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/g6O5DXHixyNrf7tnXugE03gmmVVVkL14dTnShu/P4MrBWoA32ZEuaUKz8o","userId":"4163"}}
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 20 Aug 2021 03:29:33 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/g6O5DXHixyNrf7tnXugE03gmmVVVkL14dTnShxnBCVWAfmNUTVq+nQg6FW","userId":"4163"}}
</msg>
<msg timestamp="20210820 11:29:18.733" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20210820 11:29:18.648" endtime="20210820 11:29:18.733"></status>
<msg timestamp="20210820 11:29:33.205" level="INFO">${response} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20210820 11:29:33.120" endtime="20210820 11:29:33.206"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.734" level="INFO">200</msg>
<status status="PASS" starttime="20210820 11:29:18.733" endtime="20210820 11:29:18.734"></status>
<msg timestamp="20210820 11:29:33.206" level="INFO">200</msg>
<status status="PASS" starttime="20210820 11:29:33.206" endtime="20210820 11:29:33.207"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.text}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.735" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tnXugE03gmmVVVkL14dTnShu/P4MrBWoA32ZEuaUKz8o","userId":"4163"}}</msg>
<status status="PASS" starttime="20210820 11:29:18.734" endtime="20210820 11:29:18.735"></status>
<msg timestamp="20210820 11:29:33.207" level="INFO">{"code":0,"message":"successful","data":{"token":"iHP4V/g6O5DXHixyNrf7tnXugE03gmmVVVkL14dTnShxnBCVWAfmNUTVq+nQg6FW","userId":"4163"}}</msg>
<status status="PASS" starttime="20210820 11:29:33.207" endtime="20210820 11:29:33.207"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${response.json()}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.735" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tnXugE03gmmVVVkL14dTnShu/P4MrBWoA32ZEuaUKz8o', 'userId': '4163'}}</msg>
<status status="PASS" starttime="20210820 11:29:18.735" endtime="20210820 11:29:18.735"></status>
<msg timestamp="20210820 11:29:33.208" level="INFO">{'code': 0, 'message': 'successful', 'data': {'token': 'iHP4V/g6O5DXHixyNrf7tnXugE03gmmVVVkL14dTnShxnBCVWAfmNUTVq+nQg6FW', 'userId': '4163'}}</msg>
<status status="PASS" starttime="20210820 11:29:33.208" endtime="20210820 11:29:33.208"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
@ -82,10 +82,10 @@
<arg>200</arg>
<arg>${response.status_code}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.736" level="INFO">Argument types are:
<msg timestamp="20210820 11:29:33.209" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20210820 11:29:18.735" endtime="20210820 11:29:18.736"></status>
<status status="PASS" starttime="20210820 11:29:33.208" endtime="20210820 11:29:33.209"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
@ -93,17 +93,17 @@
<arg>successful</arg>
<arg>${response.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20210820 11:29:18.736" endtime="20210820 11:29:18.736"></status>
<status status="PASS" starttime="20210820 11:29:33.209" endtime="20210820 11:29:33.209"></status>
</kw>
<status status="PASS" starttime="20210820 11:29:18.644" endtime="20210820 11:29:18.736" critical="yes"></status>
<status status="PASS" starttime="20210820 11:29:33.116" endtime="20210820 11:29:33.209" critical="yes"></status>
</test>
<status status="PASS" starttime="20210820 11:29:18.639" endtime="20210820 11:29:18.737"></status>
<status status="PASS" starttime="20210820 11:29:33.111" endtime="20210820 11:29:33.210"></status>
</suite>
<suite id="s1-s1-s2" name="Login Operate" source="/root/yyt-trading-rf-api/login_get_info/login_operate.robot">
<test id="s1-s1-s2-t1" name="cloud_factory_operation_backend_admin_login">
<kw name="Disable Warnings" library="urllib3">
<doc>Helper for quickly disabling all urllib3 warnings.</doc>
<status status="PASS" starttime="20210820 11:29:18.743" endtime="20210820 11:29:18.743"></status>
<status status="PASS" starttime="20210820 11:29:33.215" endtime="20210820 11:29:33.215"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
@ -112,8 +112,8 @@
<arg>http://api-ops-yyt-test.qniao.cn</arg>
<arg>headers=${operation_backend_header}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.744" level="INFO">Creating Session using : alias=yytops, url=http://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20210820 11:29:18.743" endtime="20210820 11:29:18.744"></status>
<msg timestamp="20210820 11:29:33.216" level="INFO">Creating Session using : alias=yytops, url=http://api-ops-yyt-test.qniao.cn, headers={'Content-Type': 'application/x-www-form-urlencoded'}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 </msg>
<status status="PASS" starttime="20210820 11:29:33.215" endtime="20210820 11:29:33.216"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
@ -124,8 +124,8 @@
<assign>
<var>&amp;{data}</var>
</assign>
<msg timestamp="20210820 11:29:18.745" level="INFO">&amp;{data} = { username=liangjinman@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20210820 11:29:18.744" endtime="20210820 11:29:18.745"></status>
<msg timestamp="20210820 11:29:33.217" level="INFO">&amp;{data} = { username=liangjinman@qniao.cn | password=qn123456 }</msg>
<status status="PASS" starttime="20210820 11:29:33.216" endtime="20210820 11:29:33.217"></status>
</kw>
<kw name="Post On Session" library="RequestsLibrary">
<doc>Sends a POST request on a previously created HTTP Session.</doc>
@ -137,42 +137,42 @@
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20210820 11:29:18.883" level="INFO">POST Request : url=http://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
<msg timestamp="20210820 11:29:33.345" level="INFO">POST Request : url=http://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
path_url=/cloud-factory-operation-backend/admin/login
headers={'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded', 'Content-Length': '49'}
body=username=liangjinman%40qniao.cn&amp;password=qn123456
</msg>
<msg timestamp="20210820 11:29:18.884" level="INFO">POST Response : url=http://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
<msg timestamp="20210820 11:29:33.345" level="INFO">POST Response : url=http://api-ops-yyt-test.qniao.cn/cloud-factory-operation-backend/admin/login
status=200, reason=
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 20 Aug 2021 03:29:18 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
headers={'Server': 'nginx/1.16.1', 'Date': 'Fri, 20 Aug 2021 03:29:33 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Access-Control-Allow-Origin': '*', 'Access-Control-Request-Method': '*', 'Cache-Control': 'no-cache', 'Authorization': 'Token 4a8bb5b51207941b91dfa6f617504a38', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'X-Frame-Options': 'DENY'}
body={"code":200,"message":"登陆成功"}
</msg>
<msg timestamp="20210820 11:29:18.884" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20210820 11:29:18.745" endtime="20210820 11:29:18.884"></status>
<msg timestamp="20210820 11:29:33.346" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" starttime="20210820 11:29:33.217" endtime="20210820 11:29:33.346"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${resp.status_code}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.885" level="INFO">200</msg>
<status status="PASS" starttime="20210820 11:29:18.885" endtime="20210820 11:29:18.885"></status>
<msg timestamp="20210820 11:29:33.347" level="INFO">200</msg>
<status status="PASS" starttime="20210820 11:29:33.347" endtime="20210820 11:29:33.347"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${resp.text}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.886" level="INFO">{"code":200,"message":"登陆成功"}</msg>
<status status="PASS" starttime="20210820 11:29:18.885" endtime="20210820 11:29:18.886"></status>
<msg timestamp="20210820 11:29:33.348" level="INFO">{"code":200,"message":"登陆成功"}</msg>
<status status="PASS" starttime="20210820 11:29:33.348" endtime="20210820 11:29:33.348"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${resp.json()}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.886" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20210820 11:29:18.886" endtime="20210820 11:29:18.886"></status>
<msg timestamp="20210820 11:29:33.349" level="INFO">{'code': 200, 'message': '登陆成功'}</msg>
<status status="PASS" starttime="20210820 11:29:33.348" endtime="20210820 11:29:33.349"></status>
</kw>
<kw name="Should Be Equal As Numbers" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to real numbers.</doc>
@ -180,10 +180,10 @@
<arg>200</arg>
<arg>${resp.status_code}</arg>
</arguments>
<msg timestamp="20210820 11:29:18.887" level="INFO">Argument types are:
<msg timestamp="20210820 11:29:33.349" level="INFO">Argument types are:
&lt;type 'unicode'&gt;
&lt;class 'int'&gt;</msg>
<status status="PASS" starttime="20210820 11:29:18.887" endtime="20210820 11:29:18.887"></status>
<status status="PASS" starttime="20210820 11:29:33.349" endtime="20210820 11:29:33.349"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
@ -191,15 +191,15 @@
<arg>登陆成功</arg>
<arg>${resp.json()["message"]}</arg>
</arguments>
<status status="PASS" starttime="20210820 11:29:18.887" endtime="20210820 11:29:18.888"></status>
<status status="PASS" starttime="20210820 11:29:33.350" endtime="20210820 11:29:33.350"></status>
</kw>
<status status="PASS" starttime="20210820 11:29:18.742" endtime="20210820 11:29:18.888" critical="yes"></status>
<status status="PASS" starttime="20210820 11:29:33.214" endtime="20210820 11:29:33.350" critical="yes"></status>
</test>
<status status="PASS" starttime="20210820 11:29:18.738" endtime="20210820 11:29:18.888"></status>
<status status="PASS" starttime="20210820 11:29:33.211" endtime="20210820 11:29:33.351"></status>
</suite>
<status status="PASS" starttime="20210820 11:29:18.635" endtime="20210820 11:29:18.889"></status>
<status status="PASS" starttime="20210820 11:29:33.108" endtime="20210820 11:29:33.352"></status>
</suite>
<status status="PASS" starttime="20210820 11:29:18.508" endtime="20210820 11:29:18.890"></status>
<status status="PASS" starttime="20210820 11:29:32.927" endtime="20210820 11:29:33.353"></status>
</suite>
<statistics>
<total>

6
report.html

@ -1585,7 +1585,7 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[1,0,382],[[4,5,6,0,[],[1,127,254],[[7,8,9,0,[],[1,131,98],[],[[10,0,1,0,[],[1,136,92],[]]],[],[1,1,1,1]],[11,12,13,0,[],[1,230,150],[],[[14,0,1,0,[],[1,234,146],[]]],[],[1,1,1,1]]],[],[],[2,2,2,2]]],[],[],[2,2,2,2]];
window.output["suite"] = [1,2,3,0,[],[1,0,426],[[4,5,6,0,[],[1,181,244],[[7,8,9,0,[],[1,184,99],[],[[10,0,1,0,[],[1,189,93],[]]],[],[1,1,1,1]],[11,12,13,0,[],[1,284,140],[],[[14,0,1,0,[],[1,287,136],[]]],[],[1,1,1,1]]],[],[],[2,2,2,2]]],[],[],[2,2,2,2]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
@ -1597,10 +1597,10 @@ window.output["strings"] = window.output["strings"].concat(["*","*Yyt-Trading-Rf
window.output["stats"] = [[{"elapsed":"00:00:00","fail":0,"label":"Critical Tests","pass":2},{"elapsed":"00:00:00","fail":0,"label":"All Tests","pass":2}],[],[{"elapsed":"00:00:00","fail":0,"id":"s1","label":"Yyt-Trading-Rf-Api","name":"Yyt-Trading-Rf-Api","pass":2},{"elapsed":"00:00:00","fail":0,"id":"s1-s1","label":"Yyt-Trading-Rf-Api.Login Get Info","name":"Login Get Info","pass":2},{"elapsed":"00:00:00","fail":0,"id":"s1-s1-s1","label":"Yyt-Trading-Rf-Api.Login Get Info.Login Customer","name":"Login Customer","pass":1},{"elapsed":"00:00:00","fail":0,"id":"s1-s1-s2","label":"Yyt-Trading-Rf-Api.Login Get Info.Login Operate","name":"Login Operate","pass":1}]];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1629430158508;
window.output["baseMillis"] = 1629430172927;
</script>
<script type="text/javascript">
window.output["generated"] = 392;
window.output["generated"] = 438;
</script>
<script type="text/javascript">
window.settings = {"background":{"fail":"#f66","nonCriticalFail":"#9e9","pass":"#9e9"},"logURL":"log.html","rpa":false,"title":""};

Loading…
Cancel
Save