push code back with legal issues fix
[ric-plt/e2mgr.git] / Automation / Tests / ENDC-Setup / output.xml
diff --git a/Automation/Tests/ENDC-Setup/output.xml b/Automation/Tests/ENDC-Setup/output.xml
new file mode 100644 (file)
index 0000000..f3cd0ff
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20190730 11:39:09.837" rpa="false">
+<suite id="s1" name="ENDC-setup 1 setup request" source="/home/ubuntu/PycharmProjects/Oran/ENDC-Setup/ENDC-setup_1_setup_request.robot">
+<kw name="Start dockers" type="setup">
+<kw name="Run And Return Rc And Output" library="OperatingSystem">
+<doc>Runs the given command in the system and returns the RC and output.</doc>
+<arguments>
+<arg>${run_script}</arg>
+</arguments>
+<msg timestamp="20190730 11:39:10.269" level="INFO">Running command '/home/ubuntu/run.sh 2&gt;&amp;1'.</msg>
+<status status="PASS" starttime="20190730 11:39:10.267" endtime="20190730 11:39:31.104"></status>
+</kw>
+<kw name="Run And Return Rc And Output" library="OperatingSystem">
+<doc>Runs the given command in the system and returns the RC and output.</doc>
+<arguments>
+<arg>${docker_command}</arg>
+</arguments>
+<assign>
+<var>${result}</var>
+</assign>
+<msg timestamp="20190730 11:39:31.106" level="INFO">Running command 'docker ps | grep snapshot | wc --lines 2&gt;&amp;1'.</msg>
+<msg timestamp="20190730 11:39:31.142" level="INFO">${result} = (0, '4')</msg>
+<status status="PASS" starttime="20190730 11:39:31.104" endtime="20190730 11:39:31.142"></status>
+</kw>
+<kw name="Should Be Equal As Integers" library="BuiltIn">
+<doc>Fails if objects are unequal after converting them to integers.</doc>
+<arguments>
+<arg>${result[1]}</arg>
+<arg>4</arg>
+</arguments>
+<status status="PASS" starttime="20190730 11:39:31.143" endtime="20190730 11:39:31.143"></status>
+</kw>
+<status status="PASS" starttime="20190730 11:39:10.267" endtime="20190730 11:39:31.143"></status>
+</kw>
+<test id="s1-t1" name="Post Request setup node b endc-setup">
+<kw name="Set Headers" library="REST">
+<tags>
+<tag>settings</tag>
+</tags>
+<doc>*Sets new request headers or updates the existing.*</doc>
+<arguments>
+<arg>${header}</arg>
+</arguments>
+<status status="PASS" starttime="20190730 11:39:31.144" endtime="20190730 11:39:31.145"></status>
+</kw>
+<kw name="Post" library="REST">
+<tags>
+<tag>http</tag>
+</tags>
+<doc>*Sends a POST request to the endpoint.*</doc>
+<arguments>
+<arg>/v1/nodeb/endc-setup</arg>
+<arg>${json}</arg>
+</arguments>
+<status status="PASS" starttime="20190730 11:39:31.145" endtime="20190730 11:39:31.192"></status>
+</kw>
+<kw name="Integer" library="REST">
+<tags>
+<tag>assertions</tag>
+</tags>
+<doc>*Asserts the field as JSON integer.*</doc>
+<arguments>
+<arg>response status</arg>
+<arg>200</arg>
+</arguments>
+<status status="PASS" starttime="20190730 11:39:31.192" endtime="20190730 11:39:31.193"></status>
+</kw>
+<status status="PASS" starttime="20190730 11:39:31.143" endtime="20190730 11:39:31.194" critical="yes"></status>
+</test>
+<status status="PASS" starttime="20190730 11:39:09.838" endtime="20190730 11:39:31.194"></status>
+</suite>
+<statistics>
+<total>
+<stat pass="1" fail="0">Critical Tests</stat>
+<stat pass="1" fail="0">All Tests</stat>
+</total>
+<tag>
+</tag>
+<suite>
+<stat pass="1" fail="0" id="s1" name="ENDC-setup 1 setup request">ENDC-setup 1 setup request</stat>
+</suite>
+</statistics>
+<errors>
+</errors>
+</robot>